diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/common.h | 4 | ||||
-rw-r--r-- | include/proto.h | 5 |
2 files changed, 3 insertions, 6 deletions
diff --git a/include/common.h b/include/common.h index 9e7d7b23..59fd0fb7 100644 --- a/include/common.h +++ b/include/common.h @@ -118,10 +118,6 @@ ANSI_COLOR(31) "←[q]" ANSI_COLOR(30) "離開 " \ "" -#define MSG_SHORTULIST ANSI_COLOR(7) \ - "使用者代號 目前狀態 │使用者代號 目前狀態 │"\ - "使用者代號 目前狀態 " ANSI_RESET ANSI_CLRTOEND - #define MSG_SEPERATOR "\ ───────────────────────────────────────" diff --git a/include/proto.h b/include/proto.h index bfab2e4b..0c990e82 100644 --- a/include/proto.h +++ b/include/proto.h @@ -60,7 +60,7 @@ int inc_badsale(const char *, int num); //void set_assess(int uid, unsigned char num, int type); /* bbs */ -void delete_allpost(char *userid); +void delete_allpost(const char *userid); int invalid_brdname(const char *brd); void chomp(char *src); int del_range(int ent, const fileheader_t *fhdr, const char *direct); @@ -732,9 +732,10 @@ void sortsong(void); int topsong(void); /* user */ -int kill_user(int num, char *userid); +int kill_user(int num, const char *userid); int u_editcalendar(void); void user_display(const userec_t *u, int real); +int isvalidemail(const char *email); void uinfo_query(userec_t *u, int real, int unum); int showsignature(char *fname, int *j, SigInfo *psi); int u_cancelbadpost(); |