Lines Matching refs:filepath
84 krb5int_open_plugin (const char *filepath, struct plugin_file_handle **h, struct errinfo *ep)
92 if (stat (filepath, &statbuf) < 0) {
93 Tprintf ("stat(%s): %s\n", filepath, strerror (errno));
113 handle = dlopen(filepath, PLUGIN_DLOPEN_FLAGS);
116 Tprintf ("dlopen(%s): %s\n", filepath, e);
139 pluginPath = CFStringCreateWithCString (kCFAllocatorDefault, filepath,
446 char *filepath = NULL;
449 filepath = malloc (dirnamelen + strlen (filenames[j]) + 1); /* NULL */
450 if (filepath == NULL) {
454 sprintf (filepath, "%s/%s", dirnames[i], filenames[j]);
458 if (krb5int_open_plugin (filepath, &handle, ep) == 0) {
463 if (filepath != NULL) { free (filepath); }
473 char *filepath = NULL;
491 filepath = malloc (dirnamelen + len + 1); /* NULL */
492 if (filepath == NULL) {
496 sprintf (filepath, "%s/%*s", dirnames[i], len, d->d_name);
501 if (krb5int_open_plugin (filepath, &handle, ep) == 0) {
507 if (filepath != NULL) { free (filepath); }