diff options
| author | zhengchao <[email protected]> | 2018-06-19 10:26:11 +0800 |
|---|---|---|
| committer | zhengchao <[email protected]> | 2018-06-19 10:26:11 +0800 |
| commit | 7d46948346da10ab76b97b966910bbb034027e75 (patch) | |
| tree | 8f041a7b687ad39bcc07b2b863343552a9818bd0 /inc | |
| parent | 07c13e00d52890a9adb8bd88a52df61e7c18805f (diff) | |
在初始化时,可以通过MAX_STAT_FIELD_NUM指定最多输出字段数量,默认1024。
Diffstat (limited to 'inc')
| -rw-r--r-- | inc/field_stat2.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/inc/field_stat2.h b/inc/field_stat2.h index 97b0c6e..49aa853 100644 --- a/inc/field_stat2.h +++ b/inc/field_stat2.h @@ -40,6 +40,7 @@ enum FS_option APP_NAME, //VALUE is a const char*, MUST end with '\0', SIZE= strlen(string+'\0')+1. DEFAULT is "?". STATS_SERVER_IP, //VALUE is a const char*, MUST end with '\0', SIZE= strlen(string+'\0')+1. No DEFAULT. STATS_SERVER_PORT, //VALUE is a unsigned short or a signed int, host order, SIZE= sizeof(unsigned short) or sizeof(int). No DEFAULT. + MAX_STAT_FIELD_NUM //VALUE is an interger, SIZE=sizeof(int), DEFAULT:1024. }; //Always success. |
