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) 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 #include <getopt.h>
27
28 void usage(void);
29 void parse_args(int, char *[], struct cdrw_disc *, char *);
30
31 /*
32 * Command line option token values.
33 * 0x0000-0x00ff Single characters
34 * 0x1000-0x1fff Long switches (no arg)
35 * 0x2000-0x2fff Long settings (arg required)
36 */
37
38 #define OPT_HELP 0x1000
39
40 #endif /* _OPTIONS_H */
cdrw_disc
Definition: cdrwtool.h:74
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