PreviousNext

sec_cred_initialize_attr_cursor(3sec)

Initializes a sec_attr_cursor_t

Synopsis

#include <dce/sec_cred.h

void sec_cred_initialize_attr_cursor (

sec_cred_attr_cursor_t *cursor,
error_status_t *
status);

Parameters

Input/Output

cursor
As input, a pointer to a sec_cred_attr_cursor_t to be initialized. As output a pointer to an initialized sec_cred_attr_cursor_t.

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_cred_initialize_attr_cursor( ) routine allocates and initializes a cursor of type sec_cred_attr_cursor_t for use with the sec_cred_get_extended_attrs( ) call. Use the sec_cred_free_attr_cursor( ) call to free the resources allocated to cursor.

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_login_s_no_memory

error_status_ok

Related Information
Functions:

sec_intro(3sec)

sec_cred_get_extended_attrs(3sec)

sec_cred_free_attr_cursor(3sec)