Top |
const gchar * | udisks_fstab_entry_get_fsname () |
const gchar * | udisks_fstab_entry_get_dir () |
const gchar * | udisks_fstab_entry_get_fstype () |
const gchar * | udisks_fstab_entry_get_opts () |
gint | udisks_fstab_entry_get_freq () |
gint | udisks_fstab_entry_get_passno () |
gint | udisks_fstab_entry_compare () |
UDisksFstabMonitor * | udisks_fstab_monitor_new () |
GList * | udisks_fstab_monitor_get_entries () |
const gchar *
udisks_fstab_entry_get_fsname (UDisksFstabEntry *entry
);
Gets the fsname field of entry
.
const gchar *
udisks_fstab_entry_get_dir (UDisksFstabEntry *entry
);
Gets the dir field of entry
.
const gchar *
udisks_fstab_entry_get_fstype (UDisksFstabEntry *entry
);
Gets the type field of entry
.
const gchar *
udisks_fstab_entry_get_opts (UDisksFstabEntry *entry
);
Gets the opts field of entry
.
gint
udisks_fstab_entry_get_freq (UDisksFstabEntry *entry
);
Gets the freq field of entry
.
gint
udisks_fstab_entry_get_passno (UDisksFstabEntry *entry
);
Gets the passno field of entry
.
gint udisks_fstab_entry_compare (UDisksFstabEntry *entry
,UDisksFstabEntry *other_entry
);
Comparison function for comparing two UDisksFstabEntry objects.
UDisksFstabMonitor *
udisks_fstab_monitor_new (void
);
Creates a new UDisksFstabMonitor object.
Signals are emitted in the
GList *
udisks_fstab_monitor_get_entries (UDisksFstabMonitor *monitor
);
Gets all /etc/fstab entries
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]
typedef struct _UDisksFstabEntry UDisksFstabEntry;
The UDisksFstabEntry structure contains only private data and should only be accessed using the provided API.
typedef struct _UDisksFstabMonitor UDisksFstabMonitor;
The UDisksFstabMonitor structure contains only private data and should only be accessed using the provided API.
“entry-added”
signalvoid user_function (UDisksFstabMonitor *monitor, UDisksFstabEntry *entry, gpointer user_data)
Emitted when a fstab entry is added.
This signal is emitted in the
thread-default main loopthat monitor
was created in.
monitor |
||
entry |
The UDisksFstabEntry that was added. |
|
user_data |
user data set when the signal handler was connected. |
Flags: Has Details
“entry-removed”
signalvoid user_function (UDisksFstabMonitor *monitor, UDisksFstabEntry *entry, gpointer user_data)
Emitted when a fstab entry is removed.
This signal is emitted in the
thread-default main loopthat monitor
was created in.
monitor |
||
entry |
The UDisksFstabEntry that was removed. |
|
user_data |
user data set when the signal handler was connected. |
Flags: Has Details