added .gitignore
[NeonServV5.git] / ChanNode.h
index 9c6ae869253c7933e445f47c5951c6f3739bd02d..b62beff35fc8e1fa165bd05b4d6dbb5f4b59eee6 100644 (file)
@@ -3,6 +3,7 @@
 #include "main.h"
 
 struct ChanUser;
+struct trigger_cache;
 
 #define CHANFLAG_RECEIVED_USERLIST  0x01
 
@@ -15,11 +16,14 @@ struct ChanNode {
     char **mode_str_args;
     int *mode_int_args;
     struct UserNode *chanbot;
-
+    
+    struct trigger_cache *trigger;
+       
     struct ChanNode *next;
 };
 
 void init_ChanNode();
+void free_ChanNode();
 int is_valid_chan(const char *name);
 struct ChanNode* getChanByName(const char *name);
 struct ChanNode* addChannel(const char *chan);
@@ -29,5 +33,6 @@ void checkChannelVisibility(struct ChanNode* chan);
 int isModeSet(struct ChanNode* chan, char modeChar);
 void* getModeValue(struct ChanNode* chan, char modeChar);
 void parseModes(struct ChanNode* chan, char *modeStr, char **argv, int argc);
+void getModeString(struct ChanNode* chan, char *modesStr);
 
 #endif
\ No newline at end of file