]> sigrok.org Git - libsigrok.git/blobdiff - output/text/text.h
atten-pps3xxx: Full support for the PPS3203T-3S.
[libsigrok.git] / output / text / text.h
index 78ef4783549ac19f454e611d784587c5c36fca3e..8e96318d5481356c92667ec093157c513b94ca6f 100644 (file)
@@ -36,18 +36,19 @@ struct context {
        unsigned int unitsize;
        int line_offset;
        int linebuf_len;
-       char *probelist[SR_MAX_NUM_PROBES + 1];
+       GSList *probenames;
        uint8_t *linebuf;
        int spl_cnt;
        uint8_t *linevalues;
        char *header;
        int mark_trigger;
-       uint64_t prevsample;
+       uint8_t *prevsample;
        enum outputmode mode;
 };
 
 SR_PRIV void flush_linebufs(struct context *ctx, uint8_t *outbuf);
 SR_PRIV int init(struct sr_output *o, int default_spl, enum outputmode mode);
+SR_PRIV int text_cleanup(struct sr_output *o);
 SR_PRIV int event(struct sr_output *o, int event_type, uint8_t **data_out,
                  uint64_t *length_out);