Merge branch 'development'
[NeonServV5.git] / src / ModeNode.h
index fe6fba65a5bccd149b8996d7b0fd06ef7f1725ee..0b8ab560b77bf2e7538d4b3be530e4206b9acd9f 100644 (file)
@@ -1,5 +1,5 @@
-/* ModeNode.h - NeonServ v5.3
- * Copyright (C) 2011  Philipp Kreil (pk910)
+/* 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
@@ -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