rpc_ns_mgmt_binding_unexport(3rpc)Removes multiple binding handles, or object UUIDs, from an entry in the name service database Used by management applications. Synopsis #include <dce/rpc.h> void rpc_ns_mgmt_binding_unexport( unsigned32 entry_name_syntax, unsigned_char_t *entry_name, rpc_if_id_t *if_id, unsigned32 vers_option, uuid_vector_t *object_uuid_vec, unsigned32 *status); Parameters Input
entry_name_syntax To use the syntax specified in the RPC_DEFAULT_ENTRY_SYNTAX environment variable, provide rpc_c_ns_syntax_default.
entry_name
if_id
vers_option The following table presents the accepted values for this parameter:
Specifies a vector of object UUIDs to be removed from the name service database. The application constructs this vector. The value NULL indicates that no object UUIDs are removed (only binding handles are removed). Output
status
Description · All the binding handles for a specified interface UUID, qualified by the interface version numbers (major and minor). · One or more object UUIDs of resources. · Both binding handles and object UUIDs of resources. A management application can remove an interface and objects in a single call to this routine, or it can remove them separately. If the rpc_ns_mgmt_binding_unexport( ) routine does not find any binding handles for the specified interface, the routine returns an rpc_s_interface_not_found status and does not remove the object UUIDs, if any are specified. If one or more binding handles for the specified interface are found and removed without error, rpc_ns_mgmt_binding_unexport( ) removes the specified object UUIDs, if any. If any of the specified object UUIDs are not found, rpc_ns_mgmt_binding_unexport( ) returns the rpc_not_all_objs_unexported status code. A management application, in addition to calling this routine, also calls the rpc_mgmt_ep_unregister( ) routine to remove any servers that have registered with the local endpoint map. Use this routine with caution, only when you expect a server to be unavailable for an extended time; for example, when it is permanently removed from service. Additionally, keep in mind that name service databases are designed to be relatively stable. In replicated name service databases, frequent use of the rpc_ns_binding_export( ) and rpc_ns_mgmt_binding_unexport( ) routines causes the name service to remove and replace the same entry repeatedly, and can cause performance problems.
Permissions Required
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
rpc_s_entry_not_found
rpc_s_incomplete_name
rpc_s_interface_not_found
rpc_s_invalid_name_syntax
rpc_s_invalid_vers_option
rpc_s_name_service_unavailable
rpc_s_no_ns_permission
rpc_s_not_all_objs_unexported
rpc_s_nothing_to_unexport
rpc_s_not_rpc_entry
rpc_s_unsupported_name_syntax
Related Information
|