session: add "terminate and reset" support for protocol stacks
authorGerhard Sittig <gerhard.sittig@gmx.net>
Sun, 17 Dec 2017 17:55:46 +0000 (18:55 +0100)
committerUwe Hermann <uwe@hermann-uwe.de>
Sat, 31 Mar 2018 18:44:21 +0000 (20:44 +0200)
commit9553e9622bb26dfbe6296ef6f330b1cf0f5b40e6
tree54229df143c86283ff1aca2db86ae337d9b6413e
parent7d82e3c1ec96ac8a9ef358de1e9c87715dcb8f43
session: add "terminate and reset" support for protocol stacks

Implement routines which terminate currently pending decoder operations
and reset internal state (on the C and Python sides) for instances as
well as sessions. This allows to re-use previously created stacks for
new input data.
instance.c
libsigrokdecode-internal.h
libsigrokdecode.h
session.c