Table of Contents

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)


Table of Contents