diff options
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); |