PreviousNext

sec_cred_initialize_cursor(3sec)

Initializes a sec_cred_cursor_t

Synopsis

#include <dce/sec_cred.h>

void sec_cred_initialize_cursor (
sec_cred_cursor_t *cursor,
error_status_t *
status);

Parameters

Input/Output

cursor
As input, a sec_cred_cursor_t to be initialized. As output, an initialized sec_cred_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_cursor( ) routine initializes a cursor of type sec_cursor_t for use with the sec_cred_get_delegate( ) call. Use the sec_cred_free_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_delegate(3sec)

sec_cred_free_cursor(3sec)