X25RematchCall(3X25) — Subroutines
Digital
NAME
X25RematchCall − Passes an incoming call back for rematching
LIBRARY
X.25 Library (libx25.a)
SYNOPSIS
#include <netx25/x25.h>
int X25RematchCall(
int pd );
PARAMETERS
pdIdentifies the port on which the incoming call was received.
DESCRIPTION
The X25RematchCall routine passes responsibility for an incoming X.25 call back to the system. The call is then rematched against other listeners, if any exist. The call will not be rematched against other filters associated with the current listener.
The port descriptor pd is freed on return.
RETURN VALUES
Upon successful completion, the X25RematchCall routine returns a value of 0. Otherwise, a (negative) error code is returned.
ERRORS
If the X25RematchCall routine fails, one of the following error codes is returned:
[X25RC_BADPD]
Invalid port descriptor specified.
[X25RC_INVALSTATE]
The port is not in a valid state to perform the requested operation. There is no incoming X.25 call present on the specified port.
[X25RC_NETMANCLR]
The call has been cleared by a network management command.
[X25RC_SERVICEDOWN]
The X.25 service is not available because an entity is not in the correct state. Either the X25 Access entity is disabled, or the X25 Protocol entity does not exist.
[X25RC_SYSERR]
An operating system error occurred. The external variable errno is set to indicate the error.
RELATED INFORMATION
Functions: X25AcceptCall(3X25), X25ClearCall(3X25), X25Listen(3X25).
X.25 for Digital UNIX − Programmer’s Reference Manual.