libSystem/include/hash.h
Pierre Pronchery fe9918dc0e Added hash.c and config.c
Fixed String API
Improved Array API
2005-10-20 19:05:39 +00:00

28 lines
336 B
C

/* hash.h */
#ifndef _HASH_H
# define _HASH_H
# include "array.h"
/* Hash */
/* types */
typedef Array Hash;
/* functions */
/* hash */
Hash * hash_new(void);
void hash_delete(Hash * h);
/* useful */
void * hash_get(Hash * h, char const * name);
int hash_set(Hash * h, char const * name, void * data);
#endif /* !_HASH_H */