]> sigrok.org Git - libsigrok.git/blobdiff - libsigrok-internal.h
Move 'struct drv_context' to sigrok-internal.h.
[libsigrok.git] / libsigrok-internal.h
index 2cb8fe4eef9e939887bd007e7f694925ce06f43b..2a8503abd37e80c51f9d90301a84cfc6617e0d5b 100644 (file)
@@ -61,6 +61,11 @@ struct sr_serial_dev_inst {
        int fd;
 };
 
+/* Private driver context. */
+struct drv_context {
+       GSList *instances;
+};
+
 /*--- log.c -----------------------------------------------------------------*/
 
 SR_PRIV int sr_log(int loglevel, const char *format, ...);