diff --git a/inc/libft_ansi.h b/inc/libft_ansi.h index 26c0fa3..33f2b52 100644 --- a/inc/libft_ansi.h +++ b/inc/libft_ansi.h @@ -56,10 +56,25 @@ /* MODIFIER */ # define RST _ANSI_M("0") // RESET # define BOL _ANSI_M("1") // BOLD +# define DIM _ANSI_M("2") // DIMMED # define ITA _ANSI_M("3") // ITALIC # define UND _ANSI_M("4") // UNDERLINE # define BLI _ANSI_M("5") // BLINKING +/* MODIFIER RESET */ +# define RBOL _ANSI_M("21") // RESET BOLD +# define RDIM _ANSI_M("22") // RESET DIMMED +# define RITA _ANSI_M("23") // RESET ITALIC +# define RUND _ANSI_M("24") // RESET UNDERLINE +# define RBLI _ANSI_M("25") // RESET BLINKING + +/* RESET AND MODIFIER RESET */ +# define RSTBOL _ANSI_M("0;21") // RESET AND RESET BOLD +# define RSTDIM _ANSI_M("0;22") // RESET AND RESET DIMMED +# define RSTITA _ANSI_M("0;23") // RESET AND RESET ITALIC +# define RSTUND _ANSI_M("0;24") // RESET AND RESET UNDERLINE +# define RSTBLI _ANSI_M("0;25") // RESET AND RESET BLINKING + /* CURSOR */ # define CUR_COL(C) CSI C "G" diff --git a/inc/libft_network/ipv4.h b/inc/libft_network/ipv4.h index 0f18d68..8d303f7 100644 --- a/inc/libft_network/ipv4.h +++ b/inc/libft_network/ipv4.h @@ -108,6 +108,7 @@ void ft_ntop(t_bin pf, t_int4 ip, char *ip_str); // network/ipv4/ft_putip_fd.c t_size ft_putip_fd(t_int4 n, int fd); +char *ft_getip_str(t_int4 n); /* ########################################################################## */ diff --git a/inc/libft_network/packet.h b/inc/libft_network/packet.h index fd73c66..b1b7786 100644 --- a/inc/libft_network/packet.h +++ b/inc/libft_network/packet.h @@ -6,7 +6,7 @@ /* By: brda-sil