diff options
Diffstat (limited to 'src/net.h')
-rw-r--r-- | src/net.h | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -22,14 +22,12 @@ int net_recv(int fd, void *, size_t); struct buf; int buf_create(struct buf **, const void *, uint32_t); +int buf_create_from_string(struct buf **, const char *); 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 **); |