summaryrefslogtreecommitdiff
path: root/src/url.cpp
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2009-07-31 07:50:54 +0000
committerMike Buland <eichlan@xagasoft.com>2009-07-31 07:50:54 +0000
commit63c5f358e696298950dd03db431b92d4decd015a (patch)
tree5c8db031d9de4ca008a6affda076b6de8f089b29 /src/url.cpp
parent745a9ec043fdbe91faf26a3cfec4ecd12355f94a (diff)
downloadlibbu++-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.cpp6
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
157void Bu::Url::parsePath( const Bu::FString &sPath )
158{
159 Bu::FString::const_iterator i = sPath.begin();
160 parsePath( i );
161}
162
157void Bu::Url::parsePath( Bu::FString::const_iterator &i ) 163void Bu::Url::parsePath( Bu::FString::const_iterator &i )
158{ 164{
159 if( i ) 165 if( i )