static GHashTable *pd_channel_maps = NULL;
extern struct srd_session *srd_sess;
-extern gint opt_loglevel;
-
static int opts_to_gvar(struct srd_decoder *dec, GHashTable *hash,
GHashTable **options)
#include <string.h>
extern struct sr_context *sr_ctx;
-extern gchar *opt_drv;
-extern gchar *opt_channel_group;
/* Convert driver options hash to GSList of struct sr_config. */
static GSList *hash_to_hwopt(GHashTable *hash)
#include <string.h>
#include <glib.h>
-extern gchar *opt_input_file;
-extern gchar *opt_input_format;
-extern gchar *opt_channels;
-
-
/**
* Return the input file format which the CLI tool should use.
*
static uint64_t limit_samples = 0;
static uint64_t limit_frames = 0;
-extern gchar *opt_output_file;
-extern gchar *opt_output_format;
-extern gchar *opt_pds;
-extern gboolean opt_wait_trigger;
-extern gchar *opt_time;
-extern gchar *opt_samples;
-extern gchar *opt_frames;
-extern gchar *opt_continuous;
-extern gchar *opt_config;
-extern gchar *opt_triggers;
#ifdef HAVE_SRD
extern struct srd_session *srd_sess;
#endif
#include <glib.h>
#include <string.h>
-extern gint opt_loglevel;
-extern gchar *opt_pds;
-
static gint sort_inputs(gconstpointer a, gconstpointer b)
{
const struct sr_input_format *ia = a, *ib = b;