NAME
curlshareinit - Create a shared object
SYNOPSIS
##iinncclluuddee <
CCUURRLLSSHH **ccuurrllsshhaarreeiinniitt(( ));;> DESCRIPTION
This function returns a CURLSH handle to be used as input to all theother share-functions, sometimes referred to as a share handle on some
places in the documentation. This init call MUST have a correspondingcall to curlsharecleanup when all operations using the share are com-
plete. This share handle is what you pass to curl using the CURLOPTSHARE option with curleasysetopt(3), to make that specific curl handle use the data in this share. RREETTUURRNN VVAALLUUEE If this function returns NULL, something went wrong (out of memory, etc.) and therefore the share object was not created.SEE ALSO
ccuurrllsshhaarreecclleeaannuupp(3), ccuurrllsshhaarreesseettoopptt(3) libcurl 7.10.7 8 Aug 2003 curlshareinit(3)