summaryrefslogtreecommitdiff
path: root/src/tool_operate.h
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2014-02-22 18:57:02 +0000
committerSteve Holme <steve_holme@hotmail.com>2014-02-22 18:57:02 +0000
commitb914e7ed02d7e69cfcc47e8a3f47eaaaf111b4cb (patch)
tree52c8fd0ec865d57fa1744ab6ea683cbdc48f4f64 /src/tool_operate.h
parentee23d13a79b185f117580773be9c5171097f8311 (diff)
downloadcurl-b914e7ed02d7e69cfcc47e8a3f47eaaaf111b4cb.tar.gz
tool_operate: Start to use CURLcode rather than int for return codes
To help assist with the detection of incorrect return codes, as per commits ee23d13a79, 33b8960dc8 and aba98991a5, updated the operate based functions to return CURLcode error codes.
Diffstat (limited to 'src/tool_operate.h')
-rw-r--r--src/tool_operate.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tool_operate.h b/src/tool_operate.h
index 5a0a4a06b..01c5fd42b 100644
--- a/src/tool_operate.h
+++ b/src/tool_operate.h
@@ -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
@@ -23,7 +23,7 @@
***************************************************************************/
#include "tool_setup.h"
-int operate(struct Configurable *config, int argc, argv_item_t argv[]);
+CURLcode operate(struct Configurable *config, int argc, argv_item_t argv[]);
#endif /* HEADER_CURL_TOOL_OPERATE_H */