]> sigrok.org Git - libsigrok.git/blobdiff - hardware/genericdmm/genericdmm.h
sr: replace published static option data with API calls
[libsigrok.git] / hardware / genericdmm / genericdmm.h
index d961949415ae0c4a505cc0b7ac53a4854426c44a..caf2221022fd31c973f396a0f6eb48fc67b301ec 100644 (file)
@@ -44,7 +44,13 @@ struct dev_profile {
        struct sr_hwopt *defaults_opts;
 };
 
-struct context {
+/* Private driver context. */
+struct drv_context {
+       GSList *instances;
+};
+
+/* Private, per-device-instance driver context. */
+struct dev_context {
        struct dev_profile *profile;
        uint64_t limit_samples;
        uint64_t limit_msec;