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

volumesvcs_client.c File Reference


Detailed Description

the client side of RPC to the server

#include <stdio.h>
#include <unistd.h>
#include <hiker/volumesvcs.h>
#include <hiker/prv/volumesvcs_prv.h>
#include <hiker/ipc.h>
#include <hiker/fail.h>
#include <string.h>

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_array_free (GArray *fsinfo_array)
 Free the array of AlpVolumeSvcsFSinfo struct's.
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_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_bind (const gchar *name, const char *path)
 Mount a dir as if it was a device.
alp_status_t alp_volumesvcs_rename_volume (const gchar *udi, const char *name)
 rename 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.


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