pacparser_parse_pac(3) Parse pac file

SYNOPSIS

#include <../pacparser.h>

int pacparser_parse_pac(const char *pacfile);

PARAMETERS

const char *pacfile
PAC file to parse.

DESCRIPTION

Parses and evaulates PAC file in JavaScript context created by pacparser_init.

RETURNS

0 on failure and 1 on success.