Rename functions and cmdline to cli for organization.

This commit is contained in:
Christian Deacon
2025-03-06 13:49:09 -05:00
parent e1b0fec39e
commit 916189a498
27 changed files with 494 additions and 493 deletions

23
src/rule_del/utils/cli.h Normal file
View File

@@ -0,0 +1,23 @@
#pragma once
#include <stdio.h>
#include <stdlib.h>
#include <getopt.h>
struct cli
{
const char* cfg_file;
int help;
int save;
int mode;
int idx;
const char* ip;
int v6;
} typedef cli_t;
void parse_cli(cli_t* cli, int argc, char* argv[]);