X-Git-Url: https://sigrok.org/gitweb/?p=sigrok-cli.git;a=blobdiff_plain;f=sigrok-cli.h;h=93a3b58de3689a6734d62c1234463f3a70462f30;hp=d7b9d9cee954f7fcff9f5c44ca43e9594a3a7f54;hb=d486cbddfe380de95a98646f7626426955e563ee;hpb=f0f54487c6a146af523d6eb19fcce63422e3f0f1 diff --git a/sigrok-cli.h b/sigrok-cli.h index d7b9d9c..93a3b58 100644 --- a/sigrok-cli.h +++ b/sigrok-cli.h @@ -20,17 +20,18 @@ #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 */ +extern struct sr_context *sr_ctx; int select_channels(struct sr_dev_inst *sdi); gboolean config_key_has_cap(struct sr_dev_driver *driver, const struct sr_dev_inst *sdi, struct sr_channel_group *cg,