osprey/kg++fe/gnu/hash.h File Reference

#include <ansidecl.h>
#include "obstack.h"

Include dependency graph for hash.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Types

type  hash_entry
type  hash_table

Typedefs

typedef PTR hash_table_key

Functions/Subroutines

void hash_table_init PARAMS ((struct hash_table *, struct hash_entry *(*)(struct hash_entry *, struct hash_table *, hash_table_key), unsigned long(*hash)(hash_table_key), bool(*comp)(hash_table_key, hash_table_key)))
void hash_table_init_n PARAMS ((struct hash_table *, struct hash_entry *(*)(struct hash_entry *, struct hash_table *, hash_table_key), unsigned long(*hash)(hash_table_key), bool(*comp)(hash_table_key, hash_table_key), unsigned int size))
void hash_table_free PARAMS ((struct hash_table *))
struct hash_entry *hash_lookup PARAMS ((struct hash_table *, hash_table_key key, int create, hash_table_key(*copy)(struct obstack *, hash_table_key)))
struct hash_entry *hash_newfunc PARAMS ((struct hash_entry *, struct hash_table *, hash_table_key key))
PTR hash_allocate PARAMS ((struct hash_table *, unsigned int))
void hash_traverse PARAMS ((struct hash_table *, bool(*)(struct hash_entry *, hash_table_key), hash_table_key info))
unsigned long string_hash PARAMS ((hash_table_key k))
bool string_compare PARAMS ((hash_table_key k1, hash_table_key k2))
hash_table_key string_copy PARAMS ((struct obstack *memory, hash_table_key k))


Typedef Documentation

Definition at line 28 of file hash.h.


Function Documentation

hash_table_key string_copy PARAMS ( (struct obstack *memory, hash_table_key k)   ) 

bool string_compare PARAMS ( (hash_table_key k1, hash_table_key k2)   ) 

unsigned long string_hash PARAMS ( (hash_table_key k)   ) 

void hash_traverse PARAMS ( (struct hash_table *, bool(*)(struct hash_entry *, hash_table_key), hash_table_key info  ) 

PTR hash_allocate PARAMS ( (struct hash_table *, unsigned int)   ) 

struct hash_entry* hash_newfunc PARAMS ( (struct hash_entry *, struct hash_table *, hash_table_key key)   )  [read]

struct hash_entry* hash_lookup PARAMS ( (struct hash_table *, hash_table_key key, int create, hash_table_key(*copy)(struct obstack *, hash_table_key))   )  [read]

void hash_table_free PARAMS ( (struct hash_table *)   ) 

void hash_table_init_n PARAMS ( (struct hash_table *, struct hash_entry *(*)(struct hash_entry *, struct hash_table *, hash_table_key), unsigned long(*hash)(hash_table_key), bool(*comp)(hash_table_key, hash_table_key), unsigned int size  ) 


Generated on Wed Apr 8 15:35:10 2009 for Open64 by  doxygen 1.5.6