diff options
author | Mike Buland <eichlan@xagasoft.com> | 2009-07-31 07:50:54 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2009-07-31 07:50:54 +0000 |
commit | 63c5f358e696298950dd03db431b92d4decd015a (patch) | |
tree | 5c8db031d9de4ca008a6affda076b6de8f089b29 /src/url.cpp | |
parent | 745a9ec043fdbe91faf26a3cfec4ecd12355f94a (diff) | |
download | libbu++-63c5f358e696298950dd03db431b92d4decd015a.tar.gz libbu++-63c5f358e696298950dd03db431b92d4decd015a.tar.bz2 libbu++-63c5f358e696298950dd03db431b92d4decd015a.tar.xz libbu++-63c5f358e696298950dd03db431b92d4decd015a.zip |
Added a character based splitting function to FBasicString and made more of the
parsing functions publicly accessible in Url, and added some more helpers.
Diffstat (limited to 'src/url.cpp')
-rw-r--r-- | src/url.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/url.cpp b/src/url.cpp index 251e678..7f03043 100644 --- a/src/url.cpp +++ b/src/url.cpp | |||
@@ -154,6 +154,12 @@ void Bu::Url::parseHost( Bu::FString::const_iterator &i ) | |||
154 | i = s; | 154 | i = s; |
155 | } | 155 | } |
156 | 156 | ||
157 | void Bu::Url::parsePath( const Bu::FString &sPath ) | ||
158 | { | ||
159 | Bu::FString::const_iterator i = sPath.begin(); | ||
160 | parsePath( i ); | ||
161 | } | ||
162 | |||
157 | void Bu::Url::parsePath( Bu::FString::const_iterator &i ) | 163 | void Bu::Url::parsePath( Bu::FString::const_iterator &i ) |
158 | { | 164 | { |
159 | if( i ) | 165 | if( i ) |