diff options
author | panikon <panikon@zoho.com> | 2014-03-31 17:26:34 -0300 |
---|---|---|
committer | panikon <panikon@zoho.com> | 2014-03-31 17:26:34 -0300 |
commit | a3fecfc4e984f3f734f5f5481f1b756ad3b93caf (patch) | |
tree | ee1cb32de0492191fdd5353d7d9c09b247544d60 /src/common/console.h | |
parent | d9f4084d50057f1103cbdae03dea3b4abddaa209 (diff) | |
download | hercules-a3fecfc4e984f3f734f5f5481f1b756ad3b93caf.tar.gz hercules-a3fecfc4e984f3f734f5f5481f1b756ad3b93caf.tar.bz2 hercules-a3fecfc4e984f3f734f5f5481f1b756ad3b93caf.tar.xz hercules-a3fecfc4e984f3f734f5f5481f1b756ad3b93caf.zip |
Updated documentation for pc_statusup2 and pc_statusup
(fixed issue: 7916 http://hercules.ws/board/tracker/issue-7916-wrong-comment-in-pc-statusup2/)
Now pc_statusup2 returns stat increase amount as stated in previous documentation
Updated *statusup documentation it was wrong
Added last update in upgrade index
@console.c/.h
Documented partially
Now two different parsing categories can have functions with same name
e.g.
- server exit
- sql exit
Diffstat (limited to 'src/common/console.h')
-rw-r--r-- | src/common/console.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/common/console.h b/src/common/console.h index 513c769ff..bd1de4cbf 100644 --- a/src/common/console.h +++ b/src/common/console.h @@ -16,9 +16,21 @@ **/ #define CONSOLE_PARSE_SIZE 10 +/** + * Default parsing function abstract prototype + **/ typedef void (*CParseFunc)(char *line); + +/** + * Console parsing function prototypes + * CPCMD: Console Parsing CoMmand + * x - command + * y - category + **/ #define CPCMD(x) void console_parse_ ##x (char *line) #define CPCMD_A(x) console_parse_ ##x +#define CPCMD_C(x,y) void console_parse_ ##y ##x (char *line) +#define CPCMD_C_A(x,y) console_parse_ ##y ##x #define CP_CMD_LENGTH 20 struct CParseEntry { |