Main Page | Modules | Namespace List | Class Hierarchy | Data Structures | Directories | File List | Namespace Members | Data Fields | Globals

volumesvcs.h File Reference

#include <hiker/types.h>
#include <hiker/volumesvcs_types.h>

Go to the source code of this file.

Functions

alp_status_t alp_volumesvcs_fsinfo_array (GArray **fsinfo_array)
 Get information on all pluggable devices and any mounted file systems on them.
alp_status_t alp_volumesvcs_fsinfo_for_udi (AlpVolumeSvcsFSinfo **fsinfo, const gchar *udi)
 Allocates and returns an AlpVolumeSvcsFSinfo* matching the _udi parameter passed in.
alp_status_t alp_volumesvcs_fsinfo_array_free (GArray *fsinfo_array)
 Free the array of AlpVolumeSvcsFSinfo struct's.
alp_status_t alp_volumesvcs_fsinfo_free (AlpVolumeSvcsFSinfo *fsinfo)
 Frees AlpVolumeSvcsFSinfo* allocated by alp_volumesvcs_fsinfo_for_udi().
alp_status_t alp_volumesvcs_mount (const gchar *device_udi)
 Mount a volume.
alp_status_t alp_volumesvcs_umount (const gchar *device_udi)
 UNmount a volume.
alp_status_t alp_volumesvcs_fstypes (GPtrArray **fstypes)
 return a list of filesystem types that may be used as input to alp_volumesvcs_makefs Other formats MAY be supported for mounting a pre-formated volume, but only these may be used to format a volume ON the ALP device.
alp_status_t alp_volumesvcs_makefs (const gchar *device_udi, const gchar *name, const gchar *fstype)
 Initialzie a volume, Create a 1 part partition table and make a msdos file system in it.
alp_status_t alp_volumesvcs_bind (const gchar *name, const gchar *path)
 Mount a directory as if it were a file system (bind mounts) This entry will be assgined a udi which may be looked up in fsinfo and explicitly umounted but the entry can not be removed until the volumesvcsd server is restarted.
alp_status_t alp_volumesvcs_rename_volume (const char *udi, const gchar *name)
 Reanme a volume. The volume name (part of the vfat format) is changed. The volume can be mounted or unmounted when the call is made. If mounted it will be UNmounted as part of the call. The renamed volume is always mounted on return from this call (barrying errors that prevent such).


Generated on Sat Dec 16 20:29:48 2006 for hiker-0.9 by  doxygen 1.4.4