ft_ping/includes/struct.h
2026-03-28 14:40:50 +01:00

29 lines
1.1 KiB
C

/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* struct.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: rparodi <rparodi@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2026/03/23 15:06:41 by rparodi #+# #+# */
/* Updated: 2026/03/24 13:30:42 by rparodi ### ########.fr */
/* */
/* ************************************************************************** */
#pragma once
#include <stdbool.h>
#include <stdint.h>
typedef struct s_flags {
bool help;
bool verbose;
bool flood;
bool quiet;
bool reverse_dns;
uint64_t wait;
uint64_t timeout;
uint64_t count;
char *content;
char *destination;
} t_flags;