Skip to content
Extraits de code Groupes Projets

Cmd Client

Fermé Kubat a demandé de fusionner client vers master
5 fichiers
+ 39
8
Comparer les modifications
  • Côte à côte
  • En ligne
Fichiers
5
+ 3
1
@@ -13,10 +13,12 @@ typedef struct socket socket_t;
@@ -13,10 +13,12 @@ typedef struct socket socket_t;
/**
/**
* @brief Create the socket server on unix domain sockets.
* @brief Create the socket server on unix domain sockets.
 
* @param is_client Set to `true` if the socket is a client socket, `false` otherwise
 
* (only for the server socket).
* @return The function returns the socket uppon successfull creation, `NULL` otherwise.
* @return The function returns the socket uppon successfull creation, `NULL` otherwise.
* @note Before closing the app don't forget to call `socket_destruct`.
* @note Before closing the app don't forget to call `socket_destruct`.
*/
*/
socket_t * socket_construct(void);
socket_t * socket_construct(bool is_client);
/**
/**
Chargement en cours