summaryrefslogtreecommitdiff
path: root/libsigrokdecode-internal.h
diff options
context:
space:
mode:
authorSoeren Apel <soeren@apelpie.net>2020-06-21 12:10:59 +0200
committerSoeren Apel <soeren@apelpie.net>2021-02-13 23:21:10 +0100
commit114adb4997b71e93267e3816710c8b019ae927c0 (patch)
tree9c9b51fe5188db63f7311a2dc6f4516909b42270 /libsigrokdecode-internal.h
parentb8c8dc8a649ad0a76bccbfae7198cc9c8cb2ccda (diff)
downloadlibsigrokdecode-114adb4997b71e93267e3816710c8b019ae927c0.tar.gz
libsigrokdecode-114adb4997b71e93267e3816710c8b019ae927c0.zip
Implement basic flushing
Diffstat (limited to 'libsigrokdecode-internal.h')
-rw-r--r--libsigrokdecode-internal.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libsigrokdecode-internal.h b/libsigrokdecode-internal.h
index af245f6..329a10a 100644
--- a/libsigrokdecode-internal.h
+++ b/libsigrokdecode-internal.h
@@ -82,6 +82,7 @@ SRD_PRIV int srd_inst_decode(struct srd_decoder_inst *di,
uint64_t abs_start_samplenum, uint64_t abs_end_samplenum,
const uint8_t *inbuf, uint64_t inbuflen, uint64_t unitsize);
SRD_PRIV int process_samples_until_condition_match(struct srd_decoder_inst *di, gboolean *found_match);
+SRD_PRIV int srd_inst_flush(struct srd_decoder_inst *di);
SRD_PRIV int srd_inst_terminate_reset(struct srd_decoder_inst *di);
SRD_PRIV void srd_inst_free(struct srd_decoder_inst *di);
SRD_PRIV void srd_inst_free_all(struct srd_session *sess);