X-Git-Url: http://sigrok.org/gitweb/?a=blobdiff_plain;f=sigrok-cli.h;h=eaee7e6fbcf40f0edb8390ebebe349924ac908f5;hb=5899178d2d92d12bb8bed7e6b874ea778b7329c2;hp=d7b9d9cee954f7fcff9f5c44ca43e9594a3a7f54;hpb=f0f54487c6a146af523d6eb19fcce63422e3f0f1;p=sigrok-cli.git diff --git a/sigrok-cli.h b/sigrok-cli.h index d7b9d9c..eaee7e6 100644 --- a/sigrok-cli.h +++ b/sigrok-cli.h @@ -27,10 +27,12 @@ #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,