64 #define DEF_HASHSIZE 1009
65 #define HASHTYPE_STRING 0
66 #define HASHTYPE_INT 1
67 #define HASHTYPE_CHAR 2
68 #define HASHTYPE_DOUBLE 3
69 #define HASHTYPE_POINTER 4
BOOL blHashKeyDefined(HASHTABLE *hashtable, char *key)
HASHTABLE * blInitializeHash(ULONG hashsize)
char blGetHashValueChar(HASHTABLE *hashtable, char *key)
BOOL blSetHashValueInt(HASHTABLE *hashtable, char *key, int value)
BPTR blGetHashValuePointer(HASHTABLE *hashtable, char *key)
BOOL blSetHashValue(HASHTABLE *hashtable, char *key, int type,...)
BPTR blGetHashValue(HASHTABLE *hashtable, char *key, int *type)
struct _hashTab _HASHENTRY
void blFreeHash(HASHTABLE *hashtable)
BOOL blSetHashValueChar(HASHTABLE *hashtable, char *key, char value)
char * blStrdup(char *instr)
void blDeleteHashKey(HASHTABLE *hashtable, char *key)
char * blGetHashValueString(HASHTABLE *hashtable, char *key)
BOOL blSetHashValueString(HASHTABLE *hashtable, char *key, char *value)
BOOL blDumpHash(FILE *out, HASHTABLE *hashtable)
void blFreeHashKeyList(char **keylist)
BOOL blSetHashValueDouble(HASHTABLE *hashtable, char *key, double value)
char ** blGetHashKeyList(HASHTABLE *hashtable)
System-type variable type definitions.
BOOL blSetHashValuePointer(HASHTABLE *hashtable, char *key, BPTR ptr)
double blGetHashValueDouble(HASHTABLE *hashtable, char *key)
int blGetHashValueInt(HASHTABLE *hashtable, char *key)