MyWebUniversity.com Home Page
 



OpenSolaris man pages main menu


libcurl Manual                           curlmultiaddhandle(3)



NAME
     curlmultiaddhandle - add an easy handle to a  multi  ses-
     sion

SYNOPSIS
     #include 

     CURLMcode  curlmultiaddhandle(CURLM  *multihandle,  CURL
     *easyhandle);

DESCRIPTION
     Adds a standard easy handle to the multi stack.  This  func-
     tion  call will make this multihandle control the specified
     easyhandle.  Furthermore, libcurl now initiates the connec-
     tion associated with 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 han-
     dle!

     If  the  easy  handle  is  not   set   to   use   a   shared
     (CURLOPTSHARE)        or       global       DNS       cache
     (CURLOPTDNSUSEGLOBALCACHE), it will be made to  use  the
     DNS cache that is shared between all easy handles within the
     multi handle when curlmultiaddhandle(3) is called.

     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)

RETURN VALUE
     CURLMcode type, general libcurl multi interface error code.

SEE ALSO
     curlmulticleanup(3),curlmultiinit(3)

ATRIBUTES
     See attributes(5) for descriptions of the  following  attri-
     butes:









libcurl 7.9.5       Last change: 4 March 2002                   1






libcurl Manual                           curlmultiaddhandle(3)



     
       ATRIBUTE TYPE     ATRIBUTE VALUE
    
     Availability         SUNWcurl       
    
     Interface Stability  Uncommitted    
    

NOTES
     Source for C-URL is available on http:/opensolaris.org.













































libcurl 7.9.5       Last change: 4 March 2002                   2



OpenSolaris man pages main menu

Contact us      |       About us      |       Term of use      |       Copyright © 2000-2010 MyWebUniversity.com ™