2 * $Logfile: /Freespace2/code/Localization/fhash.h $
9 * Revision 1.1 2002/05/03 03:28:12 root
13 * 4 12/01/98 4:46p Dave
14 * Put in targa bitmap support (16 bit).
19 #ifndef _FRED_XSTR_HASH_TABLE_HEADER_FILE
20 #define _FRED_XSTR_HASH_TABLE_HEADER_FILE
22 // -----------------------------------------------------------------------------------------------
27 // -----------------------------------------------------------------------------------------------
31 // initialize the hash table
34 // set the hash table to be active for parsing
35 void fhash_activate();
37 // set the hash table to be inactive for parsing
38 void fhash_deactivate();
40 // if the hash table is active
43 // flush out the hash table, freeing up everything
46 // add a string with the given id# to the has table
47 void fhash_add_str(char *str, int id);
49 // determine if the passed string exists in the table
50 // returns : -2 if the string doesn't exit, or >= -1 as the string id # otherwise
51 int fhash_string_exists(char *str);