pacparser_parse_pac_file(3) 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.