]> glassweightruler.freedombox.rocks Git - Ventoy.git/blob - wimboot/wimboot-2.7.3/src/cmdline.h
1.1.07 release
[Ventoy.git] / wimboot / wimboot-2.7.3 / src / cmdline.h
1 #ifndef _CMDLINE_H
2 #define _CMDLINE_H
3
4 /*
5 * Copyright (C) 2014 Michael Brown <mbrown@fensystems.co.uk>.
6 *
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License as
9 * published by the Free Software Foundation; either version 2 of the
10 * License, or (at your option) any later version.
11 *
12 * This program is distributed in the hope that it will be useful, but
13 * WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License
18 * along with this program; if not, write to the Free Software
19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
20 * 02110-1301, USA.
21 */
22
23 /**
24 * @file
25 *
26 * Command line
27 *
28 */
29
30 extern int cmdline_rawbcd;
31 extern int cmdline_rawwim;
32 extern int cmdline_quiet;
33 extern int cmdline_gui;
34 extern int cmdline_pause;
35 extern int cmdline_pause_quiet;
36 extern int cmdline_linear;
37 extern unsigned int cmdline_index;
38 extern void process_cmdline ( char *cmdline );
39
40 typedef int (*file_size_pf)(const char *path);
41 typedef int (*file_read_pf)(const char *path, int offset, int len, void *buf);
42 extern file_size_pf pfventoy_file_size;
43 extern file_read_pf pfventoy_file_read;
44 #define MAX_VF 16
45 extern char cmdline_vf_path[MAX_VF][64];
46 extern int cmdline_vf_num;
47
48 #endif /* _CMDLINE_H */