]> sigrok.org Git - libsigrok.git/blobdiff - libsigrok.h
sr: add conn to sdi, for storing a ptr to device-specific connection info
[libsigrok.git] / libsigrok.h
index 294bb15d7d3ba0a5fd7827ddf89b9640dfaead1a..069e446fb1c839010b4c2f5ebcbc97b9d5243b39 100644 (file)
@@ -704,6 +704,7 @@ struct sr_dev_inst {
        char *model;
        char *version;
        GSList *probes;
+       void *conn;
        void *priv;
 };
 
@@ -761,7 +762,7 @@ struct sr_dev_driver {
 struct sr_session {
        /** List of struct sr_dev pointers. */
        GSList *devs;
-       /** List of sr_receive_data_callback_t items. */
+       /** List of struct datafeed_callback pointers. */
        GSList *datafeed_callbacks;
        GTimeVal starttime;