aboutsummaryrefslogtreecommitdiff
path: root/lib/libeclat.h
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2015-01-22 23:59:22 +0200
committerSergey Poznyakoff <gray@gnu.org.ua>2015-01-23 00:03:33 +0200
commitb1824338b366e25756e4c64f04e535684529832d (patch)
tree2dcbf32e0b4fb06b1c4b0a992db882ba184bbd18 /lib/libeclat.h
parent2beaaadb282bd4667e3af1ed65e3944960d1bd3e (diff)
downloadeclat-b1824338b366e25756e4c64f04e535684529832d.tar.gz
eclat-b1824338b366e25756e4c64f04e535684529832d.tar.bz2
Namespace fixup: use "request" consistently
Diffstat (limited to 'lib/libeclat.h')
-rw-r--r--lib/libeclat.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/lib/libeclat.h b/lib/libeclat.h
index edd26eb..a5c8c79 100644
--- a/lib/libeclat.h
+++ b/lib/libeclat.h
@@ -85,11 +85,11 @@ struct ec2_param {
#define EC2_API_VERSION "2013-02-01"
-#define EC2_QF_HTTPS 0x01
-#define EC2_QF_POST 0x02
+#define EC2_RF_HTTPS 0x01
+#define EC2_RF_POST 0x02
-struct ec2_query {
- int flags; /* Composed from EC2_QF_* bits */
+struct ec2_request {
+ int flags; /* Composed from EC2_RF_* bits */
char *endpoint; /* endpoint */
char *uri; /* URI without parameters */
struct grecs_symtab *params; /* Query parameters */
@@ -100,22 +100,22 @@ struct ec2_query {
unsigned long ttl; /* Time-to-live in seconds */
};
-struct ec2_query *eclat_query_create(int flags, const char *endpoint,
+struct ec2_request *eclat_request_create(int flags, const char *endpoint,
const char *uri, char const *region,
char const *access_key, char const *token);
-void eclat_query_free(struct ec2_query *);
-void eclat_query_add_param(struct ec2_query *q, const char *name,
+void eclat_request_free(struct ec2_request *);
+void eclat_request_add_param(struct ec2_request *q, const char *name,
const char *value);
-void eclat_query_add_param_encoded(struct ec2_query *q, const char *name,
+void eclat_request_add_param_encoded(struct ec2_request *q, const char *name,
const char *value);
-void eclat_query_add_header(struct ec2_query *q, const char *name,
+void eclat_request_add_header(struct ec2_request *q, const char *name,
const char *value);
-void eclat_query_sign(struct ec2_query *req, char *secret, char *version);
+void eclat_request_sign(struct ec2_request *req, char *secret, char *version);
-char *eclat_query_to_url(struct ec2_query *req, char **post_params);
+char *eclat_request_to_url(struct ec2_request *req, char **post_params);
-void eclat_query_encode(struct ec2_query *q);
+void eclat_request_encode(struct ec2_request *q);
typedef struct eclat_partial_tree *eclat_partial_tree_t;

Return to:

Send suggestions and report system problems to the System administrator.