X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=src%2Foutput%2Fbinary.c;h=10f0409feeb807bc9d3a50e93b6f48c2691935b5;hb=a755b0e122105d934c4e7b97435420eda6df6e8e;hp=6e2531d1a252af1e7a92ed63e14c0b2783c0824f;hpb=06bd935e161dd273788ce9f1b455732fb91efd84;p=libsigrok.git diff --git a/src/output/binary.c b/src/output/binary.c index 6e2531d1..10f0409f 100644 --- a/src/output/binary.c +++ b/src/output/binary.c @@ -26,7 +26,7 @@ #define LOG_PREFIX "output/binary" -static int receive(struct sr_output *o, const struct sr_datafeed_packet *packet, +static int receive(const struct sr_output *o, const struct sr_datafeed_packet *packet, GString **out) { const struct sr_datafeed_logic *logic; @@ -42,8 +42,10 @@ static int receive(struct sr_output *o, const struct sr_datafeed_packet *packet, return SR_OK; } -SR_PRIV struct sr_output_format output_binary = { +SR_PRIV struct sr_output_module output_binary = { .id = "binary", - .description = "Raw binary", + .name = "Binary", + .desc = "Raw binary", + .options = NULL, .receive = receive, };