DataSpace.h

Go to the documentation of this file.
00001 #ifndef _DATASPACE_H_
00002 #define _DATASPACE_H_
00003 
00004 #define KEY_STRING
00005 #define VAL_VOID
00006 #include "hash.h"
00007 #undef VAL_VOID
00008 #undef KEY_STRING
00009 
00010 typedef struct _DataSpace_ {
00011         HashStrVoid *dataHash;
00012 } DataSpace;
00013 
00014 DataSpace *  createDataSpace();
00015 void  destroyDataSpace(DataSpace * space);
00016 void *  getData (DataSpace * space, char * key, int * valSz);
00017 int  putData (DataSpace * space, char * key, void * val, int valSz);
00018 int  removeData (DataSpace * space, char * key);
00019 int  readDataSpace (FILE * inputFile, DataSpace * space);
00020 int  writeDataSpace (FILE * outputSpace, DataSpace * space);
00021 
00022 #endif

Generated on Tue Jan 17 19:18:38 2006 for Void by  doxygen 1.4.6