PreviousNext

sec_rgy_attr_cursor_release(3sec)

Releases a cursor

Synopsis

#include <dce/sec_rgy_attr.h>

void sec_rgy_attr_cursor_release (

sec_attr_cursor_t *cursor,

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.

Input/Output

cursor
As an input parameter, a pointer to an uninitialized cursor of type sec_attr_cursor_t. As an output parameter, a pointer to an uninitialized cursor of type sec_attr_cursor_t with all resources released.

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_cursor_release( ) routine releases all resources allocated to a sec_attr_cursor_t by the sec_rgy_attr_cursor_init( ) or sec_rgy_attr_cursor_alloc( ) call.

This is a local-only operation and makes not remote calls.

Permissions Required
None.

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_alloc(3sec)

sec_rgy_attr_lookup_by_id(3sec)