Main Page
|
Alphabetical List
|
Data Structures
|
File List
|
Data Fields
|
Globals
options.h File Reference
Command-line options for autoprocd.
More...
Go to the source code of this file.
Defines
#define
OPTIONS_LEN_USER_NAME
64
Size of field user_name.
#define
OPTIONS_LEN_CONFIG_FILE
512
Size of field config_file.
Functions
void
options_set_defaults
(
Options
*opt)
Sets default values to command-line options.
Options
*
options_create
()
Allocates and initializes command-line options.
void
options_read
(
Options
*opt, int argc, char **argv)
Reads Command-line options.
Options
*
options_create_from_args
(int argc, char **argv)
Allocates options and processes the command line.
Detailed Description
Command-line options for autoprocd.
Function Documentation
Options
* options_create_from_args
(
int
argc
,
char **
argv
)
Allocates options and processes the command line.
Parameters:
argc
Number of arguments.
argv
Arguments. A combination of options_create and options_read.
Generated on Fri Jan 20 10:12:18 2006 by
1.4.2