NAME
iraSetStrRange - Set the start and end values of a string
range.
SYNOPSIS
#include <irapi-ad.h>
int iraSetStrRange(IRA_STR_RANGE *strrange, char *start,
char *end)
DESCRIPTION
This function takes a start and an end digit strings and
sets them in an IRA_STR_RANGE structure.
The IRA_STR_RANGE structure is used to assign DNIS and ANI
based applications to the Application Dispatch Tables.
The strings "any" and "all" are also accepted as valid
strings for start and/or end.
RETURN VALUE
IRR_OK if successful.
IRR_FAIL on failure.
ERROR
On error, irError is set as follows:
IRER_INVALID if start and/or end contained characters that
are not digits, as defined by the isdigit(3) function and
are not the strings "any" or "all".
SEE ALSO
ctype(3C), iraWriteADDnisani(3IRAPI-AD), IRAPI-AD(4IRAPI-AD)
VERSION
This is version 11/25/02 of this man page.