rpc_$unregister Library Routine

Purpose

Unregisters an interface.

Syntax

void rpc_$unregister ( if_spec,  status)
rpc_$if_spec_t *if_spec;
status_$t *status;

Description

The rpc_$unregister routine unregisters an interface that the server previously registered with the Remote Procedure Call (RPC) runtime library. After an interface is unregistered, the RPC runtime library does not pass requests for that interface to the server.

If a server uses multiple calls to the rpc_$register routine to register an interface more than once, then the server must call the rpc_$unregister routine an equal number of times to unregister the interface.

Parameters

Input

Item Description
if_spec Points to the interface being unregistered.

Output

Item Description
status Points to the completion status.
Note: This routine is used by servers only.

Examples

To unregister a matrix arithmetic interface, use the following:

rpc_$unregister (&matrix_$if_spec, &st);