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
server_initialization.c File Reference
#include <stdio.h>
#include <string.h>
#include <arpa/inet.h>
#include <sys/socket.h>
#include "utils.h"
#include "server_handler.h"
Include dependency graph for server_initialization.c:

Go to the source code of this file.

Functions

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

Function Documentation

◆ server_initialization()

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

The function to initialize every server 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 47 of file server_initialization.c.