Modules | |
group | Supporting devfsd |
Called by devfsd, when device is added or removed. You have to do some configuration work in /etc/devfsd.conf. See Installing devfsd for more information. Once called, it will collect some data and send it via dbus to MNT daemon. | |
group | Supporting udevd |
Called by udevd, when device is added or removed. You have to do some configuration work in /etc/dev.d/. See Installing udev for more information. Once called, it will collect some data and send it via dbus to MNT daemon. | |
Functions | |
char * | mntdbus_getenv (char *name) |
Get value from environment. | |
DBusConnection * | mntdbus_init (void) |
Connect to MNT daemon via dbus. | |
void | mntdbus_quit (DBusConnection *conn) |
Quit MNT daemons dbus connection. | |
int | _mntdbus_signal (DBusConnection *conn, char *signalname, char *subsystem, char *devname) |
Send spcific device signal to MNT daemon. | |
int | mntdbus_add (DBusConnection *conn, char *subsystem, char *devname) |
Send DeviceAdd signal to MNT daemon. | |
int | mntdbus_remove (DBusConnection *conn, char *subsystem, char *devname) |
Send DeviceRemove signal to MNT daemon. |
|
Send DeviceAdd signal to MNT daemon.
Definition at line 211 of file mntdbus.c. References _mntdbus_signal(), MSG_DEBUG, and MSG_ERR. Referenced by main(). |
|
Get value from environment.
Definition at line 51 of file mntdbus.c. References MSG_ERR. Referenced by main(). |
|
Connect to MNT daemon via dbus.
Definition at line 72 of file mntdbus.c. References DBUS_SERVICE_MNT, and MSG_ERR. Referenced by main(). |
|
Quit MNT daemons dbus connection.
Definition at line 122 of file mntdbus.c. References MSG_ERR. Referenced by main(). |
|
Send DeviceRemove signal to MNT daemon.
Definition at line 234 of file mntdbus.c. References _mntdbus_signal(), MSG_DEBUG, and MSG_ERR. Referenced by main(). |