nocem.h
上传用户:minyiyu
上传日期:2018-12-24
资源大小:864k
文件大小:1k
- /*
- NoCeM-INNBBSD
- Yen-Ming Lee <leeym@cae.ce.ntu.edu.tw>
- */
- /*
- $Id: nocem.h,v 1.3 2000/02/14 05:52:44 edwardc Exp $
- */
- #ifndef NOCEM_H
- #define NOCEM_H
- #include "innbbsconf.h"
- #include "bbslib.h"
- #include "inntobbs.h"
- #include "version.h"
- #include <varargs.h>
- 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 1000
- #define LeeymBBS BBSHOST
- #define LeeymEMAIL ADMINUSER
- #define NCMINNBBSVER VERSION
- 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 */