libsigrokdecode  0.3.1
sigrok protocol decoding library
Data Fields
srd_decoder Struct Reference

#include <libsigrokdecode.h>

+ Collaboration diagram for srd_decoder:

Data Fields

char * id
 The decoder ID. More...
 
char * name
 The (short) decoder name. More...
 
char * longname
 The (long) decoder name. More...
 
char * desc
 A (short, one-line) description of the decoder. More...
 
char * license
 The license of the decoder. More...
 
GSList * channels
 List of channels required by this decoder. More...
 
GSList * opt_channels
 List of optional channels for this decoder. More...
 
GSList * annotations
 List of NULL-terminated char[], containing descriptions of the supported annotation output. More...
 
GSList * annotation_rows
 List of annotation rows (row items: id, description, and a list of annotation classes belonging to this row). More...
 
GSList * binary
 List of NULL-terminated char[], containing descriptions of the supported binary output. More...
 
GSList * options
 List of decoder options. More...
 
PyObject * py_mod
 Python module. More...
 
PyObject * py_dec
 sigrokdecode.Decoder class. More...
 

Detailed Description

Definition at line 140 of file libsigrokdecode.h.

Field Documentation

GSList* srd_decoder::annotation_rows

List of annotation rows (row items: id, description, and a list of annotation classes belonging to this row).

Definition at line 175 of file libsigrokdecode.h.

Referenced by srd_decoder_load().

GSList* srd_decoder::annotations

List of NULL-terminated char[], containing descriptions of the supported annotation output.

Definition at line 169 of file libsigrokdecode.h.

Referenced by srd_decoder_load().

GSList* srd_decoder::binary

List of NULL-terminated char[], containing descriptions of the supported binary output.

Definition at line 181 of file libsigrokdecode.h.

Referenced by srd_decoder_load().

GSList* srd_decoder::channels

List of channels required by this decoder.

Definition at line 160 of file libsigrokdecode.h.

Referenced by srd_decoder_load(), srd_decoder_unload(), srd_inst_channel_set_all(), and srd_inst_new().

char* srd_decoder::desc

A (short, one-line) description of the decoder.

Must be non-NULL.

Definition at line 151 of file libsigrokdecode.h.

Referenced by srd_decoder_load(), and srd_decoder_unload().

char* srd_decoder::id

The decoder ID.

Must be non-NULL and unique for all decoders.

Definition at line 142 of file libsigrokdecode.h.

Referenced by srd_decoder_get_by_id(), srd_decoder_load(), and srd_decoder_unload().

char* srd_decoder::license

The license of the decoder.

Valid values: "gplv2+", "gplv3+". Other values are currently not allowed. Must be non-NULL.

Definition at line 157 of file libsigrokdecode.h.

Referenced by srd_decoder_load(), and srd_decoder_unload().

char* srd_decoder::longname

The (long) decoder name.

Must be non-NULL.

Definition at line 148 of file libsigrokdecode.h.

Referenced by srd_decoder_load(), and srd_decoder_unload().

char* srd_decoder::name

The (short) decoder name.

Must be non-NULL.

Definition at line 145 of file libsigrokdecode.h.

Referenced by srd_decoder_load(), srd_decoder_unload(), and srd_inst_channel_set_all().

GSList* srd_decoder::opt_channels

List of optional channels for this decoder.

Definition at line 163 of file libsigrokdecode.h.

Referenced by srd_decoder_load(), srd_decoder_unload(), srd_inst_channel_set_all(), and srd_inst_new().

GSList* srd_decoder::options

List of decoder options.

Definition at line 184 of file libsigrokdecode.h.

Referenced by srd_decoder_unload(), and srd_inst_option_set().

PyObject* srd_decoder::py_dec

sigrokdecode.Decoder class.

Definition at line 190 of file libsigrokdecode.h.

Referenced by srd_decoder_load(), srd_decoder_unload(), srd_inst_new(), and srd_inst_option_set().

PyObject* srd_decoder::py_mod

Python module.

Definition at line 187 of file libsigrokdecode.h.

Referenced by srd_decoder_doc_get(), srd_decoder_load(), and srd_decoder_unload().


The documentation for this struct was generated from the following file: