diff options
| author | Egor Tensin <Egor.Tensin@gmail.com> | 2023-06-13 01:50:24 +0200 |
|---|---|---|
| committer | Egor Tensin <Egor.Tensin@gmail.com> | 2023-06-13 01:50:24 +0200 |
| commit | 5b58c9fd2880911aa926259d97a396e97f3d4313 (patch) | |
| tree | fefbc7a72447f2f12adbe0e16d6f597cf05e3fdf /src/command.h | |
| parent | use signalfd to stop on SIGTERM (diff) | |
| download | cimple-5b58c9fd2880911aa926259d97a396e97f3d4313.tar.gz cimple-5b58c9fd2880911aa926259d97a396e97f3d4313.zip | |
event_loop: hide the API details
Diffstat (limited to 'src/command.h')
| -rw-r--r-- | src/command.h | 2 |
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; |
