/* WIDE AREA INFORMATION SERVER SOFTWARE:
   No guarantees or restrictions.  See the readme file for the full standard
   disclaimer.

   Brewster@think.com
*/

/* Include file for the irhash.c file.
   Implements the building functions in irext.h */

#ifndef SIGHASH_H
#define SIGHASH_H

#include "cdialect.h"
#include "cutil.h"
#include "irlex.h"
#include "hutil.h"

#ifdef __cplusplus
/* declare these as C style functions */
extern "C"
	{
#endif /* def __cplusplus */

long hash_word _AP((char *wd,long below_n));
word_memory_hashtable *
  init_word_memory_hashtable _AP((long size, long flush_after_n_words,
				  word_memory_hashtable* the_word_memory_hashtable));
void sort_word_memory_hashtable _AP((word_memory_hashtable *the_word_memory_hashtable));
void collapse_word_memory_hashtable _AP((word_memory_hashtable *the_word_memory_hashtable));
void clear_word_memory_hashtable _AP((word_memory_hashtable *the_word_memory_hashtable));
void print_word_memory_hashtable _AP((word_memory_hashtable* the_word_memory_hashtable));

void add_stop_words _AP((word_memory_hashtable *the_word_memory_hashtable));

#ifdef __cplusplus
	}
#endif /* def __cplusplus */

#endif /* nded SIGHASH_H */






