X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=src%2Flibsigrok-internal.h;h=d1819985510bf84e4718f978f73d6003f7391c7f;hb=d0181813315114b88ad38cf276045ee5c311ca3c;hp=67c0aab6a2bab877d12e01a866ef0042e0d03171;hpb=66c91e2509e2d995fa0b576104aa5ee04e469f21;p=libsigrok.git diff --git a/src/libsigrok-internal.h b/src/libsigrok-internal.h index 67c0aab6..d1819985 100644 --- a/src/libsigrok-internal.h +++ b/src/libsigrok-internal.h @@ -211,6 +211,7 @@ struct sr_input { const struct sr_input_module *module; GString *buf; struct sr_dev_inst *sdi; + gboolean sdi_ready; void *priv; }; @@ -306,7 +307,7 @@ struct sr_input_module { * @retval SR_OK Success * @retval other Negative error code. */ - int (*receive) (const struct sr_input *in, GString *buf); + int (*receive) (struct sr_input *in, GString *buf); /** * This function is called after the caller is finished using