17 lines
431 B
C
17 lines
431 B
C
/* SPDX-License-Identifier: MIT */
|
|
/* Copyright (c) 2026 Oleksandr Zhylin */
|
|
|
|
#ifndef CONNECTION_H
|
|
#define CONNECTION_H
|
|
|
|
#include <widget.h>
|
|
|
|
bool connect_to_server(app_t *params);
|
|
void init_params(params_t *restrict);
|
|
void clear_params(params_t *params);
|
|
void get_ip_port(params_t *params, char *ip, char *port);
|
|
void close_session(int sd);
|
|
int init_client();
|
|
void analyze_args(int argc, char *argv[], params_t *restrict);
|
|
|
|
#endif |