[ Bottom of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]

Technical Reference: Communications, Volume 1

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

if_spec Points to the interface being unregistered.

Output

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);

Related Information

Remote Procedure Call (RPC) Runtime Library (NCS) in AIX 5L Version 5.2 Communications Programming Concepts.

[ Top of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]