summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorchenzizhan <[email protected]>2024-07-09 10:10:42 +0800
committerchenzizhan <[email protected]>2024-07-09 10:12:18 +0800
commitde1125112fbbdb63760ffe12871224b201b4e898 (patch)
treeff7a20ba5a43a6500ace15c5ac1fde0a396d1a82 /include
parentf528800db9257919dc19fbde09357c8881308955 (diff)
some todos about old codes
Diffstat (limited to 'include')
-rw-r--r--include/fieldstat/fieldstat.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/fieldstat/fieldstat.h b/include/fieldstat/fieldstat.h
index 941b89c..d968526 100644
--- a/include/fieldstat/fieldstat.h
+++ b/include/fieldstat/fieldstat.h
@@ -36,9 +36,9 @@ enum sampling_mode {
SAMPLING_MODE_TOPK,
};
-struct fieldstat_tag {
+struct field {
const char *key;
- enum fs_tag_type type;
+ enum field_type type;
union{
long long value_longlong;
double value_double;
@@ -163,7 +163,7 @@ int fieldstat_merge(struct fieldstat *instance, const struct fieldstat *src);
/* query */
/* -------------------------------------------------------------------------- */
-struct fieldstat_tag_list
+struct field_list
{
struct fieldstat_tag *tag;
size_t n_tag;