From 07b957ea0e08495febe66266e3b5c924315d952e Mon Sep 17 00:00:00 2001 From: Raphael Date: Sat, 28 Mar 2026 14:40:50 +0100 Subject: [PATCH] feat(includes): adding struct header --- includes/struct.h | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 includes/struct.h diff --git a/includes/struct.h b/includes/struct.h new file mode 100644 index 0000000..131ce2e --- /dev/null +++ b/includes/struct.h @@ -0,0 +1,29 @@ +/* ************************************************************************** */ +/* */ +/* ::: :::::::: */ +/* struct.h :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: rparodi +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2026/03/23 15:06:41 by rparodi #+# #+# */ +/* Updated: 2026/03/24 13:30:42 by rparodi ### ########.fr */ +/* */ +/* ************************************************************************** */ + +#pragma once + +#include +#include + +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;