]> sigrok.org Git - libsigrok.git/blobdiff - proto.h
Adjust option helpers to new sr_config struct
[libsigrok.git] / proto.h
diff --git a/proto.h b/proto.h
index a58320b58616f9effc0afa58da13aa1469d1f812..a548858de054e4c67301c3e0e10159a723f2da52 100644 (file)
--- a/proto.h
+++ b/proto.h
@@ -73,10 +73,10 @@ SR_API GSList *sr_driver_scan(struct sr_dev_driver *driver, GSList *options);
 SR_API int sr_info_get(struct sr_dev_driver *driver, int id,
                const void **data, const struct sr_dev_inst *sdi);
 SR_API gboolean sr_driver_hwcap_exists(struct sr_dev_driver *driver, int hwcap);
-SR_API const struct sr_hwcap_option *sr_drvopt_get(int opt);
-SR_API const struct sr_hwcap_option *sr_drvopt_name_get(const char *optname);
-SR_API const struct sr_hwcap_option *sr_devopt_get(int opt);
-SR_API const struct sr_hwcap_option *sr_devopt_name_get(const char *optname);
+SR_API const struct sr_config_info *sr_drvopt_get(int opt);
+SR_API const struct sr_config_info *sr_drvopt_name_get(const char *optname);
+SR_API const struct sr_config_info *sr_devopt_get(int opt);
+SR_API const struct sr_config_info *sr_devopt_name_get(const char *optname);
 
 /*--- session.c -------------------------------------------------------------*/