The sbpurcvx function processes Open responses from a routing procedure. An application can define a routing procedure that is called by the DMOD when a message is received. This routing procedure should first call sbpurcvx to handle any Open response messages received. This ensures that Open responses intended for the Resource Locator are handled correctly.
USHORT sbpurcvx(
BUFHDR * *msgptr, | |
INTEGER locl, | |
INTEGER retstat | |
); |
USHORT FAR sbpurcvx(
BUFHDR FAR * FAR *msgptr, | |
INTEGER locl, | |
INTEGER retstat | |
); |
CEDINMSG (1—message returned.
CEDINLLN (2)—path error.
This function is called by a routing procedure that is called by the DMOD; it is not called directly by the application.
The parameters for sbpurcvx should be taken from the parameters for routproc. Note, however, that the first parameter to sbpurcvx is a pointer to a pointer to a buffer header (that is, a pointer to the corresponding parameter for the routing procedure, not the parameter itself).