File: hash.e

package info (click to toggle)
html-xml-utils 7.7-1.3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,540 kB
  • sloc: ansic: 11,213; sh: 7,996; lex: 243; makefile: 192; yacc: 125
file content (5 lines) | stat: -rw-r--r-- 198 bytes parent folder | download | duplicates (5)
1
2
3
4
5
typedef struct entry {char *key; void *data;} ENTRY;
typedef enum {FIND, ENTER} ACTION;
extern int hcreate(size_t nel);
extern void hdestroy(void);
extern ENTRY *hsearch(ENTRY item, ACTION action);