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

krb5_kt_end_seq_get — Complete a series of sequential key table entry retrievals

  Table of Contents

  Glossary

  Index

C Prototype

krb5_error_code krb5_kt_end_seq_get(
krb5_context context,
krb5_keytab id,
krb5_kt_cursor *cursor );

Arguments

context (input/output) 

The context structure.

id (input/output)  

A key table handle.

cursor (input/output) 

The cursor to be invalidated.

Description

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

This routine requires that id identifies a valid keytab and *cursor be a cursor returned by krb5_kt_start_seq_get or a subsequent call to krb5_kt_next_entry.

Return Values

This routine returns the following KRB5 status code:

0

Successful completion.