- fix issue with loading state from linestack_file
- better handling of log_network_state()
- merge noticelog into admin
+- load all plugins
- new config file format (yacc!)
- finish upgrade script
- make editing config file optional
DEFMODULE(listener)
DEFMODULE(autosend)
-AC_DEFINE_UNQUOTED(STATIC_MODULES,[$STATIC_MODULES_LIST],[List of statically built modules])
-AC_DEFINE_UNQUOTED(STATIC_MODULE_DECLARES,[$STATIC_MODULE_DECLARES],[Declarations for the static modules])
-
AC_SUBST(BINS)
-AC_SUBST(MODS_STATIC)
AC_SUBST(MODS_SHARED)
DESTINCLUDEDIR="$includedir/ctrlproxy-2"
AC_SUBST(DESTINCLUDEDIR)
struct plugin *current_plugin = NULL;
GList *plugins = NULL;
-STATIC_MODULE_DECLARES
-static struct plugin_ops *builtin_modules[] = { STATIC_MODULES NULL };
-
struct plugin *plugin_by_config(struct plugin_config *pc)
{
GList *gl;
p->config = pc;
- /* See if this plugin is built-in */
- for (i = 0; builtin_modules[i]; i++) {
- if (!strcmp(builtin_modules[i]->name, pc->path)) {
- ops = builtin_modules[i];
- break;
- }
- }
-
/* Try to load from .so file */
if (!ops) {
/* Determine correct modules directory */