net-tools/includes/ft_ping.h
lohhiiccc 18211e441c refactor(cli): replace int return codes with e_cli_code enum for argument parsing
- Introduces the e_cli_code enum for CLI status codes, replacing integer constants.
- Updates cli_parse_arguments to return e_cli_code instead of int.
- Refactors main.c, cli.h, and cli/parse.c to use the new enum.
2026-03-03 15:18:28 +01:00

23 lines
303 B
C

#ifndef FT_PING
#define FT_PING
#include <stdint.h>
#include <stddef.h>
typedef struct s_ping_config
{
/* Target */
char *destination;
/* Options */
uint64_t count;
double interval;
uint8_t ttl;
size_t packet_size;
double timeout;
/* Flags */
uint8_t flags;
} t_ping_config;
#endif