X-Git-Url: http://sigrok.org/gitweb/?a=blobdiff_plain;f=include%2Flibsigrok%2Flibsigrok.h;h=e0540a45db981844197a981739f84a3af2f4bf40;hb=289eebd7ca9f1229fe7e9d318c4895069ed82d6e;hp=65e9da80a2db24757fc99697d41ab2f75a8d1f86;hpb=9ed444e6226c5d36b637708864361429f77f07a8;p=libsigrok.git diff --git a/include/libsigrok/libsigrok.h b/include/libsigrok/libsigrok.h index 65e9da80..e0540a45 100644 --- a/include/libsigrok/libsigrok.h +++ b/include/libsigrok/libsigrok.h @@ -76,6 +76,7 @@ enum sr_error_code { SR_ERR_TIMEOUT = -8, /**< A timeout occurred. */ SR_ERR_CHANNEL_GROUP = -9, /**< A channel group must be specified. */ SR_ERR_DATA =-10, /**< Data is invalid. */ + SR_ERR_IO =-11, /**< Input/output error. */ /* * Note: When adding entries here, don't forget to also update the @@ -515,6 +516,8 @@ struct sr_input; struct sr_input_module; struct sr_output; struct sr_output_module; +struct sr_transform; +struct sr_transform_module; /** Constants for channel type. */ enum sr_channeltype { @@ -903,6 +906,9 @@ enum sr_configkey { */ SR_CONF_DATA_SOURCE, + /** The device supports setting a probe factor. */ + SR_CONF_PROBE_FACTOR, + /*--- Acquisition modes, sample limiting ----------------------------*/ /**