From 114adb4997b71e93267e3816710c8b019ae927c0 Mon Sep 17 00:00:00 2001 From: Soeren Apel Date: Sun, 21 Jun 2020 12:10:59 +0200 Subject: Implement basic flushing --- libsigrokdecode-internal.h | 1 + 1 file changed, 1 insertion(+) (limited to 'libsigrokdecode-internal.h') 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); -- cgit v1.2.3-70-g09d2