implementation recepetion message incomplete et makefile foncitonne avec deux headers separes

This commit is contained in:
hugogogo
2021-09-01 08:16:31 +02:00
parent a988550a35
commit 016e16e7be
9 changed files with 70 additions and 35 deletions

18
includes/server.h Normal file
View File

@@ -0,0 +1,18 @@
#ifndef SERVER_H
# define SERVER_H
# include <signal.h> // for signal kill sigaction
# include <sys/types.h> // for getpid kill
# include <unistd.h> // for getpid
# include "libft.h"
typedef struct s_message
{
unsigned int count_bits;
char character;
char *text;
} t_message;
t_message message;
#endif