dce_server_enable_service(3dce)Enables an individual service for a server Synopsis #include <dce/dced.h> void dce_server_enable_service( dce_server_handle_t server_handle, rpc_if_handle_t interface, error_status_t *status); Parameters Input
server_handle
interface Output
status
Description A server commonly registers all its services with DCE at once by using the dce_server_register( ) routine. If necessary, a server can use the dce_server_disable_service( ) routine to disable individual services and then reenable them by using dce_server_enable_service( ). However, suppose a server needs its services registered in a certain order, or it require application-specific activities between the registration of services. If a server requires this kind of control as services are registered, you can set the server->services.list[i].flags field of the server_t structure to service_c_disabled for individual services prior to calling dce_server_register( ). Then, the server can call dce_server_enable_service( ) for each service when needed. 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.
Related Information Book: OSF DCE Application Development Guide - Core Components
|