aboutsummaryrefslogtreecommitdiff
path: root/src/irc.h
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2026-03-06 20:58:52 -0500
committerB. Watson <urchlay@slackware.uk>2026-03-06 20:58:52 -0500
commit2855154aef5e0e05b5243e6308607fca2d170224 (patch)
treef69e48d868fefd41a96e146ef434d417f2809670 /src/irc.h
parentb8af9ac3624059f4702623212e3cd3f6530ec0c4 (diff)
downloadfujinet-chat-2855154aef5e0e05b5243e6308607fca2d170224.tar.gz
Local commands!
Diffstat (limited to 'src/irc.h')
-rw-r--r--src/irc.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/irc.h b/src/irc.h
index 4e28899..8590314 100644
--- a/src/irc.h
+++ b/src/irc.h
@@ -20,6 +20,8 @@ void txbuf_init(void);
/* appends a string to the transmit buffer, updates txbuflen. */
void txbuf_append_str(const char *str);
+void txbuf_append_str2(const char *s1, const char *s2);
+void txbuf_append_str3(const char *s1, const char *s2, const char *s3);
/* clears the transmit buffer, then appends a string to it. */
void txbuf_set_str(const char *str);
@@ -53,5 +55,5 @@ void irc_loop(void);
void print_errnum(void);
/**** cmd.c */
-void cmd_command(const char *cmd);
+void cmd_command(char *cmd);
void cmd_execute(void);