From 38918e67f0aabf6c9fd7ee743faa4dc296384691 Mon Sep 17 00:00:00 2001 From: in2 Date: Mon, 26 May 2003 05:25:03 +0000 Subject: blog support git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@903 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- include/modes.h | 3 ++- include/proto.h | 5 ++++- include/pttstruct.h | 3 ++- 3 files changed, 8 insertions(+), 3 deletions(-) (limited to 'include') diff --git a/include/modes.h b/include/modes.h index cc12b3d5..3606cb1a 100644 --- a/include/modes.h +++ b/include/modes.h @@ -1,4 +1,4 @@ -/* $Id: modes.h,v 1.2 2002/08/27 21:49:18 kcwu Exp $ */ +/* $Id: modes.h,v 1.3 2003/05/26 05:23:13 in2 Exp $ */ #ifndef INCLUDE_MODES_H #define INCLUDE_MODES_H @@ -95,6 +95,7 @@ #define TMPJACK 77 #define JCEE 78 #define REEDIT 79 +#define BLOGGING 80 /* menu.c 中的模式 */ #define QUIT 0x666 /* Return value to abort recursive functions */ diff --git a/include/proto.h b/include/proto.h index 298f0a2b..a460650d 100644 --- a/include/proto.h +++ b/include/proto.h @@ -1,4 +1,4 @@ -/* $Id: proto.h,v 1.43 2003/05/20 02:03:35 bbs Exp $ */ +/* $Id: proto.h,v 1.44 2003/05/26 05:23:13 in2 Exp $ */ #ifndef INCLUDE_PROTO_H #define INCLUDE_PROTO_H @@ -26,6 +26,9 @@ int a_menu(char *maintitle, char *path, int lastlevel); void a_copyitem(char* fpath, char* title, char* owner, int mode); int Announce(); void gem(char* maintitle, item_t* path, int update); +#ifdef BLOG +void BlogMain(int); +#endif /* args */ void initsetproctitle(int argc, char **argv, char **envp); diff --git a/include/pttstruct.h b/include/pttstruct.h index 80bbe7f3..a85c031d 100644 --- a/include/pttstruct.h +++ b/include/pttstruct.h @@ -1,4 +1,4 @@ -/* $Id: pttstruct.h,v 1.37 2003/05/09 13:30:32 victor Exp $ */ +/* $Id: pttstruct.h,v 1.38 2003/05/26 05:23:13 in2 Exp $ */ #ifndef INCLUDE_STRUCT_H #define INCLUDE_STRUCT_H @@ -135,6 +135,7 @@ typedef struct boardheader_t { #define BRD_WARNEL 000002000 /* 連署機看板 */ #define BRD_TOP 000004000 /* 熱門看板群組 */ #define BRD_NORECOMMEND 000010000 /* 不可推薦 */ +#define BRD_BLOG 000020000 /* BLOG */ #define TTLEN 64 /* Length of title */ #define FNLEN 33 /* Length of filename */ -- cgit v1.2.3