![]() |
![]() |
![]() |
Storaged Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Signals |
StoragedFstabEntry; const gchar * storaged_fstab_entry_get_fsname (StoragedFstabEntry *entry
); const gchar * storaged_fstab_entry_get_dir (StoragedFstabEntry *entry
); const gchar * storaged_fstab_entry_get_fstype (StoragedFstabEntry *entry
); const gchar * storaged_fstab_entry_get_opts (StoragedFstabEntry *entry
); gint storaged_fstab_entry_get_freq (StoragedFstabEntry *entry
); gint storaged_fstab_entry_get_passno (StoragedFstabEntry *entry
); gint storaged_fstab_entry_compare (StoragedFstabEntry *entry
,StoragedFstabEntry *other_entry
); StoragedFstabMonitor; StoragedFstabMonitor * storaged_fstab_monitor_new (void
); GList * storaged_fstab_monitor_get_entries (StoragedFstabMonitor *monitor
);
typedef struct _StoragedFstabEntry StoragedFstabEntry;
The StoragedFstabEntry structure contains only private data and should only be accessed using the provided API.
const gchar * storaged_fstab_entry_get_fsname (StoragedFstabEntry *entry
);
Gets the fsname field of entry
.
|
A StoragedFstabEntry. |
Returns : |
The fsname field. |
const gchar * storaged_fstab_entry_get_dir (StoragedFstabEntry *entry
);
Gets the dir field of entry
.
|
A StoragedFstabEntry. |
Returns : |
The dir field. |
const gchar * storaged_fstab_entry_get_fstype (StoragedFstabEntry *entry
);
Gets the type field of entry
.
|
A StoragedFstabEntry. |
Returns : |
The type field. |
const gchar * storaged_fstab_entry_get_opts (StoragedFstabEntry *entry
);
Gets the opts field of entry
.
|
A StoragedFstabEntry. |
Returns : |
The opts field. |
gint storaged_fstab_entry_get_freq (StoragedFstabEntry *entry
);
Gets the freq field of entry
.
|
A StoragedFstabEntry. |
Returns : |
The freq field. |
gint storaged_fstab_entry_get_passno (StoragedFstabEntry *entry
);
Gets the passno field of entry
.
|
A StoragedFstabEntry. |
Returns : |
The passno field. |
gint storaged_fstab_entry_compare (StoragedFstabEntry *entry
,StoragedFstabEntry *other_entry
);
Comparison function for comparing two StoragedFstabEntry objects.
|
A StoragedFstabEntry |
|
Another StoragedFstabEntry. |
Returns : |
Negative value if entry < other_entry ; zero if entry = other_entry ; positive value if entry > other_entry . |
typedef struct _StoragedFstabMonitor StoragedFstabMonitor;
The StoragedFstabMonitor structure contains only private data and should only be accessed using the provided API.
StoragedFstabMonitor * storaged_fstab_monitor_new (void
);
Creates a new StoragedFstabMonitor object.
Signals are emitted in the
Returns : |
A StoragedFstabMonitor. Free with g_object_unref() . |
GList * storaged_fstab_monitor_get_entries (StoragedFstabMonitor *monitor
);
Gets all /etc/fstab entries
|
A StoragedFstabMonitor. |
Returns : |
A list of StoragedFstabEntry objects that must be freed with g_list_free() after each element has been freed with g_object_unref() . [transfer full][element-type StoragedFstabEntry]
|
"entry-added"
signalvoid user_function (StoragedFstabMonitor *monitor,
StoragedFstabEntry *entry,
gpointer user_data) : Has Details
Emitted when a fstab entry is added.
This signal is emitted in the
thread-default main loop
that monitor
was created in.
|
A StoragedFstabMonitor. |
|
The StoragedFstabEntry that was added. |
|
user data set when the signal handler was connected. |
"entry-removed"
signalvoid user_function (StoragedFstabMonitor *monitor,
StoragedFstabEntry *entry,
gpointer user_data) : Has Details
Emitted when a fstab entry is removed.
This signal is emitted in the
thread-default main loop
that monitor
was created in.
|
A StoragedFstabMonitor. |
|
The StoragedFstabEntry that was removed. |
|
user data set when the signal handler was connected. |