aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/command.h
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2023-06-13 01:50:24 +0200
committerEgor Tensin <Egor.Tensin@gmail.com>2023-06-13 01:50:24 +0200
commit5b58c9fd2880911aa926259d97a396e97f3d4313 (patch)
treefefbc7a72447f2f12adbe0e16d6f597cf05e3fdf /src/command.h
parentuse signalfd to stop on SIGTERM (diff)
downloadcimple-5b58c9fd2880911aa926259d97a396e97f3d4313.tar.gz
cimple-5b58c9fd2880911aa926259d97a396e97f3d4313.zip
event_loop: hide the API details
Diffstat (limited to '')
-rw-r--r--src/command.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/command.h b/src/command.h
index 3d13abd..4ef245f 100644
--- a/src/command.h
+++ b/src/command.h
@@ -29,7 +29,7 @@ void cmd_dispatcher_destroy(struct cmd_dispatcher *);
int cmd_dispatcher_handle(const struct cmd_dispatcher *, const struct msg *command,
struct msg **response);
-int cmd_dispatcher_add_to_event_loop(const struct cmd_dispatcher *, struct event_loop *, int fd);
+int cmd_dispatcher_add_to_event_loop(struct cmd_dispatcher *, struct event_loop *, int fd);
struct cmd_conn_ctx {
int fd;