udftools

- Main Page
- Classes
- Files

- File List
- File Members

All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
options.h
Go to the documentation of this file.
1 /*
2 * options.h
3 *
4 * Copyright (c) 2001-2002 Ben Fennema <bfennema@falcon.csc.calpoly.edu>
5 * All rights reserved.
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; either version 2 of the License, or
10 * (at your option) any later version.
11 *
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU 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., 675 Mass Ave, Cambridge, MA 02139, USA.
20 *
21 */
22
23 #ifndef _OPTIONS_H
24 #define _OPTIONS_H 1
25
26 void usage(void);
27 void parse_args(int, char *[], struct udf_disc *, char *, int *);
28
29 /*
30 * Command line option token values.
31 * 0x0000-0x00ff Single characters
32 * 0x1000-0x1fff Long switches (no arg)
33 * 0x2000-0x2fff Long settings (arg required)
34 */
35
36 #define OPT_HELP 0x1000
37 #define OPT_NO_EFE 0x1001
38 #define OPT_UNICODE8 0x1002
39 #define OPT_UNICODE16 0x1003
40 #define OPT_UTF8 0x1004
41 #define OPT_BRIDGE 0x1005
42 #define OPT_CLOSED 0x1006
43
44 #define OPT_BLK_SIZE 0x2000
45 #define OPT_UDF_REV 0x2001
46 #define OPT_LVID 0x2002
47 #define OPT_VID 0x2003
48 #define OPT_VSID 0x2004
49 #define OPT_FSID 0x2005
50 #define OPT_STRATEGY 0x2006
51 #define OPT_SPARTABLE 0x2007
52 #define OPT_PACKETLEN 0x2008
53 #define OPT_MEDIA_TYPE 0x2009
54 #define OPT_SPACE 0x200A
55 #define OPT_AD 0x200B
56 #define OPT_LABEL 0x200C
57 #define OPT_UUID 0x200D
58 #define OPT_FULLVSID 0x200E
59 #define OPT_UID 0x200F
60 #define OPT_GID 0x2010
61
62 #endif /* _OPTIONS_H */
usage
void usage(void)
Prints out usage.
Definition: options.c:56
parse_args
void parse_args(int, char *[], struct cdrw_disc *, char *)
Definition: options.c:69
udf_disc
Definition: libudffs.h:95