cdictionary.c File Reference

#include <cybergarage/util/cdictionary.h>
#include <cybergarage/util/clog.h>

Functions

CgDictionarycg_dictionary_new ()
void cg_dictionary_delete (CgDictionary *dictionaryList)
CgDictionaryElementcg_dictionary_getelement (CgDictionary *dir, char *key)
void cg_dictionary_setvalue (CgDictionary *dir, char *key, char *value)
char * cg_dictionary_getvalue (CgDictionary *dir, char *key)

Function Documentation

void cg_dictionary_delete ( CgDictionary dir  ) 

Destroy a dictionary list

Parameters:
dir The dictionary list in question
CgDictionaryElement* cg_dictionary_getelement ( CgDictionary dir,
char *  key 
)
char* cg_dictionary_getvalue ( CgDictionary dir,
char *  key 
)

Get a value of the specified key

Parameters:
dir The dictionary list in question
key Name to search.
Returns:
Value of the specified key.
CgDictionary* cg_dictionary_new (  ) 

Create a new dictionary list

Returns:
Dictionary list
void cg_dictionary_setvalue ( CgDictionary dir,
char *  key,
char *  value 
)

Set a new element into a dictionary

Parameters:
dir The dictionary list in question
key Name to set.
value Value to set.

Generated on Tue Feb 23 23:14:24 2010 for CyberLink for C by  doxygen 1.6.1