NAME¶
pacparser_parse_pac_file - Parses the given PAC file.
SYNOPSIS¶
#include <pacparser.h>
int pacparser_parse_pac_file(const char *pacfile);
PARAMETERS¶
- const char *pacfile
- PAC file to parse.
DESCRIPTION¶
Reads the given PAC file and evaluates it in the JavaScript context created by
pacparser_init.
RETURNS¶
0 on failure and 1 on success.
SEE ALSO¶
pacparser_version(3),
pacparser_init(3),
pacparser_parse_pac_string(3),
pacparser_parse_pac(3),
pacparser_find_proxy(3),
pacparser_just_find_proxy(3),
pacparser_cleanup(3),
pacparser_setmyip(3),
pacparser_enable_microsoft_extensions(3)