diff options
Diffstat (limited to '')
-rw-r--r-- | src/client.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/client.h b/src/client.h new file mode 100644 index 0000000..05dec85 --- /dev/null +++ b/src/client.h @@ -0,0 +1,18 @@ +#ifndef __CLIENT_H__ +#define __CLIENT_H__ + +struct settings { + const char *host; + const char *port; +}; + +struct client { + int fd; +}; + +int client_create(struct client *, const struct settings *); +void client_destroy(const struct client *); + +int client_main(const struct client *, int argc, char *argv[]); + +#endif |