X-Git-Url: http://sigrok.org/gitweb/?a=blobdiff_plain;f=include%2Flibsigrok%2Fproto.h;h=c99d4c65f2c0065c7091f15f4611b8d41ade75a6;hb=02e24c0ce0d8;hp=5ca98d402da9b0c5892967c6ef07d808164629ac;hpb=17bfaca62aaacec71c6da4bd927af051727593b6;p=libsigrok.git diff --git a/include/libsigrok/proto.h b/include/libsigrok/proto.h index 5ca98d40..c99d4c65 100644 --- a/include/libsigrok/proto.h +++ b/include/libsigrok/proto.h @@ -129,8 +129,8 @@ SR_API const char *sr_input_id_get(const struct sr_input_module *in); SR_API const char *sr_input_name_get(const struct sr_input_module *in); SR_API const char *sr_input_description_get(const struct sr_input_module *in); SR_API const struct sr_input_module *sr_input_find(char *id); -SR_API const struct sr_option *sr_input_options_get(const struct sr_input_module *in); -SR_API void sr_input_options_free(const struct sr_input_module *in); +SR_API const struct sr_option **sr_input_options_get(const struct sr_input_module *in); +SR_API void sr_input_options_free(const struct sr_option **options); SR_API struct sr_input *sr_input_new(const struct sr_input_module *imod, GHashTable *options); SR_API const struct sr_input *sr_input_scan_buffer(GString *buf);