mirror of
https://gitee.com/wangbin579/cetus.git
synced 2024-11-29 18:37:36 +08:00
21 lines
512 B
C
21 lines
512 B
C
|
#ifndef _SQL_FILTER_VARIABLES_H_
|
||
|
#define _SQL_FILTER_VARIABLES_H_
|
||
|
|
||
|
#include <glib.h>
|
||
|
|
||
|
gboolean sql_filter_vars_load_rules(char *filename);
|
||
|
|
||
|
gboolean sql_filter_vars_load_str_rules(const char *json_str);
|
||
|
|
||
|
void sql_filter_vars_load_default_rules();
|
||
|
|
||
|
void sql_filter_vars_shard_load_default_rules();
|
||
|
|
||
|
void sql_filter_vars_destroy();
|
||
|
|
||
|
gboolean sql_filter_vars_is_silent(const char *name, const char *val);
|
||
|
|
||
|
gboolean sql_filter_vars_is_allowed(const char *name, const char *val);
|
||
|
|
||
|
#endif /*_SQL_FILTER_VARIABLES_H_*/
|