|
|
1.1 root 1: /* SBLDEFS.H */
2:
3: /* Developed 1990-1997 by Rob Swindell; PO Box 501, Yorba Linda, CA 92885 */
4:
5: /* Macros, constants, and type definitions for Synchronet BBS List */
6:
7: #define MAX_SYSOPS 5
8: #define MAX_NUMBERS 20
9: #define MAX_NETS 10
10: #define MAX_TERMS 5
11: #define DEF_LIST_FMT "NSPBM"
12:
13: /* Misc bits */
14:
15: #define FROM_SMB (1L<<0) /* BBS info imported from message base */
16:
17: typedef struct {
18: char number[13] /* Phone number */
19: ,modem[16] /* Modem description */
20: ,location[31]; /* Location of phone number */
21: uint min_rate /* Minimum connect rate */
22: ,max_rate; /* Maximum connect rate */
23: } number_t;
24:
25: typedef struct {
26: char name[26] /* System name */
27: ,user[26] /* User who created entry */
28: ,software[16] /* BBS software */
29: ,total_sysops
30: ,sysop[MAX_SYSOPS][26] /* Sysop names */
31: ,total_numbers
32: ,total_networks
33: ,network[MAX_NETS][16] /* Network names */
34: ,address[MAX_NETS][26] /* Network addresses */
35: ,total_terminals
36: ,terminal[MAX_TERMS][16] /* Terminals supported */
37: ,desc[5][51] /* 5 line description */
38: ;
39: uint nodes /* Total nodes */
40: ,users /* Total users */
41: ,subs /* Total sub-boards */
42: ,dirs /* Total file dirs */
43: ,xtrns /* Total external programs */
44: ;
45: time_t created /* Time/date entry was created */
46: ,updated /* Time/date last updated */
47: ,birth /* Birthdate of BBS */
48: ;
49: ulong megs /* Storage space in megabytes */
50: ,msgs /* Total messages */
51: ,files /* Total files */
52: ,misc /* Miscellaneous bits */
53: ;
54: number_t number[MAX_NUMBERS]; /* Access numbers */
55:
56: char userupdated[26]; /* User who last updated */
57: time_t verified; /* Time/Date last vouched for */
58: char userverified[26]; /* User who last vouched */
59: char unused[444]; /* Unused space */
60: } bbs_t;
61:
62: /* End of SBL.H */
63:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.