include/libtu/map.h

changeset 51
2d95d77aa954
parent 36
63cd573ffbcf
child 53
f8f9366b359c
equal deleted inserted replaced
50:855953c2f413 51:2d95d77aa954
15 15
16 #define END_STRINGINTMAP {NULL, 0} 16 #define END_STRINGINTMAP {NULL, 0}
17 17
18 /* Return the index of str in map or -1 if not found. */ 18 /* Return the index of str in map or -1 if not found. */
19 extern int stringintmap_ndx(const StringIntMap *map, const char *str); 19 extern int stringintmap_ndx(const StringIntMap *map, const char *str);
20 20 extern int stringintmap_value(const StringIntMap *map, const char *str,
21 int dflt);
22
21 #endif /* LIBTU_MAP_H */ 23 #endif /* LIBTU_MAP_H */

mercurial