URL
https://opencores.org/ocsvn/thor/thor/trunk
Subversion Repositories thor
[/] [thor/] [trunk/] [FT64v5/] [software/] [AS64/] [source/] [HT.H] - Rev 48
Compare with Previous | Blame | View Log
#ifndef HT_Htypedef struct {unsigned int hash;unsigned int delta;} SHashVal;typedef struct {SHashVal (*Hash)(void *);int (*IsEqual)(const void *, const void*); // Must return 0 if hash entry = entry search forint (*IsEqualName)(char *, const void *);int size;int width;void *table;} SHashTbl;void *htFind(SHashTbl *, void *);void *htFind2(SHashTbl *, char *);void *htDelete(SHashTbl *, void *);void *htInsert(SHashTbl *, void *);SHashVal htSymHash(SHashTbl *, char *);#define HT_H#endif
