From: Daniel Ribeiro Date: Sun, 9 Jan 2011 05:50:45 +0000 (-0200) Subject: Add a per-instance pointer storage for hardware plugins. X-Git-Tag: libsigrok-0.1.0~464 X-Git-Url: https://sigrok.org/gitweb/?a=commitdiff_plain;h=8d6725506115e97665be8ef35dbaaf694ba72a93;p=libsigrok.git Add a per-instance pointer storage for hardware plugins. We need this to properly support more than one device connected at the same time. --- diff --git a/sigrok.h b/sigrok.h index 16a41570..ddfa4034 100644 --- a/sigrok.h +++ b/sigrok.h @@ -269,6 +269,7 @@ struct sigrok_device_instance { char *vendor; char *model; char *version; + void *priv; union { struct usb_device_instance *usb; struct serial_device_instance *serial;