#include <mntd_volume_manager.h>
Data Fields | |
PHASHMAP | phm |
Pointer to HashMap object. | |
char * | base |
Basepath that VolumeManager will be responsible for (read from configfile). | |
char * | prefix |
Prefix for mount directories (read from configfile). | |
int(* | init )(PVOLUMEMANAGER pvm) |
Constructor. | |
void(* | destroy )(PVOLUMEMANAGER pvm) |
Will destroy the VolumeManager object. | |
void(* | rescan )(PVOLUMEMANAGER pvm) |
Rescan devices. | |
char *(* | get_mntpnt )(PVOLUMEMANAGER pvm, const char *udi) |
Get specific mount point. | |
int(* | contains )(PVOLUMEMANAGER pvm, const char *udi) |
Check if given volume exists. | |
void(* | foreach_mounted )(PVOLUMEMANAGER pvm, int(*func)(void *data, void *userdata), void *userdata) |
call function for each mounted volume | |
void(* | add_volume )(PVOLUMEMANAGER pvm, const char *udi) |
Add volume to manager. | |
void(* | remove_volume )(PVOLUMEMANAGER pvm, const char *udi) |
Remove volume from manager. | |
int(* | remount )(PVOLUMEMANAGER pvm, const char *udi, int flag) |
Remount specific mount point rd/rw. |
Definition at line 54 of file mntd_volume_manager.h.
|
Add volume to manager. Will be called, if corresponding signal is sent.
|
|
Check if given volume exists.
|
|
Will destroy the VolumeManager object.
|
|
call function for each mounted volume
|
|
Get specific mount point.
|
|
Remount specific mount point rd/rw.
|
|
Remove volume from manager. Will be called, if corresponding signal is sent.
|
|
Rescan devices.
|