Lines Matching refs:path
284 load_plugin(struct pevent *pevent, const char *path, in load_plugin() argument
294 plugin = malloc(strlen(path) + strlen(file) + 2); in load_plugin()
300 strcpy(plugin, path); in load_plugin()
343 const char *path, in load_plugins_dir() argument
345 const char *path, in load_plugins_dir()
355 ret = stat(path, &st); in load_plugins_dir()
362 dir = opendir(path); in load_plugins_dir()
377 load_plugin(pevent, path, name, data); in load_plugins_dir()
386 const char *path, in load_plugins() argument
392 char *path; in load_plugins() local
424 path = malloc(strlen(home) + strlen(LOCAL_PLUGIN_DIR) + 2); in load_plugins()
425 if (!path) { in load_plugins()
430 strcpy(path, home); in load_plugins()
431 strcat(path, "/"); in load_plugins()
432 strcat(path, LOCAL_PLUGIN_DIR); in load_plugins()
434 load_plugins_dir(pevent, suffix, path, load_plugin, data); in load_plugins()
436 free(path); in load_plugins()