Traduction des commentaires vers l'anglais

This commit is contained in:
n07070 2020-04-01 18:47:38 +02:00
parent b96655da72
commit 05e9346726

View File

@ -78,15 +78,12 @@ void add_tlv(packet *packet, tlv *tlv, char type);
int send_packet(); int send_packet();
/* Takes a TLV and sends it over to everyone in the list of addresses. /* Takes a TLV and sends it over to everyone in the list of addresses.
* des paires. * Returns -1 in case of error, 0 otherwise.
* Retourne -1 en cas d'échec, 0 en cas de succès.
*/ */
int send_tlv(struct tlv tlv_to_send, int tlv_type, struct sockaddr_in6 * dest_list[], int dest_list_size, int socket_num); int send_tlv(struct tlv tlv_to_send, int tlv_type, struct sockaddr_in6 * dest_list[], int dest_list_size, int socket_num);
/* Takes a list of TLV and sends them over to everyone in the list of addresses.
/* Prend une liste de tlv, et construit un paquet pour ensuite les envoyer à la liste * Returns -1 in case of error, 0 otherwise.
* des paires. Chaque pair recevera la même liste de TLV.
* Retourne -1 en cas d'échec, 0 en cas de succès.
*/ */
int send_tlvs(struct list * tlv_list, int tlv_type, struct sockaddr_in6 * dest_list[], int dest_list_size, int socket_num); int send_tlvs(struct list * tlv_list, int tlv_type, struct sockaddr_in6 * dest_list[], int dest_list_size, int socket_num);