aboutsummaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index 03e9a0a..664b0ed 100644
--- a/src/main.c
+++ b/src/main.c
@@ -62,6 +62,17 @@ void txbuf_append_str(const char *str) {
}
}
+void txbuf_append_str2(const char *s1, const char *s2) {
+ txbuf_append_str(s1);
+ txbuf_append_str(s2);
+}
+
+void txbuf_append_str3(const char *s1, const char *s2, const char *s3) {
+ txbuf_append_str(s1);
+ txbuf_append_str(s2);
+ txbuf_append_str(s3);
+}
+
void txbuf_set_str(const char *str) {
txbuf_init();
txbuf_append_str(str);