Lines Matching refs:id

200  * into a keytab in `id'.
204 * @param id resulting keytab, free with krb5_kt_close().
215 krb5_keytab *id)
248 *id = k;
313 * Set `id' to the default keytab.
316 * @param id the new default keytab.
324 krb5_kt_default(krb5_context context, krb5_keytab *id)
326 return krb5_kt_resolve (context, context->default_keytab, id);
463 * Finish using the keytab in `id'. All resources will be released,
467 * @param id keytab to close.
476 krb5_keytab id)
480 ret = (*id->close)(context, id);
481 memset(id, 0, sizeof(*id));
482 free(id);
487 * Destroy (remove) the keytab in `id'. All resources will be released,
491 * @param id keytab to destroy.
500 krb5_keytab id)
504 ret = (*id->destroy)(context, id);
505 krb5_kt_close(context, id);
564 krb5_keytab id,
573 krb5_kt_get_full_name (context, id, &kt_name);
596 * from the keytab `id'. Matching is done like krb5_kt_compare().
599 * @param id a keytab.
612 krb5_keytab id,
622 if(id->get)
623 return (*id->get)(context, id, principal, kvno, enctype, entry);
625 ret = krb5_kt_start_seq_get (context, id, &cursor);
634 while (krb5_kt_next_entry(context, id, &tmp, &cursor) == 0) {
642 krb5_kt_end_seq_get(context, id, &cursor);
652 krb5_kt_end_seq_get (context, id, &cursor);
655 id, principal, enctype, kvno);
718 * Set `cursor' to point at the beginning of `id'.
721 * @param id a keytab.
731 krb5_keytab id,
734 if(id->start_seq_get == NULL) {
738 id->prefix);
741 return (*id->start_seq_get)(context, id, cursor);
749 * @param id a keytab.
760 krb5_keytab id,
764 if(id->next_entry == NULL) {
768 id->prefix);
771 return (*id->next_entry)(context, id, entry, cursor);
778 * @param id a keytab.
788 krb5_keytab id,
791 if(id->end_seq_get == NULL) {
794 " keytab", id->prefix);
797 return (*id->end_seq_get)(context, id, cursor);
801 * Add the entry in `entry' to the keytab `id'.
804 * @param id a keytab.
814 krb5_keytab id,
817 if(id->add == NULL) {
820 id->prefix);
824 return (*id->add)(context, id,entry);
832 * @param id a keytab.
842 krb5_keytab id,
845 if(id->remove == NULL) {
848 id->prefix);
851 return (*id->remove)(context, id, entry);
858 * @param id a keytab.
867 krb5_keytab id)
874 ret = krb5_kt_start_seq_get(context, id, &cursor);
878 ret = krb5_kt_next_entry(context, id, &entry, &cursor);
879 krb5_kt_end_seq_get(context, id, &cursor);
888 ret = krb5_kt_get_full_name(context, id, &name);