feat(includes): adding struct header

This commit is contained in:
Raphael 2026-03-28 14:40:50 +01:00
parent 998677f79d
commit 07b957ea0e
No known key found for this signature in database

29
includes/struct.h Normal file
View file

@ -0,0 +1,29 @@
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* 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;