31 lines
1.2 KiB
C
31 lines
1.2 KiB
C
/* ************************************************************************** */
|
|
/* */
|
|
/* ::: :::::::: */
|
|
/* struct.h :+: :+: :+: */
|
|
/* +:+ +:+ +:+ */
|
|
/* By: rparodi <rparodi@student.42.fr> +#+ +:+ +#+ */
|
|
/* +#+#+#+#+#+ +#+ */
|
|
/* Created: 2026/03/23 15:06:41 by rparodi #+# #+# */
|
|
/* Updated: 2026/03/30 15:52:18 by rparodi ### ########.fr */
|
|
/* */
|
|
/* ************************************************************************** */
|
|
|
|
#pragma once
|
|
|
|
#include <stdbool.h>
|
|
#include <stdint.h>
|
|
|
|
typedef struct s_flags {
|
|
bool help;
|
|
bool verbose;
|
|
bool flood;
|
|
bool quiet;
|
|
bool no_reverse_dns;
|
|
int payload_size;
|
|
uint64_t wait;
|
|
uint64_t timeout;
|
|
uint64_t count;
|
|
char *content;
|
|
char *destination;
|
|
char *input;
|
|
} t_flags;
|