From 705a4cb549d7cd798162430512f482ba930226d6 Mon Sep 17 00:00:00 2001 From: Steve Holme Date: Sun, 23 Feb 2014 12:59:59 +0000 Subject: tool_cfgable: Renamed Configurable structure to OperationConfig To allow for the addition of a global config structure and prevent confusion between the two. --- src/tool_operate.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/tool_operate.c') diff --git a/src/tool_operate.c b/src/tool_operate.c index d117a2aad..783d86cce 100644 --- a/src/tool_operate.c +++ b/src/tool_operate.c @@ -187,7 +187,7 @@ static curl_off_t VmsSpecialSize(const char * name, } #endif /* __VMS */ -static CURLcode operate_init(struct Configurable *config) +static CURLcode operate_init(struct OperationConfig *config) { /* Get a curl handle to use for all forthcoming curl transfers */ config->easy = curl_easy_init(); @@ -204,7 +204,7 @@ static CURLcode operate_init(struct Configurable *config) return CURLE_OK; } -static CURLcode operate_do(struct Configurable *config) +static CURLcode operate_do(struct OperationConfig *config) { char errorbuffer[CURL_ERROR_SIZE]; struct ProgressData progressbar; @@ -1792,7 +1792,7 @@ static CURLcode operate_do(struct Configurable *config) return (CURLcode)res; } -static void operate_free(struct Configurable *config) +static void operate_free(struct OperationConfig *config) { if(config->easy) { curl_easy_cleanup(config->easy); @@ -1803,7 +1803,7 @@ static void operate_free(struct Configurable *config) clean_metalink(config); } -CURLcode operate(struct Configurable *config, int argc, argv_item_t argv[]) +CURLcode operate(struct OperationConfig *config, int argc, argv_item_t argv[]) { CURLcode result = CURLE_OK; @@ -1847,7 +1847,7 @@ CURLcode operate(struct Configurable *config, int argc, argv_item_t argv[]) /* Perform the main operations */ else { size_t count = 0; - struct Configurable *operation = config; + struct OperationConfig *operation = config; /* Get the required aguments for each operation */ while(!result && operation) { -- cgit v1.2.3