NAME iraInitADTables, iraInitADChannel, iraInitADDnisani - ini- tialize the AD Channel and DNIS/ANI tables SYNOPSIS #include <irapi-ad.h> int iraInitADTables (int numchans, int numdnisani); int iraInitADChannel (int numchans); int iraInitADDnisani (int numdnisani); DESCRIPTION Functions iraInitADTables, iraInitADChannel and iraIni- tADDnisani allow users to initialize the both the AD Channel and DNIS/ANI tables, just the AD Channel table, or just the AD DNIS/ANI table, respectively (see IRAPI-AD(4IRAPI-AD)). Function iraInitADTables creates and initializes an AD Chan- nel table with numchans entries. It also creates and ini- tializes an AD DNIS/ANI table with numdnisani entries. Function iraInitADChannel creates and initializes an AD Channel table with numchans entries. Function iraInitADDnisani creates and initializes an AD DNIS/ANI table with numdnisani entries. The global parameter IRP_AD_READ_ONLY must be set to IRD_READWRITE or both functions will return an error. The global parameters IRP_AD_CHANNEL_TABLE and IRP_AD_DNISANI_TABLE contain the full pathnames of the AD Channel and AD DNIS/ANI tables, respectively. RETURN VALUE IRR_OK if sucessful. IRR_FAIL on error. ERROR On error, irError is set as follows: IRER_INVALID if an invalid argument is passed in. IRER_PERMISSION if the global parameter IRP_AD_READ_ONLY is not set to IRD_READWRITE. IRER_SYSERROR if a system error occurred, irSysError will be set to the corresponding errno. SEE ALSO IRAPI-AD(4IRAPI-AD), irAPI.rc(4IRAPI) VERSION This is version 8/31/00 of this man page.