summaryrefslogtreecommitdiffstats
path: root/daemon/innbbsd/nocem.h
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2008-03-20 19:33:49 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2008-03-20 19:33:49 +0800
commit6c7b18b32d87c2a835f7e5c48faac4a8ad44668b (patch)
treee88e1b2b1007f4ddcd348a4a1bf1d13c515c4564 /daemon/innbbsd/nocem.h
parentf59699c22c130373cda3cc4cb6fab5bae510bd5a (diff)
downloadpttbbs-piaip.newlayout.tar
pttbbs-piaip.newlayout.tar.gz
pttbbs-piaip.newlayout.tar.bz2
pttbbs-piaip.newlayout.tar.lz
pttbbs-piaip.newlayout.tar.xz
pttbbs-piaip.newlayout.tar.zst
pttbbs-piaip.newlayout.zip
- (internal/exp) first draft of new layoutpiaip.newlayout
git-svn-id: http://opensvn.csie.org/pttbbs/branches/piaip.newlayout@4013 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'daemon/innbbsd/nocem.h')
-rw-r--r--daemon/innbbsd/nocem.h57
1 files changed, 57 insertions, 0 deletions
diff --git a/daemon/innbbsd/nocem.h b/daemon/innbbsd/nocem.h
new file mode 100644
index 00000000..18a4c5e9
--- /dev/null
+++ b/daemon/innbbsd/nocem.h
@@ -0,0 +1,57 @@
+/*
+ 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;
+
+#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[MAXSPAMMID][STRLEN];
+
+#endif /* NOCEM_H */