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