![]() |
libsigrokdecode 0.5.3
sigrok protocol decoding library
|
Handling protocol decoders. More...
Functions | |
| const GSList * | srd_decoder_list (void) |
| Returns the list of loaded protocol decoders. More... | |
| struct srd_decoder * | srd_decoder_get_by_id (const char *id) |
| Get the decoder with the specified ID. More... | |
| int | srd_decoder_load (const char *module_name) |
| Load a protocol decoder module into the embedded Python interpreter. More... | |
| char * | srd_decoder_doc_get (const struct srd_decoder *dec) |
| Return a protocol decoder's docstring. More... | |
| int | srd_decoder_unload (struct srd_decoder *dec) |
| Unload the specified protocol decoder. More... | |
| int | srd_decoder_load_all (void) |
| Load all installed protocol decoders. More... | |
| int | srd_decoder_unload_all (void) |
| Unload all loaded protocol decoders. More... | |
Handling protocol decoders.
| char * srd_decoder_doc_get | ( | const struct srd_decoder * | dec | ) |
| struct srd_decoder * srd_decoder_get_by_id | ( | const char * | id | ) |
Get the decoder with the specified ID.
| id | The ID string of the decoder to return. |
Definition at line 89 of file decoder.c.
References srd_decoder::id.
Referenced by srd_inst_new().
Here is the caller graph for this function:| const GSList * srd_decoder_list | ( | void | ) |
Returns the list of loaded protocol decoders.
This is a GSList of pointers to struct srd_decoder items.
| int srd_decoder_load | ( | const char * | module_name | ) |
| int srd_decoder_load_all | ( | void | ) |
| int srd_decoder_unload | ( | struct srd_decoder * | dec | ) |
Unload the specified protocol decoder.
| dec | The struct srd_decoder to be unloaded. |