X-Git-Url: http://sigrok.org/gitweb/?a=blobdiff_plain;ds=inline;f=include%2Flibsigrok%2Fproto.h;h=3c693642ae939ee73bcc5b16a8ecb5bc79b315ad;hb=d5cc282ff8026173c14ff6957482a24b2d6feef3;hp=68e7a1ab5491b31a4df91dd5b906b36db37b9758;hpb=584560f142e1b17b9f4ef9069bd3724f2f77e750;p=libsigrok.git diff --git a/include/libsigrok/proto.h b/include/libsigrok/proto.h index 68e7a1ab..3c693642 100644 --- a/include/libsigrok/proto.h +++ b/include/libsigrok/proto.h @@ -137,7 +137,8 @@ SR_API int sr_input_scan_buffer(GString *buf, const struct sr_input **in); SR_API int sr_input_scan_file(const char *filename, const struct sr_input **in); SR_API struct sr_dev_inst *sr_input_dev_inst_get(const struct sr_input *in); SR_API int sr_input_send(const struct sr_input *in, GString *buf); -SR_API int sr_input_free(const struct sr_input *in); +SR_API int sr_input_end(const struct sr_input *in); +SR_API void sr_input_free(const struct sr_input *in); /*--- output/output.c -------------------------------------------------------*/