X-Git-Url: http://git.pk910.de/?p=NeonServV5.git;a=blobdiff_plain;f=src%2FModeNode.h;h=0b8ab560b77bf2e7538d4b3be530e4206b9acd9f;hp=29121c0a3b18a9116aeb9e425229ed846251fb86;hb=HEAD;hpb=bb5692b9cbff069abbf9573c81e86c3cd2061ceb diff --git a/src/ModeNode.h b/src/ModeNode.h index 29121c0..0b8ab56 100644 --- a/src/ModeNode.h +++ b/src/ModeNode.h @@ -1,4 +1,4 @@ -/* ModeNode.h - NeonServ v5.3 +/* ModeNode.h - NeonServ v5.6 * Copyright (C) 2011-2012 Philipp Kreil (pk910) * * This program is free software: you can redistribute it and/or modify @@ -44,19 +44,18 @@ struct ModeNode { int *mode_int_args; }; -extern unsigned int valid_modes[]; - +#ifndef DND_FUNCTIONS void init_ModeNode(); -struct ModeNode *createModeNode(struct ChanNode *chan); -void freeModeNode(struct ModeNode *modes); -int isModeSet(struct ModeNode* modes, char modeChar); -int isModeAffected(struct ModeNode* modes, char modeChar); -void* getModeValue(struct ModeNode* modes, char modeChar); -unsigned int getModeType(struct ModeNode* modes, char modeChar); -void parseModes(struct ModeNode* modes, char *modeStr, char **argv, int argc); -void parseModeString(struct ModeNode* modes, char *modeStr); -int parseMode(struct ModeNode* modes, int add, char mode, char *param); -void getModeString(struct ModeNode* modes, char *modesStr); -void getFullModeString(struct ModeNode* modes, char *modesStr); - -#endif \ No newline at end of file +/* MODULAR ACCESSIBLE */ struct ModeNode *createModeNode(struct ChanNode *chan); +/* MODULAR ACCESSIBLE */ void freeModeNode(struct ModeNode *modes); +/* MODULAR ACCESSIBLE */ int isModeSet(struct ModeNode* modes, char modeChar); +/* MODULAR ACCESSIBLE */ int isModeAffected(struct ModeNode* modes, char modeChar); +/* MODULAR ACCESSIBLE */ void* getModeValue(struct ModeNode* modes, char modeChar); +/* MODULAR ACCESSIBLE */ unsigned int getModeType(struct ModeNode* modes, char modeChar); +/* MODULAR ACCESSIBLE */ void parseModes(struct ModeNode* modes, char *modeStr, char **argv, int argc); +/* MODULAR ACCESSIBLE */ void parseModeString(struct ModeNode* modes, char *modeStr); +/* MODULAR ACCESSIBLE */ int parseMode(struct ModeNode* modes, int add, char mode, char *param); +/* MODULAR ACCESSIBLE */ void getModeString(struct ModeNode* modes, char *modesStr); +/* MODULAR ACCESSIBLE */ void getFullModeString(struct ModeNode* modes, char *modesStr); +#endif +#endif