summaryrefslogtreecommitdiff
path: root/sigrokdecode.h
AgeCommit message (Collapse)Author
2011-01-15Don't expose libsigrokdecode's interal GSList.Uwe Hermann
Instead, add a libsigrokdecode_list_decoders() API call which gives you the list of known protocol decoders.
2011-01-15CLI: Support for running protocol decoders.Uwe Hermann
Add a new -A | --list-protocol-decoders option to show the list of protocol decoders we could find. Add -a | --protocol-decoders to specify a list of decoders that shall be applied to the datastream. Currently only works for one decoder. Define DECODERS_DIR, which is the directory where the decoders will be installed upon 'make install', and where libsigrokdecode_init() will search for them. Thanks Olivier Fauchon <olivier@aixmarseille.com> for the initial patch, merged in slightly different form.
2010-04-24Various Python decoder infrastructure improvements.Uwe Hermann
- Introduce 'struct sigrokdecode_decoder'. - Decoders are now handled via two C functions: - sigrokdecode_load_decoder(): Fills a 'struct sigrokdecode_decoder'. - sigrokdecode_run_decoder(): Runs a decoder function. - There are now two decoder API functions a script needs to implement: - register(): Returns a Python dict with certain metadata. - decode(): Runs the actual decoder code. - libsigrokdecode: Add and use some more #defines for errors: - SIGROKDECODE_ERR_ARGS - SIGROKDECODE_ERR_PYTHON - Various other smaller Python decode script infrastructure issues.
2010-04-23sigrokdecode.h: Add struct sigrokdecode_decoder_info.unknown
2010-04-23sigrokdecode_run_decoder(): Pass in the module name.unknown
2010-04-15libsigrok: Coding style fixes.Uwe Hermann
2010-04-06libsigrokdecode: Add initial return code list.Uwe Hermann
2010-04-02Start of code base layout restructuring.Uwe Hermann