Reputation:
Im wondering how to parse a url into an URL object(of some kind) in C. So that I would be able to extract key/val objects from a querystring.
Have looked at: Best ways of parsing a URL using C?
And several other resources, even Google Code, but haven't found anything in my taste.. And no, using sscanf, and regex is not an alternative. Saying, unless I have to write my own parser..
Would be greatful for any tips or help on where I could find this!
Upvotes: 1
Views: 7482
Reputation:
I extracted a the parser from wget:
http://eduardo38.netne.net/url_parse.tar.gz
Upvotes: 0