9 date 92.12.15.00.20.22; author jromine; state Exp;
14 date 92.12.14.17.47.34; author jromine; state Exp;
19 date 92.12.14.17.44.38; author jromine; state Exp;
33 @/* bboards.h - definition of a BBoard structure */
34 /* @@(#)$Id: bboards.h,v 1.2 1992/12/14 17:47:34 jromine Exp jromine $ */
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 */
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 */
48 char *bb_name; /* name of the bboard */
49 char **bb_aka; /* aliases for the bboards */
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 */
56 char *bb_passwd; /* password for it */
58 char **bb_leader; /* list of local leaders */
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 */
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"
75 union { /* unassigned */
76 unsigned int un_count;
79 #define bb_count bb_un.un_count
80 #define bb_mtime bb_un.un_mtime
82 unsigned int bb_maxima; /* highest BBoard-Id in it */
83 char *bb_date; /* date that maxima was written */
85 struct bboard *bb_next; /* unassigned */
86 struct bboard *bb_link; /* unassigned */
87 struct bboard *bb_chain; /* unassigned */
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 */
96 int setbbent (), endbbent (), setbbfile (), setbbinfo (), setpwinfo (),
97 ldrbb (), ldrchk (), getbbdist ();
100 struct bboard *getbbent (), *getbbnam (), *getbbaka (), *getbbcpy();
111 /* @@(#)$Id: pidwait.c,v 1.9 1992/12/14 17:10:58 jromine Exp $ */