diff options
author | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2009-06-22 13:16:02 +0800 |
---|---|---|
committer | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2009-06-22 13:16:02 +0800 |
commit | 684c974d6a660deac905d3d3f6be45df084c850d (patch) | |
tree | 5ff65615fd0f68d7a27cc0b626b148c3bf3ddf92 /include | |
parent | e4d40cffe1660427a8883fd426000b666ea44ed3 (diff) | |
download | pttbbs-684c974d6a660deac905d3d3f6be45df084c850d.tar pttbbs-684c974d6a660deac905d3d3f6be45df084c850d.tar.gz pttbbs-684c974d6a660deac905d3d3f6be45df084c850d.tar.bz2 pttbbs-684c974d6a660deac905d3d3f6be45df084c850d.tar.lz pttbbs-684c974d6a660deac905d3d3f6be45df084c850d.tar.xz pttbbs-684c974d6a660deac905d3d3f6be45df084c850d.tar.zst pttbbs-684c974d6a660deac905d3d3f6be45df084c850d.zip |
* change function to several display text screen from pager to show_file.
* may get better performance (?)
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4691 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'include')
-rw-r--r-- | include/proto.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/include/proto.h b/include/proto.h index 6bcc7783..54c4d547 100644 --- a/include/proto.h +++ b/include/proto.h @@ -522,13 +522,14 @@ int log_user(const char *fmt, ...) GCC_CHECK_FORMAT(1,2); time4_t gettime(int line, time4_t dt, const char* head); void setcalfile(char *buf, char *userid); int show_file(const char *filename, int y, int lines, int mode); -int cursor_key(int row, int column); -int search_num(int ch, int max); +int show_80x24_screen(const char *filename); +int cursor_key(int row, int column); +int search_num(int ch, int max); void setuserfile(char *buf, const char *fname); void setbdir(char *buf, const char *boardname); void setaidfile(char *buf, const char *bn, aidu_t aidu); char *subject(char *title); -int str_checksum(const char *str); +int str_checksum(const char *str); void show_help(const char * const helptext[]); void show_helpfile(const char * helpfile); void cursor_clear(int row, int column); |