summaryrefslogtreecommitdiff
path: root/src/plugins/irc/irc-batch.h
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2023-05-05 20:38:38 +0200
committerSébastien Helleu <flashcode@flashtux.org>2023-05-14 15:32:39 +0200
commit176a10677137e887ed5e8299669bacbc4148d65a (patch)
treefd27d7d932c80eb3bec59a17ccbc9bd3a15a0eed /src/plugins/irc/irc-batch.h
parente8b5d73421f63e6e792c039e7a86754db8cfa78c (diff)
downloadweechat-176a10677137e887ed5e8299669bacbc4148d65a.zip
irc: add support of capability "draft/multiline" (closes #1923)
Diffstat (limited to 'src/plugins/irc/irc-batch.h')
-rw-r--r--src/plugins/irc/irc-batch.h6
1 files changed, 6 insertions, 0 deletions
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);