Defines a module. More...
#include <smf_modules.h>

Data Fields | |
| uint8_t | type |
| char * | name |
| union { | |
| void * handle | |
| ModuleLoadFunction callback | |
| } | u |
Defines a module.
| ModuleLoadFunction callback |
Callback, used for type != 0
| void* handle |
module handle, value for typp 0
| char* name |
name of the module
| uint8_t type |
Type of module. If set to 0 then a shared-object is
loaded, any other value means that a callback-function is executed.