code refactoring

This commit is contained in:
2025-02-16 19:32:01 +01:00
parent f3c2569a30
commit c8bda25d90
42 changed files with 439 additions and 543 deletions

View File

@@ -1,19 +1,6 @@
#ifndef _ARGS_H
#define _ARGS_H
// #define MAX_LINE 1024
// #define MAX_ARGS 16
// #define MAX_COMMANDS 16
// #define MAX_PATH 1024
// struct args {
// int list;
// int probe;
// char bsdl[MAX_PATH];
// int devid;
// enum commands cmds[MAX_COMMANDS];
// };
// int parse_args(struct args *a, int argc, char *argv[]);
void parse_command(char *line, int *argc, char **argv);