commandline.c File Reference

Command line argument handling. More...

Go to the source code of this file.

Functions

static void usage (void)
void parse_commandline (int argc, char **argv)
 Parses the command line and set the config accordingly.

Variables

char ** restartargv = NULL
pid_t restart_orig_pid = 0


Detailed Description

Command line argument handling.

Author:
Copyright (C) 2004 Philippe April <papril777@yahoo.com>

Definition in file commandline.c.


Function Documentation

void parse_commandline ( int  argc,
char **  argv 
)

Parses the command line and set the config accordingly.

Uses getopt() to parse the command line and set configuration values also populates restartargv

Definition at line 77 of file commandline.c.

Referenced by main().


Generated on Sun Apr 13 21:55:00 2008 for WifiDog by  doxygen 1.5.3