Oracle iPlanet Web Proxy Server 4.0.14 NSAPI Developer's Guide

shexp_valid

The shexp_valid function validates a specified shell expression named by exp. Use this function to validate a shell expression before using the function shexp_match to compare the expression with a string.

Syntax

int shexp_valid(char *exp);

Returns

The constant NON_SXP if exp is a standard string.

The constant INVALID_SXP if exp is a shell expression but is invalid.

The constant VALID_SXP if exp is a valid shell expression.

Parameters

char *exp is the shell expression (wildcard pattern) to be validated.

See Also

shexp_casecmp, shexp_match, shexp_cmp