Lines Matching defs:newplug
247 plugin_t *newplug;
250 newplug = xmalloc (sizeof *newplug);
251 memset (newplug, 0, sizeof *newplug);
252 newplug->name = plugin;
253 newplug->dlhandle = dlopen (plugin, RTLD_NOW);
254 if (!newplug->dlhandle)
260 if (newplug->dlhandle == curplug->dlhandle)
263 free (newplug);
270 *plugins_tail_chain_ptr = newplug;
271 plugins_tail_chain_ptr = &newplug->next;
274 last_plugin = newplug;
275 last_plugin_args_tail_chain_ptr = &newplug->args;