File hash.c


Included Files


Preprocessor definitions

#define TOTAL_KEYWORDS 25

#define MIN_WORD_LENGTH 4

#define MAX_WORD_LENGTH 14

#define MIN_HASH_VALUE 9

#define MAX_HASH_VALUE 61


Type struct tags

struct tags
struct tags 
   { 
     char* name; 
     int value; 
   } 

Global Function in_word_set()

inline const struct tags* in_word_set ( const char* str, unsigned int len )
Calls: hash()tags.c
  strcmp()

Local Function hash()

static inline unsigned int hash ( const char* str, unsigned int len )
Called by: in_word_set()hash.c