21 lines
443 B
C
21 lines
443 B
C
#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);
|
|
|
|
#endif
|