提供TLD_append_streaminfo函数接口供KNI使用
修改配置文件
This commit is contained in:
@@ -9,14 +9,14 @@
|
||||
#quickswitch quickon or quick off
|
||||
#id name type src_charset dst_charset do_merge cross_cache quickswitch
|
||||
0 TSG_SECURITY_COMPILE compile escape --
|
||||
1 POLICY_OBJECT group UTF8 UTF8 no 0
|
||||
2 TSG_OBJ_IP_ADDR ip UTF8 UTF8 no 0
|
||||
1 GROUP_COMPILE_RELATION group UTF8 UTF8 no 0
|
||||
2 TSG_OBJ_IP_ADDR ip_plus UTF8 UTF8 no 0
|
||||
3 TSG_OBJ_SUBSCRIBER_ID expr UTF8 UTF8 no 0
|
||||
4 TSG_OBJ_ACCOUNT expr UTF8 UTF8 no 0
|
||||
5 TSG_OBJ_URL expr UTF8 UTF8 no 0
|
||||
5 TSG_OBJ_URL expr UTF8 UTF8/GBK no 0
|
||||
6 TSG_OBJ_FQDN expr UTF8 UTF8 no 0
|
||||
7 TSG_OBJ_KEYWORDS expr UTF8 UTF8 no 0
|
||||
8 TSG_OBJ_HTTP_SIGNATURE expr_plus UTF8 UTF8 no 0
|
||||
8 TSG_OBJ_HTTP_SIGNATURE expr_plus UTF8 UTF8/GBK no 0
|
||||
9 TSG_FIELD_HTTP_HOST virtual TSG_OBJ_FQDN --
|
||||
10 TSG_FIELD_HTTP_URL virtual TSG_OBJ_URL --
|
||||
11 TSG_FIELD_HTTP_REQ_HDR virtual TSG_OBJ_HTTP_SIGNATURE --
|
||||
|
||||
@@ -28,6 +28,7 @@ extern tsg_log_instance_t g_tsg_log_instance;
|
||||
|
||||
TLD_handle_t TLD_create(int thread_id);
|
||||
int TLD_append(TLD_handle_t handle, char *key, void *value, TLD_TYPE type);
|
||||
int TLD_append_streaminfo(struct _tsg_log_instance *_instance, struct _tld_handle *_handle, struct streaminfo *a_stream);
|
||||
int TLD_cancel(TLD_handle_t handle);
|
||||
|
||||
int tsg_send_log(tsg_log_instance_t instance, TLD_handle_t handle, tsg_log_t *log_msg, int thread_id);
|
||||
|
||||
Reference in New Issue
Block a user