Teonet library
0.4.7
|
Functions | |
void | ksnModuleLInit (ksnModulesClass *km) |
File: modules.c Author: Kirill Scherba. More... | |
void | ksnModuleLDestroy (ksnModulesClass *km) |
Destroy modules list. More... | |
void | ksnModulesLAdd (ksnModulesClass *km, ksnModuleElement *modules, int numer_of_elements) |
Appends the specified element to the end of this list. More... | |
ksnModulesClass * | ksnModulesInit (void *ke, ksnModuleElement *modules, int numer_of_modules) |
Initialize module. More... | |
void | ksnModulesDestroy (ksnModulesClass *km) |
Destroy module. More... | |
void ksnModuleLDestroy | ( | ksnModulesClass * | km | ) |
Destroy modules list.
References ksnModuleElement::destroy, free(), ksnModulesClass::list, ksnModuleElement::mc, and ksnModulesClass::modules.
Referenced by ksnModulesDestroy().
void ksnModuleLInit | ( | ksnModulesClass * | km | ) |
File: modules.c Author: Kirill Scherba.
Initialize modules list.
Created on July 3, 2015, 12:25 PM
References ksnModulesClass::list.
Referenced by ksnModulesInit().
void ksnModulesDestroy | ( | ksnModulesClass * | km | ) |
Destroy module.
km |
References free(), ksnModulesClass::ke, ke, ksnetEvMgrClass::km, and ksnModuleLDestroy().
ksnModulesClass* ksnModulesInit | ( | void * | ke, |
ksnModuleElement * | modules, | ||
int | numer_of_modules | ||
) |
Initialize module.
ke | Pointer to ksnetEvMgrClass |
modules | |
numer_of_modules |
References ksnModulesClass::ke, ke, ksnModuleLInit(), ksnModulesLAdd(), malloc(), and ksnModulesClass::modules.
void ksnModulesLAdd | ( | ksnModulesClass * | km, |
ksnModuleElement * | elements, | ||
int | numer_of_elements | ||
) |
Appends the specified element to the end of this list.
References ksnModuleElement::init, ksnModulesClass::ke, ksnModulesClass::list, and ksnModuleElement::mc.
Referenced by ksnModulesInit().