summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-07-03 19:41:14 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-07-03 19:41:14 +0800
commit728bd7471eb48701106ef65af331a0173a5d3903 (patch)
tree5614ac5380eb4aa86037040a66133dd2d0516a2d /include
parentbec891156b90f32fb98e7375cad40aeaae174dec (diff)
downloadpttbbs-728bd7471eb48701106ef65af331a0173a5d3903.tar
pttbbs-728bd7471eb48701106ef65af331a0173a5d3903.tar.gz
pttbbs-728bd7471eb48701106ef65af331a0173a5d3903.tar.bz2
pttbbs-728bd7471eb48701106ef65af331a0173a5d3903.tar.lz
pttbbs-728bd7471eb48701106ef65af331a0173a5d3903.tar.xz
pttbbs-728bd7471eb48701106ef65af331a0173a5d3903.tar.zst
pttbbs-728bd7471eb48701106ef65af331a0173a5d3903.zip
- multi-signature browsing mode
- song order: quick abort git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2881 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'include')
-rw-r--r--include/common.h6
-rw-r--r--include/proto.h2
-rw-r--r--include/pttstruct.h11
3 files changed, 15 insertions, 4 deletions
diff --git a/include/common.h b/include/common.h
index 430f72d7..1b5fe792 100644
--- a/include/common.h
+++ b/include/common.h
@@ -62,7 +62,7 @@
#define MSG_WORKING "處理中,請稍候..."
#define MSG_CANCEL "取消。"
-#define MSG_USR_LEFT "User 已經離開了"
+#define MSG_USR_LEFT "使用者已經離開了"
#define MSG_NOBODY "目前無人上線"
#define MSG_DEL_OK "刪除完畢"
@@ -71,8 +71,8 @@
#define MSG_DEL_NY "請確定刪除(Y/N)?[N] "
#define MSG_FWD_OK "文章轉寄完成!"
-#define MSG_FWD_ERR1 "轉寄失誤: system error"
-#define MSG_FWD_ERR2 "轉寄失誤: address error"
+#define MSG_FWD_ERR1 "轉寄失誤: 系統錯誤 system error"
+#define MSG_FWD_ERR2 "轉寄失誤: 位址錯誤 address error"
#define MSG_SURE_NY "請您確定(Y/N)?[N] "
#define MSG_SURE_YN "請您確定(Y/N)?[Y] "
diff --git a/include/proto.h b/include/proto.h
index 8a922f2c..69d5987c 100644
--- a/include/proto.h
+++ b/include/proto.h
@@ -697,7 +697,7 @@ int kill_user(int num);
int u_editcalendar(void);
void user_display(const userec_t *u, int real);
void uinfo_query(userec_t *u, int real, int unum);
-int showsignature(char *fname, int *j);
+int showsignature(char *fname, int *j, SigInfo *psi);
void kick_all(char *user);
void mail_violatelaw(const char* crime, const char* police, const char* reason, const char* result);
void showplans(const char *uid);
diff --git a/include/pttstruct.h b/include/pttstruct.h
index d7dc1a00..82846de6 100644
--- a/include/pttstruct.h
+++ b/include/pttstruct.h
@@ -642,6 +642,17 @@ typedef struct
int recno;
} TagItem;
+/*
+ * signature information
+ */
+typedef struct
+{
+ int total; /* total sig files found */
+ int max; /* max number of available sig */
+ int show_start; /* by which page to start display */
+ int show_max; /* max covered range in last display */
+} SigInfo;
+
/* type in gomo.c, structure passing through socket */
typedef struct {
char x;