C:/Users/Dennis/src/lang/Life_start/Life/life-1.02/source/hash_tab.c File Reference

#include "extern.h"

Go to the source code of this file.

Functions

ptr_hash_table hash_create (int size)
void hash_expand (ptr_hash_table table, int new_size)
int hash_code (ptr_hash_table table, char *symbol)
int hash_find (ptr_hash_table table, char *symbol)
ptr_keyword hash_lookup (ptr_hash_table table, char *symbol)
void hash_insert (ptr_hash_table table, char *symbol, ptr_keyword keyword)
void hash_display (ptr_hash_table table)

Variables

static char vcid [] = "$Id: hash_table.c,v 1.2 1994/12/08 23:24:09 duchier Exp $"
ptr_definition first_definition = NULL
int rand_array [256]


Function Documentation

int hash_code ( ptr_hash_table  table,
char *  symbol 
)

Definition at line 87 of file hash_tab.c.

References rand_array.

ptr_hash_table hash_create ( int  size  ) 

Definition at line 32 of file hash_tab.c.

References NULL, and wl_hash_table::size.

void hash_display ( ptr_hash_table  table  ) 

Definition at line 188 of file hash_tab.c.

References hash_code().

void hash_expand ( ptr_hash_table  table,
int  new_size 
)

Definition at line 54 of file hash_tab.c.

References hash_insert(), and NULL.

int hash_find ( ptr_hash_table  table,
char *  symbol 
)

Definition at line 112 of file hash_tab.c.

References hash_code().

Referenced by hash_insert(), and hash_lookup().

void hash_insert ( ptr_hash_table  table,
char *  symbol,
ptr_keyword  keyword 
)

Definition at line 161 of file hash_tab.c.

References hash_expand(), and hash_find().

ptr_keyword hash_lookup ( ptr_hash_table  table,
char *  symbol 
)

Definition at line 139 of file hash_tab.c.

References hash_find().


Variable Documentation

ptr_definition first_definition = NULL

Definition at line 22 of file hash_tab.c.

Referenced by all_public_symbols(), all_sorts(), check_definition_list(), clear_coding(), collect_symbols(), count_sorts(), equalize_codes(), find_adults(), init_global_vars(), least_sorts(), new_definition(), and one_pass_always_check().

int rand_array

Definition at line 24 of file hash_tab.c.

Referenced by hash_code(), main(), and WFInit().

char vcid[] = "$Id: hash_table.c,v 1.2 1994/12/08 23:24:09 duchier Exp $" [static]

Definition at line 15 of file hash_tab.c.


Generated on Sat Jan 26 08:48:09 2008 for WildLife by  doxygen 1.5.4