From c1ffc53cc79f31519e4811645feb414e21c00c19 Mon Sep 17 00:00:00 2001 From: liuxueli Date: Wed, 13 Nov 2019 15:39:33 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0tsg=5Fpull=5Fpolicy=5Fresult?= =?UTF-8?q?=E5=87=BD=E6=95=B0=E6=8E=A5=E5=8F=A3=EF=BC=8C=E6=B7=BB=E5=8A=A0?= =?UTF-8?q?=E5=8F=82=E6=95=B0=EF=BC=9Astreaminfo?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- inc/tsg_rule.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/inc/tsg_rule.h b/inc/tsg_rule.h index d1fac1a..9759d7b 100644 --- a/inc/tsg_rule.h +++ b/inc/tsg_rule.h @@ -18,11 +18,12 @@ typedef enum _PULL_RESULT_TYPE extern Maat_feather_t g_tsg_maat_feather; +int tsg_rule_init(const char *conffile); int tsg_scan_nesting_addr(Maat_feather_t maat_feather, const struct streaminfo *a_stream, tsg_protocol_t proto, scan_status_t *mid, Maat_rule_t*result, int result_num); //return 0 if failed, return >0 on success; -int tsg_pull_policy_result(PULL_RESULT_TYPE pull_result_type, Maat_rule_t *result, int result_num); +int tsg_pull_policy_result(struct streaminfo *a_stream, PULL_RESULT_TYPE pull_result_type, Maat_rule_t *result, int result_num); //return -1 if failed, return 0 on success; int tsg_shared_table_init(const char *conffile, Maat_feather_t maat_feather, void *logger);