Merge branch 'development'
[NeonServV5.git] / src / ModeNode.h
index 6d2d5d959f3733cb89523aeb70f3151d23f96597..0b8ab560b77bf2e7538d4b3be530e4206b9acd9f 100644 (file)
@@ -1,3 +1,19 @@
+/* ModeNode.h - NeonServ v5.6
+ * Copyright (C) 2011-2012  Philipp Kreil (pk910)
+ * 
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ * 
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ * 
+ * You should have received a copy of the GNU General Public License 
+ * along with this program. If not, see <http://www.gnu.org/licenses/>. 
+ */
 #ifndef _ModeNode_h
 #define _ModeNode_h
 #include "main.h"
@@ -28,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