/opt/source/Wonder/Utilities/Adaptors/Adaptor/strtbl.h File Reference

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


Classes

struct  _strtbl
struct  _strtblelem

Defines

#define st_count(table)   (((strtbl *)table)->count)
#define STR_COPYKEY   1
#define STR_COPYVALUE   2
#define STR_FREEKEY   4
#define STR_FREEVALUE   8
#define STRTBL_INITIALIZER   ((strtbl){0,0,NULL})
#define STRTBL_NULLELEM   ((strtblelem){NULL,NULL,0})

Typedefs

typedef unsigned char _BOOLEAN_
typedef void(* st_perform_callback )(const char *key, const char *value, void *userdata)
typedef struct _strtbl strtbl
typedef struct _strtblelem strtblelem

Functions

void st_add (strtbl *st, const char *key, const char *value, int flags)
char * st_description (strtbl *st)
void st_free (strtbl *st)
strtblst_new (int hint)
strtblst_newWithString (const char *s)
void st_perform (strtbl *st, st_perform_callback callback, void *userdata)
void st_removeKey (strtbl *st, const char *key)
void st_setValueForKey (strtbl *st, const char *key, const char *value, int flags)
const char * st_valueFor (strtbl *st, const char *key)

Define Documentation

#define st_count ( table   )     (((strtbl *)table)->count)

#define STR_COPYKEY   1

#define STR_COPYVALUE   2

#define STR_FREEKEY   4

#define STR_FREEVALUE   8

#define STRTBL_INITIALIZER   ((strtbl){0,0,NULL})

#define STRTBL_NULLELEM   ((strtblelem){NULL,NULL,0})


Typedef Documentation

typedef unsigned char _BOOLEAN_

typedef void(* st_perform_callback)(const char *key, const char *value, void *userdata)

typedef struct _strtbl strtbl

typedef struct _strtblelem strtblelem


Function Documentation

void st_add ( strtbl st,
const char *  key,
const char *  value,
int  flags 
)

char* st_description ( strtbl st  ) 

void st_free ( strtbl st  ) 

strtbl* st_new ( int  hint  ) 

strtbl* st_newWithString ( const char *  s  ) 

void st_perform ( strtbl st,
st_perform_callback  callback,
void *  userdata 
)

void st_removeKey ( strtbl st,
const char *  key 
)

void st_setValueForKey ( strtbl st,
const char *  key,
const char *  value,
int  flags 
)

const char* st_valueFor ( strtbl st,
const char *  key 
)


Generated on Sat May 26 06:42:05 2012 for Project Wonder by  doxygen 1.5.8