PreviousNext

dce_server_inq_server(3dce)

Obtains the server configuration data dced used to start the server

Synopsis

#include <dce/dced.h>

void dce_server_inq_server(

server_t **server,

error_status_t *status);

Parameters

Output

server
Returns the structure that describes the server's configuration.

status
Returns the status code from this routine. This status code indicates whether the routine completed successfully or, if not, why not.

Description
The dce_server_inq_server( ) routine obtains the server configuration data (srvrconf) maintained by dced and used by dced to start the server. This routine is commonly called prior to registering the server to obtain the server data used as input to dce_server_register( ).

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.

error_status_ok

dced_s_not_started_by_dced

dced_s_data_unavailable

Related Information
Routines: dced_intro(3dce)

dce_server_register(3dce)

Book: OSF DCE Application Development Guide - Core Components