diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2012-12-11 15:49:43 +0200 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2012-12-11 15:49:43 +0200 |
commit | 8bc5ddbfb6d5d91287af6da059bea245d09fcb4f (patch) | |
tree | 3657610db94892b5cff08a97f401fecb9989c3a1 /src/eclat.h | |
parent | 2fe31259571d24cd06292946a2a108046d3bc228 (diff) | |
download | eclat-8bc5ddbfb6d5d91287af6da059bea245d09fcb4f.tar.gz eclat-8bc5ddbfb6d5d91287af6da059bea245d09fcb4f.tar.bz2 |
Accept both Eclat command names and EC2 action names in format statements.
* src/util.c (eclat_actcmp): New function.
* src/eclat.h (eclat_actcmp): New proto.
* src/eclat.c (find_command_tag): Use eclat_actcmp.
Diffstat (limited to 'src/eclat.h')
-rw-r--r-- | src/eclat.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/eclat.h b/src/eclat.h index 8494f59..d842064 100644 --- a/src/eclat.h +++ b/src/eclat.h @@ -109,6 +109,8 @@ void describe_query_create(eclat_command_env_t *env, int argc, char **argv, const char *uparm); int eclat_send_query(CURL *curl, struct ec2_query *q); +int eclat_actcmp(const char *a, const char *b); + #define XML_DUMP_FILE_NAME "eclat.dump.xml" #define FILTER_STRING 0 |