#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_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_NOTIFY_EVENT_DISC_SPACE_CRITICAL "/alp/volumesvcs/disc_space_crtical" |
| disc space critical. | |
| #define | ALP_NOTIFY_EVENT_DISC_SPACE_LOW "/alp/volumesvcs/disc_space_low" |
| disc space is low. | |
| #define | ALP_NOTIFY_EVENT_DISC_SPACE_OK "/alp/volumesvcs/disc_space_ok" |
| disc space ok. | |
| #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_STATUS_VOLUMESVCS_DEVICE_BUSY ( ALP_CLASS_VOLUMESVCS | 0x03) |
| target device or bindmount could not be unmounted as it is in active use | |
| #define | ALP_STATUS_VOLUMESVCS_EBADF ( ALP_CLASS_VOLUMESVCS | 0x08) |
| The file discriptor refers to a file that was opened without write permission. | |
| #define | ALP_STATUS_VOLUMESVCS_EFBIG ( ALP_CLASS_VOLUMESVCS | 0x08) |
| The value of offset+ len is greater than the maximum file size. | |
| #define | ALP_STATUS_VOLUMESVCS_EINTR ( ALP_CLASS_VOLUMESVCS | 0x09) |
| signal was caught during execution | |
| #define | ALP_STATUS_VOLUMESVCS_EINVALUE ( ALP_CLASS_VOLUMESVCS | 0x07) |
| len is zero or offset is < zero. | |
| #define | ALP_STATUS_VOLUMESVCS_EIO ( ALP_CLASS_VOLUMESVCS | 0x0a) |
| An I/O error occurred while reading from or writing to a file system. | |
| #define | ALP_STATUS_VOLUMESVCS_ENODEV ( ALP_CLASS_VOLUMESVCS | 0x0b) |
| The File Discriptor argument does not refer to a regular file. | |
| #define | ALP_STATUS_VOLUMESVCS_ESPIPE ( ALP_CLASS_VOLUMESVCS | 0x0c) |
| The fd argument is associated with a pipe or FIFO.OL. | |
| #define | ALP_STATUS_VOLUMESVCS_INVALID_FD ( ALP_CLASS_VOLUMESVCS | 0x06) |
| The file discriptor is invalid. | |
| #define | ALP_STATUS_VOLUMESVCS_INVALID_FP ( ALP_CLASS_VOLUMESVCS | 0x0e) |
| Invalid file path, not able to get the real path for the file . | |
| #define | ALP_STATUS_VOLUMESVCS_INVALID_MP ( ALP_CLASS_VOLUMESVCS | 0x0d) |
| The mount point does not exist. | |
| #define | ALP_STATUS_VOLUMESVCS_INVALID_PARAMETER ( ALP_CLASS_VOLUMESVCS | 0x01) |
| bad input | |
| #define | ALP_STATUS_VOLUMESVCS_NO_FREE_SPACE ( ALP_CLASS_VOLUMESVCS | 0x05) |
| Free Space not available on disc. | |
| #define | ALP_STATUS_VOLUMESVCS_NOT_FOUND ( ALP_CLASS_VOLUMESVCS | 0x02) |
| target device or volume could not be found | |
| #define | ALP_STATUS_VOLUMESVCS_OK ALP_STATUS_OK |
| operation completed sucessfully | |
| #define | ALP_STATUS_VOLUMESVCS_PROVIDER_ERROR ( ALP_CLASS_VOLUMESVCS | 0x04) |
| An error occurred while enumerating the volumes. | |
| #define | ALP_SYSTEM_SLOTS_DEV_PATH "/dev_path" |
| the /dev/name to match against (may be incomplete /dev/mmcblk matches /dev/mmcblk0...) | |
| #define | ALP_SYSTEM_SLOTS_NAME "/name" |
| the name to be used for this slot | |
| #define | ALP_SYSTEM_SLOTS_PREFIX "/dev/slots/" |
| the head of the tree for slot names | |
| #define | ALP_VOLUMESVCS_FLAGS_BINDMOUNT 0x1 |
| entry represents a bind mount not necessarily a real device | |
| #define | ALP_VOLUMESVCS_FLAGS_HIDDEN 0x4 |
| entry represents an entry to be hidden from users | |
| #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_READONLY 0x8 |
| entry represents an read-only partition or disk | |
| #define | ALP_VOLUMESVCS_HIDEVOL_PATH ALP_EXT_SYSPATH_HIDDEN_VOL |
| if this exists the volume is not exposed to users | |
Typedefs | |
| typedef char * | AlpNotifyEventDeviceAdded |
| notification detail for a device added event | |
| typedef char * | AlpNotifyEventdeviceRemoved |
| notification detail for a device removed event | |
| typedef char * | AlpNotifyEventVolumeAdded |
| notification detail for a volume added event | |
| typedef char * | AlpNotifyEventVolumeRemoved |
| notification detail for a volume removed event | |
| typedef _AlpVolumeSvcsFSinfo | AlpVolumeSvcsFSinfo |
| File System info block, AlpVolumesvcsFSinfo returns a GArray of these. | |
| typedef enum _AlpVolumeSvcsKind | AlpVolumeSvcsKind |
| As a member, this is an enum specifying whether a particular volume is internal, external, or ROM. As a parameter to alp_volumesvcs_get_volumes, this tells volumesvcs what set of volumes the caller wants to get back. | |
Enumerations | |
| enum | _AlpVolumeSvcsKind { ALP_VOLUMESVCS_KIND_INTERNAL = 1 << 1, ALP_VOLUMESVCS_KIND_EXTERNAL = 1 << 2, ALP_VOLUMESVCS_KIND_ROM = 1 << 3, ALP_VOLUMESVCS_KIND_TMP = 1 << 4, ALP_VOLUMESVCS_KIND_ALL = ~0 } |
| As a member, this is an enum specifying whether a particular volume is internal, external, or ROM. As a parameter to alp_volumesvcs_get_volumes, this tells volumesvcs what set of volumes the caller wants to get back. More... | |
Copyright © 1999-2008 ACCESS CO., LTD. All rights reserved.