projects
/
NeonServV5.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added some usleep milliseconds to give IOHandler the chance to disconnect the sockets...
[NeonServV5.git]
/
src
/
modules.h
diff --git
a/src/modules.h
b/src/modules.h
index 13856ec8cf62b1fdda08bd75f0e7c9378bcfe163..7600f6e59703bfaa80e3e5e318af6edfc876682b 100644
(file)
--- a/
src/modules.h
+++ b/
src/modules.h
@@
-1,4
+1,4
@@
-/* modules.h - NeonServ v5.
3
+/* modules.h - NeonServ v5.
6
* Copyright (C) 2011-2012 Philipp Kreil (pk910)
*
* This program is free software: you can redistribute it and/or modify
* Copyright (C) 2011-2012 Philipp Kreil (pk910)
*
* This program is free software: you can redistribute it and/or modify
@@
-31,7
+31,6
@@
struct ModuleInfo {
#endif
int state;
void *startfunc;
#endif
int state;
void *startfunc;
- void *loopfunc;
void *stopfunc;
struct ModuleInfo *next;
};
void *stopfunc;
struct ModuleInfo *next;
};
@@
-40,10
+39,11
@@
struct ModuleInfo {
void loadModules();
struct ModuleInfo *loadModule(char *name);
void start_modules();
void loadModules();
struct ModuleInfo *loadModule(char *name);
void start_modules();
-void loop_modules();
void stop_modules();
int module_loaded(int module_id);
void stop_modules();
int module_loaded(int module_id);
+/* MODULAR ACCESSIBLE */ char *get_module_name(int module_id);
+
int ext_load_module(char *name);
int ext_unload_module(char *name);
int ext_reload_module(char *name);
int ext_load_module(char *name);
int ext_unload_module(char *name);
int ext_reload_module(char *name);