PreviousNext

sec_login_cred_init_cursor(3sec)

Initialize a sec_cred_cursor_t

Synopsis

#include <dce/sec_cred.h>

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

Parameters

Input/Output

cursor
As input, a pointer to a sec_cred_cursor_t to be initialized. As output, a pointer to 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_login_cred_init_cursor( ) routine allocates and initializes a cursor of type sec_cursor_t for use with the sec_login_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_cred_s_invalid_cursor

sec_login_s_no_memory

error_status_ok

Related Information
Functions:

sec_intro(3sec)

sec_login_cred_get_delegate(3sec)