2 * This header file has one of the main data structures used by the
3 * cep-browser program: the struct module.
5 * Each module has to define its own struct module and export it
6 * so that cep-browser can use the module.
8 * Licensed under the GPLv2.
15 void (*mod_init
)(int (*compare
)(const void *key1
, const void *key2
),
16 void (*destroy
)(void *data
),
17 void (*dump
)(const void *data
));
18 void (*mod_destroy
)(void);
19 void (*mod_insert
)(void *data
);
20 void *(*mod_lookup
)(const void *data
);
21 void (*mod_dump
)(void);
22 size_t (*mod_size
)(void);
25 #endif /* __MODULE_H */