mirror of
https://github.com/curl/curl.git
synced 2026-08-25 10:53:37 +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
|
|
@ -121,7 +121,7 @@ static void memory_tracking_init(void)
|
|||
* _any_ libcurl usage. If this fails, *NO* libcurl functions may be
|
||||
* used, or havoc may be the result.
|
||||
*/
|
||||
static CURLcode main_init(struct Configurable *config)
|
||||
static CURLcode main_init(struct OperationConfig *config)
|
||||
{
|
||||
CURLcode result = CURLE_OK;
|
||||
|
||||
|
|
@ -162,7 +162,7 @@ static void main_free(void)
|
|||
int main(int argc, char *argv[])
|
||||
{
|
||||
CURLcode result = CURLE_OK;
|
||||
struct Configurable *config;
|
||||
struct OperationConfig *config;
|
||||
|
||||
main_checkfds();
|
||||
|
||||
|
|
@ -174,7 +174,7 @@ int main(int argc, char *argv[])
|
|||
memory_tracking_init();
|
||||
|
||||
/* Allocate the initial config */
|
||||
config = malloc(sizeof(struct Configurable));
|
||||
config = malloc(sizeof(struct OperationConfig));
|
||||
|
||||
if(config) {
|
||||
/* Initialise the config */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue