From 83dbd0693677dae6d94a88f322fd1b50fdc3138c Mon Sep 17 00:00:00 2001 From: Steve Holme Date: Sat, 1 Feb 2014 13:26:09 +0000 Subject: tool_main: Moved config struct initialisation into a separate function In preparation for adding URL specific options moved the initialisation of the Configurable structure into a separate function in tool_cfgable. --- src/tool_cfgable.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/tool_cfgable.h') diff --git a/src/tool_cfgable.h b/src/tool_cfgable.h index c1687328d..fa4ec7ec0 100644 --- a/src/tool_cfgable.h +++ b/src/tool_cfgable.h @@ -7,7 +7,7 @@ * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * - * Copyright (C) 1998 - 2013, Daniel Stenberg, , et al. + * Copyright (C) 1998 - 2014, Daniel Stenberg, , et al. * * This software is licensed as described in the file COPYING, which * you should have received as part of this distribution. The terms @@ -216,6 +216,7 @@ struct Configurable { char *xoauth2_bearer; /* XOAUTH2 bearer token */ }; /* struct Configurable */ +void init_config(struct Configurable* config); void free_config_fields(struct Configurable *config); #endif /* HEADER_CURL_TOOL_CFGABLE_H */ -- cgit v1.2.3