aboutsummaryrefslogblamecommitdiffstatshomepage
path: root/src/client.h
blob: 544501e30282c6b5824b3854d4f26c224b48c764 (plain) (tree)
1
2
3
4
5
6
7






                                                          

















                                                               
/*
 * Copyright (c) 2022 Egor Tensin <Egor.Tensin@gmail.com>
 * This file is part of the "cimple" project.
 * For details, see https://github.com/egor-tensin/cimple.
 * Distributed under the MIT License.
 */

#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