PreviousNext

Registering the Server

To register the server with DCE, the server calls the following:

dce_server_register(
dce_server_c_ns_export, /* flag says register */
server_conf, /* server with CDS */
&register_data,
&server_handle,
&status
);

The dce_server_register( ) routine affects a number of components and services in DCE including the RPC runtime, the local endpoint mapper service, and if the dce_server_c_ns_export flag is set, even the CDS namespace. The server_conf structure is obtained with a call to the dce_server_inq_server( ) routine and represents the configuration dced used to start the server. This contains information needed to register the server too. The register_data structure contains data about the server's interfaces, entry point vectors, and type UUIDs.

The following subtopics describe the details about what happens when you register a server.

More:

Registering the Interface, Type UUID, and EPV with RPC Runtime

Telling RPC Runtime What Protocol Sequences to Use

Registering the Binding Information with the Endpoint Mapper Service

Exporting the Binding Information to the Namespace