feat(includes): adding struct header
This commit is contained in:
parent
998677f79d
commit
07b957ea0e
1 changed files with 29 additions and 0 deletions
29
includes/struct.h
Normal file
29
includes/struct.h
Normal 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;
|
||||||
Loading…
Add table
Add a link
Reference in a new issue