rpc_mgmt_ep_unregister(3rpc)Removes server address information from an 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_binding 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 parameter 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 parameter is ignored.
if_id
binding
object_uuid The value NULL indicates there is no object UUID to consider in the removal. Output
status
Description 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 the rpc_mgmt_ep_unregister( ) routine.
Return Values Errors The following describes a partial list of errors that might be returned. Refer to the OSF DCE Problem Determination Guide for complete descriptions of all error messages.
rpc_s_ok
ept_s_cant_access
ept_s_cant_perform_op
rpc_s_comm_failure
ept_s_database_invalid
ept_s_invalid_entry
ept_s_not_registered
ept_s_update_failed
rpc_s_invalid_binding
rpc_s_no_interfaces
rpc_s_wrong_kind_of_binding
Related Information rpc_ep_register_no_replace(3rpc) rpc_mgmt_ep_elt_inq_begin(3rpc) rpc_mgmt_ep_elt_inq_done(3rpc) rpc_mgmt_ep_elt_inq_next(3rpc)
|