hash/htab.h File Reference

#include <stdint.h>
#include "../error/error.h"

Go to the source code of this file.

Typedefs

typedef struct nps_htab_t nps_HTAB

Functions

nps_HTABnps_htab_new (int64_t sz)
nps_HTABnps_htab_new_w_free (int64_t sz, void(*free_key)(void *), void(*free_value)(void *))
void nps_htab_del (nps_HTAB *o)
int64_t nps_htab_len (nps_HTAB *o)
int64_t nps_htab_alloc_size (nps_HTAB *o)
void * nps_htab_get (nps_HTAB *o, const char const *key_string)
int nps_htab_set (nps_HTAB *o, nps_error_t *err, char *restrict key_string, void *value)
int nps_htab_remove (nps_HTAB *o, const char const *restrict key_string)

Typedef Documentation

typedef struct nps_htab_t nps_HTAB

Function Documentation

int64_t nps_htab_alloc_size ( nps_HTAB o  ) 
void nps_htab_del ( nps_HTAB o  ) 
void* nps_htab_get ( nps_HTAB o,
const char const *  key_string 
)
int64_t nps_htab_len ( nps_HTAB o  ) 
nps_HTAB* nps_htab_new ( int64_t  sz  ) 
nps_HTAB* nps_htab_new_w_free ( int64_t  sz,
void(*)(void *)  free_key,
void(*)(void *)  free_value 
)
int nps_htab_remove ( nps_HTAB o,
const char const *restrict  key_string 
)
int nps_htab_set ( nps_HTAB o,
nps_error_t err,
char *restrict  key_string,
void *  value 
)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines
Generated on Sun Sep 11 09:40:46 2011 for NPSML by  doxygen 1.6.3