Helper function to parse out arguments in a query.
Parsing a URI like
http://foo.com/?q=test&s=some+thing
will result in two entries in the key value queue.
The first entry is: key="q", value="test" The second entry is: key="s", value="some thing"
@deprecated This function is deprecated as of Libevent 2.0.9. Use evhttp_uri_parse and evhttp_parse_query_str instead.
@param uri the request URI @param headers the head of the evkeyval queue @return 0 on success, -1 on failure
See Implementation
Helper function to parse out arguments in a query.
Parsing a URI like
http://foo.com/?q=test&s=some+thing
will result in two entries in the key value queue.
The first entry is: key="q", value="test" The second entry is: key="s", value="some thing"
@deprecated This function is deprecated as of Libevent 2.0.9. Use evhttp_uri_parse and evhttp_parse_query_str instead.
@param uri the request URI @param headers the head of the evkeyval queue @return 0 on success, -1 on failure