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

volumesvcs_types.h File Reference


Detailed Description

Volume Services public header file for types.

#include <glib.h>
#include <hiker/syspaths.h>

Go to the source code of this file.

Data Structures

struct  _AlpVolumeSvcsFSinfo
 File System info block, AlpVolumesvcsFSinfo returns a GArray of these. More...

Defines

#define ALP_STATUS_VOLUMESVCS_OK   ALP_STATUS_OK
 operation completed sucessfully
#define ALP_STATUS_VOLUMESVCS_INVALID_PARAMETER   ( ALP_CLASS_VOLUMESVCS | 0x01)
 bad input
#define ALP_STATUS_VOLUMESVCS_NOT_FOUND   ( ALP_CLASS_VOLUMESVCS | 0x02)
 target device or volume could not be found
#define ALP_STATUS_VOLUMESVCS_DEVICE_BUSY   ( ALP_CLASS_VOLUMESVCS | 0x03)
 target device or bindmount could not be unmounted as it is in active use
#define ALP_NOTIFY_EVENT_VOLUME_ADDED   "/alp/volumesvcs/volume_added"
 a card has been inserted and the volumes on it mounted
#define ALP_NOTIFY_EVENT_VOLUME_REMOVED   "/alp/volumesvcs/volume_removed"
 a card with mounted volumes has been removed
#define ALP_NOTIFY_EVENT_DEVICE_ADDED   "/alp/volumesvcs/device_added"
 a card has been inserted that is either blank or the file system on it ws not recognized
#define ALP_NOTIFY_EVENT_DEVICE_REMOVED   "/alp/volumesvcs/device_removed"
 a card was removed that did not contain mounted file systems
#define ALP_SYSTEM_SLOTS_PREFIX   "/system/slots/"
 the head of the tree for slot names
#define ALP_SYSTEM_SLOTS_NAME   "/name"
 the name to be used for this slot
#define ALP_SYSTEM_SLOTS_DEV_PATH   "/dev_path"
 the /dev/name to match against (may be incomplete /dev/mmcblk matches /dev/mmcblk0...)
#define ALP_VOLUMESVCS_HIDEVOL_PATH   ALP_EXT_SYSPATH_HIDDEN_VOL
 if this exists the volume is not exposed to users
#define ALP_VOLUMESVCS_FLAGS_BINDMOUNT   0x1
 entry represents a bind mount not necessarily a real device
#define ALP_VOLUMESVCS_FLAGS_PARTITION   0x2
 entry represents a partition with or witout fs as opposed to an entire disk (disk are only shown if there are no partitions on them).
#define ALP_VOLUMESVCS_FLAGS_HIDDEN   0x4
 entry represents an entry to be hidden from users

Typedefs

typedef char * AlpNotifyEventVolumeAdded
 notification detail for a volume added event
typedef char * AlpNotifyEventVolumeRemoved
 notification detail for a volume removed event
typedef char * AlpNotifyEventDeviceAdded
 notification detail for a device added event
typedef char * AlpNotifyEventdeviceRemoved
 notification detail for a device removed event
typedef _AlpVolumeSvcsFSinfo AlpVolumeSvcsFSinfo
 File System info block, AlpVolumesvcsFSinfo returns a GArray of these.


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