udftools

- Main Page
- Classes
- Files

- File List
- File Members

All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Functions | Variables
options.c File Reference
`#include "config.h"`
`#include <stdio.h>`
`#include <stdlib.h>`
`#include <malloc.h>`
`#include "cdrwtool.h"`
`#include "libudffs.h"`
`#include "options.h"`
Include dependency graph for options.c:

Go to the source code of this file.

## Functions
void | usage (void)
void | parse_args (int argc, char *argv[], struct cdrw_disc *disc, char *device)

## Variables
struct option | long_options []

## Function Documentation

void parse_args | ( | int | argc,
|  | char * | argv[],
|  | struct cdrw_disc * | disc,
|  | char * | device
| ) |  |

Definition at line 69 of file options.c.

void usage | ( | void |  | ) |

Definition at line 56 of file options.c.

## Variable Documentation

struct option long_options[]

Initial value:
= {
{ "help", no_argument, NULL, OPT_HELP },
{ "device", 1, NULL, 'd' },
{ "set write parameters", no_argument, NULL, 's' },
{ "get write parameters", no_argument, NULL, 'g' },
{ "blank cdrw disc", 1, NULL, 'b' },
{ "format cdrw disc", 1,NULL, 'm' },
{ "run mkudffs on track", 1, NULL, 'u' },
{ "set mkudffs version", 1, NULL, 'v' },
{ "set cd writing speed", 1, NULL, 't' },
{ "write fixed packets", 1, NULL, 'p' },
{ "perform quick setup", optional_argument, NULL, 'q' },
{ "reserve track", 1, NULL, 'r' },
{ "close track", 1, NULL, 'c' },
{ "fixed packet size", 1, NULL, 'z' },
{ "border/session setting", 1, NULL, 'l' },
{ "write type", 1, NULL, 'w' },
{ "file to write", 1, NULL, 'f' },
{ "start at this lba for file write", 1, NULL,'o' },
{ "print detailed disc info", no_argument, NULL, 'i' },
{ 0, 0, NULL, 0 },
}
OPT_HELP
#define OPT_HELP
Definition: options.h:38

Definition at line 33 of file options.c.