]> sigrok.org Git - libsigrok.git/blobdiff - output/text/text.h
Add sr_ prefix to input/output structs.
[libsigrok.git] / output / text / text.h
index 89ed9892cb7b11d19b78aa533591fafbb8ddee67..b8b6d3b8b1b7914a8444f1822ada2992f32eeb6c 100644 (file)
@@ -48,21 +48,21 @@ struct context {
 };
 
 void flush_linebufs(struct context *ctx, char *outbuf);
-int init(struct output *o, int default_spl, enum outputmode mode);
-int event(struct output *o, int event_type, char **data_out,
+int init(struct sr_output *o, int default_spl, enum outputmode mode);
+int event(struct sr_output *o, int event_type, char **data_out,
                 uint64_t *length_out);
 
 
-int init_bits(struct output *o);
-int data_bits(struct output *o, char *data_in, uint64_t length_in,
+int init_bits(struct sr_output *o);
+int data_bits(struct sr_output *o, char *data_in, uint64_t length_in,
                     char **data_out, uint64_t *length_out);
 
-int init_hex(struct output *o);
-int data_hex(struct output *o, char *data_in, uint64_t length_in,
+int init_hex(struct sr_output *o);
+int data_hex(struct sr_output *o, char *data_in, uint64_t length_in,
                     char **data_out, uint64_t *length_out);
 
-int init_ascii(struct output *o);
-int data_ascii(struct output *o, char *data_in, uint64_t length_in,
+int init_ascii(struct sr_output *o);
+int data_ascii(struct sr_output *o, char *data_in, uint64_t length_in,
                     char **data_out, uint64_t *length_out);