1: /* bboards.h - definition of a BBoard structure */
   2: 
   3: #define BBOARDS "bboards"   /* name in /etc/passwd */
   4: #define BBDB    "BBoards"   /* file in BBOARDS' home directory */
   5: #define BBMODE  0644        /* default BBoards mode */
   6: #define DISTADR "dist-"     /* prefix for distribution addresses */
   7: 
   8: #ifdef  POP
   9: #define POPUID  "pop"       /* name in /etc/passwd */
  10: #define POPDB   "POP"       /* file in POPUID's home directory */
  11: #define POMODE  0600        /* default POP subscriber maildrop mode */
  12: #endif	POP
  13: 
  14: struct bboard {
  15:     char   *bb_name;        /* name of the bboard */
  16:     char  **bb_aka;     /* aliases for the bboards */
  17: 
  18:     char   *bb_file;        /* file it resides in */
  19:     char   *bb_archive;     /* file where archives reside */
  20:     char   *bb_info;        /* file where maxima resides */
  21:     char   *bb_map;     /* file where binary map resides */
  22: 
  23:     char   *bb_passwd;      /* password for it */
  24: 
  25:     char  **bb_leader;      /* list of local leaders */
  26: 
  27:     char   *bb_addr;        /* network address */
  28:     char   *bb_request;     /* network address for requests */
  29:     char   *bb_relay;       /* host acting as relay in local domain */
  30:     char  **bb_dist;        /* distribution list */
  31: 
  32:     unsigned int    bb_flags;   /* various flags */
  33: #define BB_NULL 0x0000
  34: #define BB_ARCH 0x0007      /* archive policy */
  35: #define   BB_ASAV   0x0001  /*   save in archives/ directory */
  36: #define   BB_AREM   0x0002  /*   remove without saving */
  37: #define BB_INVIS    0x0010  /* invisible to bbc */
  38: #define BB_REMOTE   0x0020  /* remote to bbc */
  39: #define BBITS   "\020\01ARCHIVE\02REMOVE\05INVIS\06REMOTE"
  40: 
  41:     union {         /* unassigned */
  42:     unsigned int    un_count;
  43:     long        un_mtime;
  44:     } bb_un;
  45: #define bb_count    bb_un.un_count
  46: #define bb_mtime    bb_un.un_mtime
  47: 
  48:     unsigned int    bb_maxima;  /* highest BBoard-Id in it */
  49:     char   *bb_date;        /* date that maxima was written */
  50: 
  51:     struct bboard *bb_next; /* unassigned */
  52:     struct bboard *bb_link; /* unassigned */
  53:     struct bboard *bb_chain;    /* unassigned */
  54: };
  55: 
  56:                 /* flags for setbbent () */
  57: #define SB_NULL 0x0000
  58: #define SB_STAY 0x0001      /*   stay open between calls */
  59: #define SB_FAST 0x0002      /*   fast parse of file */
  60: 
  61: void    make_lower ();
  62: int     setbbent (), endbbent (), setbbfile (), setbbinfo (), setpwinfo (),
  63:     ldrbb (), ldrchk (), getbbdist ();
  64: long    getbbtime ();
  65: char   *getbberr ();
  66: struct bboard  *getbbent (), *getbbnam (), *getbbaka (), *getbbcpy();

Defined struct's

bboard defined in line 14; used 42 times

Defined macros

BBDB defined in line 4; used 3 times
BBITS defined in line 39; never used
BBMODE defined in line 5; used 1 times
BB_ARCH defined in line 34; never used
BB_AREM defined in line 36; never used
BB_ASAV defined in line 35; never used
BB_INVIS defined in line 37; never used
BB_NULL defined in line 33; used 1 times
BB_REMOTE defined in line 38; never used
DISTADR defined in line 6; used 1 times
POMODE defined in line 11; never used
POPDB defined in line 10; used 2 times
POPUID defined in line 9; used 2 times
SB_FAST defined in line 59; used 2 times
SB_NULL defined in line 57; used 7 times
SB_STAY defined in line 58; used 1 times
bb_count defined in line 45; used 3 times
bb_mtime defined in line 46; never used

Usage of this include

Last modified: 1986-04-21
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 1283
Valid CSS Valid XHTML 1.0 Strict