Rev 3912 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3912 | Rev 4743 | ||
---|---|---|---|
Line 112... | Line 112... | ||
112 | * @returns The integral value assigned to the key character string. |
112 | * @returns The integral value assigned to the key character string. |
113 | * @returns CHAR_MAP_NULL if the key is not assigned a value. |
113 | * @returns CHAR_MAP_NULL if the key is not assigned a value. |
114 | */ |
114 | */ |
115 | int char_map_find( const char_map_ref map, const char * identifier, size_t length ); |
115 | int char_map_find( const char_map_ref map, const char * identifier, size_t length ); |
116 | 116 | ||
117 | /** Returns the value assigned to the map. |
- | |
118 | * @param map The character string to integer map. Input parameter. |
- | |
119 | * @returns The integral value assigned to the map. |
- | |
120 | * @returns CHAR_MAP_NULL if the map is not assigned a value. |
- | |
121 | */ |
- | |
122 | int char_map_get_value( const char_map_ref map ); |
- | |
123 | - | ||
124 | /** Initializes the map. |
117 | /** Initializes the map. |
125 | * @param map The character string to integer map. Input/output parameter. |
118 | * @param map The character string to integer map. Input/output parameter. |
126 | * @returns EOK on success. |
119 | * @returns EOK on success. |
127 | * @returns EINVAL if the map parameter is NULL. |
120 | * @returns EINVAL if the map parameter is NULL. |
128 | * @returns ENOMEM if there is not enough memory left. |
121 | * @returns ENOMEM if there is not enough memory left. |