#include <vector>
#include "inspircd.h"
#include "globals.h"
+#include "modules.h"
/** Flags for use with log()
*/
*/
int ports[255];
+ /** Boolean sets of which modules implement which functions
+ */
+ char implement_lists[255][255];
+
+ /** A list of ports claimed by IO Modules
+ */
+ std::map<int,Module*> IOHookModule;
+
ServerConfig();
/** Clears the include stack in preperation for
int ConfValueEnum(char* tag,std::stringstream *config);
int EnumConf(std::stringstream *config_f,const char* tag);
int EnumValues(std::stringstream *config, const char* tag, int index);
+ Module* GetIOHook(int port);
+ bool AddIOHook(int port, Module* iomod);
+ bool DelIOHook(int port);
};