/* @(#) $Header: bbs.h,v 1.6 94/01/14 21:29:51 deyke Exp $ */

#ifndef _BBS_H
#define _BBS_H

#ifndef _CONFIGURE_H
#include "configure.h"
#endif

#define BIDFILE         "seqbid"
#define BID_DB          "bid"
#define CONFIGFILE      "bbs.conf"
#define DEBUGDIR        "/tmp/bbs"
#define HELPFILE        "/usr/local/lib/bbs.help"
#define INDEXFILE       "index"
#define INFOFILE        "/usr/local/lib/station.data"
#define LOCKFILE        "lock"
#define MYDOMAIN        "#BW.DEU.EU"
#define RCFILE          ".bbsrc"
#define SEQFILE         ".bbsseq"
#define WRKDIR          SPOOL_DIR "/bbs"

#define LEN_BID         12
#define LEN_SUBJECT     80
#define LEN_TO           8
#define LEN_AT           8
#define LEN_FROM         8

struct index {
  long size;
  long date;
  int mesg;
  char bid[LEN_BID+1];
  char lifetime_h;
  char subject[LEN_SUBJECT+1];
  char lifetime_l;
  char to[LEN_TO+1];
  char at[LEN_AT+1];
  char from[LEN_FROM+1];
  char deleted;
};

#endif  /* _BBS_H */
