DataSpace.h File Reference

#include "hash.h"

Include dependency graph for DataSpace.h:

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

Go to the source code of this file.

Data Structures

struct  _DataSpace_

Defines

#define KEY_STRING
#define VAL_VOID

Typedefs

typedef _DataSpace_ DataSpace

Functions

DataSpacecreateDataSpace ()
void destroyDataSpace (DataSpace *space)
void * getData (DataSpace *space, char *key, int *valSz)
int putData (DataSpace *space, char *key, void *val, int valSz)
int removeData (DataSpace *space, char *key)
int readDataSpace (FILE *inputFile, DataSpace *space)
int writeDataSpace (FILE *outputSpace, DataSpace *space)


Define Documentation

#define KEY_STRING
 

Definition at line 4 of file DataSpace.h.

#define VAL_VOID
 

Definition at line 5 of file DataSpace.h.


Typedef Documentation

typedef struct _DataSpace_ DataSpace
 


Function Documentation

DataSpace* createDataSpace  ) 
 

Definition at line 9 of file DataSpace.c.

References _DataSpace_::dataHash, INITIAL_CAPACITY, readTaskData(), and writeTaskData().

Referenced by cachePutData(), createTask(), and readTask().

Here is the call graph for this function:

void destroyDataSpace DataSpace space  ) 
 

Definition at line 18 of file DataSpace.c.

References _DataSpace_::dataHash.

Referenced by taskMove().

void* getData DataSpace space,
char *  key,
int *  valSz
 

Definition at line 22 of file DataSpace.c.

References _DataSpace_::dataHash, _TaskData_::val, and _TaskData_::valSz.

Referenced by cacheGetData().

int putData DataSpace space,
char *  key,
void *  val,
int  valSz
 

Definition at line 39 of file DataSpace.c.

References _DataSpace_::dataHash, destroyTaskData(), INITIAL_CAPACITY, _TaskData_::val, and _TaskData_::valSz.

Referenced by cachePutData().

Here is the call graph for this function:

int readDataSpace FILE *  inputFile,
DataSpace space
 

Definition at line 88 of file DataSpace.c.

References _DataSpace_::dataHash.

Referenced by readTask().

int removeData DataSpace space,
char *  key
 

Definition at line 68 of file DataSpace.c.

References _DataSpace_::dataHash, and destroyTaskData().

Referenced by cacheRemoveData().

Here is the call graph for this function:

int writeDataSpace FILE *  outputSpace,
DataSpace space
 

Definition at line 94 of file DataSpace.c.

References _DataSpace_::dataHash.

Referenced by writeTask().


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