libsigrokdecode 0.5.3
sigrok protocol decoding library
Loading...
Searching...
No Matches
Data Fields
srd_decoder Struct Reference

#include <libsigrokdecode.h>

+ Collaboration diagram for srd_decoder:

Data Fields

char * id
 The decoder ID.
 
char * name
 The (short) decoder name.
 
char * longname
 The (long) decoder name.
 
char * desc
 A (short, one-line) description of the decoder.
 
char * license
 The license of the decoder.
 
GSList * inputs
 List of possible decoder input IDs.
 
GSList * outputs
 List of possible decoder output IDs.
 
GSList * channels
 List of channels required by this decoder.
 
GSList * opt_channels
 List of optional channels for this decoder.
 
GSList * annotations
 List of annotation classes.
 
GSList * annotation_rows
 List of annotation rows (row items: id, description, and a list of annotation classes belonging to this row).
 
GSList * binary
 List of binary classes.
 
GSList * options
 List of decoder options.
 
void * py_mod
 Python module.
 
void * py_dec
 sigrokdecode.Decoder class.
 

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 annotation classes.

Each list item is a GSList itself, with two NUL-terminated strings: name and description.

Definition at line 174 of file libsigrokdecode.h.

◆ binary

GSList* srd_decoder::binary

List of binary classes.

Each list item is a GSList itself, with two NUL-terminated strings: name and description.

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_decoder_load(), 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.

Referenced by srd_decoder_load().

◆ 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(), and srd_decoder_load().

◆ inputs

GSList* srd_decoder::inputs

List of possible decoder input IDs.

Definition at line 159 of file libsigrokdecode.h.

Referenced by srd_decoder_load(), and srd_inst_stack().

◆ 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.

Referenced by srd_decoder_load().

◆ longname

char* srd_decoder::longname

The (long) decoder name.

Must be non-NULL.

Definition at line 147 of file libsigrokdecode.h.

Referenced by srd_decoder_load().

◆ name

char* srd_decoder::name

The (short) decoder name.

Must be non-NULL.

Definition at line 144 of file libsigrokdecode.h.

Referenced by srd_decoder_load(), and 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_decoder_load(), srd_inst_channel_set_all(), and 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.

Referenced by srd_decoder_load(), and srd_inst_stack().

◆ py_dec

void* srd_decoder::py_dec

sigrokdecode.Decoder class.

Definition at line 195 of file libsigrokdecode.h.

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

◆ py_mod

void* srd_decoder::py_mod

Python module.

Definition at line 192 of file libsigrokdecode.h.

Referenced by srd_decoder_doc_get(), and srd_decoder_load().


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