diff options
| author | B. Watson <urchlay@slackware.uk> | 2026-02-21 22:11:10 -0500 |
|---|---|---|
| committer | B. Watson <urchlay@slackware.uk> | 2026-02-21 22:11:10 -0500 |
| commit | d3a19b319e8ecdf111de44ffa9847474301edcbb (patch) | |
| tree | d9586b54b3940c91debaea418b9711c0e94c7f5c /src/main.c | |
| parent | 525a545e62c97c1ed5335d6ce5750341c5ba877e (diff) | |
| download | fujinet-chat-d3a19b319e8ecdf111de44ffa9847474301edcbb.tar.gz | |
WIP.
Diffstat (limited to 'src/main.c')
| -rw-r--r-- | src/main.c | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -69,6 +69,16 @@ void txbuf_set_str(const char *str) { txbuf_append_str(str); } +void txbuf_set_str2(const char *s1, const char *s2) { + txbuf_set_str(s1); + txbuf_append_str(s2); +} + +void txbuf_set_str3(const char *s1, const char *s2, const char *s3) { + txbuf_set_str2(s1, s2); + txbuf_append_str(s3); +} + void txbuf_send(void) { /* don't sent empty buffer */ if(!txbuflen) return; |
