X-Git-Url: https://sigrok.org/gitweb/?p=sigrok-cli.git;a=blobdiff_plain;f=sigrok-cli.h;h=476ee924d5aa2a647828907625dfe069f2deb231;hp=f05a1695caad6ef38bd4221250b39a90e56e678e;hb=d473271c6e4fb6e618697bcd5acfe5af0b5afeb2;hpb=59e421bbda22512122660aee370d31b88f8ccdf4 diff --git a/sigrok-cli.h b/sigrok-cli.h index f05a169..476ee92 100644 --- a/sigrok-cli.h +++ b/sigrok-cli.h @@ -20,14 +20,14 @@ #ifndef SIGROK_CLI_SIGROK_CLI_H #define SIGROK_CLI_SIGROK_CLI_H -#include "config.h" #ifdef HAVE_SRD /* First, so we avoid a _POSIX_C_SOURCE warning. */ #include #endif #include -#define DEFAULT_OUTPUT_FORMAT "bits:width=64" +#define DEFAULT_OUTPUT_FORMAT_FILE "srzip" +#define DEFAULT_OUTPUT_FORMAT_NOFILE "bits:width=64" #define SAVE_CHUNK_SIZE (512 * 1024) /* main.c */ @@ -120,13 +120,13 @@ extern gchar *opt_pd_binary; extern gchar *opt_input_format; extern gchar *opt_output_format; extern gchar *opt_transform_module; -extern gchar *opt_show; +extern gboolean opt_show; extern gchar *opt_time; extern gchar *opt_samples; extern gchar *opt_frames; -extern gchar *opt_continuous; +extern gboolean opt_continuous; extern gchar *opt_get; -extern gchar *opt_set; +extern gboolean opt_set; int parse_options(int argc, char **argv); void show_help(void);