Functions | |
DBusHandlerResult | filter_func (DBusConnection *connection, DBusMessage *message, void *user_data) |
Message handler for method invocations. | |
int | mnt_init (PLIBMNTFUNCS cb_functions, void *data) |
Initialize the MNT library. | |
int | mnt_quit (void) |
Shutdown the MNT library. | |
char ** | mnt_get_all_volumes (int *num_volumes) |
Get all volumes from mntd (with dbus method call). | |
char * | mnt_get_mntpnt (char *udi) |
Get mount point for a specific volume. | |
Variables | |
LIBMNTFUNCS | dummy_functions |
Dummy NULL callback functions. |
|
Message handler for method invocations. All invocations on any object or interface is routed through this function.
Definition at line 63 of file libmnt.c. References LIBMNTFUNCS_::volume_mounted, and LIBMNTFUNCS_::volume_unmounted. Referenced by mnt_init(). |
|
Get all volumes from mntd (with dbus method call). You have to free each element and the data array by yourself.
|
|
Get mount point for a specific volume. You have to free to returned mount point string yourself.
|
|
Initialize the MNT library.
Definition at line 126 of file libmnt.c. References dummy_functions, filter_func(), and LIBMNTFUNCS_::main_loop. |
|
Shutdown the MNT library.
|
|
Initial value: { NULL, NULL, NULL }
Definition at line 111 of file libmnt.c. Referenced by mnt_init(). |