diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/chc.h | 7 | ||||
-rw-r--r-- | include/common.h | 7 | ||||
-rw-r--r-- | include/config.h | 5 | ||||
-rw-r--r-- | include/proto.h | 1 |
4 files changed, 11 insertions, 9 deletions
diff --git a/include/chc.h b/include/chc.h index 9305ab0d..416f1193 100644 --- a/include/chc.h +++ b/include/chc.h @@ -19,6 +19,13 @@ #define CHC_PERSONAL 4 /* ゴ眯 */ #define CHC_WATCH_PERSONAL 8 /* 芠ゴ眯 */ +#define CHE_O(c) ((c) >> 3) +#define CHE_P(c) ((c) & 7) +#define RTL(x) (((x) - 3) >> 1) +#define dim(x) (sizeof(x) / sizeof(x[0])) +#define LTR(x) ((x) * 2 + 3) +#define CHE(a, b) ((a) | ((b) << 3)) + #define BLACK_COLOR "\033[1;36m" #define RED_COLOR "\033[1;31m" #define BLACK_REVERSE "\033[1;37;46m" diff --git a/include/common.h b/include/common.h index c830454a..04a351dd 100644 --- a/include/common.h +++ b/include/common.h @@ -178,13 +178,6 @@ #define I_TIMEOUT (-2) /* Used for the getchar routine select call */ #define I_OTHERDATA (-333) /* interface, (-3) will conflict with chinese */ -#define CHE_O(c) ((c) >> 3) -#define CHE_P(c) ((c) & 7) -#define RTL(x) (((x) - 3) >> 1) -#define dim(x) (sizeof(x) / sizeof(x[0])) -#define LTR(x) ((x) * 2 + 3) -#define CHE(a, b) ((a) | ((b) << 3)) - #define MAX_MODES 127 #ifndef MIN diff --git a/include/config.h b/include/config.h index 3b75d63b..7b05978c 100644 --- a/include/config.h +++ b/include/config.h @@ -117,6 +117,9 @@ #define ADD_EXMAILBOX 0 /* 秘癳獺絚 */ #endif +/* more.c いゅ彻计(lines/22), +4 for safe */ +#define MAX_PAGES (MAX_EDIT_LINE / 22 + 4) + /* 临ゼ俱瞶 */ #define MAX_FRIEND (256) /* 更 cache ぇ程狟ね计ヘ */ #define MAX_REJECT (32) /* 更 cache ぇ程胊计ヘ */ @@ -130,7 +133,6 @@ #define MAX_LOGIN_INFO (128) /* 程絬硄计 */ #define MAX_POST_INFO (32) /* 程穝ゅ彻硄计 */ #define MAX_NAMELIST (128) /* 程ㄤ疭虫计 */ -#define MAX_PAGES (999) /* more.c いゅ彻计(lines/22) */ #define MAX_KEEPMAIL (200) /* 程玂痙碭 MAIL */ #define MAX_NOTE (20) /* 程玂痙碭絞痙ē */ #define MAX_SIGLINES (6) /* 帽郎ま程︽计 */ @@ -141,7 +143,6 @@ #define LOGINATTEMPTS (3) /* 程秈ア粇Ω计 */ #define WHERE /* 琌Τ珿秏 */ #undef LOG_BOARD /* 狾琌log */ -#undef SUPPORT_GB /* 琌や穿gb */ #define LOGINASNEW /* 蹦ノビ叫眀腹 */ diff --git a/include/proto.h b/include/proto.h index 0d66649f..f86e0a24 100644 --- a/include/proto.h +++ b/include/proto.h @@ -330,6 +330,7 @@ void add_distinct(char *fname, char *line); void u_exit(char *mode); void talk_request(int sig); int reply_connection_request(userinfo_t *uip); +int establish_talk_connection(userinfo_t *uip); void my_talk(userinfo_t * uin, int fri_stat, char defact); /* menu */ |