libcurl Manual curlshareinit(3)
NAME
curlshareinit - Create a shared object
SYNOPSIS
#include
CURLSH *curlshareinit( );
DESCRIPTION
This function returns a CURLSH handle to be used as input to
all the other share-functions, sometimes referred to as a
share handle in some places in the documentation. This init
call MUST have a corresponding call to curlsharecleanup
when all operations using the share are complete.
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.
RETURN VALUE
If this function returns NUL, something went wrong (out of
memory, etc.) and therefore the share object was not
created.
SEE ALSO
curlsharecleanup(3), curlsharesetopt(3)
ATRIBUTES
See attributes(5) for descriptions of the following attri-
butes:
ATRIBUTE TYPE ATRIBUTE VALUE
Availability SUNWcurl
Interface Stability Uncommitted
NOTES
Source for C-URL is available on http:/opensolaris.org.
libcurl 7.10.7 Last change: 8 Aug 2003 1
|