diff options
author | Andreas Baumann <mail@andreasbaumann.cc> | 2018-05-31 13:32:09 (GMT) |
---|---|---|
committer | Sven Nierlein <sven@nierlein.de> | 2018-10-22 14:30:31 (GMT) |
commit | c5cd0e491238397bd9cafff2707773146305a528 (patch) | |
tree | f6f77edb59073932167f1e862b96143daaa63aa8 /plugins/uriparser/Uri.h | |
parent | 7dd0a31b285121ae2b4af019e7b337e5eb0427af (diff) | |
download | monitoring-plugins-c5cd0e491238397bd9cafff2707773146305a528.tar.gz |
updated bundled version of uriparser to 0.8.5
Diffstat (limited to 'plugins/uriparser/Uri.h')
-rw-r--r-- | plugins/uriparser/Uri.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/plugins/uriparser/Uri.h b/plugins/uriparser/Uri.h index 4a18580..a3f7914 100644 --- a/plugins/uriparser/Uri.h +++ b/plugins/uriparser/Uri.h | |||
@@ -1,8 +1,9 @@ | |||
1 | /* | 1 | /* f9ca23a99fc1c8ff610e2bdc0bff3c4bb4d883ccbff5851fe7a1398f9b6aca57 (0.8.5+) |
2 | * | ||
2 | * uriparser - RFC 3986 URI parsing library | 3 | * uriparser - RFC 3986 URI parsing library |
3 | * | 4 | * |
4 | * Copyright (C) 2007, Weijia Song <songweijia@gmail.com> | 5 | * Copyright (C) 2007, Weijia Song <songweijia@gmail.com> |
5 | * Copyright (C) 2007, Sebastian Pipping <webmaster@hartwork.org> | 6 | * Copyright (C) 2007, Sebastian Pipping <sebastian@pipping.org> |
6 | * All rights reserved. | 7 | * All rights reserved. |
7 | * | 8 | * |
8 | * Redistribution and use in source and binary forms, with or without | 9 | * Redistribution and use in source and binary forms, with or without |
@@ -157,7 +158,8 @@ typedef struct URI_TYPE(UriStruct) { | |||
157 | URI_TYPE(PathSegment) * pathTail; /**< Tail of the list behind pathHead */ | 158 | URI_TYPE(PathSegment) * pathTail; /**< Tail of the list behind pathHead */ |
158 | URI_TYPE(TextRange) query; /**< Query without leading "?" */ | 159 | URI_TYPE(TextRange) query; /**< Query without leading "?" */ |
159 | URI_TYPE(TextRange) fragment; /**< Query without leading "#" */ | 160 | URI_TYPE(TextRange) fragment; /**< Query without leading "#" */ |
160 | UriBool absolutePath; /**< Absolute path flag, distincting "a" and "/a" */ | 161 | UriBool absolutePath; /**< Absolute path flag, distincting "a" and "/a"; |
162 | always <c>URI_FALSE</c> for URIs with host */ | ||
161 | UriBool owner; /**< Memory owner flag */ | 163 | UriBool owner; /**< Memory owner flag */ |
162 | 164 | ||
163 | void * reserved; /**< Reserved to the parser */ | 165 | void * reserved; /**< Reserved to the parser */ |
@@ -567,7 +569,7 @@ int URI_FUNC(UriStringToUnixFilename)(const URI_CHAR * uriString, | |||
567 | 569 | ||
568 | /** | 570 | /** |
569 | * Extracts a Windows filename from a %URI string. | 571 | * Extracts a Windows filename from a %URI string. |
570 | * The destination buffer must be large enough to hold len(uriString) + 1 - 8 | 572 | * The destination buffer must be large enough to hold len(uriString) + 1 - 5 |
571 | * characters in case of an absolute %URI or len(uriString) + 1 in case | 573 | * characters in case of an absolute %URI or len(uriString) + 1 in case |
572 | * of a relative %URI. | 574 | * of a relative %URI. |
573 | * | 575 | * |