#ifndef _NNTP_RMS_H_ #define _NNTP_RMS_H_ /* * Copyright (c) 1996, Ruslan R. Laishev (@RRL) */ #include #include #include #include #include #include #include #include /* * */ #define BigNum ((unsigned long) 0x7fffffff) int MsgDBopen (void); int MsgDBopen_stream (struct RAB *); int MsgDBclose_stream (struct RAB *); int MsgDBclose (void); int MsgDBput (struct RAB *,char *,char *,int,time_t,int); int MsgDBfind_byId (struct RAB *,char *,int); int MsgDBget_byId (struct RAB *,char *,char *,int); int MsgDBget_byNum (struct RAB *,char *,int,char *,int); int MsgDBget_byRange (struct RAB *,char *,int,char *,int,int); int GrpDBopen (void); int GrpDBopen_stream (struct RAB *); int GrpDBclose_stream (struct RAB *); int GrpDBclose (void); int GrpDBput (struct RAB *rabp,char *); int GrpDBget (struct RAB *,char *,char *); int GrpDBget_seq (struct RAB *,char *,int); #endif /* _NNTP_RMS_H_ */