The qDecoder Project

qHashtbl.c File Reference

Hash-table Data Structure API. More...


Functions

Q_HASHTBLqHashtblInit (int max)
 Under-development.
bool qHashtblFree (Q_HASHTBL *tbl)
 Under-development.
bool qHashtblPut (Q_HASHTBL *tbl, const char *key, const char *value, int size)
 Under-development.
bool qHashtblPutStr (Q_HASHTBL *tbl, const char *key, const char *str)
 Under-development.
bool qHashtblPutInt (Q_HASHTBL *tbl, const char *key, const int number)
 Under-development.
char * qHashtblGet (Q_HASHTBL *tbl, const char *key, int *size)
 Under-development.
char * qHashtblGetStr (Q_HASHTBL *tbl, const char *key)
 Under-development.
int qHashtblGetInt (Q_HASHTBL *tbl, const char *key)
 Under-development.
char * qHashtblGetFirstKey (Q_HASHTBL *tbl, int *idx)
 Under-development.
char * qHashtblGetNextKey (Q_HASHTBL *tbl, int *idx)
 Under-development.
bool qHashtblRemove (Q_HASHTBL *tbl, const char *key)
 Under-development.
bool qHashtblPrint (Q_HASHTBL *tbl, FILE *out, bool showvalue)
 Under-development.
bool qHashtblStatus (Q_HASHTBL *tbl, int *used, int *max)


Detailed Description

Hash-table Data Structure API.


Function Documentation

Q_HASHTBL* qHashtblInit ( int  max  ) 

Under-development.

Returns:

bool qHashtblFree ( Q_HASHTBL tbl  ) 

Under-development.

Returns:

bool qHashtblPut ( Q_HASHTBL tbl,
const char *  key,
const char *  value,
int  size 
)

Under-development.

Returns:

bool qHashtblPutStr ( Q_HASHTBL tbl,
const char *  key,
const char *  str 
)

Under-development.

Returns:

bool qHashtblPutInt ( Q_HASHTBL tbl,
const char *  key,
const int  number 
)

Under-development.

Returns:

char* qHashtblGet ( Q_HASHTBL tbl,
const char *  key,
int *  size 
)

Under-development.

Returns:

char* qHashtblGetStr ( Q_HASHTBL tbl,
const char *  key 
)

Under-development.

Returns:

int qHashtblGetInt ( Q_HASHTBL tbl,
const char *  key 
)

Under-development.

Returns:

char* qHashtblGetFirstKey ( Q_HASHTBL tbl,
int *  idx 
)

Under-development.

Returns:

char* qHashtblGetNextKey ( Q_HASHTBL tbl,
int *  idx 
)

Under-development.

Returns:

bool qHashtblRemove ( Q_HASHTBL tbl,
const char *  key 
)

Under-development.

Returns:

bool qHashtblPrint ( Q_HASHTBL tbl,
FILE *  out,
bool  showvalue 
)

Under-development.

Returns:


[Home] [About] [Examples] [Changes] [Download] [SVN Repository] [Install] [Reference]