summaryrefslogtreecommitdiffabout
path: root/include
Unidiff
Diffstat (limited to 'include') (more/less context) (ignore whitespace changes)
-rw-r--r--include/opkele/data.h2
-rw-r--r--include/opkele/util.h2
2 files changed, 4 insertions, 0 deletions
diff --git a/include/opkele/data.h b/include/opkele/data.h
index d0b0516..904b5ae 100644
--- a/include/opkele/data.h
+++ b/include/opkele/data.h
@@ -7,12 +7,14 @@
7namespace opkele { 7namespace opkele {
8 8
9 /** 9 /**
10 * @brief internal data opkele namespace 10 * @brief internal data opkele namespace
11 */ 11 */
12 namespace data { 12 namespace data {
13 extern const char *_default_p; 13 extern const char *_default_p;
14 extern const char *_default_g; 14 extern const char *_default_g;
15 extern const char *_iname_leaders;
16 extern const char *_whitespace_chars;
15 } 17 }
16} 18}
17 19
18#endif /* __OPKELE_DATA_H */ 20#endif /* __OPKELE_DATA_H */
diff --git a/include/opkele/util.h b/include/opkele/util.h
index 60955e1..fd974a1 100644
--- a/include/opkele/util.h
+++ b/include/opkele/util.h
@@ -79,16 +79,18 @@ namespace opkele {
79 * expected to have scheme: in front of it. 79 * expected to have scheme: in front of it.
80 * @param uri URI 80 * @param uri URI
81 * @return normalized URI 81 * @return normalized URI
82 * @throw not_implemented in case of non-httpi(s) URI 82 * @throw not_implemented in case of non-httpi(s) URI
83 * @throw bad_input in case of malformed URI 83 * @throw bad_input in case of malformed URI
84 */ 84 */
85 string rfc_3986_normalize_uri(const string& uri); 85 string rfc_3986_normalize_uri(const string& uri);
86 86
87 string normalize_identifier(const string& usi,bool strip_fragment);
88
87 /** 89 /**
88 * Match URI against realm 90 * Match URI against realm
89 * @param uri URI to match 91 * @param uri URI to match
90 * @param realm realm to match against 92 * @param realm realm to match against
91 * @return true if URI matches realm 93 * @return true if URI matches realm
92 */ 94 */
93 bool uri_matches_realm(const string& uri,const string& realm); 95 bool uri_matches_realm(const string& uri,const string& realm);
94 96