PreviousNext

Unexporting from the Namespace

If the server is going to be out of service for an extended period, it should unexport any information it previously caused to be placed in the namespace. This will prevent future prospective clients from being misled into attempting to reach the server when it does not exist, and also will help to conserve resources in the namespace.

Unexporting is automatic when dce_server_unregister( ) is called if the dce_server_c_ns_export flag was set when the corresponding dce_server_register( ) was called. For more specific control, an individual service previously exported is removed from the namespace with the following routine:

rpc_ns_binding_unexport(entry_name_syntax, entry_name, if_handle, \
obj_uuid_vector
, &status);

The CDS namespace is designed to store location data for extended periods of time.