summaryrefslogtreecommitdiff
path: root/include/uriparser/UriBase.h
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhsoting.net>2014-10-20 18:43:38 +0200
committerJörg Frings-Fürst <debian@jff-webhsoting.net>2014-10-20 18:43:38 +0200
commitc3ccf5e3e6737f81863b085289fd830e732b41f9 (patch)
tree1818bff2d8c4323edd4b65a419b1a6b76932c2c9 /include/uriparser/UriBase.h
parent886e5076c8e81fd0cdfe82dbf4a80d19e778d594 (diff)
Imported Upstream version 0.8.1upstream/0.8.1
Diffstat (limited to 'include/uriparser/UriBase.h')
-rw-r--r--include/uriparser/UriBase.h17
1 files changed, 13 insertions, 4 deletions
diff --git a/include/uriparser/UriBase.h b/include/uriparser/UriBase.h
index e93a3a8..3c6615f 100644
--- a/include/uriparser/UriBase.h
+++ b/include/uriparser/UriBase.h
@@ -54,8 +54,8 @@
/* Version */
#define URI_VER_MAJOR 0
-#define URI_VER_MINOR 7
-#define URI_VER_RELEASE 6
+#define URI_VER_MINOR 8
+#define URI_VER_RELEASE 1
#define URI_VER_SUFFIX_ANSI ""
#define URI_VER_SUFFIX_UNICODE URI_ANSI_TO_UNICODE(URI_VER_SUFFIX_ANSI)
@@ -155,7 +155,7 @@ typedef struct UriIp6Struct {
/**
- * Specifies a line break conversion mode
+ * Specifies a line break conversion mode.
*/
typedef enum UriBreakConversionEnum {
URI_BR_TO_LF, /**< Convert to Unix line breaks ("\\x0a") */
@@ -184,5 +184,14 @@ typedef enum UriNormalizationMaskEnum {
-#endif /* URI_BASE_H */
+/**
+ * Specifies how to resolve %URI references.
+ */
+typedef enum UriResolutionOptionsEnum {
+ URI_RESOLVE_STRICTLY = 0, /**< Full RFC conformance */
+ URI_RESOLVE_IDENTICAL_SCHEME_COMPAT = 1 << 0 /**< Treat %URI to resolve with identical scheme as having no scheme */
+} UriResolutionOptions; /**< @copydoc UriResolutionOptionsEnum */
+
+
+#endif /* URI_BASE_H */