diff options
| author | chenzizhan <[email protected]> | 2024-07-09 10:10:42 +0800 |
|---|---|---|
| committer | chenzizhan <[email protected]> | 2024-07-09 10:12:18 +0800 |
| commit | de1125112fbbdb63760ffe12871224b201b4e898 (patch) | |
| tree | ff7a20ba5a43a6500ace15c5ac1fde0a396d1a82 /include | |
| parent | f528800db9257919dc19fbde09357c8881308955 (diff) | |
some todos about old codes
Diffstat (limited to 'include')
| -rw-r--r-- | include/fieldstat/fieldstat.h | 6 |
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; |
