Added SILC Thread Queue API
[crypto.git] / apps / irssi / src / core / channels.h
index 98b75ee0cf392a4f3185965e516350f1701ed26d..0839d69bea4c60d582e2f5ecc39b12ae771ce34a 100644 (file)
@@ -19,12 +19,16 @@ struct _CHANNEL_REC {
 extern GSList *channels;
 
 /* Create new channel record */
-void channel_init(CHANNEL_REC *channel, int automatic);
+void channel_init(CHANNEL_REC *channel, SERVER_REC *server, const char *name,
+                 const char *visible_name, int automatic);
 void channel_destroy(CHANNEL_REC *channel);
 
 /* find channel by name, if `server' is NULL, search from all servers */
 CHANNEL_REC *channel_find(SERVER_REC *server, const char *name);
 
+void channel_change_name(CHANNEL_REC *channel, const char *name);
+void channel_change_visible_name(CHANNEL_REC *channel, const char *name);
+
 /* Send the auto send command to channel */
 void channel_send_autocommands(CHANNEL_REC *channel);