#ifndef DICO_H #define DICO_H typedef struct dico *dico; /* create an empty dictionnary */ extern dico dico_create(int (*equal)(void *, void *)); /* test whether an object is a member of the dictionnary */ extern int dico_member(dico d, void *obj); /* insert an object in the dictionnary. The object must not already be in the dictionnary */ extern void dico_insert(dico d, void *obj); /* delete an object from the dictionnary. The object must be a member of the dictionnary */ extern void dico_delete(dico d, void *obj); #endif