diff options
| author | 刘学利 <[email protected]> | 2022-05-16 08:54:36 +0000 |
|---|---|---|
| committer | 刘学利 <[email protected]> | 2022-05-16 08:54:36 +0000 |
| commit | 89deb48c319a2ba5cec08d2229ac155ef2884f4c (patch) | |
| tree | e9d4bbfeb373d9428246ffd8def3d823115bf4bc /inc | |
| parent | 0c181467c297e2b6f872ec65944547ed07794a88 (diff) | |
TLD_array_append支持添加数组到rapidjsonv5.6.3
Diffstat (limited to 'inc')
| -rw-r--r-- | inc/tsg_send_log.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/inc/tsg_send_log.h b/inc/tsg_send_log.h index b9703a0..e0f3abf 100644 --- a/inc/tsg_send_log.h +++ b/inc/tsg_send_log.h @@ -38,6 +38,9 @@ int TLD_append(struct TLD_handle_t *handle, char *key, void *value, TLD_TYPE typ int TLD_append_streaminfo(struct tsg_log_instance_t *instance, struct TLD_handle_t *handle, struct streaminfo *a_stream); int TLD_cancel(struct TLD_handle_t *handle); struct TLD_handle_t *TLD_duplicate(struct TLD_handle_t *handle); +//type only TLD_TYPE_LONG/TLD_TYPE_STRING +int TLD_array_append(struct TLD_handle_t *handle, char *key, void **array, int array_num, TLD_TYPE type); + int tsg_send_log(struct tsg_log_instance_t *instance, struct TLD_handle_t *handle, tsg_log_t *log_msg, int thread_id); |
