X-Git-Url: https://sigrok.org/gitweb/?p=sigrok-cli.git;a=blobdiff_plain;f=sigrok-cli.h;h=3b72791e4774267eeaac2826475dbf72648d086b;hp=95d4a3413c3f12fab63c08022b0bed3e6ef8130e;hb=dd671ce797d8eb49d7d883df3ae65145033607cf;hpb=60e19738ac42e01e50116d0b35ba010fef7904f2 diff --git a/sigrok-cli.h b/sigrok-cli.h index 95d4a34..3b72791 100644 --- a/sigrok-cli.h +++ b/sigrok-cli.h @@ -1,5 +1,5 @@ /* - * This file is part of the sigrok project. + * This file is part of the sigrok-cli project. * * Copyright (C) 2011 Bert Vermeulen * @@ -21,14 +21,15 @@ #define SIGROK_CLI_SIGROK_CLI_H /* sigrok-cli.c */ -int num_real_devices(void); +int num_real_devs(void); /* parsers.c */ -char **parse_probestring(int max_probes, const char *probestring); -char **sr_parse_triggerstring(struct sr_device *device, const char *triggerstring); -GHashTable *parse_generic_arg(const char *arg); -struct sr_device *parse_devicestring(const char *devicestring); +GSList *parse_probestring(struct sr_dev_inst *sdi, const char *probestring); +GHashTable *parse_generic_arg(const char *arg, gboolean sep_first); +struct sr_dev *parse_devstring(const char *devstring); uint64_t sr_parse_timestring(const char *timestring); +char *strcanon(const char *str); +int canon_cmp(const char *str1, const char *str2); /* anykey.c */ void add_anykey(void);