Main Page   File List   File Members   Related Pages  

frdi_dict.h File Reference

function headers and defines for frdi_dict.c More...

Go to the source code of this file.

Functions

frdi_dict * frdiDictNew ()
void frdiDictFree (frdi_dict *dict)
void frdiDictSet (frdi_dict *dict, void *key, void *value)
void * frdiDictGet (frdi_dict *dict, void *key)
void frdiDictRemove (frdi_dict *dict, void *key)
frdi_list * frdiDictKeys (frdi_dict *dict)
frdi_list * frdiDictValues (frdi_dict *dict)
char * frdiDictDisplay (frdi_dict *dict)
void frdiDictSetStringHandler (frdi_dict *dict, frdi_handler *handler)


Detailed Description

function headers and defines for frdi_dict.c

Author:
Douglas Reay <douglas-legal@reay.org>
Warning:

Function Documentation

frdi_dict* frdiDictNew  
 

Create Object

void frdiDictFree frdi_dict *    dict
 

Release Object

void frdiDictSet frdi_dict *    dict,
void *    key,
void *    value
 

associate a value with a key removes the key if value is NULL

void* frdiDictGet frdi_dict *    dict,
void *    key
 

returns the value associated with a key returns NULL if key not present

void frdiDictRemove frdi_dict *    dict,
void *    key
 

remove a key:value pair

frdi_list* frdiDictKeys frdi_dict *    dict
 

Return the keys

frdi_list* frdiDictValues frdi_dict *    dict
 

Return the values

char* frdiDictDisplay frdi_dict *    dict
 

Return a string representation of the dictionary

void frdiDictSetStringHandler frdi_dict *    dict,
frdi_handler *    handler
 

set the type of the void * for this entire dict


Generated on Wed Aug 18 13:23:52 2004 for Project Fairdice by doxygen1.2.18