5 * Copyright (C) 2014 Michael Brown <mbrown@fensystems.co.uk>.
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.
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.
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
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
);
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
;
45 extern char cmdline_vf_path
[MAX_VF
][64];
46 extern int cmdline_vf_num
;
48 #endif /* _CMDLINE_H */