1 /* $Id: hisv6.h 4959 2001-07-25 12:23:32Z alexk $
3 ** Internal history API interface exposed to HISxxx
13 void *hisv6_open(const char *path, int flags, struct history *);
15 bool hisv6_close(void *);
17 bool hisv6_sync(void *);
19 bool hisv6_lookup(void *, const char *key, time_t *arrived,
20 time_t *posted, time_t *expires, struct token *token);
22 bool hisv6_check(void *, const char *key);
24 bool hisv6_write(void *, const char *key, time_t arrived,
25 time_t posted, time_t expires, const struct token *token);
27 bool hisv6_replace(void *, const char *key, time_t arrived,
28 time_t posted, time_t expires, const struct token *token);
30 bool hisv6_expire(void *, const char *, const char *, bool,
31 void *, time_t threshold,
32 bool (*exists)(void *, time_t, time_t, time_t,
35 bool hisv6_walk(void *, const char *, void *,
36 bool (*)(void *, time_t, time_t, time_t,
37 const struct token *));
39 const char *hisv6_error(void *);
41 bool hisv6_remember(void *, const char *key, time_t arrived);
43 bool hisv6_ctl(void *, int, void *);