blob: 40f3271df63e3cc1cb5619a263642edf09696a22 (
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
|
/*
NoCeM-INNBBSD
Yen-Ming Lee <leeym@cae.ce.ntu.edu.tw>
*/
#ifndef NOCEM_H
#define NOCEM_H
#include "innbbsconf.h"
#include "bbslib.h"
#include "inntobbs.h"
#include <stdarg.h> /* for va_start() problem */
typedef struct ncmperm_t
{
char *issuer;
char *type;
int perm;
} ncmperm_t;
ncmperm_t *NCMPERM=NULL, **NCMPERM_BYTYPE=NULL;
static char *NCMPERM_BUF;
int NCMCOUNT = 0;
#define TEXT 0
#define NCMHDR 1
#define NCMBDY 2
#define NOPGP -1
#define PGPGOOD 0
#define PGPBAD 1
#define PGPUN 2
#define P_OKAY 0
#define P_FAIL -1
#define P_UNKNOWN -2
#define P_DISALLOW -3
#define STRLEN 80
#define MAXSPAMMID 10000
#define LINELEN 512
#define LeeymBBS "bbs.civil.ncku.edu.tw"
#define LeeymEMAIL "leeym@cae.ce.ntu.edu.tw"
#define NCMINNBBSVER "NoCeM-INNBBSD-0.71"
#undef DONT_REGISTER
extern char NCMVER[];
extern char ISSUER[];
extern char TYPE[];
extern char ACTION[];
extern char NCMID[];
extern char COUNT[];
extern char THRESHOLD[];
extern char KEYID[];
extern char SPAMMID_NOW[];
extern char SPAMMID[][];
#endif /* NOCEM_H */
|