blob: 190672b7dae6bbb20d7b69fd85aa43ad0c081d60 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
|
#ifndef BBSLIB_H
#define BBSLIB_H
typedef struct nodelist_t {
char *node;
char *exclusion;
char *host;
char *protocol;
char *comments;
int feedtype;
FILE *feedfp;
} nodelist_t;
typedef struct newsfeeds_t {
char *newsgroups;
char *board;
char *path;
} newsfeeds_t;
typedef struct overview_t {
char *board, *filename, *group;
time_t mtime;
char *from, *subject;
} overview_t;
extern char MYBBSID[];
extern char ECHOMAIL[];
extern char BBSFEEDS[];
extern char LOCALDAEMON[];
extern char INNDHOME[];
extern char HISTORY[];
extern char LOGFILE[];
extern char INNBBSCONF[];
extern nodelist_t *NODELIST;
extern nodelist_t **NODELIST_BYNODE;
extern newsfeeds_t *NEWSFEEDS, **NEWSFEEDS_BYBOARD;
extern int NFCOUNT, NLCOUNT;
extern int Expiredays, His_Maint_Min, His_Maint_Hour;
extern int LOCALNODELIST, NONENEWSFEEDS;
extern int Maxclient;
# ifndef ARG
# ifdef __STDC__
# define ARG(x) x
# else
# define ARG(x) ()
# endif
# endif
int initial_bbs ARG((char* ));
char *restrdup ARG((char *, char *));
nodelist_t *search_nodelist ARG((char *, char *));
newsfeeds_t *search_group ARG((char *));
int bbslog ARG(());
void *mymalloc ARG((int));
void *myrealloc ARG((void *, int));
#ifdef PalmBBS
#define bbslog xbbslog
#endif
#endif
|