summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorkcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-01-16 21:28:48 +0800
committerkcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-01-16 21:28:48 +0800
commitf20ec866a1837924674452effdd1bc99df77e258 (patch)
treecdff800c75bdacefb68fbc180b4d0610cd4b990d /include
parentab3ed372972ab2a54d56914c7696412da1a38f48 (diff)
downloadpttbbs-f20ec866a1837924674452effdd1bc99df77e258.tar
pttbbs-f20ec866a1837924674452effdd1bc99df77e258.tar.gz
pttbbs-f20ec866a1837924674452effdd1bc99df77e258.tar.bz2
pttbbs-f20ec866a1837924674452effdd1bc99df77e258.tar.lz
pttbbs-f20ec866a1837924674452effdd1bc99df77e258.tar.xz
pttbbs-f20ec866a1837924674452effdd1bc99df77e258.tar.zst
pttbbs-f20ec866a1837924674452effdd1bc99df77e258.zip
move post_msg() and post_file() from gamble.c to syspost.c
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@608 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'include')
-rw-r--r--include/proto.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/proto.h b/include/proto.h
index 4cfcef28..7d847285 100644
--- a/include/proto.h
+++ b/include/proto.h
@@ -1,4 +1,4 @@
-/* $Id: proto.h,v 1.32 2003/01/09 11:44:28 in2 Exp $ */
+/* $Id: proto.h,v 1.33 2003/01/16 13:28:48 kcwu Exp $ */
#ifndef INCLUDE_PROTO_H
#define INCLUDE_PROTO_H
@@ -213,7 +213,6 @@ void friend_delete(char *uident, int type);
/* gamble */
int ticket_main();
-int post_msg(char* bname, char* title, char *msg, char* author);
int openticket(int bid);
int ticket(int bid);
@@ -448,6 +447,8 @@ int userid_is_BM(char *userid, char *list);
int is_uBM(char *list, char *id);
/* syspost */
+int post_msg(char* bname, char* title, char *msg, char* author);
+int post_file(char *bname, char *title, char *filename, char *author);
void post_newboard(char *bgroup, char *bname, char *bms);
void post_violatelaw(char *crime, char *police, char *reason, char *result);
void post_change_perm(int oldperm, int newperm, char *sysopid, char *userid);