Lines Matching refs:cursor
96 krb5_kt_cursor cursor;
108 ret = krb5_kt_start_seq_get(context, keytab, &cursor);
111 while((ret = krb5_kt_next_entry(context, keytab, &entry, &cursor)) == 0){
117 ret = krb5_kt_end_seq_get(context, keytab, &cursor);
618 krb5_kt_cursor cursor;
623 ret = krb5_kt_start_seq_get (context, id, &cursor);
632 while (krb5_kt_next_entry(context, id, &tmp, &cursor) == 0) {
640 krb5_kt_end_seq_get(context, id, &cursor);
650 krb5_kt_end_seq_get (context, id, &cursor);
716 * Set `cursor' to point at the beginning of `id'.
720 * @param cursor a newly allocated cursor, free with krb5_kt_end_seq_get().
730 krb5_kt_cursor *cursor)
739 return (*id->start_seq_get)(context, id, cursor);
743 * Get the next entry from keytab, advance the cursor. On last entry
749 * @param cursor the cursor of the iteration.
760 krb5_kt_cursor *cursor)
769 return (*id->next_entry)(context, id, entry, cursor);
773 * Release all resources associated with `cursor'.
777 * @param cursor the cursor to free.
787 krb5_kt_cursor *cursor)
795 return (*id->end_seq_get)(context, id, cursor);
868 krb5_kt_cursor cursor;
872 ret = krb5_kt_start_seq_get(context, id, &cursor);
876 ret = krb5_kt_next_entry(context, id, &entry, &cursor);
877 krb5_kt_end_seq_get(context, id, &cursor);