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

HAL device event for Linux
[Misc tools for HAL]

A short program for translating linux-hotplug events into D-BUS messages. The messages are sent to the HAL daemon. More...

Functions

int get_sysfs_mnt_path ()
 Get the mount path for sysfs.

int main (int argc, char *argv[], char *envp[])
 Entry point.


Variables

char sysfs_mnt_path [PATH_MAX]

Detailed Description

A short program for translating linux-hotplug events into D-BUS messages. The messages are sent to the HAL daemon.


Function Documentation

int get_sysfs_mnt_path  )  [static]
 

Get the mount path for sysfs.

A side-effect is that sysfs_mnt_path is set on success.

Returns:
0 on success, negative on error

Definition at line 66 of file hal_dev.c.

Referenced by main().

int main int  argc,
char *  argv[],
char *  envp[]
 

Entry point.

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

Definition at line 103 of file hal_dev.c.

References get_sysfs_mnt_path().


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