#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 * | config |
Path to configfile. | |
int(* | init )(PVOLUMEMANAGER pvm) |
Constructor. | |
void(* | destroy )(PVOLUMEMANAGER pvm) |
Will destroy the VolumeManager object. | |
void(* | rescan )(PVOLUMEMANAGER pvm) |
Rescan HAL 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. | |
void(* | new_volume_capability )(PVOLUMEMANAGER pvm, const char *udi, const char *capability) |
Add volume capability to volume. | |
void(* | add_volume_property )(PVOLUMEMANAGER pvm, const char *udi, const char *property) |
Add volume property. | |
void(* | remove_volume_property )(PVOLUMEMANAGER pvm, const char *udi, const char *property) |
Remove volume property. | |
void(* | change_volume_property )(PVOLUMEMANAGER pvm, const char *udi, const char *property) |
Change volume property. |
Definition at line 53 of file mntd_volume_manager.h.
|
Add volume to manager. Will be called from mntd_hal, if corresponding signal is sent.
|
|
Add volume property. Will be called from mntd_hal, if corresponding signal is sent.
|
|
Change volume property. Will be called from mntd_hal, 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.
|
|
Constructor.
|
|
Add volume capability to volume. Will be called from mntd_hal, if corresponding signal is sent.
|
|
Remove volume from manager. Will be called from mntd_hal, if corresponding signal is sent.
|
|
Remove volume property. Will be called from mntd_hal, if corresponding signal is sent.
|
|
Rescan HAL devices.
|