X-Git-Url: https://sigrok.org/gitweb/?p=libsigrok.git;a=blobdiff_plain;f=output%2Foutput.c;h=4cf78f60a8b201d2ba6c60a9d6e50702d750ba5e;hp=941678ec8d2185887b10cd429fcbb7582c8996c2;hb=43cd4637285833706f8a404ca027bcf0ee75b9ae;hpb=dba3e6826e3d37309ed49dd77cde346b369bc5a9 diff --git a/output/output.c b/output/output.c index 941678ec..4cf78f60 100644 --- a/output/output.c +++ b/output/output.c @@ -73,11 +73,13 @@ static struct sr_output_format *output_module_list[] = { NULL, }; +/** @since 0.1.0 */ SR_API struct sr_output_format **sr_output_list(void) { return output_module_list; } +/** @since 0.3.0 */ SR_API struct sr_output *sr_output_new(struct sr_output_format *of, GHashTable *params, const struct sr_dev_inst *sdi) { @@ -95,12 +97,14 @@ SR_API struct sr_output *sr_output_new(struct sr_output_format *of, return o; } +/** @since 0.3.0 */ SR_API int sr_output_send(struct sr_output *o, const struct sr_datafeed_packet *packet, GString **out) { return o->format->receive(o, packet, out); } +/** @since 0.3.0 */ SR_API int sr_output_free(struct sr_output *o) { int ret; @@ -113,5 +117,4 @@ SR_API int sr_output_free(struct sr_output *o) return ret; } - /** @} */