PreviousNext

sec_rgy_attr_sch_create_entry(3sec)

Creates a schema entry

Synopsis

#include <dce/sec_rgy_attr_sch.h>

void sec_rgy_attr_sch_create_entry(
sec_rgy_handle_t context,
sec_attr_component_name_t schema_name,
sec_attr_schema_entry_t *schema_entry,
error_status_t *status);

Parameters

Input

context
An opaque handle bound to a registry server. Use sec_rgy_site_open( ) to acquire a bound handle.

schema_name
Reserved for future use.

schema_entry
A pointer to a sec_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 sec_rgy_attr_sch_create_entry( ) routine creates schema entries that define attribute types.

Permissions Required
The sec_rgy_attr_sch_create_entry( ) routine requires i permission on the attr_schema object.

Files

/usr/include/dce/sec_rgy_attr_sch.idl
The idl file from which dce/sec_rgy_attr_sch.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.

sec_attr_bad_name

sec_attr_bad_encoding_type

sec_attr_bad_acl_mgr_set

sec_attr_bad_acl_mgr_type

sec_attr_bad_permset

sec_attr_bad_intercell_action

sec_attr_trig_bind_info_missing

sec_attr_bad_bind_info

sec_attr_bad_bind_svr_name

sec_attr_bad_bind_prot_level

sec_attr_bad_bind_authn_svc

sec_attr_bad_bind_authz_svc

sec_attr_bad_uniq_query_accept

sec_attr_bad_scope

sec_attr_bad_comment

sec_attr_type_id_exists

sec_attr_name_exists

sec_attr_unauthorized

sec_attr_svr_read_only

sec_attr_svr_unavailable

sec_attr_no_memory

Related Information
Functions:

sec_intro(3sec)

sec_rgy_attr_sch_delete_entry(3sec)

sec_rgy_attr_sch_update_entry(3sec)