]> sigrok.org Git - libsigrok.git/blobdiff - proto.h
sr: new API call sr_dev_config_set()
[libsigrok.git] / proto.h
diff --git a/proto.h b/proto.h
index ba158c2329a427f9c153a2202f09017e61ccc032..ce61d009483fcbcc3d3073c377433ec8c67c0106 100644 (file)
--- a/proto.h
+++ b/proto.h
@@ -54,6 +54,8 @@ SR_API int sr_dev_probe_enable(const struct sr_dev_inst *sdi, int probenum,
 SR_API int sr_dev_trigger_set(const struct sr_dev_inst *sdi, int probenum,
                const char *trigger);
 SR_API gboolean sr_dev_has_hwcap(const struct sr_dev_inst *sdi, int hwcap);
+SR_API int sr_dev_config_set(const struct sr_dev_inst *sdi, int hwcap,
+               const void *value);
 
 /*--- filter.c --------------------------------------------------------------*/