Changes in uspace/lib/c/include/adt/char_map.h [4eca056:2544442] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/include/adt/char_map.h
r4eca056 r2544442 48 48 typedef struct char_map char_map_t; 49 49 50 /** Type definition of the character string to integer map pointer. 51 * @see char_map 52 */ 53 typedef char_map_t *char_map_ref; 54 50 55 /** Character string to integer map item. 51 56 * … … 64 69 int next; 65 70 /** Next character array. */ 66 char_map_ t **items;71 char_map_ref *items; 67 72 /** Consistency check magic value. */ 68 73 int magic; 69 74 }; 70 75 71 extern int char_map_initialize(char_map_ t *);72 extern void char_map_destroy(char_map_ t *);73 extern int char_map_exclude(char_map_ t *, const char *, size_t);74 extern int char_map_add(char_map_ t *, const char *, size_t, const int);75 extern int char_map_find(const char_map_ t *, const char *, size_t);76 extern int char_map_update(char_map_ t *, const char *, size_t, const int);76 extern int char_map_initialize(char_map_ref); 77 extern void char_map_destroy(char_map_ref); 78 extern int char_map_exclude(char_map_ref, const char *, size_t); 79 extern int char_map_add(char_map_ref, const char *, size_t, const int); 80 extern int char_map_find(const char_map_ref, const char *, size_t); 81 extern int char_map_update(char_map_ref, const char *, size_t, const int); 77 82 78 83 #endif
Note:
See TracChangeset
for help on using the changeset viewer.