]> sigrok.org Git - libsigrok.git/commit - libsigrok.h
sr: add recv/cleanup calls to output module API
authorBert Vermeulen <redacted>
Sat, 8 Sep 2012 00:31:08 +0000 (02:31 +0200)
committerBert Vermeulen <redacted>
Sat, 8 Sep 2012 00:31:08 +0000 (02:31 +0200)
commitf45b75901436310684b5fbb567269bc44d08c2d4
treecce337584c7eb4a419f2e81b583a77b6a58ba7f2
parent69a74024902eecd3fc9ebd4f64fdef6ae460d0d7
sr: add recv/cleanup calls to output module API

The new output module callbacks will be init, recv and cleanup. The
existing data  and event callbacks still work, but will be phased out
as existing modules get converted.

The recv() callback gets a copy of every packet on the session bus,
and thus has visibility of all metadata, allowing it to properly
output any acquired data.
libsigrok.h