X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=include%2Flibsigrok%2Flibsigrok.h;h=233e04a6ce969dd881c02f3c6d5092536e9a356e;hb=41812aca436805b0614f2a8f31cf2f8ce494aea0;hp=4cd68930c132487fd2c5b36fcc042f2bc8c1b683;hpb=c4b78389227b4d94ed211618f12a25f49d1ba8a3;p=libsigrok.git diff --git a/include/libsigrok/libsigrok.h b/include/libsigrok/libsigrok.h index 4cd68930..233e04a6 100644 --- a/include/libsigrok/libsigrok.h +++ b/include/libsigrok/libsigrok.h @@ -624,6 +624,9 @@ enum sr_configkey { /** The device can act as an LCR meter. */ SR_CONF_LCRMETER, + /** The device can act as an electronic load. */ + SR_CONF_ELECTRONIC_LOAD, + /*--- Driver scan options -------------------------------------------*/ /** @@ -986,7 +989,7 @@ enum sr_dev_inst_type { SR_INST_SCPI, /** Device-instance type for user-created "devices". */ SR_INST_USER, - /** Device instance type for modbus devices. */ + /** Device instance type for Modbus devices. */ SR_INST_MODBUS, }; @@ -1070,8 +1073,8 @@ struct sr_dev_driver { void *cb_data); /* Dynamic */ - /** Device driver private data. Initialized by init(). */ - void *priv; + /** Device driver context, considered private. Initialized by init(). */ + void *context; }; /**