aboutsummaryrefslogtreecommitdiff
path: root/src/eclat.h
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2015-01-18 13:29:25 +0200
committerSergey Poznyakoff <gray@gnu.org.ua>2015-01-18 13:29:25 +0200
commit0766417065bfec9747bf0f41f9b68c27e378f817 (patch)
treed670f4b005311aa8af3ff2223c5f66ac1ddd0383 /src/eclat.h
parentda045fc11d890e55b99b7cf842f7cb92dce532bb (diff)
downloadeclat-0766417065bfec9747bf0f41f9b68c27e378f817.tar.gz
eclat-0766417065bfec9747bf0f41f9b68c27e378f817.tar.bz2
If no region is specified, get it from the instance store
* src/eclat.c: If no region is specified, try to get it from the instance store. * src/eclat.h (eclat_trace_fun): New proto. (eclat_get_instance_zone): New proto. * src/io.c (eclat_trace_fun): Remove static qualifier. * src/util.c (eclat_get_instance_meta_data): New function. (eclat_get_instance_zone): New function.
Diffstat (limited to 'src/eclat.h')
-rw-r--r--src/eclat.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/eclat.h b/src/eclat.h
index 528ae95..b9c90ba 100644
--- a/src/eclat.h
+++ b/src/eclat.h
@@ -100,6 +100,10 @@ void eclat_io_free(struct eclat_io *io);
void eclat_io_shutdown(struct eclat_io *io);
struct grecs_node *eclat_io_finish(struct eclat_io *io);
+int eclat_trace_fun(CURL *handle, curl_infotype type,
+ char *data, size_t size,
+ void *userp);
+
int eclat_start_instance(eclat_command_env_t *env, int argc, char **argv);
int eclat_stop_instance(eclat_command_env_t *env, int argc, char **argv);
@@ -168,6 +172,7 @@ void describe_query_update(eclat_command_env_t *env, int argc, char **argv,
const char *uparm, int n_in, int *n_out);
int eclat_send_query(CURL *curl, struct ec2_query *q);
+char *eclat_get_instance_zone(void);
int eclat_actcmp(const char *a, const char *b);

Return to:

Send suggestions and report system problems to the System administrator.