aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/net.h
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2023-07-18 00:48:34 +0200
committerEgor Tensin <Egor.Tensin@gmail.com>2023-07-18 00:48:34 +0200
commitc68eeb9946a6e6aee59e221ee279463769331920 (patch)
tree441062e6fca09af52862814eba9ca5115057ee4e /src/net.h
parentswitch to JSON-RPC as message format (diff)
downloadcimple-c68eeb9946a6e6aee59e221ee279463769331920.tar.gz
cimple-c68eeb9946a6e6aee59e221ee279463769331920.zip
net: remove unused buf_* routines
Diffstat (limited to '')
-rw-r--r--src/net.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/net.h b/src/net.h
index 618dbc3..e2fe61e 100644
--- a/src/net.h
+++ b/src/net.h
@@ -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 **);