1 #ifndef _BUFFINDEXED_H_
2 #define _BUFFINDEXED_H_
6 #endif /* __cplusplus */
8 bool buffindexed_open(int mode);
9 bool buffindexed_groupstats(char *group, int *lo, int *hi, int *count, int *flag);
10 bool buffindexed_groupadd(char *group, ARTNUM lo, ARTNUM hi, char *flag);
11 bool buffindexed_groupdel(char *group);
12 bool buffindexed_add(char *group, ARTNUM artnum, TOKEN token, char *data, int len, time_t arrived, time_t expires);
13 bool buffindexed_cancel(TOKEN token);
14 void *buffindexed_opensearch(char *group, int low, int high);
15 bool buffindexed_search(void *handle, ARTNUM *artnum, char **data, int *len, TOKEN *token, time_t *arrived);
16 void buffindexed_closesearch(void *handle);
17 bool buffindexed_getartinfo(char *group, ARTNUM artnum, TOKEN *token);
18 bool buffindexed_expiregroup(char *group, int *lo, struct history *h);
19 bool buffindexed_ctl(OVCTLTYPE type, void *val);
20 void buffindexed_close(void);
24 #endif /* __cplusplus */
26 #endif /* _BUFFINDEXED_H_ */