diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2022-08-25 16:18:52 +0200 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2022-08-25 16:18:52 +0200 |
commit | 24b4e51e2fedca3417457559399a1d0eaf35c7fd (patch) | |
tree | e367cc51c192e8365ca7653249826733c4ea8a01 /src/msg.h | |
parent | msg: refactoring (diff) | |
download | cimple-24b4e51e2fedca3417457559399a1d0eaf35c7fd.tar.gz cimple-24b4e51e2fedca3417457559399a1d0eaf35c7fd.zip |
msg: add msg_copy, refactoring
Diffstat (limited to 'src/msg.h')
-rw-r--r-- | src/msg.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -6,9 +6,10 @@ struct msg { char **argv; }; +struct msg *msg_copy(const struct msg *); void msg_free(const struct msg *); -int msg_from_argv(struct msg *, const char *argv[]); +int msg_from_argv(struct msg *, char **argv); int msg_recv(int fd, struct msg *); int msg_send(int fd, const struct msg *); |