diff --git a/inc/Maat_rule.h b/inc/Maat_rule.h index a9fed65..655ec82 100644 --- a/inc/Maat_rule.h +++ b/inc/Maat_rule.h @@ -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);