00001 #ifdef _CLIENT_ 00002 #define _CLIENT_ 00003 int client(int IP); 00004 #endif 00005 00006 #ifdef _CONFIG_RESEAU_ 00007 #define _CONFIG_RESEAU_ 00008 int config_reseau(int *recv, int PORT); 00009 #endif 00010 00011 #ifdef _SERVEUR_ 00012 #define _SERVEUR_ 00013 int serveur(); 00014 #endif 00015 00016 #ifdef _SEND_MSG_ 00017 #define _SEND_MSG_ 00018 void send_msg(int *socket_fd, char *nom); 00019 #endif 00020 00021 #ifdef _RECV_MSG_ 00022 #define _RECV_MSG_ 00023 void recv_msg(int socket_fd); 00024 #endif 00025 00026 #ifdef _SHOOT_ 00027 #define _SHOOT_ 00028 void send_shoot(char *objective) 00029 void send_rep_shoot(int result) 00030 #endif