#include "stmt/statement.h"
#include "timerange.h"
Include dependency graph for hash.h:
Go to the source code of this file.
Data Structures | |
struct | TKey |
define TKey and manipulations with it note: 'k' is a pointer to TKey More... | |
union | TValue |
Defines | |
#define | equalkey(k1, k2) ( !node_compare(&(k1)->node, &(k2)->node) ) |
#define | isnilkey(k) ((k)->isnil) |
#define | isnilvalue(v) ( (v)->up == NULL ) |
#define | key2int(k) ((unsigned int)(unsigned long)((k)->node.literal) ) |
#define | setkey(k, n) (k)->isnil = 0; (k)->node = (n) |
#define | setnilkey(k) (k)->isnil = 1 |
#define | setnilvalue(v) ((v)->up = NULL) |
Typedefs | |
typedef _HashTable | HashTable |
typedef safe_table | safe_table |
define TValue and manipulations with it note: 'v' is a pointer to TValue | |
Functions | |
void | hash_free (HashTable *t) |
const TValue * | hash_get (HashTable *t, const TKey *key) |
HashTable * | hash_new (int hashsize) |
int | hash_next (HashTable *t, TKey **key, TValue **value) |
TValue * | hash_set (HashTable *t, const TKey *key) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
define TValue and manipulations with it note: 'v' is a pointer to TValue
|
|
|
|
|
|
|
|
|
|
|