| Tracker Common Library Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | ||||
#include <libtracker-common/tracker-storage.h>
TrackerStorage;
TrackerStorage * tracker_storage_new (void);
GList * tracker_storage_get_mounted_directory_roots
(TrackerStorage *storage);
GList * tracker_storage_get_removable_device_roots
(TrackerStorage *storage);
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. |