summaryrefslogtreecommitdiff
path: root/include/curl
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2018-09-19 11:28:40 +0200
committerDaniel Stenberg <daniel@haxx.se>2018-09-19 23:25:11 +0200
commit5c73093edb3bd527db9c8abdee53d0f18e6a4cc1 (patch)
treee023062a7c6e18788cdeac0477048e2970845c5d /include/curl
parent9307c219ad4741db860b864c860ac2f8bf9fad9d (diff)
downloadcurl-5c73093edb3bd527db9c8abdee53d0f18e6a4cc1.tar.gz
urlapi: document the error codes, remove two unused ones
Assisted-by: Daniel Gustafsson Closes #3019
Diffstat (limited to 'include/curl')
-rw-r--r--include/curl/urlapi.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/include/curl/urlapi.h b/include/curl/urlapi.h
index 319de35b7..90dd56c00 100644
--- a/include/curl/urlapi.h
+++ b/include/curl/urlapi.h
@@ -35,7 +35,7 @@ typedef enum {
CURLUE_BAD_PORT_NUMBER, /* 4 */
CURLUE_UNSUPPORTED_SCHEME, /* 5 */
CURLUE_URLDECODE, /* 6 */
- CURLUE_RELATIVE, /* 7 */
+ CURLUE_OUT_OF_MEMORY, /* 7 */
CURLUE_USER_NOT_ALLOWED, /* 8 */
CURLUE_UNKNOWN_PART, /* 9 */
CURLUE_NO_SCHEME, /* 10 */
@@ -44,10 +44,8 @@ typedef enum {
CURLUE_NO_OPTIONS, /* 13 */
CURLUE_NO_HOST, /* 14 */
CURLUE_NO_PORT, /* 15 */
- CURLUE_NO_PATH, /* 16 */
- CURLUE_NO_QUERY, /* 17 */
- CURLUE_NO_FRAGMENT, /* 18 */
- CURLUE_OUT_OF_MEMORY /* 19 */
+ CURLUE_NO_QUERY, /* 16 */
+ CURLUE_NO_FRAGMENT /* 17 */
} CURLUcode;
typedef enum {