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.
Loading...
Searching...
No Matches
Functions
game_data_initialization.c File Reference
#include <string.h>
#include "show.h"
#include "utils.h"
#include "server_handler.h"
#include "client_management.h"
Include dependency graph for game_data_initialization.c:

Go to the source code of this file.

Functions

int init_game_data (server_handler_t *server, struct arg_s **arguments)
 The function to initialize every game data.
 

Function Documentation

◆ init_game_data()

int init_game_data ( server_handler_t * server,
struct arg_s ** arguments )

The function to initialize every game data.

Parameters
serverThe general server structure
argumentsAll parsed arguments passed as program parameter
Returns
(0) if datas are initialized successfully, (-1) if not

Definition at line 156 of file game_data_initialization.c.