Lines Matching refs:slist
1146 zend_hash_init(&ch->to_free->slist, 4, NULL, curl_free_slist, 0); in init_curl_handle()
1161 struct curl_slist *slist; in create_certinfo() local
1164 for (slist = ci->certinfo[i]; slist; slist = slist->next) { in create_certinfo()
1168 strncpy(s, slist->data, sizeof(s)); in create_certinfo()
1174 add_assoc_string(&certhash, s, &slist->data[len+1]); in create_certinfo()
2114 struct curl_slist *slist = NULL; in _php_curl_setopt() local
2159 slist = curl_slist_append(slist, ZSTR_VAL(val)); in _php_curl_setopt()
2161 if (!slist) { in _php_curl_setopt()
2167 if (slist) { in _php_curl_setopt()
2169 zend_hash_index_update_ptr(&ch->to_free->slist, option, slist); in _php_curl_setopt()
2171 zend_hash_next_index_insert_ptr(&ch->to_free->slist, slist); in _php_curl_setopt()
2175 error = curl_easy_setopt(ch->cp, option, slist); in _php_curl_setopt()
2696 struct curl_slist *slist; in PHP_FUNCTION() local
2697 if (curl_easy_getinfo(ch->cp, option, &slist) == CURLE_OK) { in PHP_FUNCTION()
2698 struct curl_slist *current = slist; in PHP_FUNCTION()
2704 curl_slist_free_all(slist); in PHP_FUNCTION()
2812 zend_hash_destroy(&ch->to_free->slist); in curl_free_obj()