libsigrokdecode  0.4.0
sigrok protocol decoding library
Functions
instance.c File Reference

Decoder instance handling. More...

#include <config.h>
#include "libsigrokdecode-internal.h"
#include "libsigrokdecode.h"
#include <glib.h>
#include <inttypes.h>
#include <stdlib.h>
#include <stdint.h>
+ Include dependency graph for instance.c:

Go to the source code of this file.

Functions

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_channel_set_all (struct srd_decoder_inst *di, GHashTable *new_channels)
 Set all channels in a decoder instance. More...
 
struct srd_decoder_instsrd_inst_new (struct srd_session *sess, const char *decoder_id, GHashTable *options)
 Create a new protocol decoder instance. More...
 
int srd_inst_stack (struct srd_session *sess, struct srd_decoder_inst *di_bottom, struct srd_decoder_inst *di_top)
 Stack a decoder instance on top of another. More...
 
struct srd_decoder_instsrd_inst_find_by_id (struct srd_session *sess, const char *inst_id)
 Find a decoder instance by its instance ID. More...
 

Detailed Description

Decoder instance handling.

Definition in file instance.c.