diff options
Diffstat (limited to 'include/proto.h')
-rw-r--r-- | include/proto.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/include/proto.h b/include/proto.h index 40786439..b799695b 100644 --- a/include/proto.h +++ b/include/proto.h @@ -352,7 +352,6 @@ void my_send(char *uident); void show_call_in(int save, int which); void write_request (int sig); void log_usies(char *mode, char *mesg); -void log_user(char *msg); void system_abort(void); void abort_bbs(int sig); void del_distinct(char *fname, char *line); @@ -481,11 +480,11 @@ void out_lines(char *str, int line); #define not_alnum(ch) (ch < '0' || (ch > '9' && ch < 'A') || (ch > 'Z' && ch < 'a') || ch > 'z') #define pressanykey() vmsg_lines(b_lines, NULL) int vmsg_lines(int lines, const char *msg); +int log_user(const char *fmt, ...); time_t gettime(int line, time_t dt, char* head); void setcalfile(char *buf, char *userid); void stand_title(char *title); -//int getans(const char *fmt,...) GCC_CHECK_FORMAT(1,2); -char getans(char *); +char getans(const char *fmt,...); int getkey(const char *fmt,...) GCC_CHECK_FORMAT(1,2); int vmsg(const char *fmt,...) GCC_CHECK_FORMAT(1,2); void trim(char *buf); @@ -496,7 +495,7 @@ void sethomepath(char *buf, char *userid); void sethomedir(char *buf, char *userid); char *Cdate(time_t *clock); void sethomefile(char *buf, char *userid, char *fname); -int log_file(char *filename, char *buf, int flags); +int log_file(char *fn, int ifcreate, const char *fmt,...); void str_lower(char *t, char *s); int strstr_lower(char *str, char *tag); int cursor_key(int row, int column); |