aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/command.h
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2023-05-14 19:26:45 +0200
committerEgor Tensin <Egor.Tensin@gmail.com>2023-05-14 19:26:45 +0200
commit6ac3199bef203fc28a39724010b79b561ee4e304 (patch)
treeb73cd0501586f82e9518cc2b2b688abcaebe8182 /src/command.h
parentprocess: add process_output_dump (diff)
downloadcimple-6ac3199bef203fc28a39724010b79b561ee4e304.tar.gz
cimple-6ac3199bef203fc28a39724010b79b561ee4e304.zip
command: adjust order of parameters to handlers
Diffstat (limited to 'src/command.h')
-rw-r--r--src/command.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/command.h b/src/command.h
index d08902e..0ab44c1 100644
--- a/src/command.h
+++ b/src/command.h
@@ -12,8 +12,8 @@
#include <stddef.h>
-typedef int (*cmd_handler)(int conn_fd, const struct msg *request, void *ctx,
- struct msg **response);
+typedef int (*cmd_handler)(int conn_fd, const struct msg *request, struct msg **response,
+ void *ctx);
struct cmd_desc {
char *name;