sec_login_cred_init_cursor(3sec) — Subroutines
NAME
sec_login_cred_init_cursor — Initializes a sec_cred_cursor_t
Synopsis
void sec_login_cred_init_cursor (
sec_cred_cursor_t ∗cursor,
error_status_t ∗status);
Parameters
Input/Output
cursorAs input, a pointer to a sec_cred_cursor_t to be initialized. As output, a pointer to an initialized sec_cred_cursor_t.
Output
statusA 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).