![]() |
![]() |
![]() |
UDisks Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Signals |
UDisksFstabEntry; const gchar * udisks_fstab_entry_get_fsname (UDisksFstabEntry *entry
); const gchar * udisks_fstab_entry_get_dir (UDisksFstabEntry *entry
); const gchar * udisks_fstab_entry_get_fstype (UDisksFstabEntry *entry
); const gchar * udisks_fstab_entry_get_opts (UDisksFstabEntry *entry
); gint udisks_fstab_entry_get_freq (UDisksFstabEntry *entry
); gint udisks_fstab_entry_get_passno (UDisksFstabEntry *entry
); gint udisks_fstab_entry_compare (UDisksFstabEntry *entry
,UDisksFstabEntry *other_entry
); UDisksFstabMonitor; UDisksFstabMonitor * udisks_fstab_monitor_new (void
); GList * udisks_fstab_monitor_get_entries (UDisksFstabMonitor *monitor
);
typedef struct _UDisksFstabEntry UDisksFstabEntry;
The UDisksFstabEntry structure contains only private data and should only be accessed using the provided API.
const gchar * udisks_fstab_entry_get_fsname (UDisksFstabEntry *entry
);
Gets the fsname field of entry
.
|
A UDisksFstabEntry. |
Returns : |
The fsname field. |
const gchar * udisks_fstab_entry_get_dir (UDisksFstabEntry *entry
);
Gets the dir field of entry
.
|
A UDisksFstabEntry. |
Returns : |
The dir field. |
const gchar * udisks_fstab_entry_get_fstype (UDisksFstabEntry *entry
);
Gets the type field of entry
.
|
A UDisksFstabEntry. |
Returns : |
The type field. |
const gchar * udisks_fstab_entry_get_opts (UDisksFstabEntry *entry
);
Gets the opts field of entry
.
|
A UDisksFstabEntry. |
Returns : |
The opts field. |
gint udisks_fstab_entry_get_freq (UDisksFstabEntry *entry
);
Gets the freq field of entry
.
|
A UDisksFstabEntry. |
Returns : |
The freq field. |
gint udisks_fstab_entry_get_passno (UDisksFstabEntry *entry
);
Gets the passno field of entry
.
|
A UDisksFstabEntry. |
Returns : |
The passno field. |
gint udisks_fstab_entry_compare (UDisksFstabEntry *entry
,UDisksFstabEntry *other_entry
);
Comparison function for comparing two UDisksFstabEntry objects.
|
A UDisksFstabEntry |
|
Another UDisksFstabEntry. |
Returns : |
Negative value if entry < other_entry ; zero if entry = other_entry ; positive value if entry > other_entry . |
typedef struct _UDisksFstabMonitor UDisksFstabMonitor;
The UDisksFstabMonitor structure contains only private data and should only be accessed using the provided API.
UDisksFstabMonitor * udisks_fstab_monitor_new (void
);
Creates a new UDisksFstabMonitor object.
Signals are emitted in the
Returns : |
A UDisksFstabMonitor. Free with g_object_unref() . |
GList * udisks_fstab_monitor_get_entries (UDisksFstabMonitor *monitor
);
Gets all /etc/fstab entries
|
A UDisksFstabMonitor. |
Returns : |
A list of UDisksFstabEntry objects that must be freed with g_list_free() after each element has been freed with g_object_unref() . [transfer full][element-type UDisksFstabEntry]
|
"entry-added"
signalvoid user_function (UDisksFstabMonitor *monitor,
UDisksFstabEntry *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 UDisksFstabMonitor. |
|
The UDisksFstabEntry that was added. |
|
user data set when the signal handler was connected. |
"entry-removed"
signalvoid user_function (UDisksFstabMonitor *monitor,
UDisksFstabEntry *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 UDisksFstabMonitor. |
|
The UDisksFstabEntry that was removed. |
|
user data set when the signal handler was connected. |