同步注释,MAAT_OPT_SCAN_DETAIL的默认值说明与实现一致。

This commit is contained in:
zhengchao
2016-09-22 15:14:27 +08:00
parent 83e921c683
commit 863e6c8fd3

View File

@@ -144,7 +144,7 @@ enum MAAT_INIT_OPT
MAAT_OPT_PERF_ON, //VALUE is indifferent,SIZE is indifferent.MAAT_OPT_STAT_FILE_PATH must be set.Default: stat OFF.
MAAT_OPT_STAT_FILE_PATH, //VALUE is a const char*,MUST end with '\0',SIZE= strlen(string+'\0')+1.DEFAULT: no default.
MAAT_OPT_SCAN_DETAIL //VALUE is interger,SIZE=sizeof(int). 0: not return any detail;1: return hit pos, not include regex grouping;
// 2 return hit pos and regex grouping pos;DEFAULT:2
// 2 return hit pos and regex grouping pos;DEFAULT:0
};
//return -1 if failed, return 0 on success;
int Maat_set_feather_opt(Maat_feather_t feather,enum MAAT_INIT_OPT type,const void* value,int size);