curl_share_cleanup

Syntax

#include <curl/curl.h>

CURLSHcode curl_share_cleanup(CURLSH * share_handle );

Parameters

share_handle Pointer to a share handle.

Return Values

If the operation was successful, CURLSH_OK is returned. Otherwise, a specific CURLSH libcurl Error Code is returned. If an error occurs, then the share object will not be deleted.

Description

This function cleans up (deletes) a shared object. The share handle can no longer be used when this function has been called.

Do Not Call From

None.

See Also

HTTP Client Library (libcurl)
libcurl API Functions
libcurl Error Codes
curl_share_init
curl_share_setopt

Revision History

2013/09/18 Conversion
2013/05/08 Automated cleanup pass.
2012/05/04 Initial version.


CONFIDENTIAL