summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorchenzizhan <[email protected]>2024-09-26 14:51:49 +0800
committerchenzizhan <[email protected]>2024-09-26 14:51:49 +0800
commit2d9b9cda59297fa80889c875b909881d25709045 (patch)
tree4a99b82409e6ca0316b98cbf7e089dbf78721e17 /include
parent8a85bbf91bdae7ccab03085e5b8118fd0207e5d6 (diff)
uuid type field(dimension)v4.6.6
Diffstat (limited to 'include')
-rw-r--r--include/fieldstat/fieldstat.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/fieldstat/fieldstat.h b/include/fieldstat/fieldstat.h
index 18532fc..cb0851a 100644
--- a/include/fieldstat/fieldstat.h
+++ b/include/fieldstat/fieldstat.h
@@ -7,6 +7,7 @@ extern "C"
#include <stddef.h>
#include <stdbool.h>
+#include <uuid/uuid.h>
#define FS_OK 0
#define FS_ERR_TOO_MANY_CELLS -1
@@ -36,6 +37,7 @@ enum field_type
FIELD_VALUE_INTEGER,
FIELD_VALUE_DOUBLE,
FIELD_VALUE_CSTRING,
+ FIELD_VALUE_UUID,
};
enum sampling_mode {
@@ -51,6 +53,7 @@ struct field {
long long value_longlong;
double value_double;
const char *value_str;
+ uuid_t value_uuid;
};
};