krb5_cccol_cursor_next - Get the next credential cache in the collection. — MIT Kerberos Documentation

# MIT Kerberos Documentation

Contents | previous | next | index | Search | feedback

# krb5_cccol_cursor_next - Get the next credential cache in the collection.

krb5_error_code krb5_cccol_cursor_next(krb5_context context, krb5_cccol_cursor cursor, krb5_ccache *ccache)

param:

  [in] context - Library context

  [in] cursor - Cursor

  [out] ccache - Credential cache handle

retval:

  - 0 Success; otherwise - Kerberos error codes

Use krb5_cc_close() to close ccache when it is no longer needed.

See also

krb5_cccol_cursor_new(), krb5_cccol_cursor_free()

Note

When all caches are iterated over and the end of the list is reached, ccache is set to NULL.