Lines Matching refs:slist
1893 ch->to_free->slist = emalloc(sizeof(HashTable)); in alloc_curl_handle()
1894 zend_hash_init(ch->to_free->slist, 4, NULL, curl_free_slist, 0); in alloc_curl_handle()
1911 struct curl_slist *slist; in create_certinfo() local
1914 for (slist = ci->certinfo[i]; slist; slist = slist->next) { in create_certinfo()
1918 strncpy(s, slist->data, sizeof(s)); in create_certinfo()
1924 add_assoc_string(&certhash, s, &slist->data[len+1]); in create_certinfo()
2075 efree(ch->to_free->slist); in _php_setup_easy_copy_handlers()
2587 struct curl_slist *slist = NULL; in _php_curl_setopt() local
2639 slist = curl_slist_append(slist, ZSTR_VAL(val)); in _php_curl_setopt()
2641 if (!slist) { in _php_curl_setopt()
2647 if (slist) { in _php_curl_setopt()
2649 zend_hash_index_update_ptr(ch->to_free->slist, option, slist); in _php_curl_setopt()
2651 zend_hash_next_index_insert_ptr(ch->to_free->slist, slist); in _php_curl_setopt()
2655 error = curl_easy_setopt(ch->cp, option, slist); in _php_curl_setopt()
3269 struct curl_slist *slist; in PHP_FUNCTION() local
3271 if (curl_easy_getinfo(ch->cp, option, &slist) == CURLE_OK) { in PHP_FUNCTION()
3272 while (slist) { in PHP_FUNCTION()
3273 add_next_index_string(return_value, slist->data); in PHP_FUNCTION()
3274 slist = slist->next; in PHP_FUNCTION()
3276 curl_slist_free_all(slist); in PHP_FUNCTION()
3387 zend_hash_destroy(ch->to_free->slist); in _php_curl_close_ex()
3388 efree(ch->to_free->slist); in _php_curl_close_ex()