![]() |
![]() |
![]() |
Tracker Common Library Reference Manual | ![]() |
---|---|---|---|---|
Top | Description |
TrackerStorage; TrackerStorage * tracker_storage_new (void); GList * tracker_storage_get_mounted_directory_roots (TrackerStorage *storage); GList * tracker_storage_get_removable_device_roots (TrackerStorage *storage); GList * tracker_storage_get_removable_device_udis (TrackerStorage *storage); const gchar * tracker_storage_udi_get_mount_point (TrackerStorage *storage, const gchar *udi); gboolean tracker_storage_udi_get_is_mounted (TrackerStorage *storage, const gchar *udi); gboolean tracker_storage_uri_is_on_removable_device (TrackerStorage *storage, const gchar *uri, gchar **mount_point, gboolean *available); const gchar* tracker_storage_get_volume_udi_for_file (TrackerStorage *storage, GFile *file);
TrackerStorage * tracker_storage_new (void);
Creates a new instance of TrackerStorage.
Returns : |
The newly created TrackerStorage. |
GList * tracker_storage_get_mounted_directory_roots (TrackerStorage *storage);
Returns a Glist of strings containing the root directories for mounted devices.
Each element must be freed using g_free()
and the list itself using g_list_free()
.
|
A TrackerStorage |
Returns : |
The list of root directories. |
GList * tracker_storage_get_removable_device_roots (TrackerStorage *storage);
Returns a GList of strings containing the root directories for removable devices.
Each element must be freed using g_free()
and the list itself through g_list_free()
.
|
A TrackerStorage |
Returns : |
The list of root directories. |
GList * tracker_storage_get_removable_device_udis (TrackerStorage *storage);
Returns a GList of strings containing the UDI for removable devices.
Each element is owned by the GHashTable internally, the list
itself through should be freed using g_list_free()
.
|
A TrackerStorage |
Returns : |
The list of UDIs. |
const gchar * tracker_storage_udi_get_mount_point (TrackerStorage *storage, const gchar *udi);
|
A TrackerStorage |
|
A gboolean |
Returns : |
The TRUE if udi is mounted or FALSE if it isn't.
|
gboolean tracker_storage_udi_get_is_mounted (TrackerStorage *storage, const gchar *udi);
|
|
|
|
Returns : |
gboolean tracker_storage_uri_is_on_removable_device (TrackerStorage *storage, const gchar *uri, gchar **mount_point, gboolean *available);
|
|
|
|
|
|
|
|
Returns : |
const gchar* tracker_storage_get_volume_udi_for_file (TrackerStorage *storage, GFile *file);
Returns the UDI of the removable device for file
|
A TrackerStorage |
|
a file |
Returns : |
Returns the UDI of the removable device for file
|