Lines Matching refs:id

63 	     krb5_ccache id)
65 if (FCACHE(id) == NULL)
68 return FILENAME(id);
174 fcc_lock(krb5_context context, krb5_ccache id,
177 return _krb5_xlock(context, fd, exclusive, fcc_get_name(context, id));
187 fcc_resolve(krb5_context context, krb5_ccache *id, const char *res)
204 (*id)->data.data = f;
205 (*id)->data.length = sizeof(*f);
311 fcc_gen_new(krb5_context context, krb5_ccache *id)
349 (*id)->data.data = f;
350 (*id)->data.length = sizeof(*f);
381 krb5_ccache id,
392 if (FCACHE(id) == NULL)
395 filename = FILENAME(id);
408 if((ret = fcc_lock(context, id, fd, exclusive)) != 0) {
418 krb5_ccache id,
421 krb5_fcache *f = FCACHE(id);
430 ret = fcc_open(context, id, &fd, O_RDWR | O_CREAT | O_EXCL | O_BINARY | O_CLOEXEC, 0600);
469 FILENAME(id), buf);
476 krb5_ccache id)
478 if (FCACHE(id) == NULL)
481 free (FILENAME(id));
482 krb5_data_free(&id->data);
488 krb5_ccache id)
490 if (FCACHE(id) == NULL)
493 _krb5_erase_file(context, FILENAME(id));
499 krb5_ccache id,
505 ret = fcc_open(context, id, &fd, O_WRONLY | O_APPEND | O_BINARY | O_CLOEXEC, 0);
513 storage_set_flags(context, sp, FCACHE(id)->version);
531 FILENAME(id), buf);
539 krb5_ccache id,
552 ret = fcc_open(context, id, &fd, O_RDONLY | O_BINARY | O_CLOEXEC, 0);
569 FILENAME(id));
573 FILENAME(id));
580 FILENAME(id));
587 "cache file: %s", FILENAME(id));
590 FCACHE(id)->version = tag;
591 storage_set_flags(context, sp, FCACHE(id)->version);
601 "cache file: %s", ""), FILENAME(id));
614 FILENAME(id));
623 FILENAME(id));
637 FILENAME(id));
653 FILENAME(id));
672 (int)tag, FILENAME(id));
689 krb5_ccache id,
696 ret = init_fcc (context, id, &sp, &fd, NULL);
710 krb5_ccache id,
715 krb5_ccache id,
721 if (FCACHE(id) == NULL)
731 ret = init_fcc (context, id, &FCC_CURSOR(*cursor)->sp,
741 fcc_end_get(context, id, cursor);
751 krb5_ccache id,
757 if (FCACHE(id) == NULL)
763 if((ret = fcc_lock(context, id, FCC_CURSOR(*cursor)->fd, FALSE)) != 0)
776 krb5_ccache id,
780 if (FCACHE(id) == NULL)
795 krb5_ccache id,
804 if (FCACHE(id) == NULL)
811 ret = krb5_cc_copy_cache(context, id, copy);
823 ret = asprintf(&newname, "FILE:%s.XXXXXX", FILENAME(id));
853 ret = rk_rename(&newname[5], FILENAME(id));
864 krb5_ccache id,
867 if (FCACHE(id) == NULL)
875 krb5_ccache id)
877 if (FCACHE(id) == NULL)
880 return FCACHE(id)->version;
903 fcc_get_cache_next(krb5_context context, krb5_cc_cursor cursor, krb5_ccache *id)
937 ret = krb5_cc_resolve(context, fn, id);
1049 fcc_lastchange(krb5_context context, krb5_ccache id, krb5_timestamp *mtime)
1055 ret = fcc_open(context, id, &fd, O_RDONLY | O_BINARY | O_CLOEXEC, 0);
1070 fcc_set_kdc_offset(krb5_context context, krb5_ccache id, krb5_deltat kdc_offset)
1076 fcc_get_kdc_offset(krb5_context context, krb5_ccache id, krb5_deltat *kdc_offset)
1081 ret = init_fcc(context, id, &sp, &fd, kdc_offset);