diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2023-05-14 17:09:53 +0200 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2023-05-14 17:12:18 +0200 |
commit | 94308ce35b636c6941a4a11985aec2189cb4b9e8 (patch) | |
tree | 7a191f17426690eba64d8598f143751b511900c9 /src/net.h | |
parent | fix unnecessary #include-s (diff) | |
download | cimple-94308ce35b636c6941a4a11985aec2189cb4b9e8.tar.gz cimple-94308ce35b636c6941a4a11985aec2189cb4b9e8.zip |
msg: enforce at least one word
Also, move some stuff to net.c where it belongs.
Diffstat (limited to 'src/net.h')
-rw-r--r-- | src/net.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -26,6 +26,9 @@ void buf_destroy(struct buf *); uint32_t buf_get_size(const struct buf *); void *buf_get_data(const struct buf *); +int buf_pack_strings(struct buf **, size_t argc, const char **argv); +int buf_unpack_strings(const struct buf *, size_t *argc, const char ***argv); + int net_send_buf(int fd, const struct buf *); int net_recv_buf(int fd, struct buf **); |