aboutsummaryrefslogtreecommitdiffstats
path: root/irc.h
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2010-09-01 23:09:27 +0100
committerWilmer van der Gaast <wilmer@gaast.net>2010-09-01 23:09:27 +0100
commit934db064a58ebec2edea83df4fa07e2c83220344 (patch)
treeb7a4aac7deff47cc743102dcb2bd8ded426c8bcd /irc.h
parent0c85c08d210e16bb10dc283b4a1478ce53c0c1b1 (diff)
Do encryption and decryption. Somehow SMP and other things aren't working
so well yet, at least when testing with Pidgin on the other side. Not sure where the bug is.
Diffstat (limited to 'irc.h')
-rw-r--r--irc.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/irc.h b/irc.h
index 516cc959..0c8d2981 100644
--- a/irc.h
+++ b/irc.h
@@ -229,12 +229,16 @@ typedef struct irc_plugin
/* At the end of irc_free(). */
void (*irc_free)( irc_t *irc );
+ /* Problem with the following two functions is ordering if multiple
+ plugins are handling them. Let's keep fixing that problem for
+ whenever it becomes important. */
+
/* Called by bee_irc_user_privmsg_cb(). Return NULL if you want to
abort sending the msg. */
- char* (*filter_msg_out)( irc_user_t *iu, const char *msg, int flags );
+ char* (*filter_msg_out)( irc_user_t *iu, char *msg, int flags );
/* Called by bee_irc_user_msg(). Return NULL if you swallowed the
message and don't want anything to go to the user. */
- char* (*filter_msg_in)( irc_user_t *iu, const char *msg, int flags );
+ char* (*filter_msg_in)( irc_user_t *iu, char *msg, int flags );
} irc_plugin_t;
extern GSList *irc_plugins; /* struct irc_plugin */