feat(deps/utable): define kv in utable.h temporary

This commit is contained in:
yangwei
2024-11-25 19:22:41 +08:00
parent 4008363820
commit e277641440
9 changed files with 419 additions and 295 deletions

View File

@@ -132,7 +132,7 @@ void *ipfix_worker_thread_data_flow_send(void *arg)
{
struct utable *table = utable_new();
ipfix_exporter_test_utable_init(table, i, ipfix_schema_json_path);
utable_delete_item(table, "decoded_as");
utable_delete(table, "decoded_as", strlen("decoded_as"));
utable_add_cstring(table, "decoded_as", template_id_list[i].template_name, strlen(template_id_list[i].template_name));
size_t blob_len = 0;