19 lines
		
	
	
		
			645 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
		
			645 B
		
	
	
	
		
			C
		
	
	
	
	
	
/* vim: set ts=4 sw=4 tw=99 et: */
 | 
						|
#ifndef _INCLUDE_SPCOMP_SYMHASH_H_
 | 
						|
#define _INCLUDE_SPCOMP_SYMHASH_H_
 | 
						|
 | 
						|
SC_FUNC uint32_t NameHash(const char *str);
 | 
						|
 | 
						|
struct HashTable;
 | 
						|
 | 
						|
SC_FUNC HashTable *NewHashTable();
 | 
						|
SC_FUNC void DestroyHashTable(HashTable *ht);
 | 
						|
SC_FUNC void AddToHashTable(HashTable *ht, symbol *sym);
 | 
						|
SC_FUNC void RemoveFromHashTable(HashTable *ht, symbol *sym);
 | 
						|
SC_FUNC symbol *FindInHashTable(HashTable *ht, const char *name, int fnumber);
 | 
						|
SC_FUNC symbol *FindTaggedInHashTable(HashTable *ht, const char *name, int fnumber,
 | 
						|
                                      int *cmptag);
 | 
						|
 | 
						|
#endif /* _INCLUDE_SPCOMP_SYMHASH_H_ */
 | 
						|
 |