chiark / gitweb /
REORG Delete everything that's not innduct or build system or changed for innduct
[innduct.git] / storage / ovinterface.h
diff --git a/storage/ovinterface.h b/storage/ovinterface.h
deleted file mode 100644 (file)
index 896ea7b..0000000
+++ /dev/null
@@ -1,56 +0,0 @@
-/*  $Id: ovinterface.h 6113 2003-01-04 16:29:56Z kondou $
-**
-**  Overview interface header
-*/
-
-#ifndef __OVINTERFACE_H__
-#define __OVINTERFACE_H__
-
-#include "config.h"
-#include "ov.h"
-#include "storage.h"
-#include "inn/history.h"
-
-struct buffer;
-struct vector;
-
-typedef struct {
-    const char *name;
-    bool       (*open)(int mode);
-    bool       (*groupstats)(char *group, int *lo, int *hi, int *count, int *flag);
-    bool       (*groupadd)(char *group, ARTNUM lo, ARTNUM hi, char *flag);
-    bool       (*groupdel)(char *group);
-    bool       (*add)(char *group, ARTNUM artnum, TOKEN token, char *data, int len, time_t arrived, time_t expires);
-    bool       (*cancel)(TOKEN token);
-    void       *(*opensearch)(char *group, int low, int high);
-    bool       (*search)(void *handle, ARTNUM *artnum, char **data, int *len, TOKEN *token, time_t *arrived);
-    void       (*closesearch)(void *handle);
-    bool       (*getartinfo)(char *group, ARTNUM artnum, TOKEN *token);
-    bool       (*expiregroup)(char *group, int *lo, struct history *h);
-    bool       (*ctl)(OVCTLTYPE type, void *val);
-    void       (*close)(void);
-} OV_METHOD;
-
-extern time_t  OVrealnow;
-bool OVgroupbasedexpire(TOKEN token, const char *group, const char *data,
-                        int len, time_t arrived, time_t expires);
-bool OVgroupmatch(const char *group);
-bool OVhisthasmsgid(struct history *, const char *data);
-void OVEXPremove(TOKEN token, bool deletedgroups, char **xref, int ngroups);
-void OVEXPcleanup(void);
-bool OVstatall;
-time_t OVnow;
-char *ACTIVE;
-FILE *EXPunlinkfile;
-bool OVignoreselfexpire;
-bool OVusepost;
-bool OVkeep;
-bool OVearliest;
-bool OVquiet;
-int  OVnumpatterns;
-char **OVpatterns;
-time_t OVrealnow;
-
-#define DEFAULT_MAX_XREF_LEN 8192
-
-#endif /* __OVINTERFACE_H__ */