]> sigrok.org Git - libsigrok.git/blobdiff - include/libsigrok/libsigrok.h
SR_ERR_IO: new error code
[libsigrok.git] / include / libsigrok / libsigrok.h
index 65e9da80a2db24757fc99697d41ab2f75a8d1f86..353860d9e529871e62b712fefebc47205fb7ac14 100644 (file)
@@ -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 {