Lines Matching refs:sh
34 php_curlsh *sh; in PHP_FUNCTION() local
39 sh = Z_CURL_SHARE_P(return_value); in PHP_FUNCTION()
41 sh->share = curl_share_init(); in PHP_FUNCTION()
56 static bool _php_curl_share_setopt(php_curlsh *sh, zend_long option, zval *zvalue, zval *return_val… in _php_curl_share_setopt() argument
63 error = curl_share_setopt(sh->share, option, zval_get_long(zvalue)); in _php_curl_share_setopt()
72 SAVE_CURLSH_ERROR(sh, error); in _php_curl_share_setopt()
83 php_curlsh *sh; in PHP_FUNCTION() local
91 sh = Z_CURL_SHARE_P(z_sh); in PHP_FUNCTION()
93 if (_php_curl_share_setopt(sh, options, zvalue, return_value)) { in PHP_FUNCTION()
105 php_curlsh *sh; in PHP_FUNCTION() local
111 sh = Z_CURL_SHARE_P(z_sh); in PHP_FUNCTION()
113 RETURN_LONG(sh->err.no); in PHP_FUNCTION()
155 php_curlsh *sh = curl_share_from_obj(object); in curl_share_free_obj() local
157 curl_share_cleanup(sh->share); in curl_share_free_obj()
158 zend_object_std_dtor(&sh->std); in curl_share_free_obj()