3 #ifndef _CTABLE_H_INCLUDED_
4 #define _CTABLE_H_INCLUDED_
12 /* #include <ctable.h>
17 * Interface of the cache manager. The structure of a cache is not visible
21 #define CTABLE struct ctable
22 typedef void *(*CTABLE_CREATE_FN
) (const char *, void *);
23 typedef void (*CTABLE_DELETE_FN
) (void *, void *);
25 extern CTABLE
*ctable_create(int, CTABLE_CREATE_FN
, CTABLE_DELETE_FN
, void *);
26 extern void ctable_free(CTABLE
*);
27 extern void ctable_walk(CTABLE
*, void (*) (const char *, const void *));
28 extern const void *ctable_locate(CTABLE
*, const char *);
33 /* The Secure Mailer license must be distributed with this software.
36 /* IBM T.J. Watson Research
38 /* Yorktown Heights, NY 10598, USA