modules.h

ColdX-0.2-4-dev/src/include/modules.h · 449 B

From the archive ColdX-0.2-4-dev.tar.gz

Download the archive   « Back to the archive contents

/* @@@HEAD@@@
//
*/

#ifndef _modules_h_
#define _modules_h_

void init_coldcore(int argc, char ** argv);
void uninit_coldcore(void);

#if DISABLED
typedef struct module_s {
    void (*init)(int argc, char ** argv);
    void (*uninit)();
} module_t;

module_t modules [] = {
    {init_coldcore, uninit_coldcore},
    {NULL, NULL}
};

extern int init_modules(int argc, char ** argv);
extern int uninit_modules(int argc, char ** argv);
#endif

#endif

Site Stats

Snippets: 1791
Codebases: 571