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

krb5_kt_start_seq_get — Start a sequential retrieve of key table entries

 » Table of Contents

 » Glossary

 » Index

C Prototype

krb5_error_code krb5_kt_start_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 (output)  

A cursor to be used in calls to krb5_kt_next_entry.

Description

This routine prepares to read sequentially every key in the keytab identified by id. The cursor argument is filled in with a cursor to be used in calls to krb5_kt_next_entry.

Return Values

This routine returns the following KRB5 status code:

0

Successful completion.