Lines Matching refs:plugin
41 char *plugin; member
122 char *plugin; in update_option() local
125 plugin = strdup(option->plugin_alias); in update_option()
126 if (!plugin) in update_option()
130 plugin = strdup(file); in update_option()
131 if (!plugin) in update_option()
133 p = strstr(plugin, "."); in update_option()
140 if (!op->plugin) in update_option()
142 if (strcmp(op->plugin, plugin) != 0) in update_option()
154 if (op->plugin) in update_option()
165 free(plugin); in update_option()
243 char *plugin; in load_plugin() local
246 plugin = malloc(strlen(path) + strlen(file) + 2); in load_plugin()
247 if (!plugin) { in load_plugin()
252 strcpy(plugin, path); in load_plugin()
253 strcat(plugin, "/"); in load_plugin()
254 strcat(plugin, file); in load_plugin()
256 handle = dlopen(plugin, RTLD_NOW | RTLD_GLOBAL); in load_plugin()
259 plugin, dlerror()); in load_plugin()
270 PEVENT_PLUGIN_LOADER_NAME, plugin, dlerror()); in load_plugin()
282 list->name = plugin; in load_plugin()
285 pr_stat("registering plugin: %s", plugin); in load_plugin()
290 free(plugin); in load_plugin()