pacparser_parse_pac_string(3) Parses the given PAC script string.

SYNOPSIS

#include <pacparser.h>

int pacparser_parse_pac_string(const char *string);

PARAMETERS

const char *string
PAC string to parse.

DESCRIPTION

Evaulates the given PAC script string in the JavaScript context created by pacparser_init.

RETURNS

0 on failure and 1 on success.