Lines Matching refs:inifile
80 inifile * inifile_alloc(php_stream *fp, int readonly, int persistent) in inifile_alloc()
82 inifile *dba; in inifile_alloc()
91 dba = pemalloc(sizeof(inifile), persistent); in inifile_alloc()
92 memset(dba, 0, sizeof(inifile)); in inifile_alloc()
100 void inifile_free(inifile *dba, int persistent) in inifile_free()
164 static int inifile_read(inifile *dba, line_type *ln) { in inifile_read()
241 val_type inifile_fetch(inifile *dba, const key_type *key, int skip) { in inifile_fetch()
284 int inifile_firstkey(inifile *dba) { in inifile_firstkey()
292 int inifile_nextkey(inifile *dba) { in inifile_nextkey()
306 static int inifile_truncate(inifile *dba, size_t size) in inifile_truncate()
322 static int inifile_find_group(inifile *dba, const key_type *key, size_t *pos_grp_start) in inifile_find_group()
359 static int inifile_next_group(inifile *dba, const key_type *key, size_t *pos_grp_start) in inifile_next_group()
379 static int inifile_copy_to(inifile *dba, size_t pos_start, size_t pos_end, inifile **ini_copy) in inifile_copy_to()
409 static int inifile_filter(inifile *dba, inifile *from, const key_type *key, bool *found) in inifile_filter()
456 static int inifile_delete_replace_append(inifile *dba, const key_type *key, const val_type *value, … in inifile_delete_replace_append()
459 inifile *ini_tmp = NULL; in inifile_delete_replace_append()
558 int inifile_delete(inifile *dba, const key_type *key) in inifile_delete()
565 int inifile_delete_ex(inifile *dba, const key_type *key, bool *found) in inifile_delete_ex()
572 int inifile_replace(inifile *dba, const key_type *key, const val_type *value) in inifile_replace()
579 int inifile_replace_ex(inifile *dba, const key_type *key, const val_type *value, bool *found) in inifile_replace_ex()
586 int inifile_append(inifile *dba, const key_type *key, const val_type *value) in inifile_append()