mirror of https://github.com/thearcanum/WIFSS
29 lines
406 B
C
Executable File
29 lines
406 B
C
Executable File
#ifndef __CLIENT__
|
|
#define __CLIENT__
|
|
|
|
|
|
#include "../../commons/commons.h"
|
|
#include "../../commons/str/str.h"
|
|
#include "../../commons/ip/ip.h"
|
|
#include "../commands/commands.h"
|
|
|
|
|
|
typedef struct
|
|
{
|
|
int16_t server_sock;
|
|
int8_t client_id;
|
|
SSL *ssl;
|
|
SSL_CTX *ctx;
|
|
|
|
} CoreVariables;
|
|
|
|
CoreVariables core_variables;
|
|
|
|
|
|
bool start_client(void);
|
|
void stop_client(void);
|
|
void init_global_variables(void);
|
|
|
|
|
|
#endif
|