![]() |
CAPS Universe documentation
1.0.4
All you need to know to be successful
|
Basic API for INI file management in the CAPS universe. More...
Go to the source code of this file.
Data Structures | |
| struct | caps_inif_table |
| Manage a table of INI entries. More... | |
Macros | |
| #define | LIBCAPSINIF_MAJOR 1 |
| #define | LIBCAPSINIF_MINOR 1 |
| #define | LIBCAPSINIF_MICRO 0 |
Functions | |
| void | caps_libinif_version_get (unsigned *major, unsigned *minor, unsigned *micro) |
| void | caps_libinif_init (void) |
| void | caps_inif_table_init (struct caps_inif_table *dst) |
| void | caps_inif_table_cleanup (struct caps_inif_table *dst) |
| int | caps_inif_file_read (struct caps_inif_table *dst, const char *level, const char *file_name) |
| struct caps_inif_lock * | caps_inif_locked_file_read (struct caps_inif_table *dst, const char *level, const char *file_name) |
| int | caps_inif_locked_file_write (const struct caps_inif_table *dst, struct caps_inif_lock *li) |
| void | caps_inif_locked_file_close (struct caps_inif_lock *li) |
| int | caps_inif_dir_read (struct caps_inif_table *dst, const char *level, const char *dir) |
| int | caps_inif_dir_merge (struct caps_inif_table *dst, const char *level, const char *dir) |
| int | caps_inif_file_merge (struct caps_inif_table *dst, const char *level, const char *ini_file) |
| const char * | caps_inif_option_get (const struct caps_inif_table *dst, const char *level, const char *section, const char *key) |
| int | caps_inif_option_add (struct caps_inif_table *dst, const char *level, const char *section, const char *key, const char *val) |
| struct caps_inif_cursor * | caps_inif_cursor_create (void) |
| void | caps_inif_cursor_destroy (struct caps_inif_cursor *cursor) |
| const char * | caps_inif_next_key_get (const struct caps_inif_table *dst, struct caps_inif_cursor *cursor) |
| const char * | caps_inif_next_section_get (const struct caps_inif_table *dst, struct caps_inif_cursor *cursor) |
| const char * | caps_inif_next_level_get (const struct caps_inif_table *dst, struct caps_inif_cursor *cursor) |
| size_t | caps_inif_option_count_get (const struct caps_inif_table *dst) |
| void | caps_inif_option_list_print (const struct caps_inif_table *dst) |