URI: 
       tsv.h - ploot - simple plotting tools
  HTML git clone git://bitreich.org/ploot git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/ploot
   DIR Log
   DIR Files
   DIR Refs
   DIR Tags
   DIR README
   DIR LICENSE
       ---
       tsv.h (557B)
       ---
            1 #ifndef TSV_H
            2 #define TSV_H
            3 
            4 #include <stdio.h>
            5 #include <time.h>
            6 
            7 /*
            8  * List of values and timestamps.  Both have their dedicated buffer
            9  * so that the timestamp buffer can be shared across tsv objects.
           10  */
           11 struct tsv {
           12         time_t                *t;                /* array of timestamps */
           13         double                *v;                /* array of values */
           14         size_t                n;                /* number of values */
           15         char                label[64];        /* for the legend */
           16 };
           17 
           18 void        tsv_labels(FILE *, struct tsv **, size_t *);
           19 void        tsv_values(FILE *, struct tsv *, size_t);
           20 int        tsv_min_max(struct tsv *, int, time_t *, time_t *, double *, double *);
           21 
           22 #endif