diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2023-07-18 00:48:34 +0200 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2023-07-18 00:48:34 +0200 |
commit | c68eeb9946a6e6aee59e221ee279463769331920 (patch) | |
tree | 441062e6fca09af52862814eba9ca5115057ee4e /src/net.h | |
parent | switch to JSON-RPC as message format (diff) | |
download | cimple-c68eeb9946a6e6aee59e221ee279463769331920.tar.gz cimple-c68eeb9946a6e6aee59e221ee279463769331920.zip |
net: remove unused buf_* routines
Diffstat (limited to '')
-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 **); |