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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
|
#ifndef EXTERNS_H
#define EXTERNS_H
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include "bbslib.h"
#include "nocem.h"
#include "daemon.h"
/* file.c */
char *fileglue (char *, ...);
/* pmain.c */
int pmain(char *port);
int p_unix_main(char *);
/* bbslib.c / echobbslib.c */
char *ascii_date();
char **split (char *, char *);
nodelist_t *search_nodelist_bynode(char *node);
newsfeeds_t *search_board(char *board);
int readnffile(char *);
int readnlfile(char *, char *);
void verboselog(char *fmt, ...);
void verboseon(char *);
int isverboselog(void);
void setverboseoff(void);
void setverboseon(void);
void testandmkdir(char *);
char **BNGsplit(char *);
/* rfc931.c */
char *my_rfc931_name(int, struct sockaddr_in *);
/* inntobbs.c */
int headervalue(char *);
void init_echomailfp(void);
void init_bbsfeedsfp(void);
void bbsfeedslog(char *, int);
void readlines(ClientType *);
/* connectsock.c */
int open_listen(char *, char *, int (*) (int));
int open_unix_listen(char *, char *, int (*) (int));
void docompletehalt(int);
int inetclient(char *, char *, char *);
int tryaccept(int);
void startfrominetd(int);
void sethaltfunction(int (*)(int));
/* innbbsd.c */
int INNBBSDshutdown(void);
void installinnbbsd(void);
/* daemon.c */
int argify(char *, char ***);
void deargify (char ***);
daemoncmd_t *searchcmd(char *);
/* receive_article.c */
int cancel_article_front(char *);
int receive_control(void);
/* nocem.c */
ncmperm_t *search_issuer(char *);
int receive_nocem(void);
/* closeonexec.c */
void closeOnExec(int, int);
void CloseOnExec(int, int);
/* inndchannel.c */
int innbbsdstartup(void);
void clearfdset(int);
void channeldestroy(ClientType *);
void feedfplog(newsfeeds_t *, char *, int);
#endif
|