#include <typeinfo>
#include <iostream>
#include "globals.h"
#include "modules.h"
#include "ctables.h"
#include "inspircd_io.h"
Include dependency graph for modules.cpp:
Go to the source code of this file.
Compounds | |
class | ExtMode |
Typedefs | |
typedef std::vector< ExtMode > | ExtModeList |
typedef ExtModeList::iterator | ExtModeListIter |
Functions | |
bool | ModeDefined (char modechar, int type) |
bool | ModeDefinedOn (char modechar, int type) |
bool | ModeDefinedOff (char modechar, int type) |
bool | AddExtendedMode (char modechar, int type, bool default_on, int params_on, int params_off) |
std::vector< Module * > | modules (255) |
std::vector< ircd_module * > | factory (255) |
Variables | |
ExtModeList | EMode |
int | MODCOUNT = -1 |
|
Definition at line 28 of file modules.cpp. |
|
Definition at line 29 of file modules.cpp. Referenced by ModeDefined(), ModeDefinedOff(), and ModeDefinedOn(). |
|
Definition at line 73 of file modules.cpp. References EMode.
|
|
|
|
Definition at line 34 of file modules.cpp. References EMode, and ExtModeListIter.
00035 { 00036 for (ExtModeListIter i = EMode.begin(); i < EMode.end(); i++) 00037 { 00038 if ((i->modechar == modechar) && (i->type == type)) 00039 { 00040 return true; 00041 } 00042 } 00043 return false; 00044 } |
|
Definition at line 60 of file modules.cpp. References EMode, and ExtModeListIter.
00061 { 00062 for (ExtModeListIter i = EMode.begin(); i < EMode.end(); i++) 00063 { 00064 if ((i->modechar == modechar) && (i->type == type)) 00065 { 00066 return i->params_when_off; 00067 } 00068 } 00069 return 0; 00070 } |
|
Definition at line 47 of file modules.cpp. References EMode, and ExtModeListIter.
00048 { 00049 for (ExtModeListIter i = EMode.begin(); i < EMode.end(); i++) 00050 { 00051 if ((i->modechar == modechar) && (i->type == type)) 00052 { 00053 return i->params_when_on; 00054 } 00055 } 00056 return 0; 00057 } |
|
|
|
Definition at line 31 of file modules.cpp. Referenced by AddExtendedMode(), ModeDefined(), ModeDefinedOff(), and ModeDefinedOn(). |
|
Definition at line 313 of file modules.cpp. |