summaryrefslogtreecommitdiff
path: root/test/test_utils.cpp
diff options
context:
space:
mode:
authorroot <[email protected]>2024-10-24 07:56:49 +0000
committerroot <[email protected]>2024-10-24 07:56:49 +0000
commitda715f21ef5829c9c279b6fe24e89cd223afe643 (patch)
tree813377f2563475061f396609cd1dc3acaabb315f /test/test_utils.cpp
parent1cd21a43c91bcfb8975991acffb1e3cb1c7841b7 (diff)
rename o2o and object2object to object_group
Diffstat (limited to 'test/test_utils.cpp')
-rw-r--r--test/test_utils.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_utils.cpp b/test/test_utils.cpp
index 37d9d13..48739da 100644
--- a/test/test_utils.cpp
+++ b/test/test_utils.cpp
@@ -43,7 +43,7 @@ make_serial_rule(const char *table_name, const char *line, void *u_para, enum ma
rule_uuid = cJSON_GetObjectItem(json, "uuid");
if (NULL == rule_uuid) {
- rule_uuid = cJSON_GetObjectItem(json, "object_uuid");//for object2object table
+ rule_uuid = cJSON_GetObjectItem(json, "object_uuid");//for object_group table
}
if (NULL == rule_uuid || rule_uuid->type != cJSON_String) {
@@ -193,7 +193,7 @@ int rule_table_set_line(struct maat *maat_inst, const char *table_name,
return ret;
}
-int object2object_table_set_line(struct maat *maat_inst, const char *table_name,
+int object_group_table_set_line(struct maat *maat_inst, const char *table_name,
enum maat_operation op, const char *object_uuid_str,
const char inc_object_uuid_strs[][UUID_STR_LEN], int inc_object_num,
const char exc_object_uuid_strs[][UUID_STR_LEN], int exc_object_num, int expire_after)