1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 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