sec_rgy_attr_sch_lookup_by_name(3sec) — Subroutines
NAME
sec_rgy_attr_sch_lookup_by_name — Reads a schema entry identified by name
Synopsis
void sec_rgy_attr_sch_lookup_by_name(
sec_rgy_handle_t context,
sec_attr_component_name_t schema_name,
char ∗attr_name,
sec_attr_schema_entry_t ∗schema_entry,
error_status_t ∗status);
Parameters
Input
contextAn opaque handle bound to a registry server. Use sec_rgy_site_open() to acquire a bound handle.
schema_name
Reserved for future use.
attr_nameA pointer to a character string that identifies the schema entry.
Output
schema_entry
A sec_attr_schema_entry_t that contains the schema entry identified by attr_name.
statusA 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_lookup_by_name() routine reads a schema entry identified by name. This routine is useful for use with an interactive editor.
After a successful call, use the sec_attr_util_sch_ent_free_ptrs() routine to free the resources allocated by this routine for the schema_entry parameter.
Permissions Required
The sec_rgy_attr_sch_lookup_by_name() routine requires the r (read) 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_no_memory
sec_attr_sch_entry_not_found
sec_attr_svr_unavailable
sec_attr_unauthorized
error_status_ok
Related Information
Functions: sec_intro(3sec), sec_rgy_attr_sch_lookup_by_id(3sec), sec_rgy_attr_sch_scan(3sec).