bigpoint_hash.h
734 Bytes
#ifndef __BIGPOINT_HASH_H__
#define __BIGPOINT_HASH_H__
#include <sys/types.h>
#include "bigpoint_cclass.h"
#include "bigpoint_dyntype.h"
struct BIGPOINT_HASH {
const struct BIGPOINT_CCLASS * const class;
char ** keys;
struct BIGPOINT_DYNTYPE ** values;
size_t size;
size_t used;
};
extern const struct BIGPOINT_CCLASS * const BIGPOINT_HASH;
void bigpoint_hash_set(struct BIGPOINT_HASH * _this,
const char * key,
struct BIGPOINT_DYNTYPE * value);
struct BIGPOINT_DYNTYPE *
bigpoint_hash_get(struct BIGPOINT_HASH * _this, const char * key);
struct BIGPOINT_DYNTYPE *
bigpoint_hash_del(struct BIGPOINT_HASH * _this, const char * key);
#endif//__BIGPOINT_HASH_H__
// vim: set et ts=4 sw=4: