]> sigrok.org Git - libsigrok.git/blobdiff - proto.h
asix-sigma: don't use deprecated hwcap_get_all() driver API call
[libsigrok.git] / proto.h
diff --git a/proto.h b/proto.h
index a1d6d7cc64e908aef8a8dda4a8c6ab44d5a9329d..ff5cb9411028b4bd06c01bfa3419da9c77d429a4 100644 (file)
--- a/proto.h
+++ b/proto.h
@@ -77,6 +77,8 @@ SR_API GSList *sr_driver_scan(struct sr_dev_driver *driver, GSList *options);
 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 hwopt);
 SR_API const struct sr_hwcap_option *sr_hw_hwcap_get(int hwcap);
+SR_API int sr_info_get(struct sr_dev_driver *driver, int id,
+               const void **data, const struct sr_dev_inst *sdi);
 
 /*--- session.c -------------------------------------------------------------*/