]> sigrok.org Git - libsigrok.git/blobdiff - output/text/hex.c
Add sr_ prefix to input/output structs.
[libsigrok.git] / output / text / hex.c
index 943ce01cee6420da10627f55699e69ff6b3e4e24..cd769aa53c94bc11705c84a60895755a881e1d4e 100644 (file)
 #include "text.h"
 
 
-int init_hex(struct output *o)
+int init_hex(struct sr_output *o)
 {
        return init(o, DEFAULT_BPL_HEX, MODE_HEX);
 }
 
-int data_hex(struct output *o, char *data_in, uint64_t length_in,
+int data_hex(struct sr_output *o, char *data_in, uint64_t length_in,
                    char **data_out, uint64_t *length_out)
 {
        struct context *ctx;
@@ -91,7 +91,7 @@ int data_hex(struct output *o, char *data_in, uint64_t length_in,
 }
 
 
-struct output_format output_text_hex = {
+struct sr_output_format output_text_hex = {
        "hex",
        "Hexadecimal (takes argument, default 192)",
        DF_LOGIC,