diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2023-04-29 10:05:10 +0200 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2023-04-29 10:05:10 +0200 |
commit | 2288866ba616148d6d3dbe74ee8f269ba9132149 (patch) | |
tree | 8c59ae13647d08042a249175c482c03bef9b69e4 /src/client.h | |
parent | make struct worker opaque (diff) | |
download | cimple-2288866ba616148d6d3dbe74ee8f269ba9132149.tar.gz cimple-2288866ba616148d6d3dbe74ee8f269ba9132149.zip |
make struct client opaque
Diffstat (limited to 'src/client.h')
-rw-r--r-- | src/client.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/client.h b/src/client.h index 544501e..141c6be 100644 --- a/src/client.h +++ b/src/client.h @@ -13,12 +13,10 @@ struct settings { const char *port; }; -struct client { - int fd; -}; +struct client; -int client_create(struct client *, const struct settings *); -void client_destroy(const struct client *); +int client_create(struct client **, const struct settings *); +void client_destroy(struct client *); int client_main(const struct client *, int argc, char *argv[]); |