Teonet library  0.4.7
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
modules.h File Reference
#include "config/conf.h"

Go to the source code of this file.

Data Structures

struct  ksnModuleElement
 File: modules.h Author: Kirill Scherba. More...
 
struct  ksnModulesClass
 Modules class data. More...
 

Typedefs

typedef struct ksnModuleElement ksnModuleElement
 File: modules.h Author: Kirill Scherba. More...
 
typedef struct ksnModulesClass ksnModulesClass
 Modules class data. More...
 

Functions

ksnModulesClassksnModulesInit (void *ke, ksnModuleElement *modules, int numer_of_modules)
 Initialize module. More...
 
void ksnModulesDestroy (ksnModulesClass *km)
 Destroy module. More...
 

Typedef Documentation

File: modules.h Author: Kirill Scherba.

Created on July 3, 2015, 12:25 PM Module Element structure

Modules class data.

Function Documentation

void ksnModulesDestroy ( ksnModulesClass km)

Destroy module.

Parameters
km

References free(), ksnModulesClass::ke, ke, ksnetEvMgrClass::km, and ksnModuleLDestroy().

ksnModulesClass* ksnModulesInit ( void *  ke,
ksnModuleElement modules,
int  numer_of_modules 
)

Initialize module.

Parameters
kePointer to ksnetEvMgrClass
modules
numer_of_modules
Returns
Pointer to ksnModulesClass

References ksnModulesClass::ke, ke, ksnModuleLInit(), ksnModulesLAdd(), malloc(), and ksnModulesClass::modules.