mirror of
https://github.com/curl/curl.git
synced 2026-08-26 22:44:44 +03:00
tool_cfgable: Renamed Configurable structure to OperationConfig
To allow for the addition of a global config structure and prevent confusion between the two.
This commit is contained in:
parent
6512e93be1
commit
705a4cb549
32 changed files with 99 additions and 103 deletions
|
|
@ -7,7 +7,7 @@
|
|||
* | (__| |_| | _ <| |___
|
||||
* \___|\___/|_| \_\_____|
|
||||
*
|
||||
* Copyright (C) 1998 - 2012, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||
* Copyright (C) 1998 - 2014, Daniel Stenberg, <daniel@haxx.se>, et al.
|
||||
*
|
||||
* This software is licensed as described in the file COPYING, which
|
||||
* you should have received as part of this distribution. The terms
|
||||
|
|
@ -51,7 +51,7 @@
|
|||
* 'stream' member is a pointer to a stream controlling object as returned
|
||||
* from a 'fopen' call or a standard stream.
|
||||
*
|
||||
* 'config' member is a pointer to associated 'Configurable' struct.
|
||||
* 'config' member is a pointer to associated 'OperationConfig' struct.
|
||||
*
|
||||
* 'bytes' member represents amount written so far.
|
||||
*
|
||||
|
|
@ -69,7 +69,7 @@ struct OutStruct {
|
|||
bool s_isreg;
|
||||
bool fopened;
|
||||
FILE *stream;
|
||||
struct Configurable *config;
|
||||
struct OperationConfig *config;
|
||||
curl_off_t bytes;
|
||||
curl_off_t init;
|
||||
#ifdef USE_METALINK
|
||||
|
|
@ -85,12 +85,12 @@ struct OutStruct {
|
|||
* 'fd' member is either 'stdin' file descriptor number STDIN_FILENO
|
||||
* or a file descriptor as returned from an 'open' call for some file.
|
||||
*
|
||||
* 'config' member is a pointer to associated 'Configurable' struct.
|
||||
* 'config' member is a pointer to associated 'OperationConfig' struct.
|
||||
*/
|
||||
|
||||
struct InStruct {
|
||||
int fd;
|
||||
struct Configurable *config;
|
||||
struct OperationConfig *config;
|
||||
};
|
||||
|
||||
|
||||
|
|
@ -143,7 +143,7 @@ typedef enum {
|
|||
|
||||
|
||||
/*
|
||||
* Complete struct declarations which have Configurable struct members,
|
||||
* Complete struct declarations which have OperationConfig struct members,
|
||||
* just in case this header is directly included in some source file.
|
||||
*/
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue