Removed note from BUGS section of several man pages saying
[mmh] / docs / historical / mh-6.8.5 / zotnet / RCS / bboards.h,v
1 head    1.2;
2 access;
3 symbols;
4 locks; strict;
5 comment @ * @;
6
7
8 1.2
9 date    92.05.12.22.04.52;      author jromine; state Exp;
10 branches;
11 next    1.1;
12
13 1.1
14 date    92.05.12.22.04.36;      author jromine; state Exp;
15 branches;
16 next    ;
17
18
19 desc
20 @@
21
22
23 1.2
24 log
25 @fix ifdefs
26 @
27 text
28 @/* bboards.h - definition of a BBoard structure */
29 /* $Id: formatsbr.h,v 1.1 1992/01/23 23:14:54 jromine Exp $ */
30
31 #define BBOARDS "bboards"       /* name in /etc/passwd */
32 #define BBDB    "BBoards"       /* file in BBOARDS' home directory */
33 #define BBMODE  0644            /* default BBoards mode */
34 #define DISTADR "dist-"         /* prefix for distribution addresses */
35
36 #ifdef  POP
37 #define POPUID  "pop"           /* name in /etc/passwd */
38 #define POPDB   "POP"           /* file in POPUID's home directory */
39 #define POMODE  0600            /* default POP subscriber maildrop mode */
40 #endif /* POP */
41
42 struct bboard {
43     char   *bb_name;            /* name of the bboard */
44     char  **bb_aka;             /* aliases for the bboards */
45
46     char   *bb_file;            /* file it resides in */
47     char   *bb_archive;         /* file where archives reside */
48     char   *bb_info;            /* file where maxima resides */
49     char   *bb_map;             /* file where binary map resides */
50
51     char   *bb_passwd;          /* password for it */
52
53     char  **bb_leader;          /* list of local leaders */
54
55     char   *bb_addr;            /* network address */
56     char   *bb_request;         /* network address for requests */
57     char   *bb_relay;           /* host acting as relay in local domain */
58     char  **bb_dist;            /* distribution list */
59
60     unsigned int    bb_flags;   /* various flags */
61 #define BB_NULL 0x0000
62 #define BB_ARCH 0x0007          /* archive policy */
63 #define   BB_ASAV       0x0001  /*   save in archives/ directory */
64 #define   BB_AREM       0x0002  /*   remove without saving */
65 #define BB_INVIS        0x0010  /* invisible to bbc */
66 #define BB_REMOTE       0x0020  /* remote to bbc */
67 #define BB_SEEN         0x0040  /* seen by bbc */
68 #define BBITS   "\020\01ARCHIVE\02REMOVE\05INVIS\06REMOTE\07SEEN"
69
70     union {                     /* unassigned */
71         unsigned int    un_count;
72         long            un_mtime;
73     } bb_un;
74 #define bb_count        bb_un.un_count
75 #define bb_mtime        bb_un.un_mtime
76     
77     unsigned int    bb_maxima;  /* highest BBoard-Id in it */
78     char   *bb_date;            /* date that maxima was written */
79
80     struct bboard *bb_next;     /* unassigned */
81     struct bboard *bb_link;     /* unassigned */
82     struct bboard *bb_chain;    /* unassigned */
83 };
84
85                                 /* flags for setbbent () */
86 #define SB_NULL 0x0000
87 #define SB_STAY 0x0001          /*   stay open between calls */
88 #define SB_FAST 0x0002          /*   fast parse of file */
89
90 void    make_lower ();
91 int     setbbent (), endbbent (), setbbfile (), setbbinfo (), setpwinfo (),
92         ldrbb (), ldrchk (), getbbdist ();
93 long    getbbtime ();
94 char   *getbberr ();
95 struct bboard  *getbbent (), *getbbnam (), *getbbaka (), *getbbcpy();
96 @
97
98
99 1.1
100 log
101 @Initial revision
102 @
103 text
104 @d2 1
105 d13 1
106 a13 1
107 #endif  POP
108 @