/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* parsing.h :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: rparodi +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2026/03/23 14:49:37 by rparodi #+# #+# */ /* Updated: 2026/03/28 12:45:03 by rparodi ### ########.fr */ /* */ /* ************************************************************************** */ #pragma once #include "struct.h" #include #include #ifdef BONUS # define BONUS 1 #endif #ifndef BONUS # define BONUS 0 #endif typedef struct s_args { char short_option; char *long_option; char *usage; char *description; bool is_mandatory; } t_args; extern const t_args _flags[]; size_t args_size(); void print_help(); uint64_t check_num_arguments(char *arg);