PreviousNext

dce_server_inq_attr(3dce)

Obtains from dced the value of an attribute known to the server

Synopsis

#include <dce/dced.h>

void dce_server_inq_attr(

uuid_t *attribute_uuid,

sec_attr_t *value,

error_status_t *status);

Parameters

Input

attribute_uuid
The UUID dced uses to identify an attribute.

Output

value
Returns the attribute.

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_attr( ) routine obtains an attribute from the environment created by dced when it started the server. Each server maintains among other things, a list of attributes that are used to describe application-specific behavior.

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_server_attr_not_found

dced_s_not_started_by_dced

Related Information
Routines:

sec_intro(3sec)

dced_intro(3dce)

dce_server_inq_uuids(3dce)

dce_server_inq_server(3dce)

Book: OSF DCE Application Development Guide - Core Components