aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/cmd.h
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2022-08-23 23:01:32 +0200
committerEgor Tensin <Egor.Tensin@gmail.com>2022-08-23 23:01:32 +0200
commitb6d48ea5d51f09c6dd91a9f64f8e46bafab19a2a (patch)
tree12dcf8395e8083aebde80b262e154116febfb366 /src/cmd.h
parentremove redundant code (diff)
downloadcimple-b6d48ea5d51f09c6dd91a9f64f8e46bafab19a2a.tar.gz
cimple-b6d48ea5d51f09c6dd91a9f64f8e46bafab19a2a.zip
cmd -> msg
This I feel better conveys the meaning.
Diffstat (limited to 'src/cmd.h')
-rw-r--r--src/cmd.h21
1 files changed, 0 insertions, 21 deletions
diff --git a/src/cmd.h b/src/cmd.h
deleted file mode 100644
index 9f519f6..0000000
--- a/src/cmd.h
+++ /dev/null
@@ -1,21 +0,0 @@
-#ifndef __CMD_H__
-#define __CMD_H__
-
-struct cmd {
- int argc;
- char **argv;
-};
-
-int cmd_from_argv(struct cmd *, const char *argv[]);
-
-int cmd_send(int fd, const struct cmd *);
-int cmd_send_and_wait_for_result(int fd, const struct cmd *, int *result);
-
-typedef int (*cmd_handler)(const struct cmd *, void *arg);
-
-int cmd_recv(int fd, struct cmd *);
-int cmd_recv_and_send_result(int fd, cmd_handler, void *arg);
-
-void cmd_free(const struct cmd *);
-
-#endif