1.maat_state_compile add para "exdata_array"

2.maat_plugin_table_ex_schema_register support rule table
This commit is contained in:
liuchang
2024-11-27 08:18:17 +00:00
parent a18157cd41
commit 2ef61c51f9
6 changed files with 566 additions and 244 deletions

View File

@@ -296,7 +296,7 @@ struct maat_state *maat_state_new(struct maat *instance, int thread_id);
* @param ex_data_array: rule ex_data array
* @param n_result: the size of rule_array and ex_data_array
*/
size_t maat_state_compile(struct maat_state *state, const char *table_name, uuid_t rule_array[], size_t n_result);
size_t maat_state_compile(struct maat_state *state, const char *table_name, uuid_t rule_array[], void *exdata[], size_t n_result);
int maat_state_need_compile(struct maat_state *state, const char *table_name);
void maat_state_reset(struct maat_state *state);