Finds proxy for a given url and host.
#include <pacparser.h>
char *pacparser_find_proxy
(
const char *url,
const char *host
);
const char *url
URL to find proxy for.
const char *host
Host part of the URL.
Finds proxy for a given URL and Host. This function should be called only after pacparser engine has been initialized (using pacparser_init) and pac script has been parsed (using pacparser_parse_pac_file or pacparser_parse_pac_string).
Proxy string on sucess and NULL on error.