Changeset 0f75a63 in mainline for uspace/lib/conf/src/ini.c
- Timestamp:
- 2020-07-05T21:01:49Z (5 years ago)
- Children:
- 6efe1b78
- Parents:
- 0c01270
- git-author:
- Matthieu Riolo <matthieu.riolo@…> (2019-08-23 22:04:34)
- git-committer:
- Matthieu Riolo <matthieu.riolo@…> (2020-07-05 21:01:49)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/conf/src/ini.c
r0c01270 r0f75a63 75 75 } 76 76 77 static size_t ini_section_ht_key_hash( void *key)77 static size_t ini_section_ht_key_hash(const void *key) 78 78 { 79 79 /* Nameless default section */ … … 91 91 } 92 92 93 static bool ini_section_ht_key_equal( void *key, const ht_link_t *item)93 static bool ini_section_ht_key_equal(const void *key, const ht_link_t *item) 94 94 { 95 95 const char *name = key; … … 119 119 } 120 120 121 static size_t ini_item_ht_key_hash( void *key)121 static size_t ini_item_ht_key_hash(const void *key) 122 122 { 123 123 return hash_string((const char *)key); … … 131 131 } 132 132 133 static bool ini_item_ht_key_equal( void *key, const ht_link_t *item)133 static bool ini_item_ht_key_equal(const void *key, const ht_link_t *item) 134 134 { 135 135 return str_cmp((const char *)key, … … 501 501 { 502 502 iterator->cur_item = 503 hash_table_find_next(iterator->table, iterator-> cur_item);503 hash_table_find_next(iterator->table, iterator->first_item, iterator->cur_item); 504 504 iterator->incremented = true; 505 505 }
Note:
See TracChangeset
for help on using the changeset viewer.