net-tools/includes/cli.h
lohhiiccc f6ca69f795 feat(cli): refactor CLI move utilities, and improve build/version metadata
- Move CLI internal headers to `includes/internal/cli/`
- Split CLI handler and parsing declarations across dedicated internal headers
- Move handler map to `option_map.c` and properly update references
- Relocate CLI utility source and test files from `utils` to `parse_utils`
- Refactor `cli.h` to only expose the public interface, move internal
  typedefs/functions out
- Update build system: add conditional git commit detection
2026-03-04 14:36:30 +01:00

15 lines
235 B
C

#ifndef PING_CLI_H
#define PING_CLI_H
#include "ft_ping.h"
enum e_cli_code {
CLI_EXIT_SUCCESS = -1,
CLI_SUCCESS = 0,
CLI_ERROR = 1
};
enum e_cli_code
cli_parse_arguments(int argc, char **argv, t_ping_config *config);
#endif