diff options
author | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2008-01-02 00:37:54 +0800 |
---|---|---|
committer | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2008-01-02 00:37:54 +0800 |
commit | 78f43e8c18e2ad103ee3fc20490d6e29a50f9331 (patch) | |
tree | 24ec9651ae258ed04eaa2427d0c9c4f2851e4bed /include | |
parent | 8c49555a1861b32024b35e4a89b4b696107e3c48 (diff) | |
download | pttbbs-78f43e8c18e2ad103ee3fc20490d6e29a50f9331.tar pttbbs-78f43e8c18e2ad103ee3fc20490d6e29a50f9331.tar.gz pttbbs-78f43e8c18e2ad103ee3fc20490d6e29a50f9331.tar.bz2 pttbbs-78f43e8c18e2ad103ee3fc20490d6e29a50f9331.tar.lz pttbbs-78f43e8c18e2ad103ee3fc20490d6e29a50f9331.tar.xz pttbbs-78f43e8c18e2ad103ee3fc20490d6e29a50f9331.tar.zst pttbbs-78f43e8c18e2ad103ee3fc20490d6e29a50f9331.zip |
- make Test as macro name
- general message update and finetune
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3770 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'include')
-rw-r--r-- | include/bbs.h | 1 | ||||
-rw-r--r-- | include/config.h | 4 | ||||
-rw-r--r-- | include/proto.h | 6 |
3 files changed, 11 insertions, 0 deletions
diff --git a/include/bbs.h b/include/bbs.h index ead0861e..b004b601 100644 --- a/include/bbs.h +++ b/include/bbs.h @@ -31,6 +31,7 @@ extern "C" { #include <sys/time.h> #include <sys/resource.h> #include <netinet/in.h> +#include <netinet/tcp.h> #include <arpa/inet.h> #include <arpa/telnet.h> #include <sys/types.h> diff --git a/include/config.h b/include/config.h index 95452f67..58ad758e 100644 --- a/include/config.h +++ b/include/config.h @@ -53,6 +53,10 @@ #define GLOBAL_NEWBIE BBSMNAME "Newhand" #endif +#ifndef GLOBAL_TEST +#define GLOBAL_TEST "Test" +#endif + #ifndef GLOBAL_NOTE #define GLOBAL_NOTE "Note" #endif diff --git a/include/proto.h b/include/proto.h index d7d353db..2332e7b4 100644 --- a/include/proto.h +++ b/include/proto.h @@ -791,6 +791,12 @@ int Goodbye(void); /* toolkit */ unsigned DBCS_StringHash(const char *s); +/* recycle */ +// public +int RcyAddFile(const fileheader_t *fhdr, int bid, const char *fpath); +int RcyAddDir (const fileheader_t *fhdr, int bid, const char *direct); +int RcyRecycleBin(void); + /* passwd */ int passwd_init(void); int passwd_update(int num, userec_t *buf); |