Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ rpc_mgmt_ep_unregister(3) — OSF1 1.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

rpc_ep_register(3)

rpc_ep_register_no_replace(3)

rpc_ns_binding_unexport(3)

rpc_mgmt_ep_elt_inq_begin(3)

rpc_mgmt_ep_elt_inq_done(3)

rpc_mgmt_ep_elt_inq_next(3)

rpc_mgmt_ep_unregister(3)  —  Subroutines

NAME

rpc_mgmt_ep_unregister - Removes server address information from a local or remote endpoint map

Used by management applications. 

SYNOPSIS

#include <dce/rpc.h>
void rpc_mgmt_ep_unregister(

rpc_binding_handle_t ep_binding ,
rpc_if_id_t ∗if_id ,
rpc_binding_handle_t binding ,
uuid_t ∗object_uuid ,
unsigned32 ∗status );

PARAMETERS

Input

ep_bindingSpecifies the host whose local endpoint map elements you unregister (that is, remove).  To remove elements from the same host as the calling application, specify NULL.  To remove local endpoint map elements from another host, specify a server binding handle for that host. You can specify the same binding handle you are using to make other remote procedure calls. The object UUID associated with this argument must be a nil UUID.  If you specify a non-nil UUID, the routine fails with the status code ept_s_cant_perform_op.  Other than the host information and object UUID, all information in this argument is ignored. 

if_idSpecifies the interface identifier to remove from the local endpoint map. 

bindingSpecifies the binding handle to remove. 

object_uuidSpecifies an optional object UUID to remove.  The value NULL indicates there is no object UUID to consider in the removal. 

Output

statusReturns the status code from this routine.  This status code indicates whether the routine completed successfully or, if not, why not.  The possible status codes and their meanings are as follows:

rpc_s_okSuccess. 

ept_s_cant_accessError reading endpoint database. 

ept_s_cant_perform_opCannot perform requested operation. 

rpc_s_comm_failureCommunications failure. 

ept_s_database_invalidEndpoint map database invalid. 

ept_s_invalid_entryInvalid database entry. 

ept_s_not_registeredNo entries found. 

ept_s_update_failedUpdate failed. 

rpc_s_invalid_bindingInvalid binding handle. 

rpc_s_no_interfacesNo interfaces registered. 

rpc_s_wrong_kind_of_binding
Wrong kind of binding for operation.

DESCRIPTION

The rpc_mgmt_ep_unregister routine unregisters (that is, removes) an element from a local endpoint map.  A management program calls this routine to remove addresses of servers that are no longer available, or to remove addresses of servers that support objects that are no longer offered. 

Use this routine cautiously; removing elements from the local endpoint map may make servers unavailable to client applications that do not already have a fully bound binding handle to the server. 

A management application calls the rpc_mgmt_ep_inq_next routine to view local endpoint map elements. The application can then remove the elements using routine rpc_mgmt_ep_unregister. 

RETURN VALUES

None. 

RELATED INFORMATION

Functions: rpc_ep_register(3), rpc_ep_register_no_replace(3), rpc_ns_binding_unexport(3), rpc_mgmt_ep_elt_inq_begin(3), rpc_mgmt_ep_elt_inq_done(3), rpc_mgmt_ep_elt_inq_next(3)

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026