summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorliuwentan <[email protected]>2023-12-05 16:31:18 +0800
committerliuwentan <[email protected]>2023-12-05 16:31:18 +0800
commit59ee9364c9a2dfcc25a6aad2a3ed9d739dc48ad8 (patch)
tree609b55877989550ca2f4035260478a075a4f4291 /include
parentf48afd54f61109f5a14016abf765eb873d70734d (diff)
[FEATURE]maat support dynamic reload log_levelv4.1.17
Diffstat (limited to 'include')
-rw-r--r--include/maat.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/include/maat.h b/include/maat.h
index d12360c..5740fed 100644
--- a/include/maat.h
+++ b/include/maat.h
@@ -163,10 +163,13 @@ int maat_options_set_hit_group_enabled(struct maat_options *opts);
struct maat *maat_new(struct maat_options *opts, const char *table_info_path);
void maat_free(struct maat *instance);
+void maat_reload_log_level(struct maat *instance, enum log_level level);
+
/**
- * Each thread can call this function initially, maat will maintain the thread_id internally,
- * So it's no need to pass thread_id by maat_scan_xx and xx_plugin_get_ex_data API
-*/
+ * Each thread can call this function initially, maat will maintain the
+ * thread_id internally, So it's no need to pass thread_id by maat_scan_xx and
+ * xx_plugin_get_ex_data API
+ */
void maat_register_thread(struct maat *instance);
/* maat helper API */