Root/usbboot/src/command_line.h

1/*
2 * Copyright(C) 2009 Qi Hardware Inc.,
3 * Authors: Xiangfu Liu <xiangfu@sharism.cc>
4 *
5 * This program is free software: you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation, either version 3 of the License, or
8 * (at your option) any later version.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program. If not, see <http://www.gnu.org/licenses/>.
17 */
18
19#ifndef __COMMAND_LINE_H__
20#define __COMMAND_LINE_H__
21
22#define MAX_ARGC 10
23#define MAX_COMMAND_LENGTH 100
24
25int com_argc;
26char com_argv[MAX_ARGC][MAX_COMMAND_LENGTH];
27char *stage1;
28char *stage2;
29
30int command_handle(char *buf);
31
32#endif /* __COMMAND_LINE_H__ */
33

Archive Download this file



interactive