Parent Directory
|
Revision Log
|
Patch
| Revision 1.8 by sysadm, Sat May 17 15:39:51 2025 UTC | Revision 1.9 by sysadm, Tue Jun 24 10:01:24 2025 UTC | |
|---|---|---|
| # | Line 18 | Line 18 |
| 18 | ||
| 19 | #define MAX_CMD_LENGTH 20 | #define MAX_CMD_LENGTH 20 |
| 20 | ||
| 21 | #define MENU_OK 0x0 | enum menu_return_t |
| 22 | #define UNKNOWN_CMD 0xff | { |
| 23 | #define EXITBBS 0xfe | MENU_OK = 0x0, |
| 24 | #define REDRAW 0x1 | REDRAW = 0x1, |
| 25 | #define NOREDRAW 0x2 | NOREDRAW = 0x2, |
| 26 | EXITMENU = 0x3, | |
| 27 | UNKNOWN_CMD = 0xff, | |
| 28 | EXITBBS = 0xfe, | |
| 29 | }; | |
| 30 | ||
| 31 | typedef int (*bbs_cmd_handler)(void *p_param); | typedef int (*bbs_cmd_handler)(void *p_param); |
| 32 |
|
||||||||
| webmaster@leafok.com | ViewVC Help |
| Powered by ViewVC 1.3.0-beta1 |