diff options
author | Christian Segundo | 2023-06-11 22:09:15 +0200 |
---|---|---|
committer | Christian Segundo | 2023-06-11 22:09:15 +0200 |
commit | 3bd3f432a95da405634cdbd2a662d79a3a5ba7af (patch) | |
tree | ed7ac24e3309d8c6b4f43d1051d95b18a7165a2c /xmission.h | |
download | zmission-3bd3f432a95da405634cdbd2a662d79a3a5ba7af.tar.gz |
wip
Diffstat (limited to 'xmission.h')
-rw-r--r-- | xmission.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/xmission.h b/xmission.h new file mode 100644 index 0000000..be1d8d7 --- /dev/null +++ b/xmission.h @@ -0,0 +1,20 @@ +#ifndef _XMISSION_H + +#define _XMISSION_H +#include <stdbool.h> +#include <stddef.h> +#include <stdint.h> + +typedef void *c_client; + +typedef struct ClientOptions { + char *host; + uint16_t port; + bool https; + char *user; + char *passowrd; +} ClientOptions_t; + +c_client c_client_init(ClientOptions_t opts); +void c_client_deinit(c_client); +#endif |