HP Open Source Security for OpenVMS Volume 3: Kerberos > Chapter 6 KRB5 (Kerberos V5) Application Programming Interface

krb5_cc_end_seq_get — Finish processing credentials cache entries

 » Table of Contents

 » Glossary

 » Index

C Prototype

krb5_error_code krb5_cc_end_seq_get(
krb5_context context,
krb5_ccache id,
krb5_cc_cursor *cursor );

Arguments

context (input/output) 

The context structure.

id (input/output)  

A credentials cache identifier.

cursor (input/output) 

The cursor created by krb5_cc_start_seq_get.

Description

This routine finishes sequential processing mode and invalidates *cursor. *cursor must never be reused after this call.

It requires that id identifies a valid credentials cache and *cursor be a cursor returned by krb5_cc_start_seq_get or a subsequent call to krb5_cc_next_cred.

Return Values

This routine returns the following KRB5 status code:

Error code if *cursor is invalid.