char_map.h File Reference

Character string to integer map. More...

This graph shows which files directly or indirectly include this file:

Data Structures

struct  char_map
 Character string to integer map item. More...

Defines

#define CHAR_MAP_NULL   (-1)
 Invalid assigned value used also if an entry does not exist.

Typedefs

typedef struct char_map char_map_t
 Type definition of the character string to integer map.
typedef char_map_tchar_map_ref
 Type definition of the character string to integer map pointer.

Functions

int char_map_add (char_map_ref map, const char *identifier, size_t length, const int value)
 Adds the value with the key to the map.
void char_map_destroy (char_map_ref map)
 Clears and destroys the map.
int char_map_exclude (char_map_ref map, const char *identifier, size_t length)
 Excludes the value assigned to the key from the map.
int char_map_find (const char_map_ref map, const char *identifier, size_t length)
 Returns the value assigned to the key from the map.
int char_map_initialize (char_map_ref map)
 Initializes the map.
int char_map_update (char_map_ref map, const char *identifier, size_t length, const int value)
 Adds or updates the value with the key to the map.

Detailed Description

Character string to integer map.


Generated on Thu Mar 11 20:46:14 2010 for Networking and TCP/IP stack for HelenOS system by  doxygen 1.6.1