diff options
Diffstat (limited to 'src/core/wee-url.c')
-rw-r--r-- | src/core/wee-url.c | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/core/wee-url.c b/src/core/wee-url.c index 8f77a048d..1eb7d026c 100644 --- a/src/core/wee-url.c +++ b/src/core/wee-url.c @@ -1573,3 +1573,23 @@ weeurl_option_add_to_infolist (struct t_infolist *infolist, return 1; } + +/* + * Initializes URL. + */ + +void +weeurl_init () +{ + curl_global_init (CURL_GLOBAL_ALL); +} + +/* + * Ends URL. + */ + +void +weeurl_end () +{ + curl_global_cleanup (); +} |