|
Zappy - Year end project 2
This is a project that Epitech asked us to create in order to allow us to reveiw the notions of the current year.
|
#include "server_handler.h"

Go to the source code of this file.
Functions | |
| void | init_client (cli_t client[MAX_CLIENT]) |
| The function to initialize the cli_t structure. | |
| int | get_client (cli_t client[MAX_CLIENT], const int fd) |
| The function to get the client index in the structure by the fd. | |
| int | delete_client (cli_t client[MAX_CLIENT], const int fd) |
| The function to delete a specific client from the cli_t structure by the fd. | |
| void | delete_all_client (cli_t client[MAX_CLIENT]) |
| The function to delete a every client from the cli_t structure. | |
| void delete_all_client | ( | cli_t | client[MAX_CLIENT] | ) |
The function to delete a every client from the cli_t structure.
| clint | The cli_t structure |
Definition at line 45 of file client_management.c.
| int delete_client | ( | cli_t | client[MAX_CLIENT], |
| const int | fd ) |
The function to delete a specific client from the cli_t structure by the fd.
| clint | The cli_t structure |
| fd | The file descriptor of the client |
Definition at line 29 of file client_management.c.
| int get_client | ( | cli_t | client[MAX_CLIENT], |
| const int | fd ) |
The function to get the client index in the structure by the fd.
| client | The cli_t structure |
| fd | The file descriptor of the client |
Definition at line 19 of file client_management.c.
| void init_client | ( | cli_t | client[MAX_CLIENT] | ) |
The function to initialize the cli_t structure.
| client | The cli_t structure to initialize |
Definition at line 12 of file client_management.c.