NAME
irAddXferAllow - add an entry in the transfer security allow
table
irAddXferDeny - add an entry in the transfer security deny
table
SYNOPSIS
#include <irapi-ad.h>
int irAddXferAllow (const IRA_STR_RANGE *extension_range);
int irAddXferDeny (const IRA_STR_RANGE *extension_range);
DESCRIPTION
The irXferAllow and irAddXferDeny functions allow entries to
be added to the transfer security allow and deny tables,
respectively.
The irAddXferAllow function adds the specified range to the
transfer allow table. The irAddXferDeny function adds the
specified range to the transfer deny table.
The starting value of a range must be less than or equal to
the ending value of the range.
RETURN VALUE
IRR_OK is returned if the request is successful.
IRR_FAIL is returned if an error occurs.
ERROR
irError is set as follows if an error occurs:
IRER_INVALID if an invalid argument is passed in
IRER_OVERFLOW if the transfer security table is full
IRER_BADRANGE if an invalid range was passed into the func-
tion irAddXfer
IRER_SYSERROR if a system error occurred (check irSysError
for additional information)
SEE ALSO
irRemoveXfer(3IRAPI), IrDEFINES(4IRAPI)
VERSION
This is version 11/25/02 of this man page.