![]() |
libsigrokdecode
0.2.0
sigrok protocol decoding library
|
Initializing and shutting down libsigrokdecode. More...
#include "libsigrokdecode.h"
#include "libsigrokdecode-internal.h"
#include "config.h"
#include <glib.h>
#include <inttypes.h>
#include <stdlib.h>
Go to the source code of this file.
Functions | |
int | srd_init (const char *path) |
Initialize libsigrokdecode. More... | |
int | srd_exit (void) |
Shutdown libsigrokdecode. More... | |
int | srd_inst_option_set (struct srd_decoder_inst *di, GHashTable *options) |
Set one or more options in a decoder instance. More... | |
int | srd_inst_probe_set_all (struct srd_decoder_inst *di, GHashTable *new_probes) |
Set all probes in a decoder instance. More... | |
struct srd_decoder_inst * | srd_inst_new (const char *decoder_id, GHashTable *options) |
Create a new protocol decoder instance. More... | |
int | srd_inst_stack (struct srd_decoder_inst *di_from, struct srd_decoder_inst *di_to) |
Stack a decoder instance on top of another. More... | |
struct srd_decoder_inst * | srd_inst_find_by_id (const char *inst_id) |
Find a decoder instance by its instance ID. More... | |
int | srd_session_start (int num_probes, int unitsize, uint64_t samplerate) |
Start a decoding session. More... | |
int | srd_session_send (uint64_t start_samplenum, const uint8_t *inbuf, uint64_t inbuflen) |
Send a chunk of logic sample data to a running decoder session. More... | |
int | srd_pd_output_callback_add (int output_type, srd_pd_output_callback_t cb, void *cb_data) |
Register/add a decoder output callback function. More... | |
Initializing and shutting down libsigrokdecode.
Definition in file controller.c.