PreviousNext

sec_rgy_attr_cursor_alloc(3sec)

Allocates resources to a cursor used by the sec_rgy_attr_lookup_by_id call

Synopsis

#include <dce/sec_rgy_attr.h>

void sec_rgy_attr_cursor_alloc(
sec_attr_cursor_t *cursor,
error_status_t *status);

Parameters

Output

cursor
A pointer to a sec_attr_cursor_t.

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

Description
The sec_rgy_attr_cursor_alloc( ) call allocates resources to a cursor used with the sec_rgy_attr_lookup_by_id call. This routine, which is a local operation, does not initialize cursor.

The sec_rgy_attr_cursor_init( ) routine, which makes a remote call, allocates and initializes the cursor. In addition, sec_rgy_attr_cursor_init( ) returns the total number of attributes attached to the object as an output parameter; sec_rgy_attr_cursor_alloc( ) does not.

Permissions Required
None.

Files

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

no such object

error_status_ok

Related Information
Functions:

sec_intro(3sec)

sec_rgy_attr_cursor_init(3sec)

sec_rgy_attr_cursor_release(3sec)

sec_rgy_attr_cursor_reset(3sec)

sec_rgy_attr_lookup_by_id(3sec)