File: hash.h

package info (click to toggle)
xpaint 2.7.8.1-1.2
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 3,016 kB
  • ctags: 6,278
  • sloc: ansic: 37,708; makefile: 4,770; sh: 119
file content (8 lines) | stat: -rw-r--r-- 321 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
/* $Id: hash.h,v 1.17 2005/03/20 20:15:32 demailly Exp $ */

/* hash.c */
void *HashCreate(int (*cmp) (void *, void *), void (*free) (void *), int nelem);
void HashDestroy(void *t);
void *HashFind(void *t, int value, void *val);
int HashAdd(void *t, int value, void *val);
int HashRemove(void *t, int value, void *elem);