Main Page | Class List | Directories | File List | Class Members | File Members

hashtable.c File Reference

#include "global.h"
#include "hashtable.h"
#include "stralloc.h"
#include "stuff.h"
#include "pike_error.h"

Functions

hash_entryhash_lookup (struct hash_table *h, struct pike_string *s)
hash_tablecreate_hash_table (void)
hash_tablehash_rehash (struct hash_table *h, int size)
hash_tablehash_insert (struct hash_table *h, struct hash_entry *s)
hash_tablehash_unlink (struct hash_table *h, struct hash_entry *s)
void map_hashtable (struct hash_table *h, void(*fun)(struct hash_entry *))
void free_hashtable (struct hash_table *h, void(*free_entry)(struct hash_entry *))

Function Documentation

struct hash_table* create_hash_table void   ) 
 

void free_hashtable struct hash_table h,
void(*)(struct hash_entry *)  free_entry
 

struct hash_table* hash_insert struct hash_table h,
struct hash_entry s
 

struct hash_entry* hash_lookup struct hash_table h,
struct pike_string s
 

struct hash_table* hash_rehash struct hash_table h,
int  size
 

struct hash_table* hash_unlink struct hash_table h,
struct hash_entry s
 

void map_hashtable struct hash_table h,
void(*)(struct hash_entry *)  fun
 


Generated on Fri Jul 22 23:44:29 2005 for Pike by  doxygen 1.3.9.1