]> sigrok.org Git - libsigrok.git/blobdiff - src/libsigrok-internal.h
input: Add sr_input_end().
[libsigrok.git] / src / libsigrok-internal.h
index d1819985510bf84e4718f978f73d6003f7391c7f..27f0a6153eababeacc4ccb197c986ddbf68fff13 100644 (file)
@@ -309,6 +309,8 @@ struct sr_input_module {
         */
        int (*receive) (struct sr_input *in, GString *buf);
 
+       int (*end) (struct sr_input *in);
+
        /**
         * This function is called after the caller is finished using
         * the input module, and can be used to free any internal