Main Page | Modules | Data Structures | File List | Data Fields | Related Pages

Basic functions
[HAL daemon]

Basic functions in the HAL daemon. More...

Functions

void usage ()
 Print out program usage.

int main (int argc, char *argv[])
 Entry point for HAL daemon.


Variables

dbus_bool_t opt_become_daemon = TRUE
 If #TRUE, we will daemonize.

char * opt_run_as = NULL
 Run as specified username if not #NULL.


Detailed Description

Basic functions in the HAL daemon.


Function Documentation

int main int  argc,
char *  argv[]
 

Entry point for HAL daemon.

Parameters:
argc Number of arguments
argv Array of arguments
Returns:
Exit code

Todo:
FIXME change logger to direct to syslog

Definition at line 177 of file hald.c.

References logger_init(), opt_become_daemon, opt_run_as, osspec_init(), osspec_probe(), and usage().


Generated on Sat Apr 24 19:57:46 2004 for HAL by doxygen 1.3.6-20040222