PreviousNext

dce_attr_sch_create_entry(3dce)

Creates a schema entry in a schema bound to by a previous dce_attr_sch_bind( ) routine

Synopsis

#include <dce/dce_attr_base.h>

void dce_attr_sch_create_entry(

dce_attr_sch_handle_t h,

dce_attr_schema_entry_t *schema_entry,

error_status_t *status);

Parameters

Input

h
An opaque handle bound to a schema object. Use dce_attr_sch_bind( ) to acquire the handle.

schema_entry
A pointer to a dce_attr_schema_entry_t that contains the schema entry values for the schema in which the entry is to be created.

Output

status
A pointer to the completion status. On successful completion, the routine returns error_status_ok. Otherwise, it returns an error.

Description
The dce_attr_sch_create_entry( ) routine creates schema entries that define attribute types in the schema object bound to by h.

Permissions Required
The dce_attr_sch_create_entry( ) routine requires appropriate permissions on the schema object. These permissions are managed by the target server.

Files

/usr/include/dce/dce_attr_base.idl
The idl file from which dce/dce_attr_base.h was derived.

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.

dce_attr_s_bad_binding

error_status_ok

Related Information
Functions:

dce_attr_intro(3dce)

dce_attr_sch_delete_entry(3dce)

dce_attr_sch_update_entry(3dce)