Code

timeseries: Added 'data_names_len' field.
authorSebastian Harl <sh@tokkee.org>
Sat, 16 Aug 2014 17:10:51 +0000 (19:10 +0200)
committerSebastian Harl <sh@tokkee.org>
Sat, 16 Aug 2014 17:10:51 +0000 (19:10 +0200)
Else, a user cannot tell how many different sequences are stored in a
data-series.

src/include/core/timeseries.h

index 52848a71d948954f3a9bceebe970f2520f6d68c9..acfdaeff52094f9b37ff7d587ece03793d59a315 100644 (file)
@@ -56,8 +56,9 @@ typedef struct {
        sdb_time_t end;
 
        sdb_data_point_t **data;
-       char **data_names;
        size_t data_len;
+       char **data_names;
+       size_t data_names_len;
 } sdb_timeseries_t;
 
 /*