Lines Matching refs:browdata
246 static int browscap_read_file(char *filename, browser_data *browdata, int persistent TSRMLS_DC) /* … in browscap_read_file() argument
254 browdata->htab = pemalloc(sizeof *browdata->htab, persistent); in browscap_read_file()
255 if (browdata->htab == NULL) { in browscap_read_file()
259 if (zend_hash_init_ex(browdata->htab, 0, NULL, in browscap_read_file()
263 pefree(browdata->htab, persistent); in browscap_read_file()
264 browdata->htab = NULL; in browscap_read_file()
272 zend_hash_destroy(browdata->htab); in browscap_read_file()
273 pefree(browdata->htab, persistent); in browscap_read_file()
274 browdata->htab = NULL; in browscap_read_file()
280 browdata->current_section_name = NULL; in browscap_read_file()
282 (zend_ini_parser_cb_t) php_browscap_parser_cb, browdata TSRMLS_CC); in browscap_read_file()
283 if (browdata->current_section_name != NULL) { in browscap_read_file()
284 pefree(browdata->current_section_name, persistent); in browscap_read_file()
285 browdata->current_section_name = NULL; in browscap_read_file()