module_t Struct Reference

#include <modules.h>


Data Fields

gchar * name
gchar * module_name
GModule * module
gchar * configfile
gpointer func
gpointer params
module_params_unload_tfree_params
module_hook_t hook


Detailed Description

Structure use to store a module instance

Definition at line 64 of file modules.h.


Field Documentation

gchar* module_t::configfile

Filename of configuration file. If it's NULL, you should use DEFAULT_CONF_FILE.

Definition at line 84 of file modules.h.

Referenced by free_module_t(), and load_modules_from().

module_params_unload_t* module_t::free_params

Function used to unload module parameters

Definition at line 107 of file modules.h.

Referenced by clean_module_t(), and load_modules_from().

gpointer module_t::func

Function used in the module:

Definition at line 97 of file modules.h.

Referenced by load_modules_from().

module_hook_t module_t::hook

Role for module (which hook)

Definition at line 112 of file modules.h.

Referenced by init_module_from_conf(), and load_modules_from().

GModule* module_t::module

glib module structure

Definition at line 78 of file modules.h.

Referenced by free_module_t(), and load_modules_from().

gchar* module_t::module_name

Module name

Definition at line 73 of file modules.h.

Referenced by free_module_t(), and load_modules_from().

gchar* module_t::name

Module name

Definition at line 68 of file modules.h.

Referenced by clean_module_t(), free_module_t(), and load_modules_from().

gpointer module_t::params

Structure where module store all its options

Definition at line 102 of file modules.h.

Referenced by clean_module_t(), init_module_from_conf(), and load_modules_from().


The documentation for this struct was generated from the following file:
Generated on Thu Nov 20 04:00:45 2008 for NuFW by  doxygen 1.4.7