My Project
programmer's documentation
Typedefs | Functions
cs_map.h File Reference
#include "cs_base.h"
Include dependency graph for cs_map.h:

Go to the source code of this file.

Typedefs

typedef struct _cs_map_name_to_id_t cs_map_name_to_id_t
 

Functions

cs_map_name_to_id_tcs_map_name_to_id_create (void)
 
void cs_map_name_to_id_destroy (cs_map_name_to_id_t **m)
 
int cs_map_name_to_id (cs_map_name_to_id_t *m, const char *key)
 
int cs_map_name_to_id_try (const cs_map_name_to_id_t *m, const char *key)
 
const char * cs_map_name_to_id_reverse (const cs_map_name_to_id_t *m, size_t id)
 
size_t cs_map_name_to_id_size (const cs_map_name_to_id_t *m)
 
const char * cs_map_name_to_id_key (const cs_map_name_to_id_t *m, size_t index)
 

Typedef Documentation

◆ cs_map_name_to_id_t

typedef struct _cs_map_name_to_id_t cs_map_name_to_id_t

Function Documentation

◆ cs_map_name_to_id()

int cs_map_name_to_id ( cs_map_name_to_id_t m,
const char *  key 
)

◆ cs_map_name_to_id_create()

cs_map_name_to_id_t* cs_map_name_to_id_create ( void  )

◆ cs_map_name_to_id_destroy()

void cs_map_name_to_id_destroy ( cs_map_name_to_id_t **  m)

◆ cs_map_name_to_id_key()

const char* cs_map_name_to_id_key ( const cs_map_name_to_id_t m,
size_t  index 
)

◆ cs_map_name_to_id_reverse()

const char* cs_map_name_to_id_reverse ( const cs_map_name_to_id_t m,
size_t  id 
)

◆ cs_map_name_to_id_size()

size_t cs_map_name_to_id_size ( const cs_map_name_to_id_t m)

◆ cs_map_name_to_id_try()

int cs_map_name_to_id_try ( const cs_map_name_to_id_t m,
const char *  key 
)