NAME
curlmultiaddhandle - add an easy handle to a multi session
SYNOPSIS
#include
CURLMcode curlmultiaddhandle(CURLM *multihandle, CURL *easyhan-
dle);DESCRIPTION
Adds a standard easy handle to the multi stack. This function call will make this multihandle control the specified easyhandle. When an easy handle has been added to a multi stack, you can not and you must not use curleasyperform(3) on that handle! The easy handle will remain added until you remove it again with curlmultiremovehandle(3). You should remove the easy handle from the multi stack before you terminate first the easy handle and then the multi handle:1 - curlmultiremovehandle(3)
2 - curleasycleanup(3)
3 - curlmulticleanup(3)
RREETTUURRNN VVAALLUUEE CURLMcode type, general libcurl multi interface error code.SEE ALSO
ccuurrllmmuullttiicclleeaannuupp(3),ccuurrllmmuullttiiiinniitt(3) libcurl 7.9.5 4 March 2002 curlmultiaddhandle(3)