summaryrefslogtreecommitdiff
path: root/libsigrokdecode.h
AgeCommit message (Collapse)Author
2014-05-04libsigrokdecode.h: Give type names to all enumerations.Uwe Hermann
This matches the libsigrok conventions, and will be required (or at least nice to have) for libsigrokdecode language bindings later.
2014-05-03Make the srd_Decoder type private.Uwe Hermann
It's not public API and is not used (nor should it be used) by any frontends.
2014-05-03Don't define names ending with _t (POSIX reserved).Uwe Hermann
Avoid defining any names ending in _t, those are generally reserved for POSIX usage. For details see: http://pubs.opengroup.org/onlinepubs/007904975/functions/xsh_chap02_02.html http://www.gnu.org/software/libc/manual/html_node/Reserved-Names.html
2014-04-13Rename 'probe' to 'channel' everywhere.Uwe Hermann
Variables of type 'struct srd_channel *' are consistently named 'pdch' to make them easily distinguishable from libsigrok's 'struct sr_channel *' variables that are consistently named 'ch'.
2014-03-10Change PD options to be a tuple of dictionaries.Bert Vermeulen
Each option consists of a dictionary with the following keys: id The option id, which is passed in when setting a value. desc A description of the option, suitable for display. def The default value for this option. values (optional) If present, a tuple containing values the option may take. They must be of the same type as the default. Valid types for the options are UTF-8-encoded strings, integers, and floating point values.
2014-02-24Make the data unit size configurableDaniel Elstner
2014-01-31Add support for annotation rows.Uwe Hermann
An annotation row is a list of annotation classes that should all be displayed in the same "row" in GUIs. For example, the UART decoder would have at least two rows (for decoded RX and TX data/startbits/stopbits/paritybits), the SPI decoder would have at least two rows (for decoded MISO and MOSI data), and so on. Each annotation row has a short ID string (mostly for use in command-line frontends), a description string (mostly for use by GUIs), and a tuple/list of annotation class IDs belonging to this row. If no annotation rows are provided by the decoder, frontends can consider this as the "trivial" case of all annotation classes being displayed on the same (only) row.
2013-11-26Remove 64-probe limit.Bert Vermeulen
Fixes bug 120.
2013-11-18Clean up prototypesBert Vermeulen
2013-11-15Move versioning info out to separate headerBert Vermeulen