code refactoring
This commit is contained in:
13
bs/args.h
13
bs/args.h
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user