![]() |
![]() |
![]() |
UDisks Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Signals |
UDisksCrypttabEntry; const gchar * udisks_crypttab_entry_get_name (UDisksCrypttabEntry *entry
); const gchar * udisks_crypttab_entry_get_device (UDisksCrypttabEntry *entry
); const gchar * udisks_crypttab_entry_get_passphrase_path (UDisksCrypttabEntry *entry
); const gchar * udisks_crypttab_entry_get_options (UDisksCrypttabEntry *entry
); gint udisks_crypttab_entry_compare (UDisksCrypttabEntry *entry
,UDisksCrypttabEntry *other_entry
); UDisksCrypttabMonitor; UDisksCrypttabMonitor * udisks_crypttab_monitor_new (void
); GList * udisks_crypttab_monitor_get_entries (UDisksCrypttabMonitor *monitor
);
typedef struct _UDisksCrypttabEntry UDisksCrypttabEntry;
The UDisksCrypttabEntry structure contains only private data and should only be accessed using the provided API.
const gchar * udisks_crypttab_entry_get_name (UDisksCrypttabEntry *entry
);
Gets the name field of entry
.
|
A UDisksCrypttabEntry. |
Returns : |
The name field. |
const gchar * udisks_crypttab_entry_get_device (UDisksCrypttabEntry *entry
);
Gets the device field of entry
.
|
A UDisksCrypttabEntry. |
Returns : |
The device field. |
const gchar * udisks_crypttab_entry_get_passphrase_path
(UDisksCrypttabEntry *entry
);
Gets the passphrase path field of entry
.
|
A UDisksCrypttabEntry. |
Returns : |
The passphrase path field. |
const gchar * udisks_crypttab_entry_get_options (UDisksCrypttabEntry *entry
);
Gets the options field of entry
.
|
A UDisksCrypttabEntry. |
Returns : |
The options field. |
gint udisks_crypttab_entry_compare (UDisksCrypttabEntry *entry
,UDisksCrypttabEntry *other_entry
);
Comparison function for comparing two UDisksCrypttabEntry objects.
|
A UDisksCrypttabEntry |
|
Another UDisksCrypttabEntry. |
Returns : |
Negative value if entry < other_entry ; zero if entry = other_entry ; positive value if entry > other_entry . |
typedef struct _UDisksCrypttabMonitor UDisksCrypttabMonitor;
The UDisksCrypttabMonitor structure contains only private data and should only be accessed using the provided API.
UDisksCrypttabMonitor * udisks_crypttab_monitor_new (void
);
Creates a new UDisksCrypttabMonitor object.
Signals are emitted in the
Returns : |
A UDisksCrypttabMonitor. Free with g_object_unref() . |
GList * udisks_crypttab_monitor_get_entries (UDisksCrypttabMonitor *monitor
);
Gets all /etc/crypttab entries
|
A UDisksCrypttabMonitor. |
Returns : |
A list of UDisksCrypttabEntry objects that must be freed with g_list_free() after each element has been freed with g_object_unref() . [transfer full][element-type UDisksCrypttabEntry]
|
"entry-added"
signalvoid user_function (UDisksCrypttabMonitor *monitor,
UDisksCrypttabEntry *entry,
gpointer user_data) : Has Details
Emitted when a crypttab entry is added.
This signal is emitted in the
thread-default main loop
that monitor
was created in.
|
A UDisksCrypttabMonitor. |
|
The UDisksCrypttabEntry that was added. |
|
user data set when the signal handler was connected. |
"entry-removed"
signalvoid user_function (UDisksCrypttabMonitor *monitor,
UDisksCrypttabEntry *entry,
gpointer user_data) : Has Details
Emitted when a crypttab entry is removed.
This signal is emitted in the
thread-default main loop
that monitor
was created in.
|
A UDisksCrypttabMonitor. |
|
The UDisksCrypttabEntry that was removed. |
|
user data set when the signal handler was connected. |