diff options
Diffstat (limited to 'lib/easy.c')
-rw-r--r-- | lib/easy.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/easy.c b/lib/easy.c index 0b3774823..9310b843a 100644 --- a/lib/easy.c +++ b/lib/easy.c @@ -82,6 +82,7 @@ #include "share.h" #include "memory.h" #include "progress.h" +#include "easy.h" #define _MPRINTF_REPLACE /* use our functions only */ #include <curl/mprintf.h> @@ -404,6 +405,15 @@ void curl_easy_cleanup(CURL *curl) } /* + * Store a pointed to the multi handle within the easy handle's data struct. + */ +void Curl_easy_addmulti(struct SessionHandle *data, + void *multi) +{ + data->multi = multi; +} + +/* * curl_easy_getinfo() is an external interface that allows an app to retrieve * information from a performed transfer and similar. */ |