dce_attr_sch_scan(3dce)Reads a specified number of schema entries Synopsis #include <dce/dce_attr_base.h> void dce_attr_sch_scan( dce_attr_sch_handle_t h, dce_attr_cursor_t *cursor, unsigned32 num_to_read, unsigned32 *num_read, dce_attr_schema_entry_t schema_entries[], error_status_t *status); Parameters Input
h
num_to_read Input/Output
cursor Output
num_read
schema_entries[]
status
Description The input cursor must have been allocated by either the dce_attr_sch_cursor_init( ) or the dce_attr_sch_cursor_alloc( ) call. If the input cursor is not initialized, dce_attr_sch_scan( ) initializes it; if cursor is initialized, dce_attr_sch_scan( ) simply advances it. To read all entries in a schema, make successive dce_attr_sch_scan( ) calls. When all entries have been read, the call returns the message no_more_entries. This routine is useful as a browser.
Permissions Required Files
/usr/include/dce/dce_attr_base.idl 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 dce_attr_s_bad_cursor error_status_ok
Related Information dce_attr_sch_cursor_init(3dce) dce_attr_sch_cursor_alloc(3dce) dce_attr_sch_cursor_release(3dce)
|