diff options
Diffstat (limited to 'src/tool_getparam.h')
-rw-r--r-- | src/tool_getparam.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/tool_getparam.h b/src/tool_getparam.h index 0c85c690..2148e409 100644 --- a/src/tool_getparam.h +++ b/src/tool_getparam.h @@ -7,7 +7,7 @@ * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * - * Copyright (C) 1998 - 2014, Daniel Stenberg, <daniel@haxx.se>, et al. + * Copyright (C) 1998 - 2017, 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 @@ -40,13 +40,15 @@ typedef enum { PARAM_LIBCURL_UNSUPPORTED_PROTOCOL, PARAM_NO_MEM, PARAM_NEXT_OPERATION, + PARAM_NO_PREFIX, + PARAM_NUMBER_TOO_LARGE, PARAM_LAST } ParameterError; struct GlobalConfig; struct OperationConfig; -ParameterError getparameter(char *flag, char *nextarg, bool *usedarg, +ParameterError getparameter(const char *flag, char *nextarg, bool *usedarg, struct GlobalConfig *global, struct OperationConfig *operation); |