libsigrokdecode  0.5.2
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 * inputs
 List of possible decoder input IDs. More...
 
GSList * outputs
 List of possible decoder output IDs. 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...
 
void * py_mod
 Python module. More...
 
void * py_dec
 sigrokdecode.Decoder class. More...
 

Detailed Description

Definition at line 139 of file libsigrokdecode.h.

Field Documentation

◆ annotation_rows

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 180 of file libsigrokdecode.h.

◆ annotations

GSList* srd_decoder::annotations

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

Definition at line 174 of file libsigrokdecode.h.

◆ binary

GSList* srd_decoder::binary

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

Definition at line 186 of file libsigrokdecode.h.

◆ channels

GSList* srd_decoder::channels

List of channels required by this decoder.

Definition at line 165 of file libsigrokdecode.h.

Referenced by srd_inst_channel_set_all(), and srd_inst_new().

◆ desc

char* srd_decoder::desc

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

Must be non-NULL.

Definition at line 150 of file libsigrokdecode.h.

◆ id

char* srd_decoder::id

The decoder ID.

Must be non-NULL and unique for all decoders.

Definition at line 141 of file libsigrokdecode.h.

Referenced by srd_decoder_get_by_id().

◆ inputs

GSList* srd_decoder::inputs

List of possible decoder input IDs.

Definition at line 159 of file libsigrokdecode.h.

◆ license

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 156 of file libsigrokdecode.h.

◆ longname

char* srd_decoder::longname

The (long) decoder name.

Must be non-NULL.

Definition at line 147 of file libsigrokdecode.h.

◆ name

char* srd_decoder::name

The (short) decoder name.

Must be non-NULL.

Definition at line 144 of file libsigrokdecode.h.

Referenced by srd_inst_channel_set_all().

◆ opt_channels

GSList* srd_decoder::opt_channels

List of optional channels for this decoder.

Definition at line 168 of file libsigrokdecode.h.

Referenced by srd_inst_new().

◆ options

GSList* srd_decoder::options

List of decoder options.

Definition at line 189 of file libsigrokdecode.h.

Referenced by srd_inst_option_set().

◆ outputs

GSList* srd_decoder::outputs

List of possible decoder output IDs.

Definition at line 162 of file libsigrokdecode.h.

◆ py_dec

void* srd_decoder::py_dec

sigrokdecode.Decoder class.

Definition at line 195 of file libsigrokdecode.h.

Referenced by srd_inst_option_set().

◆ py_mod

void* srd_decoder::py_mod

Python module.

Definition at line 192 of file libsigrokdecode.h.


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