From 176a10677137e887ed5e8299669bacbc4148d65a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Fri, 5 May 2023 20:38:38 +0200 Subject: irc: add support of capability "draft/multiline" (closes #1923) --- src/plugins/irc/irc-batch.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/plugins/irc/irc-batch.h') diff --git a/src/plugins/irc/irc-batch.h b/src/plugins/irc/irc-batch.h index bd8dec30c..04b718dad 100644 --- a/src/plugins/irc/irc-batch.h +++ b/src/plugins/irc/irc-batch.h @@ -39,6 +39,7 @@ struct t_irc_batch struct t_irc_batch *next_batch; /* link to next batch */ }; +extern void irc_batch_generate_random_ref (char *string, int size); extern struct t_irc_batch *irc_batch_search (struct t_irc_server *server, const char *reference); extern struct t_irc_batch *irc_batch_start_batch (struct t_irc_server *server, @@ -54,6 +55,11 @@ extern void irc_batch_end_batch (struct t_irc_server *server, extern void irc_batch_free (struct t_irc_server *server, struct t_irc_batch *batch); extern void irc_batch_free_all (struct t_irc_server *server); +extern char *irc_batch_modifier_cb (const void *pointer, void *data, + const char *modifier, + const char *modifier_data, + const char *string); + extern struct t_hdata *irc_batch_hdata_batch_cb (const void *pointer, void *data, const char *hdata_name); -- cgit v1.2.3