diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2023-05-14 19:26:45 +0200 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2023-05-14 19:26:45 +0200 |
commit | 6ac3199bef203fc28a39724010b79b561ee4e304 (patch) | |
tree | b73cd0501586f82e9518cc2b2b688abcaebe8182 /src/command.h | |
parent | process: add process_output_dump (diff) | |
download | cimple-6ac3199bef203fc28a39724010b79b561ee4e304.tar.gz cimple-6ac3199bef203fc28a39724010b79b561ee4e304.zip |
command: adjust order of parameters to handlers
Diffstat (limited to 'src/command.h')
-rw-r--r-- | src/command.h | 4 |
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; |