cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Parsing a URL

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 8 Apr 2003 22:42:40 +0200 (CEST)

On Tue, 8 Apr 2003, Christopher Fowler wrote:

> In using the C library of curl, I need a way to parse a url that I get from
> a user. I would like to extract a hostname from that URL. Is there a
> function or way to do this? If not, I can just use string functions.

libcurl features no provided API for parsing URLs.

-- 
 Daniel Stenberg -- curl, cURL, Curl, CURL. Groks URLs.
-------------------------------------------------------
This SF.net email is sponsored by: ValueWeb: 
Dedicated Hosting for just $79/mo with 500 GB of bandwidth! 
No other company gives more support or power for your dedicated server
http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/
Received on 2003-04-08