aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJavier <dev.git@javispedro.com>2018-03-10 17:44:47 +0100
committerJavier <dev.git@javispedro.com>2018-03-10 17:45:40 +0100
commit037e989c3e618bef8120ba2df3a22abc57f9eaf8 (patch)
tree9a62b0972c65008199e2fffdaa32b5774211a0a9
parent07dd3830af6c920ac51958df3b688b2c9830fa00 (diff)
downloadrodisc-037e989c3e618bef8120ba2df3a22abc57f9eaf8.tar.gz
rodisc-037e989c3e618bef8120ba2df3a22abc57f9eaf8.zip
drop udisks dependency (instead use gio volume monitor)
-rw-r--r--Makefile7
-rw-r--r--README.md3
-rw-r--r--file.c23
-rw-r--r--mdns.c186
-rw-r--r--monitor.c212
-rw-r--r--rodisc.c647
-rw-r--r--rodisc.h61
-rw-r--r--server.c280
-rw-r--r--udisks-device.c20198
-rw-r--r--udisks-device.h1798
-rw-r--r--udisks.c7755
-rw-r--r--udisks.h1043
12 files changed, 802 insertions, 31411 deletions
diff --git a/Makefile b/Makefile
index 9884e35..27041bb 100644
--- a/Makefile
+++ b/Makefile
@@ -1,14 +1,15 @@
-CFLAGS?=-O0 -g
+CFLAGS?=-O2 -g
+LDFLAGS?=
CC?=gcc
INSTALL?=install
-RODISC_PKGCONFIG:=glib-2.0 gobject-2.0 gio-unix-2.0 libsoup-2.4 avahi-gobject
+RODISC_PKGCONFIG:=glib-2.0 gobject-2.0 gio-unix-2.0 libsoup-2.4 avahi-client avahi-gobject
RODISC_CFLAGS:=-Wall $(shell pkg-config --cflags $(RODISC_PKGCONFIG))
RODISC_LIBS:=$(shell pkg-config --libs $(RODISC_PKGCONFIG))
all: rodiscd
-rodiscd: rodisc.o udisks.o udisks-device.o
+rodiscd: rodisc.o server.o mdns.o file.o monitor.o
$(CC) $(LDFLAGS) -o $@ $+ $(LIBS) $(RODISC_LIBS)
%.o: %.c
diff --git a/README.md b/README.md
index 1df7e2f..e56d3e6 100644
--- a/README.md
+++ b/README.md
@@ -1,7 +1,7 @@
rodisc
======
-This very small and hacky daemon (done in ~2 hours) that will export all optical
+This very small and hacky daemon (done in ~3 hours) that will export all optical
discs found in your Linux box (as detected by udisks) using the Apple DVD or CD
Sharing protocol.
@@ -11,7 +11,6 @@ Dependencies
* GLib (recent, with GIO)
* Avahi (avahi-gobject)
* Libsoup
-* UDisks
Usage
-----
diff --git a/file.c b/file.c
new file mode 100644
index 0000000..dc2d14d
--- /dev/null
+++ b/file.c
@@ -0,0 +1,23 @@
+#include "rodisc.h"
+
+void file_add_disc(const char *path)
+{
+ static int num = 0;
+ GFile *file = g_file_new_for_path(path);
+ GFileInfo *info = g_file_query_info(file,
+ G_FILE_ATTRIBUTE_STANDARD_DISPLAY_NAME ","
+ G_FILE_ATTRIBUTE_STANDARD_SIZE,
+ G_FILE_QUERY_INFO_NONE, NULL, NULL);
+ g_return_if_fail(info);
+ const int my_num = ++num;
+ RODisc *disc = rodisc_new();
+ disc->id = g_strdup_printf("file%d", my_num);
+ disc->uri = g_strdup_printf("/file%d", my_num);
+ disc->file_path = g_file_get_path(file);
+ disc->file = file;
+ disc->label = g_strdup(g_file_info_get_display_name(info));
+ disc->type = RODISC_TYPE_GENERIC;
+ disc->size = g_file_info_get_size(info);
+ rodisc_export(disc);
+ g_object_unref(info);
+}
diff --git a/mdns.c b/mdns.c
new file mode 100644
index 0000000..b4def8d
--- /dev/null
+++ b/mdns.c
@@ -0,0 +1,186 @@
+#include "rodisc.h"
+
+#include <avahi-gobject/ga-client.h>
+#include <avahi-gobject/ga-entry-group.h>
+
+static GaClient *mdns_client;
+static GaEntryGroup *mdns_group;
+static GaEntryGroupService *mdns_service;
+
+static guint disc_change_count = 0;
+
+static void mdns_service_freeze()
+{
+ g_return_if_fail(mdns_service);
+ ga_entry_group_service_freeze(mdns_service);
+}
+
+static void mdns_service_thaw()
+{
+ GError *error = NULL;
+ g_return_if_fail(mdns_service);
+ if (!ga_entry_group_service_thaw(mdns_service, &error)) {
+ g_warning("Could not update service TXT entries: %s", error->message);
+ g_error_free(error);
+ }
+}
+
+static void mdns_service_update()
+{
+ GError *error = NULL;
+
+ g_return_if_fail(mdns_service);
+
+ // "sys=waMA=00:00:00:00:00:00,adVF=0x4,adDT=0x2,adCC=0"
+ // waMA = MAC address
+ // adVF = Volume flags (0x200 "ask me first")
+ // adDT = Supported media?
+ // adCC = Disc change count?
+
+ guint flags = 0;
+ guint media = 2;
+ gchar *record =
+ g_strdup_printf("waMA=00:00:00:00:00:00,adVF=0x%x,adDT=0x%x,adCC=%u",
+ flags, media, disc_change_count);
+
+ if (!ga_entry_group_service_set(mdns_service, "sys", record, &error))
+ {
+ g_warning("Could not update main TXT record: %s", error->message);
+ g_error_free(error);
+ }
+
+ g_free(record);
+}
+
+static void mdns_service_update_disc(RODisc *disc)
+{
+ GError *error = NULL;
+
+ g_return_if_fail(mdns_service);
+
+ // "CdRom0=adVN=DiscLabel,adVT=public.cd-media"
+ gchar *record = g_strdup_printf("adVN=%s,adVT=%s", disc->label, disc->type);
+
+ const gchar *uri_basename = &disc->uri[1]; // Skip first '/'
+ if (!ga_entry_group_service_set(mdns_service, uri_basename, record, &error))
+ {
+ g_warning("Could not update TXT record for disc at '%s': %s",
+ disc->uri, error->message);
+ g_error_free(error);
+ }
+
+ g_free(record);
+}
+
+static void mdns_service_remove_disc(RODisc *disc)
+{
+ GError *error = NULL;
+ g_return_if_fail(mdns_service);
+ const gchar *uri_basename = &disc->uri[1];
+ if (!ga_entry_group_service_remove_key(mdns_service, uri_basename, &error)) {
+ g_warning("Could not update TXT record for disc at '%s': %s",
+ disc->uri, error->message);
+ g_error_free(error);
+ }
+}
+
+static void mdns_register_service()
+{
+ GError * error = NULL;
+ if (!mdns_group) {
+ mdns_group = ga_entry_group_new();
+
+ if (!ga_entry_group_attach(mdns_group, mdns_client, &error)) {
+ g_warning("Could not attach MDNS group to client: %s", error->message);
+ g_error_free(error);
+ return;
+ }
+ }
+
+ const gchar *name = avahi_client_get_host_name(mdns_client->avahi_client);
+ const unsigned int port = server_get_port();
+ mdns_service = ga_entry_group_add_service(mdns_group,
+ name, RODISC_MDNS_SERVICE,
+ port, &error,
+ NULL);
+ if (!mdns_service) {
+ g_warning("Could not create service: %s", error->message);
+ g_error_free(error);
+ return;
+ }
+
+ // Create TXT records, disc records, etc.
+ mdns_service_update();
+ rodisc_refresh_all();
+
+ if (!ga_entry_group_commit(mdns_group, &error)) {
+ g_warning("Could not announce MDNS service: %s", error->message);
+ g_error_free(error);
+ return;
+ }
+}
+
+static void mdns_client_state_changed_cb(GaClient *client, GaClientState state, gpointer user_data)
+{
+ switch (state) {
+ case GA_CLIENT_STATE_FAILURE:
+ g_warning("MDNS client state failure");
+ break;
+ case GA_CLIENT_STATE_S_RUNNING:
+ g_debug("MDNS client found server running");
+ mdns_register_service();
+ break;
+ case GA_CLIENT_STATE_S_COLLISION:
+ case GA_CLIENT_STATE_S_REGISTERING:
+ g_message("MDNS collision");
+ if (mdns_group) {
+ ga_entry_group_reset(mdns_group, NULL);
+ mdns_service = 0;
+ }
+ break;
+ default:
+ // Do nothing
+ break;
+ }
+}
+
+bool mdns_start()
+{
+ GError *error = NULL;
+
+ mdns_client = ga_client_new(GA_CLIENT_FLAG_NO_FLAGS);
+
+ g_signal_connect(mdns_client, "state-changed",
+ G_CALLBACK(mdns_client_state_changed_cb), NULL);
+
+ if (!ga_client_start(mdns_client, &error)) {
+ g_printerr("Could not start MDNS client: %s\n", error->message);
+ g_error_free(error);
+ return false;
+ }
+
+ return true;
+}
+
+void mdns_stop()
+{
+ g_object_unref(mdns_client);
+}
+
+void mdns_publish(RODisc *disc)
+{
+ mdns_service_freeze();
+ disc_change_count++;
+ mdns_service_update_disc(disc);
+ mdns_service_update();
+ mdns_service_thaw();
+}
+
+void mdns_unpublish(RODisc *disc)
+{
+ mdns_service_freeze();
+ disc_change_count++;
+ mdns_service_remove_disc(disc);
+ mdns_service_update();
+ mdns_service_thaw();
+}
diff --git a/monitor.c b/monitor.c
new file mode 100644
index 0000000..13214bf
--- /dev/null
+++ b/monitor.c
@@ -0,0 +1,212 @@
+#include "rodisc.h"
+
+#include <gio/gio.h>
+
+static GVolumeMonitor *monitor;
+
+static bool guess_volume_type(GVolume *volume, const char **type)
+{
+ GIcon *icon = g_volume_get_icon(volume);
+ g_return_val_if_fail(G_IS_THEMED_ICON(icon), false);
+ GThemedIcon *ticon = G_THEMED_ICON(icon);
+
+ const gchar * const * names = g_themed_icon_get_names(ticon);
+ for (const gchar * const * name = names; *name; ++name) {
+ if (g_str_has_prefix(*name, "media-optical")) {
+ if (g_str_has_prefix(*name, "media-optical-dvd")) {
+ *type = RODISC_TYPE_DVD;
+ } else if (g_str_has_prefix(*name, "media-optical-cd")) {
+ *type = RODISC_TYPE_CD;
+ } else {
+ *type = RODISC_TYPE_GENERIC;
+ }
+ return true;
+ }
+ }
+
+ return false;
+}
+
+static bool set_disc_attrs(RODisc *disc, GVolume *volume)
+{
+ g_free(disc->label);
+
+ disc->label = g_volume_get_identifier(volume, G_VOLUME_IDENTIFIER_KIND_LABEL);
+ if (!disc->label || disc->label[0] == '\0') {
+ g_free(disc->label);
+ disc->label = g_volume_get_name(volume);
+ }
+ if (!disc->label || disc->label[0] == '\0') {
+ g_free(disc->label);
+ disc->label = g_strdup("Disc");
+ }
+
+ // Open file and seek to end to verify read permission and file size
+
+ GError *error = NULL;
+ GFileInputStream * stream = g_file_read(disc->file, NULL, &error);
+
+ if (!stream) {
+ g_warning("Could not open file '%s' for reading: %s",
+ disc->file_path, error->message);
+ g_error_free(error);
+ return false;
+ }
+
+ if (!g_seekable_seek(G_SEEKABLE(stream), 0, G_SEEK_END, NULL, &error)) {
+ g_warning("Could not seek in file '%s' for obtaining file size: %s",
+ disc->file_path, error->message);
+ g_error_free(error);
+ return false;
+ }
+
+ disc->size = g_seekable_tell(G_SEEKABLE(stream));
+
+ g_input_stream_close(G_INPUT_STREAM(stream), NULL, NULL);
+ g_object_unref(stream);
+
+ return true;
+}
+
+static void try_add_volume(GVolume *volume)
+{
+ const char * type;
+ if (!guess_volume_type(volume, &type)) {
+ // Ignore non-optical device
+ return;
+ }
+
+ char *device_file_path = g_volume_get_identifier(volume, G_VOLUME_IDENTIFIER_KIND_UNIX_DEVICE);
+ if (!device_file_path) {
+ return;
+ }
+
+ RODisc *disc = rodisc_new();
+
+ char *basename = g_path_get_basename(device_file_path);
+
+ disc->id = device_file_path;
+ disc->uri = g_strconcat("/", basename, NULL);
+ disc->file = g_file_new_for_path(device_file_path);
+ disc->file_path = g_file_get_path(disc->file);
+ disc->type = type;
+
+ g_free(basename);
+
+ if (set_disc_attrs(disc, volume)) {
+ rodisc_export(disc);
+ } else {
+ rodisc_destroy(disc);
+ }
+}
+
+static void try_update_volume(GVolume *volume, RODisc *disc)
+{
+ const char * type;
+ if (!guess_volume_type(volume, &type)) {
+ g_debug("no longer a optical media");
+ rodisc_remove(disc);
+ return;
+ }
+
+ disc->type = type;
+
+ if (set_disc_attrs(disc, volume)) {
+ rodisc_refresh(disc);
+ } else {
+ rodisc_remove(disc);
+ }
+}
+
+static void monitor_volume_added_cb(GVolumeMonitor *volume_monitor, GVolume *volume,
+ gpointer user_data)
+{
+ char *device_file_path = g_volume_get_identifier(volume, G_VOLUME_IDENTIFIER_KIND_UNIX_DEVICE);
+ if (!device_file_path) {
+ return;
+ }
+
+ g_debug("Volume added: %s", device_file_path);
+
+ RODisc *disc = rodisc_lookup(device_file_path);
+ if (disc) {
+ g_warning("Device already added: %s", device_file_path);
+ } else {
+ try_add_volume(volume);
+ }
+
+ g_free(device_file_path);
+}
+
+static void monitor_volume_changed_cb(GVolumeMonitor *volume_monitor, GVolume *volume,
+ gpointer user_data)
+{
+ char *device_file_path = g_volume_get_identifier(volume, G_VOLUME_IDENTIFIER_KIND_UNIX_DEVICE);
+ if (!device_file_path) {
+ return;
+ }
+
+ g_debug("Volume changed: %s", device_file_path);
+
+ RODisc *disc = rodisc_lookup(device_file_path);
+ if (disc) {
+ try_update_volume(volume, disc);
+ } else {
+ try_add_volume(volume);
+ }
+
+ g_free(device_file_path);
+}
+
+static void monitor_volume_removed_cb(GVolumeMonitor *volume_monitor, GVolume *volume,
+ gpointer user_data)
+{
+ char *device_file_path = g_volume_get_identifier(volume, G_VOLUME_IDENTIFIER_KIND_UNIX_DEVICE);
+ if (!device_file_path) {
+ return;
+ }
+
+ g_debug("Volume removed: %s", device_file_path);
+
+ RODisc *disc = rodisc_lookup(device_file_path);
+ if (disc) {
+ rodisc_remove(disc);
+ }
+
+ g_free(device_file_path);
+}
+
+static void enumerate_volumes()
+{
+ GList *volumes = g_volume_monitor_get_volumes(monitor);
+ for (GList *l = volumes; l != NULL; l = l->next) {
+ GVolume *volume = G_VOLUME(l->data);
+ try_add_volume(volume);
+ }
+ g_list_free_full(volumes, g_object_unref);
+}
+
+bool monitor_start()
+{
+ monitor = g_volume_monitor_get();
+ if (!monitor) {
+ g_warning("Could not get volume monitor");
+ return false;
+ }
+
+ g_signal_connect(monitor, "volume-added",
+ G_CALLBACK(monitor_volume_added_cb), NULL);
+ g_signal_connect(monitor, "volume-changed",
+ G_CALLBACK(monitor_volume_changed_cb), NULL);
+ g_signal_connect(monitor, "volume-removed",
+ G_CALLBACK(monitor_volume_removed_cb), NULL);
+
+ enumerate_volumes();
+
+ return true;
+}
+
+void monitor_stop()
+{
+ g_object_unref(monitor);
+}
diff --git a/rodisc.c b/rodisc.c
index a563cf1..068e937 100644
--- a/rodisc.c
+++ b/rodisc.c
@@ -1,41 +1,10 @@
#include <stdlib.h>
-#include <glib.h>
-#include <glib-object.h>
-
-#include <avahi-gobject/ga-client.h>
-#include <avahi-gobject/ga-entry-group.h>
-
-#include <libsoup/soup.h>
-
-#include "udisks.h"
-#include "udisks-device.h"
-
-#define RODISC_MDNS_SERVICE "_odisk._tcp"
-
-#define RODISC_IMAGE_MIME "application/octet-stream"
-
-#define RODISC_TYPE_GENERIC "public.optical-storage-media"
-#define RODISC_TYPE_CD "public.cd-media"
-#define RODISC_TYPE_DVD "public.dvd-media"
-#define RODISC_TYPE_BD "public.optical-storage-media"
-
-/** Buffer size for a single read() call.
- * Any request larger than this will be served in chunks. */
-#define MAX_BUFFER_SIZE (32*1024*1024UL)
+#include "rodisc.h"
static GMainLoop *main_loop;
-static SoupServer *server;
-
-static OrgFreedesktopUDisks *monitor;
-
-static GaClient *mdns_client;
-static GaEntryGroup *mdns_group;
-static GaEntryGroupService *mdns_service;
-
static GHashTable *discs;
-static guint disc_change_count = 0;
static gchar **files = NULL;
@@ -45,384 +14,12 @@ static GOptionEntry entries[] =
{ NULL }
};
-typedef struct {
- gchar *id;
- gchar *uri;
- gchar *file_path;
- GFile *file;
- gchar *label;
- const gchar *type;
- guint64 size;
-} RODisc;
-
-typedef struct {
- RODisc *disc;
- gsize start;
- gsize length;
- gpointer buffer;
- SoupMessage *msg;
- GInputStream *stream;
- GCancellable *cancel;
-} RODiscReadOp;
-
-static void mdns_service_freeze()
-{
- g_return_if_fail(mdns_service);
- ga_entry_group_service_freeze(mdns_service);
-}
-
-static void mdns_service_thaw()
-{
- GError *error = NULL;
- g_return_if_fail(mdns_service);
- if (!ga_entry_group_service_thaw(mdns_service, &error)) {
- g_warning("Could not update service TXT entries: %s", error->message);
- g_error_free(error);
- }
-}
-
-static void mdns_service_update()
-{
- GError *error = NULL;
-
- g_return_if_fail(mdns_service);
-
- // "sys=waMA=00:00:00:00:00:00,adVF=0x4,adDT=0x2,adCC=0"
- // waMA = MAC address
- // adVF = Volume flags (0x200 "ask me first")
- // adDT = Supported media?
- // adCC = Disc change count?
-
- guint flags = 0;
- guint media = 2;
- gchar *record =
- g_strdup_printf("waMA=00:00:00:00:00:00,adVF=0x%x,adDT=0x%x,adCC=%u",
- flags, media, disc_change_count);
-
- if (!ga_entry_group_service_set(mdns_service, "sys", record, &error))
- {
- g_warning("Could not update main TXT record: %s", error->message);
- g_error_free(error);
- }
-
- g_free(record);
-}
-
-static void mdns_service_update_disc(RODisc *disc)
-{
- GError *error = NULL;
-
- g_return_if_fail(mdns_service);
-
- // "CdRom0=adVN=DiscLabel,adVT=public.cd-media"
- gchar *record = g_strdup_printf("adVN=%s,adVT=%s", disc->label, disc->type);
-
- const gchar *uri_basename = &disc->uri[1]; // Skip first '/'
- if (!ga_entry_group_service_set(mdns_service, uri_basename, record, &error))
- {
- g_warning("Could not update TXT record for disc at '%s': %s",
- disc->uri, error->message);
- g_error_free(error);
- }
-
- g_free(record);
-}
-
-static void mdns_service_remove_disc(RODisc *disc)
-{
- GError *error = NULL;
- g_return_if_fail(mdns_service);
- const gchar *uri_basename = &disc->uri[1];
- if (!ga_entry_group_service_remove_key(mdns_service, uri_basename, &error)) {
- g_warning("Could not update TXT record for disc at '%s': %s",
- disc->uri, error->message);
- g_error_free(error);
- }
-}
-
-static void mdns_service_update_discs_func(gpointer key, gpointer value, gpointer user_data)
-{
- RODisc *disc = (RODisc*) value;
- mdns_service_update_disc(disc);
-}
-
-static void mdns_service_update_discs()
-{
- g_hash_table_foreach(discs, mdns_service_update_discs_func, NULL);
-}
-
-static void mdns_register_service()
-{
- GError * error = NULL;
- if (!mdns_group) {
- mdns_group = ga_entry_group_new();
-
- if (!ga_entry_group_attach(mdns_group, mdns_client, &error)) {
- g_warning("Could not attach MDNS group to client: %s", error->message);
- g_error_free(error);
- return;
- }
- }
-
- const gchar *name = avahi_client_get_host_name(mdns_client->avahi_client);
- guint port = soup_server_get_port(server);
- mdns_service = ga_entry_group_add_service(mdns_group,
- name, RODISC_MDNS_SERVICE,
- port, &error,
- NULL);
- if (!mdns_service) {
- g_warning("Could not create service: %s", error->message);
- g_error_free(error);
- return;
- }
-
- // Create TXT records, disc records, etc.
- mdns_service_update();
- mdns_service_update_discs();
-
- if (!ga_entry_group_commit(mdns_group, &error)) {
- g_warning("Could not announce MDNS service: %s", error->message);
- g_error_free(error);
- return;
- }
-}
-
-static void mdns_client_state_changed_cb(GaClient *client, GaClientState state, gpointer user_data)
-{
- switch (state) {
- case GA_CLIENT_STATE_FAILURE:
- g_warning("MDNS client state failure");
- break;
- case GA_CLIENT_STATE_S_RUNNING:
- g_debug("MDNS client found server running");
- mdns_register_service();
- break;
- case GA_CLIENT_STATE_S_COLLISION:
- case GA_CLIENT_STATE_S_REGISTERING:
- g_message("MDNS collision");
- if (mdns_group) {
- ga_entry_group_reset(mdns_group, NULL);
- mdns_service = 0;
- }
- break;
- default:
- // Do nothing
- break;
- }
-}
-
-static void server_disc_cb(SoupServer *server, SoupMessage *msg, const char *path,
- GHashTable *query, SoupClientContext *client, gpointer user_data);
-
-static inline RODiscReadOp* server_disc_read_op_new()
-{
- RODiscReadOp *op = g_slice_new(RODiscReadOp);
- return op;
-}
-
-static void server_disc_read_op_free(RODiscReadOp *op)
-{
- if (op->stream) g_object_unref(op->stream);
- if (op->buffer) g_free(op->buffer);
- if (op->cancel) g_object_unref(op->cancel);
- g_slice_free(RODiscReadOp, op);
-}
-
-static void server_disc_finished_cb(SoupMessage *msg, gpointer user_data)
-{
- RODiscReadOp *op = (RODiscReadOp*) user_data;
- g_warn_if_fail(op->msg == msg);
-
- g_debug(" request finished");
-
- if (op->cancel) {
- // Cancel pending operation if any
- g_cancellable_cancel(op->cancel);
- g_object_unref(op->cancel);
- op->cancel = NULL;
- }
-
- server_disc_read_op_free(op);
-}
-
-static void server_disc_read_cb(GInputStream *stream, GAsyncResult *res, gpointer user_data)
-{
- RODiscReadOp *op = (RODiscReadOp*) user_data;
- GError *error = NULL;
- gssize size = g_input_stream_read_finish(stream, res, &error);
- if (size == -1) {
- if (g_error_matches(error, G_IO_ERROR, G_IO_ERROR_CANCELLED)) {
- g_debug(" request canceled");
- return;
- }
-
- g_warning("Failed to read from %s: %s",
- op->disc->file_path, error->message);
- soup_message_set_status(op->msg, SOUP_STATUS_INTERNAL_SERVER_ERROR);
- soup_server_unpause_message(server, op->msg);
- g_error_free(error);
- server_disc_read_op_free(op);
- return;
- }
-
- g_debug(" read %ld bytes of %lu bytes", size, op->length);
- g_warn_if_fail(size > 0);
-
- if (size >= op->length || size == 0) {
- // We have read everything we needed, so this finishes the request!
- g_debug(" finishing request");
- g_object_unref(op->cancel);
- op->cancel = NULL;
- op->length = 0;
-
- soup_message_body_append(op->msg->response_body, SOUP_MEMORY_TAKE,
- op->buffer, size);
- soup_message_body_complete(op->msg->response_body);
- soup_server_unpause_message(server, op->msg);
-
- op->buffer = NULL; // Passed ownership of buffer to libsoup
- // 'op' will be freed when 'finished' signal @msg is triggered
- } else {
- soup_message_body_append(op->msg->response_body, SOUP_MEMORY_COPY,
- op->buffer, size);
- soup_server_unpause_message(server, op->msg);
-
- // Launch the read for the remaining bytes
- op->start += size;
- op->length -= size;
-
- gsize read_size = MIN(op->length, MAX_BUFFER_SIZE);
- g_debug(" going to read %lu bytes", read_size);
- g_return_if_fail(read_size > 0);
-
- g_input_stream_read_async(op->stream, op->buffer, read_size,
- G_PRIORITY_DEFAULT, op->cancel,
- (GAsyncReadyCallback) server_disc_read_cb, op);
- }
-}
-
-static void server_disc_perform_read_range(SoupMessage *msg, RODisc *disc, goffset start, goffset end)
-{
- GError *error = NULL;
-
- g_debug("Opening %s", disc->file_path);
-
- // File is opened on every read because of asynchronous reads
- GFileInputStream * stream = g_file_read(disc->file, NULL, &error);
-
- if (!stream) {
- g_warning("Could not open file '%s' for reading: %s",
- disc->file_path, error->message);
- soup_message_set_status(msg, SOUP_STATUS_INTERNAL_SERVER_ERROR);
- g_error_free(error);
- return;
- }
-
- gsize size = (end - start) + 1;
- g_debug(" reading range %lu-%lu size %lu", start, end, size);
- g_warn_if_fail(size > 0);
-
- if (start != 0 &&
- !g_seekable_seek(G_SEEKABLE(stream), start, G_SEEK_SET, NULL, &error)) {
- g_warning("Could not seek in file '%s': %s",
- disc->file_path, error->message);
- soup_message_set_status(msg, SOUP_STATUS_INTERNAL_SERVER_ERROR);
- g_error_free(error);
- return;
- }
-
- gsize read_size = MIN(size, MAX_BUFFER_SIZE);
- g_debug(" going to read %lu bytes", read_size);
-
- RODiscReadOp *op = server_disc_read_op_new();
- op->disc = disc;
- op->start = start;
- op->length = size;
- op->buffer = g_malloc(read_size);
- op->msg = msg;
- op->stream = G_INPUT_STREAM(stream);
- op->cancel = g_cancellable_new();
-
- g_signal_connect(msg, "finished",
- G_CALLBACK(server_disc_finished_cb), op);
-
- g_input_stream_read_async(op->stream, op->buffer, read_size,
- G_PRIORITY_DEFAULT, op->cancel,
- (GAsyncReadyCallback) server_disc_read_cb, op);
-}
-
-static void server_disc_perform_read(SoupMessage *msg, RODisc *disc)
-{
- server_disc_perform_read_range(msg, disc, 0, disc->size - 1);
-}
-
-static void server_disc_cb(SoupServer *server, SoupMessage *msg, const char *path,
- GHashTable *query, SoupClientContext *client, gpointer user_data)
-{
-
- RODisc *disc = (RODisc*) user_data;
- if (!g_str_has_suffix(path,".dmg")) {
- g_debug("Not found (%s)", path);
- soup_message_set_status(msg, SOUP_STATUS_NOT_FOUND);
- return;
- }
- soup_message_headers_append(msg->response_headers, "Server", "RODisc/1.0");
- if (msg->method == SOUP_METHOD_HEAD) {
- g_debug("Head on %s", path);
- soup_message_set_status(msg, SOUP_STATUS_OK);
- soup_message_headers_set_content_length(msg->response_headers, disc->size);
- soup_message_headers_set_content_type(msg->response_headers, RODISC_IMAGE_MIME, NULL);
- soup_message_headers_replace(msg->response_headers, "Accept-Ranges", "bytes");
- } else if (msg->method == SOUP_METHOD_GET) {
- g_debug("Get on %s", path);
- soup_message_headers_set_content_type(msg->response_headers, RODISC_IMAGE_MIME, NULL);
- soup_message_headers_replace(msg->response_headers, "Accept-Ranges", "bytes");
- soup_message_body_set_accumulate(msg->response_body, FALSE);
- SoupRange *ranges;
- int length;
- if (soup_message_headers_get_ranges(msg->request_headers, disc->size, &ranges, &length)) {
- if (length != 1) {
- g_warning("Multi-range not yet supported");
- soup_message_set_status(msg, SOUP_STATUS_INVALID_RANGE);
- return;
- }
- goffset start = ranges[0].start, end = ranges[0].end;
- soup_message_set_status(msg, SOUP_STATUS_PARTIAL_CONTENT);
- soup_message_headers_set_content_range(msg->response_headers,
- start, end,
- disc->size);
- soup_server_pause_message(server, msg);
- server_disc_perform_read_range(msg, disc, start, end);
- } else {
- soup_message_headers_set_content_length(msg->response_headers, disc->size);
- soup_message_set_status(msg, SOUP_STATUS_OK);
- soup_server_pause_message(server, msg);
- server_disc_perform_read(msg, disc);
- }
- } else {
- soup_message_set_status(msg, SOUP_STATUS_NOT_IMPLEMENTED);
- g_warning("Unimplemented method on %s", path);
- }
-}
-
-static void server_cb(SoupServer *server, SoupMessage *msg, const char *path,
- GHashTable *query, SoupClientContext *client, gpointer user_data)
-{
- g_message("Unknown path requested: %s", path);
- soup_message_set_status(msg, SOUP_STATUS_NOT_FOUND);
-}
-
-static inline RODisc *rodisc_lookup(const gchar *id)
-{
- return g_hash_table_lookup(discs, id);
-}
-
-static inline RODisc *rodisc_new()
+RODisc *rodisc_new()
{
return g_slice_new0(RODisc);
}
-static void rodisc_destroy(RODisc *disc)
+void rodisc_destroy(RODisc *disc)
{
g_free(disc->id);
g_free(disc->uri);
@@ -432,198 +29,49 @@ static void rodisc_destroy(RODisc *disc)
g_slice_free(RODisc, disc);
}
-static void rodisc_export(RODisc *disc)
-{
- g_debug("Exporting %s to %s (volume '%s' type '%s')",
- disc->file_path, disc->uri, disc->label, disc->type);
- g_hash_table_insert(discs, disc->id, disc);
-
- soup_server_add_handler(server, disc->uri, server_disc_cb, disc, NULL);
-
- mdns_service_freeze();
- disc_change_count++;
- mdns_service_update_disc(disc);
- mdns_service_update();
- mdns_service_thaw();
-}
-
-static void rodisc_remove(RODisc *disc)
-{
- g_debug("Unexporting %s", disc->uri);
-
- mdns_service_freeze();
- disc_change_count++;
- mdns_service_remove_disc(disc);
- mdns_service_update();
- mdns_service_thaw();
-
- soup_server_remove_handler(server, disc->uri);
- g_hash_table_remove(discs, disc->id);
-}
-
-static void rodisc_refresh(RODisc *disc)
+RODisc *rodisc_lookup(const gchar *id)
{
- mdns_service_freeze();
- disc_change_count++;
- mdns_service_update_disc(disc);
- mdns_service_update();
- mdns_service_thaw();
+ return g_hash_table_lookup(discs, id);
}
-static void monitor_set_disc_attrs(RODisc *disc, OrgFreedesktopUDisksDevice *device)
+void rodisc_export(RODisc *disc)
{
- const gchar * disc_type = org_freedesktop_udisks_device_get_drive_media(device);
-
- disc->label = org_freedesktop_udisks_device_dup_id_label(device);
- if (!disc->label || disc->label[0] == '\0') {
- g_free(disc->label);
- disc->label = g_strdup("Disc");
- }
+ g_debug("Exporting %s to %s (volume '%s' type '%s' size %lu)",
+ disc->file_path, disc->uri, disc->label, disc->type, disc->size);
+ g_hash_table_insert(discs, disc->id, disc);
- if (g_str_has_prefix(disc_type, "optical_cd")) {
- disc->type = RODISC_TYPE_CD;
- } else if (g_str_has_prefix(disc_type, "optical_dvd")) {
- disc->type = RODISC_TYPE_DVD;
- } else {
- disc->type = RODISC_TYPE_GENERIC;
- }
+ server_register(disc);
- disc->size = org_freedesktop_udisks_device_get_device_size(device);
+ mdns_publish(disc);
}
-static void monitor_try_add_device(const gchar *device_path)
+void rodisc_remove(RODisc *disc)
{
- GError *error = NULL;
- OrgFreedesktopUDisksDevice *device =
- org_freedesktop_udisks_device_proxy_new_for_bus_sync(
- G_BUS_TYPE_SYSTEM, G_DBUS_PROXY_FLAGS_NONE,
- "org.freedesktop.UDisks", device_path,
- NULL, &error);
- if (!device) {
- g_warning("Could not add UDisk device: %s", error->message);
- g_error_free(error);
- return;
- }
- if (!org_freedesktop_udisks_device_get_device_is_optical_disc(device)) {
- g_object_unref(device);
- return;
- }
-
- RODisc *disc = rodisc_new();
-
- const gchar * device_file_path = org_freedesktop_udisks_device_get_device_file(device);
- const gchar * const * id_paths = org_freedesktop_udisks_device_get_device_file_by_id(device);
- disc->id = g_strdup(device_path);
- disc->uri = g_strconcat("/", g_path_get_basename(id_paths[0]), NULL);
- disc->file = g_file_new_for_path(device_file_path);
- disc->file_path = g_file_get_path(disc->file);
-
- monitor_set_disc_attrs(disc, device);
-
- rodisc_export(disc);
-}
+ g_debug("Unexporting %s", disc->uri);
-static void monitor_try_update_remove_device(const gchar *device_path, RODisc *disc)
-{
- OrgFreedesktopUDisksDevice *device =
- org_freedesktop_udisks_device_proxy_new_for_bus_sync(
- G_BUS_TYPE_SYSTEM, G_DBUS_PROXY_FLAGS_NONE,
- "org.freedesktop.UDisks", device_path,
- NULL, NULL);
- if (!device) {
- g_debug("Device removal");
- rodisc_remove(disc);
- return;
- }
- if (!org_freedesktop_udisks_device_get_device_is_optical_disc(device)) {
- g_debug("Media removal");
- g_object_unref(device);
- rodisc_remove(disc);
- return;
- }
- if (g_strcasecmp(org_freedesktop_udisks_device_get_id_label(device),
- disc->label) != 0) {
- g_debug("Media change");
- g_free(disc->label);
- monitor_set_disc_attrs(disc, device);
- rodisc_refresh(disc);
- }
-}
+ mdns_unpublish(disc);
-static void monitor_device_added_cb(GObject *source_object, gchar *device,
- gpointer user_data)
-{
- g_debug("Device added: %s", device);
- RODisc *disc = rodisc_lookup(device);
- if (disc) {
- g_warning("Disk already added: %s", device);
- } else {
- monitor_try_add_device(device);
- }
-}
+ server_unregister(disc);
-static void monitor_device_changed_cb(GObject *source_object, gchar *device,
- gpointer user_data)
-{
- g_debug("Device changed: %s", device);
- RODisc *disc = rodisc_lookup(device);
- // Hopefully we detected the eject event, otherwise we'll mess up.
- if (disc) {
- monitor_try_update_remove_device(device, disc);
- } else {
- monitor_try_add_device(device);
- }
+ g_hash_table_remove(discs, disc->id);
}
-static void monitor_device_removed_cb(GObject *source_object, gchar *device,
- gpointer user_data)
+void rodisc_refresh(RODisc *disc)
{
- g_debug("Device removed: %s", device);
- RODisc *disc = rodisc_lookup(device);
- if (disc) {
- monitor_try_update_remove_device(device, disc);
- }
+ g_debug("Reexporting %s to %s (volume '%s' type '%s' size %lu)",
+ disc->file_path, disc->uri, disc->label, disc->type, disc->size);
+ mdns_publish(disc);
}
-
-static void monitor_enumerate_devices_cb(GObject *source_object,
- GAsyncResult *res,
- gpointer user_data)
+static void refresh_all_discs_func(gpointer key, gpointer value, gpointer user_data)
{
- GError *error = NULL;
- gchar **devices;
- if (org_freedesktop_udisks_call_enumerate_devices_finish(monitor, &devices, res, &error)) {
- gchar **s;
- for (s = devices; *s; s++) {
- monitor_try_add_device(*s);
- }
- g_strfreev(devices);
- } else {
- g_warning("Could not enumerate devices using UDisks: %s", error->message);
- g_error_free(error);
- }
+ RODisc *disc = (RODisc*) value;
+ rodisc_refresh(disc);
}
-static void file_add_disc(const gchar *path)
+void rodisc_refresh_all()
{
- static int num = 0;
- GFile *file = g_file_new_for_path(path);
- GFileInfo *info = g_file_query_info(file,
- G_FILE_ATTRIBUTE_STANDARD_DISPLAY_NAME ","
- G_FILE_ATTRIBUTE_STANDARD_SIZE,
- G_FILE_QUERY_INFO_NONE, NULL, NULL);
- g_return_if_fail(info);
- const int my_num = ++num;
- RODisc *disc = rodisc_new();
- disc->id = g_strdup_printf("file%d", my_num);
- disc->uri = g_strdup_printf("/file%d", my_num);
- disc->file_path = g_file_get_path(file);
- disc->file = file;
- disc->label = g_strdup(g_file_info_get_display_name(info));
- disc->type = RODISC_TYPE_GENERIC;
- disc->size = g_file_info_get_size(info);
- rodisc_export(disc);
- g_object_unref(info);
+ g_hash_table_foreach(discs, refresh_all_discs_func, NULL);
}
static void files_add()
@@ -640,7 +88,6 @@ int main(int argc, char * argv[])
GError *error = NULL;
GOptionContext *context = g_option_context_new("- remote optical disc service");
- g_type_init();
main_loop = g_main_loop_new(NULL, FALSE);
discs = g_hash_table_new_full(g_str_hash, g_str_equal,
@@ -652,55 +99,31 @@ int main(int argc, char * argv[])
return EXIT_FAILURE;
}
- SoupAddress *addr = soup_address_new_any(SOUP_ADDRESS_FAMILY_IPV4, SOUP_ADDRESS_ANY_PORT);
- server = soup_server_new(SOUP_SERVER_INTERFACE, addr, NULL);
- g_object_unref(addr);
- if (!server) {
- g_warning("Could not create HTTP server");
+ if (!server_start()) {
return EXIT_FAILURE;
}
- soup_server_add_handler(server, NULL, server_cb, NULL, NULL);
- soup_server_run_async(server);
-
- mdns_client = ga_client_new(GA_CLIENT_FLAG_NO_FLAGS);
- g_signal_connect(mdns_client, "state-changed",
- G_CALLBACK(mdns_client_state_changed_cb), NULL);
- if (!ga_client_start(mdns_client, &error)) {
- g_warning("Could not start MDNS client");
- g_error_free(error);
+ if (!mdns_start()) {
return EXIT_FAILURE;
}
- monitor = org_freedesktop_udisks_proxy_new_for_bus_sync(
- G_BUS_TYPE_SYSTEM, G_DBUS_PROXY_FLAGS_NONE,
- "org.freedesktop.UDisks", "/org/freedesktop/UDisks",
- NULL, &error);
- if (!monitor) {
- g_warning("Could not create proxy to the UDisks service: %s", error->message);
- g_error_free(error);
+ if (!monitor_start()) {
return EXIT_FAILURE;
}
- g_signal_connect(monitor, "device-added",
- G_CALLBACK(monitor_device_added_cb), NULL);
- g_signal_connect(monitor, "device-changed",
- G_CALLBACK(monitor_device_changed_cb), NULL);
- g_signal_connect(monitor, "device-removed",
- G_CALLBACK(monitor_device_removed_cb), NULL);
- org_freedesktop_udisks_call_enumerate_devices(monitor, NULL,
- monitor_enumerate_devices_cb, NULL);
files_add();
- g_message("Listening on %d", soup_server_get_port(server));
-
g_main_loop_run(main_loop);
+ monitor_stop();
+
+ mdns_stop();
+
+ server_stop();
+
g_hash_table_destroy(discs);
- g_object_unref(monitor);
- g_object_unref(mdns_client);
- g_object_unref(server);
g_main_loop_unref(main_loop);
+ g_option_context_free(context);
return EXIT_SUCCESS;
}
diff --git a/rodisc.h b/rodisc.h
new file mode 100644
index 0000000..e1cd9ca
--- /dev/null
+++ b/rodisc.h
@@ -0,0 +1,61 @@
+#ifndef _RODISC_H_
+#define _RODISC_H_
+
+#include <stdint.h>
+#include <stdbool.h>
+#include <gio/gio.h>
+
+#define RODISC_MDNS_SERVICE "_odisk._tcp"
+
+#define RODISC_IMAGE_MIME "application/octet-stream"
+
+#define RODISC_TYPE_GENERIC "public.optical-storage-media"
+#define RODISC_TYPE_CD "public.cd-media"
+#define RODISC_TYPE_DVD "public.dvd-media"
+#define RODISC_TYPE_BD "public.optical-storage-media"
+
+typedef struct {
+ char *id;
+ char *uri;
+ char *file_path;
+ GFile *file;
+ char *label;
+ const char *type;
+ uint64_t size;
+} RODisc;
+
+RODisc *rodisc_new();
+void rodisc_destroy(RODisc *disc);
+
+/** Lookup a given disc id on the exported discs */
+RODisc *rodisc_lookup(const gchar *id);
+/** Export a given disc object */
+void rodisc_export(RODisc *disc);
+/** Unexport and destroy a disc */
+void rodisc_remove(RODisc *disc);
+/** When a disc has changed */
+void rodisc_refresh(RODisc *disc);
+/** When all exported discs may have changed */
+void rodisc_refresh_all();
+
+// HTTP server part
+bool server_start();
+void server_stop();
+void server_register(RODisc *disc);
+void server_unregister(RODisc *disc);
+unsigned int server_get_port();
+
+// MDNS server part (Bonjour)
+bool mdns_start();
+void mdns_stop();
+void mdns_publish(RODisc *disc);
+void mdns_unpublish(RODisc *disc);
+
+/** Export a individual .iso file as a disk. */
+void file_add_disc(const char *path);
+
+// Disc change monitor part
+bool monitor_start();
+void monitor_stop();
+
+#endif /* _RODISC_H_ */
diff --git a/server.c b/server.c
new file mode 100644
index 0000000..1a54ef6
--- /dev/null
+++ b/server.c
@@ -0,0 +1,280 @@
+#include <libsoup/soup.h>
+
+#include "rodisc.h"
+
+/** Buffer size for a single read() call.
+ * Any request larger than this will be served in chunks. */
+#define MAX_BUFFER_SIZE (32*1024*1024UL)
+
+#define RESPONSE_SERVER_HEADER "RODisc/1.0"
+
+typedef struct {
+ RODisc *disc;
+ gsize start;
+ gsize length;
+ gpointer buffer;
+ SoupMessage *msg;
+ GInputStream *stream;
+ GCancellable *cancel;
+} RODiscReadOp;
+
+static SoupServer *server;
+static unsigned int server_port = 0;
+
+static void server_disc_cb(SoupServer *server, SoupMessage *msg, const char *path,
+ GHashTable *query, SoupClientContext *client, gpointer user_data);
+
+static inline RODiscReadOp* server_disc_read_op_new()
+{
+ RODiscReadOp *op = g_slice_new(RODiscReadOp);
+ return op;
+}
+
+static void server_disc_read_op_free(RODiscReadOp *op)
+{
+ if (op->stream) g_object_unref(op->stream);
+ if (op->buffer) g_free(op->buffer);
+ if (op->cancel) g_object_unref(op->cancel);
+ g_slice_free(RODiscReadOp, op);
+}
+
+static void server_disc_finished_cb(SoupMessage *msg, gpointer user_data)
+{
+ RODiscReadOp *op = (RODiscReadOp*) user_data;
+ g_warn_if_fail(op->msg == msg);
+
+ g_debug(" request finished");
+
+ if (op->cancel) {
+ // Cancel pending operation if any
+ g_cancellable_cancel(op->cancel);
+ g_object_unref(op->cancel);
+ op->cancel = NULL;
+ }
+
+ server_disc_read_op_free(op);
+}
+
+static void server_disc_read_cb(GInputStream *stream, GAsyncResult *res, gpointer user_data)
+{
+ RODiscReadOp *op = (RODiscReadOp*) user_data;
+ GError *error = NULL;
+ gssize size = g_input_stream_read_finish(stream, res, &error);
+ if (size == -1) {
+ if (g_error_matches(error, G_IO_ERROR, G_IO_ERROR_CANCELLED)) {
+ g_debug(" request canceled");
+ return;
+ }
+
+ g_warning("Failed to read from %s: %s",
+ op->disc->file_path, error->message);
+ soup_message_set_status(op->msg, SOUP_STATUS_INTERNAL_SERVER_ERROR);
+ soup_server_unpause_message(server, op->msg);
+ g_error_free(error);
+ return;
+ }
+
+ g_debug(" read %ld bytes of %lu bytes", size, op->length);
+ g_warn_if_fail(size > 0);
+
+ if (size >= op->length || size == 0) {
+ // We have read everything we needed, so this finishes the request!
+ g_debug(" finishing request");
+ g_object_unref(op->cancel);
+ op->cancel = NULL;
+ op->length = 0;
+
+ soup_message_body_append(op->msg->response_body, SOUP_MEMORY_TAKE,
+ op->buffer, size);
+ soup_message_body_complete(op->msg->response_body);
+ soup_server_unpause_message(server, op->msg);
+
+ op->buffer = NULL; // Passed ownership of buffer to libsoup
+ // 'op' will be freed when 'finished' signal @msg is triggered
+ } else {
+ soup_message_body_append(op->msg->response_body, SOUP_MEMORY_COPY,
+ op->buffer, size);
+ soup_server_unpause_message(server, op->msg);
+
+ // Launch the read for the remaining bytes
+ op->start += size;
+ op->length -= size;
+
+ gsize read_size = MIN(op->length, MAX_BUFFER_SIZE);
+ g_debug(" going to read %lu bytes", read_size);
+ g_return_if_fail(read_size > 0);
+
+ g_input_stream_read_async(op->stream, op->buffer, read_size,
+ G_PRIORITY_DEFAULT, op->cancel,
+ (GAsyncReadyCallback) server_disc_read_cb, op);
+ }
+}
+
+static void server_disc_perform_read_range(SoupMessage *msg, RODisc *disc, goffset start, goffset end)
+{
+ GError *error = NULL;
+
+ g_debug("Opening %s", disc->file_path);
+
+ // File is opened on every read because of asynchronous reads
+ GFileInputStream * stream = g_file_read(disc->file, NULL, &error);
+
+ if (!stream) {
+ g_warning("Could not open file '%s' for reading: %s",
+ disc->file_path, error->message);
+ soup_message_set_status(msg, SOUP_STATUS_INTERNAL_SERVER_ERROR);
+ g_error_free(error);
+ return;
+ }
+
+ gsize size = (end - start) + 1;
+ g_debug(" reading range %lu-%lu size %lu", start, end, size);
+ g_warn_if_fail(size > 0);
+
+ if (start != 0 &&
+ !g_seekable_seek(G_SEEKABLE(stream), start, G_SEEK_SET, NULL, &error)) {
+ g_warning("Could not seek in file '%s': %s",
+ disc->file_path, error->message);
+ soup_message_set_status(msg, SOUP_STATUS_INTERNAL_SERVER_ERROR);
+ g_error_free(error);
+ return;
+ }
+
+ gsize read_size = MIN(size, MAX_BUFFER_SIZE);
+ g_debug(" going to read %lu bytes", read_size);
+
+ RODiscReadOp *op = server_disc_read_op_new();
+ op->disc = disc;
+ op->start = start;
+ op->length = size;
+ op->buffer = g_malloc(read_size);
+ op->msg = msg;
+ op->stream = G_INPUT_STREAM(stream);
+ op->cancel = g_cancellable_new();
+
+ g_signal_connect(msg, "finished",
+ G_CALLBACK(server_disc_finished_cb), op);
+
+ g_input_stream_read_async(op->stream, op->buffer, read_size,
+ G_PRIORITY_DEFAULT, op->cancel,
+ (GAsyncReadyCallback) server_disc_read_cb, op);
+}
+
+static void server_disc_perform_read(SoupMessage *msg, RODisc *disc)
+{
+ server_disc_perform_read_range(msg, disc, 0, disc->size - 1);
+}
+
+static void server_disc_cb(SoupServer *server, SoupMessage *msg, const char *path,
+ GHashTable *query, SoupClientContext *client, gpointer user_data)
+{
+
+ RODisc *disc = (RODisc*) user_data;
+ if (!g_str_has_suffix(path,".dmg")) {
+ g_debug("Not found (%s)", path);
+ soup_message_set_status(msg, SOUP_STATUS_NOT_FOUND);
+ return;
+ }
+ if (msg->method == SOUP_METHOD_HEAD) {
+ g_debug("Head on %s", path);
+ soup_message_set_status(msg, SOUP_STATUS_OK);
+ soup_message_headers_set_content_length(msg->response_headers, disc->size);
+ soup_message_headers_set_content_type(msg->response_headers, RODISC_IMAGE_MIME, NULL);
+ soup_message_headers_replace(msg->response_headers, "Accept-Ranges", "bytes");
+ } else if (msg->method == SOUP_METHOD_GET) {
+ g_debug("Get on %s", path);
+ soup_message_headers_set_content_type(msg->response_headers, RODISC_IMAGE_MIME, NULL);
+ soup_message_headers_replace(msg->response_headers, "Accept-Ranges", "bytes");
+ soup_message_body_set_accumulate(msg->response_body, FALSE);
+ SoupRange *ranges;
+ int length;
+ if (soup_message_headers_get_ranges(msg->request_headers, disc->size, &ranges, &length)) {
+ if (length != 1) {
+ g_warning("Multi-range not yet supported");
+ soup_message_set_status(msg, SOUP_STATUS_INVALID_RANGE);
+ return;
+ }
+ goffset start = ranges[0].start, end = ranges[0].end;
+ soup_message_set_status(msg, SOUP_STATUS_PARTIAL_CONTENT);
+ soup_message_headers_set_content_range(msg->response_headers,
+ start, end,
+ disc->size);
+ soup_message_headers_free_ranges(msg->request_headers, ranges);
+ soup_server_pause_message(server, msg);
+ server_disc_perform_read_range(msg, disc, start, end);
+ } else {
+ soup_message_headers_set_content_length(msg->response_headers, disc->size);
+ soup_message_set_status(msg, SOUP_STATUS_OK);
+ soup_server_pause_message(server, msg);
+ server_disc_perform_read(msg, disc);
+ }
+ } else {
+ soup_message_set_status(msg, SOUP_STATUS_NOT_IMPLEMENTED);
+ g_warning("Unimplemented method on %s", path);
+ }
+}
+
+static void server_cb(SoupServer *server, SoupMessage *msg, const char *path,
+ GHashTable *query, SoupClientContext *client, gpointer user_data)
+{
+ g_debug("Unknown path requested: %s", path);
+ soup_message_set_status(msg, SOUP_STATUS_NOT_FOUND);
+}
+
+bool server_start()
+{
+ GError *error = NULL;
+
+ server = soup_server_new(SOUP_SERVER_SERVER_HEADER, RESPONSE_SERVER_HEADER, NULL);
+ if (!server) {
+ g_printerr("Could not create HTTP server\n");
+ return false;
+ }
+
+ soup_server_add_handler(server, NULL, server_cb, NULL, NULL);
+
+ if (!soup_server_listen_all(server, 0, SOUP_SERVER_LISTEN_IPV4_ONLY, &error)) {
+ g_printerr("Could not start HTTP server: %s\n", error->message);
+ g_error_free(error);
+ return false;
+ }
+
+ // Fetch the server port
+ GSList *uris = soup_server_get_uris(server);
+ g_warn_if_fail(g_slist_length(uris) == 1);
+ for (GSList *l = uris; l; l = l->next) {
+ SoupURI *uri = l->data;
+ char *str = soup_uri_to_string(uri, FALSE);
+ g_message("Listening on %s", str);
+ g_free(str);
+ server_port = soup_uri_get_port(uri);
+ }
+ g_slist_free_full(uris, (GDestroyNotify)soup_uri_free);
+
+ if (server_port == 0) {
+ g_printerr("Could not get HTTP server port\n");
+ return false;
+ }
+
+ return true;
+}
+
+void server_stop()
+{
+ g_object_unref(server);
+}
+
+void server_register(RODisc *disc)
+{
+ soup_server_add_handler(server, disc->uri, server_disc_cb, disc, NULL);
+}
+
+void server_unregister(RODisc *disc)
+{
+ soup_server_remove_handler(server, disc->uri);
+}
+
+unsigned int server_get_port()
+{
+ return server_port;
+}
diff --git a/udisks-device.c b/udisks-device.c
deleted file mode 100644
index 99ea50d..0000000
--- a/udisks-device.c
+++ /dev/null
@@ -1,20198 +0,0 @@
-/*
- * Generated by gdbus-codegen 2.30.3. DO NOT EDIT.
- *
- * The license of this code is the same as for the source it was derived from.
- */
-
-#ifdef HAVE_CONFIG_H
-# include "config.h"
-#endif
-
-#include "udisks-device.h"
-
-#ifdef G_OS_UNIX
-# include <gio/gunixfdlist.h>
-#endif
-
-typedef struct
-{
- GDBusArgInfo parent_struct;
- gboolean use_gvariant;
-} _ExtendedGDBusArgInfo;
-
-typedef struct
-{
- GDBusMethodInfo parent_struct;
- const gchar *signal_name;
- gboolean pass_fdlist;
-} _ExtendedGDBusMethodInfo;
-
-typedef struct
-{
- GDBusSignalInfo parent_struct;
- const gchar *signal_name;
-} _ExtendedGDBusSignalInfo;
-
-typedef struct
-{
- GDBusPropertyInfo parent_struct;
- const gchar *hyphen_name;
- gboolean use_gvariant;
-} _ExtendedGDBusPropertyInfo;
-
-typedef struct
-{
- GDBusInterfaceInfo parent_struct;
- const gchar *hyphen_name;
-} _ExtendedGDBusInterfaceInfo;
-
-typedef struct
-{
- const _ExtendedGDBusPropertyInfo *info;
- guint prop_id;
- GValue orig_value; /* the value before the change */
-} ChangedProperty;
-
-static void
-_changed_property_free (ChangedProperty *data)
-{
- g_value_unset (&data->orig_value);
- g_free (data);
-}
-
-static gboolean
-_g_strv_equal0 (gchar **a, gchar **b)
-{
- gboolean ret = FALSE;
- guint n;
- if (a == NULL && b == NULL)
- {
- ret = TRUE;
- goto out;
- }
- if (a == NULL || b == NULL)
- goto out;
- if (g_strv_length (a) != g_strv_length (b))
- goto out;
- for (n = 0; a[n] != NULL; n++)
- if (g_strcmp0 (a[n], b[n]) != 0)
- goto out;
- ret = TRUE;
-out:
- return ret;
-}
-
-static gboolean
-_g_variant_equal0 (GVariant *a, GVariant *b)
-{
- gboolean ret = FALSE;
- if (a == NULL && b == NULL)
- {
- ret = TRUE;
- goto out;
- }
- if (a == NULL || b == NULL)
- goto out;
- ret = g_variant_equal (a, b);
-out:
- return ret;
-}
-
-G_GNUC_UNUSED static gboolean
-_g_value_equal (const GValue *a, const GValue *b)
-{
- gboolean ret = FALSE;
- g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
- switch (G_VALUE_TYPE (a))
- {
- case G_TYPE_BOOLEAN:
- ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
- break;
- case G_TYPE_UCHAR:
- ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
- break;
- case G_TYPE_INT:
- ret = (g_value_get_int (a) == g_value_get_int (b));
- break;
- case G_TYPE_UINT:
- ret = (g_value_get_uint (a) == g_value_get_uint (b));
- break;
- case G_TYPE_INT64:
- ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
- break;
- case G_TYPE_UINT64:
- ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
- break;
- case G_TYPE_DOUBLE:
- ret = (g_value_get_double (a) == g_value_get_double (b));
- break;
- case G_TYPE_STRING:
- ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
- break;
- case G_TYPE_VARIANT:
- ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
- break;
- default:
- if (G_VALUE_TYPE (a) == G_TYPE_STRV)
- ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
- else
- g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
- break;
- }
- return ret;
-}
-
-/* ------------------------------------------------------------------------
- * Code for interface org.freedesktop.UDisks.Device
- * ------------------------------------------------------------------------
- */
-
-/**
- * SECTION:OrgFreedesktopUDisksDevice
- * @title: OrgFreedesktopUDisksDevice
- * @short_description: Generated C code for the org.freedesktop.UDisks.Device D-Bus interface
- *
- * This section contains code for working with the <link linkend="gdbus-interface-org-freedesktop-UDisks-Device.top_of_page">org.freedesktop.UDisks.Device</link> D-Bus interface in C.
- */
-
-/* ---- Introspection data for org.freedesktop.UDisks.Device ---- */
-
-static const GDBusAnnotationInfo _org_freedesktop_udisks_device_method_job_cancel_annotation_info_0 =
-{
- -1,
- "org.freedesktop.DBus.GLib.Async",
- "",
- NULL
-};
-
-static const GDBusAnnotationInfo * const _org_freedesktop_udisks_device_method_job_cancel_annotation_info_pointers[] =
-{
- &_org_freedesktop_udisks_device_method_job_cancel_annotation_info_0,
- NULL
-};
-
-static const _ExtendedGDBusMethodInfo _org_freedesktop_udisks_device_method_info_job_cancel =
-{
- {
- -1,
- "JobCancel",
- NULL,
- NULL,
- (GDBusAnnotationInfo **) &_org_freedesktop_udisks_device_method_job_cancel_annotation_info_pointers
- },
- "handle-job-cancel",
- FALSE
-};
-
-static const _ExtendedGDBusArgInfo _org_freedesktop_udisks_device_method_info_partition_table_create_IN_ARG_scheme =
-{
- {
- -1,
- "scheme",
- "s",
- NULL
- },
- FALSE
-};
-
-static const _ExtendedGDBusArgInfo _org_freedesktop_udisks_device_method_info_partition_table_create_IN_ARG_options =
-{
- {
- -1,
- "options",
- "as",
- NULL
- },
- FALSE
-};
-
-static const _ExtendedGDBusArgInfo * const _org_freedesktop_udisks_device_method_info_partition_table_create_IN_ARG_pointers[] =
-{
- &_org_freedesktop_udisks_device_method_info_partition_table_create_IN_ARG_scheme,
- &_org_freedesktop_udisks_device_method_info_partition_table_create_IN_ARG_options,
- NULL
-};
-
-static const GDBusAnnotationInfo _org_freedesktop_udisks_device_method_partition_table_create_annotation_info_0 =
-{
- -1,
- "org.freedesktop.DBus.GLib.Async",
- "",
- NULL
-};
-
-static const GDBusAnnotationInfo * const _org_freedesktop_udisks_device_method_partition_table_create_annotation_info_pointers[] =
-{
- &_org_freedesktop_udisks_device_method_partition_table_create_annotation_info_0,
- NULL
-};
-
-static const _ExtendedGDBusMethodInfo _org_freedesktop_udisks_device_method_info_partition_table_create =
-{
- {
- -1,
- "PartitionTableCreate",
- (GDBusArgInfo **) &_org_freedesktop_udisks_device_method_info_partition_table_create_IN_ARG_pointers,
- NULL,
- (GDBusAnnotationInfo **) &_org_freedesktop_udisks_device_method_partition_table_create_annotation_info_pointers
- },
- "handle-partition-table-create",
- FALSE
-};
-
-static const _ExtendedGDBusArgInfo _org_freedesktop_udisks_device_method_info_partition_delete_IN_ARG_options =
-{
- {
- -1,
- "options",
- "as",
- NULL
- },
- FALSE
-};
-
-static const _ExtendedGDBusArgInfo * const _org_freedesktop_udisks_device_method_info_partition_delete_IN_ARG_pointers[] =
-{
- &_org_freedesktop_udisks_device_method_info_partition_delete_IN_ARG_options,
- NULL
-};
-
-static const GDBusAnnotationInfo _org_freedesktop_udisks_device_method_partition_delete_annotation_info_0 =
-{
- -1,
- "org.freedesktop.DBus.GLib.Async",
- "",
- NULL
-};
-
-static const GDBusAnnotationInfo * const _org_freedesktop_udisks_device_method_partition_delete_annotation_info_pointers[] =
-{
- &_org_freedesktop_udisks_device_method_partition_delete_annotation_info_0,
- NULL
-};
-
-static const _ExtendedGDBusMethodInfo _org_freedesktop_udisks_device_method_info_partition_delete =
-{
- {
- -1,
- "PartitionDelete",
- (GDBusArgInfo **) &_org_freedesktop_udisks_device_method_info_partition_delete_IN_ARG_pointers,
- NULL,
- (GDBusAnnotationInfo **) &_org_freedesktop_udisks_device_method_partition_delete_annotation_info_pointers
- },
- "handle-partition-delete",
- FALSE
-};
-
-static const _ExtendedGDBusArgInfo _org_freedesktop_udisks_device_method_info_partition_create_IN_ARG_offset =
-{
- {
- -1,
- "offset",
- "t",
- NULL
- },
- FALSE
-};
-
-static const _ExtendedGDBusArgInfo _org_freedesktop_udisks_device_method_info_partition_create_IN_ARG_size =
-{
- {
- -1,
- "size",
- "t",
- NULL
- },
- FALSE
-};
-
-static const _ExtendedGDBusArgInfo _org_freedesktop_udisks_device_method_info_partition_create_IN_ARG_type =
-{
- {
- -1,
- "type",
- "s",
- NULL
- },
- FALSE
-};
-
-static const _ExtendedGDBusArgInfo _org_freedesktop_udisks_device_method_info_partition_create_IN_ARG_label =
-{
- {
- -1,
- "label",
- "s",
- NULL
- },
- FALSE
-};
-
-static const _ExtendedGDBusArgInfo _org_freedesktop_udisks_device_method_info_partition_create_IN_ARG_flags =
-{
- {
- -1,
- "flags",
- "as",
- NULL
- },
- FALSE
-};
-
-static const _ExtendedGDBusArgInfo _org_freedesktop_udisks_device_method_info_partition_create_IN_ARG_options =
-{
- {
- -1,
- "options",
- "as",
- NULL
- },
- FALSE
-};
-
-static const _ExtendedGDBusArgInfo _org_freedesktop_udisks_device_method_info_partition_create_IN_ARG_fstype =
-{
- {
- -1,
- "fstype",
- "s",
- NULL
- },
- FALSE
-};
-
-static const _ExtendedGDBusArgInfo _org_freedesktop_udisks_device_method_info_partition_create_IN_ARG_fsoptions =
-{
- {
- -1,
- "fsoptions",
- "as",
- NULL
- },
- FALSE
-};
-
-static const _ExtendedGDBusArgInfo * const _org_freedesktop_udisks_device_method_info_partition_create_IN_ARG_pointers[] =
-{
- &_org_freedesktop_udisks_device_method_info_partition_create_IN_ARG_offset,
- &_org_freedesktop_udisks_device_method_info_partition_create_IN_ARG_size,
- &_org_freedesktop_udisks_device_method_info_partition_create_IN_ARG_type,
- &_org_freedesktop_udisks_device_method_info_partition_create_IN_ARG_label,
- &_org_freedesktop_udisks_device_method_info_partition_create_IN_ARG_flags,
- &_org_freedesktop_udisks_device_method_info_partition_create_IN_ARG_options,
- &_org_freedesktop_udisks_device_method_info_partition_create_IN_ARG_fstype,
- &_org_freedesktop_udisks_device_method_info_partition_create_IN_ARG_fsoptions,
- NULL
-};
-
-static const _ExtendedGDBusArgInfo _org_freedesktop_udisks_device_method_info_partition_create_OUT_ARG_created_device =
-{
- {
- -1,
- "created_device",
- "o",
- NULL
- },
- FALSE
-};
-
-static const _ExtendedGDBusArgInfo * const _org_freedesktop_udisks_device_method_info_partition_create_OUT_ARG_pointers[] =
-{
- &_org_freedesktop_udisks_device_method_info_partition_create_OUT_ARG_created_device,
- NULL
-};
-
-static const GDBusAnnotationInfo _org_freedesktop_udisks_device_method_partition_create_annotation_info_0 =
-{
- -1,
- "org.freedesktop.DBus.GLib.Async",
- "",
- NULL
-};
-
-static const GDBusAnnotationInfo * const _org_freedesktop_udisks_device_method_partition_create_annotation_info_pointers[] =
-{
- &_org_freedesktop_udisks_device_method_partition_create_annotation_info_0,
- NULL
-};
-
-static const _ExtendedGDBusMethodInfo _org_freedesktop_udisks_device_method_info_partition_create =
-{
- {
- -1,
- "PartitionCreate",
- (GDBusArgInfo **) &_org_freedesktop_udisks_device_method_info_partition_create_IN_ARG_pointers,
- (GDBusArgInfo **) &_org_freedesktop_udisks_device_method_info_partition_create_OUT_ARG_pointers,
- (GDBusAnnotationInfo **) &_org_freedesktop_udisks_device_method_partition_create_annotation_info_pointers
- },
- "handle-partition-create",
- FALSE
-};
-
-static const _ExtendedGDBusArgInfo _org_freedesktop_udisks_device_method_info_partition_modify_IN_ARG_type =
-{
- {
- -1,
- "type",
- "s",
- NULL
- },
- FALSE
-};
-
-static const _ExtendedGDBusArgInfo _org_freedesktop_udisks_device_method_info_partition_modify_IN_ARG_label =
-{
- {
- -1,
- "label",
- "s",
- NULL
- },
- FALSE
-};
-
-static const _ExtendedGDBusArgInfo _org_freedesktop_udisks_device_method_info_partition_modify_IN_ARG_flags =
-{
- {
- -1,
- "flags",
- "as",
- NULL
- },
- FALSE
-};
-
-static const _ExtendedGDBusArgInfo * const _org_freedesktop_udisks_device_method_info_partition_modify_IN_ARG_pointers[] =
-{
- &_org_freedesktop_udisks_device_method_info_partition_modify_IN_ARG_type,
- &_org_freedesktop_udisks_device_method_info_partition_modify_IN_ARG_label,
- &_org_freedesktop_udisks_device_method_info_partition_modify_IN_ARG_flags,
- NULL
-};
-
-static const GDBusAnnotationInfo _org_freedesktop_udisks_device_method_partition_modify_annotation_info_0 =
-{
- -1,
- "org.freedesktop.DBus.GLib.Async",
- "",
- NULL
-};
-
-static const GDBusAnnotationInfo * const _org_freedesktop_udisks_device_method_partition_modify_annotation_info_pointers[] =
-{
- &_org_freedesktop_udisks_device_method_partition_modify_annotation_info_0,
- NULL
-};
-
-static const _ExtendedGDBusMethodInfo _org_freedesktop_udisks_device_method_info_partition_modify =
-{
- {
- -1,
- "PartitionModify",
- (GDBusArgInfo **) &_org_freedesktop_udisks_device_method_info_partition_modify_IN_ARG_pointers,
- NULL,
- (GDBusAnnotationInfo **) &_org_freedesktop_udisks_device_method_partition_modify_annotation_info_pointers
- },
- "handle-partition-modify",
- FALSE
-};
-
-static const _ExtendedGDBusArgInfo _org_freedesktop_udisks_device_method_info_filesystem_create_IN_ARG_fstype =
-{
- {
- -1,
- "fstype",
- "s",
- NULL
- },
- FALSE
-};
-
-static const _ExtendedGDBusArgInfo _org_freedesktop_udisks_device_method_info_filesystem_create_IN_ARG_options =
-{
- {
- -1,
- "options",
- "as",
- NULL
- },
- FALSE
-};
-
-static const _ExtendedGDBusArgInfo * const _org_freedesktop_udisks_device_method_info_filesystem_create_IN_ARG_pointers[] =
-{
- &_org_freedesktop_udisks_device_method_info_filesystem_create_IN_ARG_fstype,
- &_org_freedesktop_udisks_device_method_info_filesystem_create_IN_ARG_options,
- NULL
-};
-
-static const GDBusAnnotationInfo _org_freedesktop_udisks_device_method_filesystem_create_annotation_info_0 =
-{
- -1,
- "org.freedesktop.DBus.GLib.Async",
- "",
- NULL
-};
-
-static const GDBusAnnotationInfo * const _org_freedesktop_udisks_device_method_filesystem_create_annotation_info_pointers[] =
-{
- &_org_freedesktop_udisks_device_method_filesystem_create_annotation_info_0,
- NULL
-};
-
-static const _ExtendedGDBusMethodInfo _org_freedesktop_udisks_device_method_info_filesystem_create =
-{
- {
- -1,
- "FilesystemCreate",
- (GDBusArgInfo **) &_org_freedesktop_udisks_device_method_info_filesystem_create_IN_ARG_pointers,
- NULL,
- (GDBusAnnotationInfo **) &_org_freedesktop_udisks_device_method_filesystem_create_annotation_info_pointers
- },
- "handle-filesystem-create",
- FALSE
-};
-
-static const _ExtendedGDBusArgInfo _org_freedesktop_udisks_device_method_info_filesystem_set_label_IN_ARG_new_label =
-{
- {
- -1,
- "new_label",
- "s",
- NULL
- },
- FALSE
-};
-
-static const _ExtendedGDBusArgInfo * const _org_freedesktop_udisks_device_method_info_filesystem_set_label_IN_ARG_pointers[] =
-{
- &_org_freedesktop_udisks_device_method_info_filesystem_set_label_IN_ARG_new_label,
- NULL
-};
-
-static const GDBusAnnotationInfo _org_freedesktop_udisks_device_method_filesystem_set_label_annotation_info_0 =
-{
- -1,
- "org.freedesktop.DBus.GLib.Async",
- "",
- NULL
-};
-
-static const GDBusAnnotationInfo * const _org_freedesktop_udisks_device_method_filesystem_set_label_annotation_info_pointers[] =
-{
- &_org_freedesktop_udisks_device_method_filesystem_set_label_annotation_info_0,
- NULL
-};
-
-static const _ExtendedGDBusMethodInfo _org_freedesktop_udisks_device_method_info_filesystem_set_label =
-{
- {
- -1,
- "FilesystemSetLabel",
- (GDBusArgInfo **) &_org_freedesktop_udisks_device_method_info_filesystem_set_label_IN_ARG_pointers,
- NULL,
- (GDBusAnnotationInfo **) &_org_freedesktop_udisks_device_method_filesystem_set_label_annotation_info_pointers
- },
- "handle-filesystem-set-label",
- FALSE
-};
-
-static const _ExtendedGDBusArgInfo _org_freedesktop_udisks_device_method_info_filesystem_mount_IN_ARG_filesystem_type =
-{
- {
- -1,
- "filesystem_type",
- "s",
- NULL
- },
- FALSE
-};
-
-static const _ExtendedGDBusArgInfo _org_freedesktop_udisks_device_method_info_filesystem_mount_IN_ARG_options =
-{
- {
- -1,
- "options",
- "as",
- NULL
- },
- FALSE
-};
-
-static const _ExtendedGDBusArgInfo * const _org_freedesktop_udisks_device_method_info_filesystem_mount_IN_ARG_pointers[] =
-{
- &_org_freedesktop_udisks_device_method_info_filesystem_mount_IN_ARG_filesystem_type,
- &_org_freedesktop_udisks_device_method_info_filesystem_mount_IN_ARG_options,
- NULL
-};
-
-static const _ExtendedGDBusArgInfo _org_freedesktop_udisks_device_method_info_filesystem_mount_OUT_ARG_mount_path =
-{
- {
- -1,
- "mount_path",
- "s",
- NULL
- },
- FALSE
-};
-
-static const _ExtendedGDBusArgInfo * const _org_freedesktop_udisks_device_method_info_filesystem_mount_OUT_ARG_pointers[] =
-{
- &_org_freedesktop_udisks_device_method_info_filesystem_mount_OUT_ARG_mount_path,
- NULL
-};
-
-static const GDBusAnnotationInfo _org_freedesktop_udisks_device_method_filesystem_mount_annotation_info_0 =
-{
- -1,
- "org.freedesktop.DBus.GLib.Async",
- "",
- NULL
-};
-
-static const GDBusAnnotationInfo * const _org_freedesktop_udisks_device_method_filesystem_mount_annotation_info_pointers[] =
-{
- &_org_freedesktop_udisks_device_method_filesystem_mount_annotation_info_0,
- NULL
-};
-
-static const _ExtendedGDBusMethodInfo _org_freedesktop_udisks_device_method_info_filesystem_mount =
-{
- {
- -1,
- "FilesystemMount",
- (GDBusArgInfo **) &_org_freedesktop_udisks_device_method_info_filesystem_mount_IN_ARG_pointers,
- (GDBusArgInfo **) &_org_freedesktop_udisks_device_method_info_filesystem_mount_OUT_ARG_pointers,
- (GDBusAnnotationInfo **) &_org_freedesktop_udisks_device_method_filesystem_mount_annotation_info_pointers
- },
- "handle-filesystem-mount",
- FALSE
-};
-
-static const _ExtendedGDBusArgInfo _org_freedesktop_udisks_device_method_info_filesystem_unmount_IN_ARG_options =
-{
- {
- -1,
- "options",
- "as",
- NULL
- },
- FALSE
-};
-
-static const _ExtendedGDBusArgInfo * const _org_freedesktop_udisks_device_method_info_filesystem_unmount_IN_ARG_pointers[] =
-{
- &_org_freedesktop_udisks_device_method_info_filesystem_unmount_IN_ARG_options,
- NULL
-};
-
-static const GDBusAnnotationInfo _org_freedesktop_udisks_device_method_filesystem_unmount_annotation_info_0 =
-{
- -1,
- "org.freedesktop.DBus.GLib.Async",
- "",
- NULL
-};
-
-static const GDBusAnnotationInfo * const _org_freedesktop_udisks_device_method_filesystem_unmount_annotation_info_pointers[] =
-{
- &_org_freedesktop_udisks_device_method_filesystem_unmount_annotation_info_0,
- NULL
-};
-
-static const _ExtendedGDBusMethodInfo _org_freedesktop_udisks_device_method_info_filesystem_unmount =
-{
- {
- -1,
- "FilesystemUnmount",
- (GDBusArgInfo **) &_org_freedesktop_udisks_device_method_info_filesystem_unmount_IN_ARG_pointers,
- NULL,
- (GDBusAnnotationInfo **) &_org_freedesktop_udisks_device_method_filesystem_unmount_annotation_info_pointers
- },
- "handle-filesystem-unmount",
- FALSE
-};
-
-static const _ExtendedGDBusArgInfo _org_freedesktop_udisks_device_method_info_filesystem_check_IN_ARG_options =
-{
- {
- -1,
- "options",
- "as",
- NULL
- },
- FALSE
-};
-
-static const _ExtendedGDBusArgInfo * const _org_freedesktop_udisks_device_method_info_filesystem_check_IN_ARG_pointers[] =
-{
- &_org_freedesktop_udisks_device_method_info_filesystem_check_IN_ARG_options,
- NULL
-};
-
-static const _ExtendedGDBusArgInfo _org_freedesktop_udisks_device_method_info_filesystem_check_OUT_ARG_is_clean =
-{
- {
- -1,
- "is_clean",
- "b",
- NULL
- },
- FALSE
-};
-
-static const _ExtendedGDBusArgInfo * const _org_freedesktop_udisks_device_method_info_filesystem_check_OUT_ARG_pointers[] =
-{
- &_org_freedesktop_udisks_device_method_info_filesystem_check_OUT_ARG_is_clean,
- NULL
-};
-
-static const GDBusAnnotationInfo _org_freedesktop_udisks_device_method_filesystem_check_annotation_info_0 =
-{
- -1,
- "org.freedesktop.DBus.GLib.Async",
- "",
- NULL
-};
-
-static const GDBusAnnotationInfo * const _org_freedesktop_udisks_device_method_filesystem_check_annotation_info_pointers[] =
-{
- &_org_freedesktop_udisks_device_method_filesystem_check_annotation_info_0,
- NULL
-};
-
-static const _ExtendedGDBusMethodInfo _org_freedesktop_udisks_device_method_info_filesystem_check =
-{
- {
- -1,
- "FilesystemCheck",
- (GDBusArgInfo **) &_org_freedesktop_udisks_device_method_info_filesystem_check_IN_ARG_pointers,
- (GDBusArgInfo **) &_org_freedesktop_udisks_device_method_info_filesystem_check_OUT_ARG_pointers,
- (GDBusAnnotationInfo **) &_org_freedesktop_udisks_device_method_filesystem_check_annotation_info_pointers
- },
- "handle-filesystem-check",
- FALSE
-};
-
-static const _ExtendedGDBusArgInfo _org_freedesktop_udisks_device_method_info_filesystem_list_open_files_OUT_ARG_processes =
-{
- {
- -1,
- "processes",
- "a(uus)",
- NULL
- },
- FALSE
-};
-
-static const _ExtendedGDBusArgInfo * const _org_freedesktop_udisks_device_method_info_filesystem_list_open_files_OUT_ARG_pointers[] =
-{
- &_org_freedesktop_udisks_device_method_info_filesystem_list_open_files_OUT_ARG_processes,
- NULL
-};
-
-static const GDBusAnnotationInfo _org_freedesktop_udisks_device_method_filesystem_list_open_files_annotation_info_0 =
-{
- -1,
- "org.freedesktop.DBus.GLib.Async",
- "",
- NULL
-};
-
-static const GDBusAnnotationInfo * const _org_freedesktop_udisks_device_method_filesystem_list_open_files_annotation_info_pointers[] =
-{
- &_org_freedesktop_udisks_device_method_filesystem_list_open_files_annotation_info_0,
- NULL
-};
-
-static const _ExtendedGDBusMethodInfo _org_freedesktop_udisks_device_method_info_filesystem_list_open_files =
-{
- {
- -1,
- "FilesystemListOpenFiles",
- NULL,
- (GDBusArgInfo **) &_org_freedesktop_udisks_device_method_info_filesystem_list_open_files_OUT_ARG_pointers,
- (GDBusAnnotationInfo **) &_org_freedesktop_udisks_device_method_filesystem_list_open_files_annotation_info_pointers
- },
- "handle-filesystem-list-open-files",
- FALSE
-};
-
-static const _ExtendedGDBusArgInfo _org_freedesktop_udisks_device_method_info_luks_unlock_IN_ARG_passphrase =
-{
- {
- -1,
- "passphrase",
- "s",
- NULL
- },
- FALSE
-};
-
-static const _ExtendedGDBusArgInfo _org_freedesktop_udisks_device_method_info_luks_unlock_IN_ARG_options =
-{
- {
- -1,
- "options",
- "as",
- NULL
- },
- FALSE
-};
-
-static const _ExtendedGDBusArgInfo * const _org_freedesktop_udisks_device_method_info_luks_unlock_IN_ARG_pointers[] =
-{
- &_org_freedesktop_udisks_device_method_info_luks_unlock_IN_ARG_passphrase,
- &_org_freedesktop_udisks_device_method_info_luks_unlock_IN_ARG_options,
- NULL
-};
-
-static const _ExtendedGDBusArgInfo _org_freedesktop_udisks_device_method_info_luks_unlock_OUT_ARG_cleartext_device =
-{
- {
- -1,
- "cleartext_device",
- "o",
- NULL
- },
- FALSE
-};
-
-static const _ExtendedGDBusArgInfo * const _org_freedesktop_udisks_device_method_info_luks_unlock_OUT_ARG_pointers[] =
-{
- &_org_freedesktop_udisks_device_method_info_luks_unlock_OUT_ARG_cleartext_device,
- NULL
-};
-
-static const GDBusAnnotationInfo _org_freedesktop_udisks_device_method_luks_unlock_annotation_info_0 =
-{
- -1,
- "org.freedesktop.DBus.GLib.Async",
- "",
- NULL
-};
-
-static const GDBusAnnotationInfo * const _org_freedesktop_udisks_device_method_luks_unlock_annotation_info_pointers[] =
-{
- &_org_freedesktop_udisks_device_method_luks_unlock_annotation_info_0,
- NULL
-};
-
-static const _ExtendedGDBusMethodInfo _org_freedesktop_udisks_device_method_info_luks_unlock =
-{
- {
- -1,
- "LuksUnlock",
- (GDBusArgInfo **) &_org_freedesktop_udisks_device_method_info_luks_unlock_IN_ARG_pointers,
- (GDBusArgInfo **) &_org_freedesktop_udisks_device_method_info_luks_unlock_OUT_ARG_pointers,
- (GDBusAnnotationInfo **) &_org_freedesktop_udisks_device_method_luks_unlock_annotation_info_pointers
- },
- "handle-luks-unlock",
- FALSE
-};
-
-static const _ExtendedGDBusArgInfo _org_freedesktop_udisks_device_method_info_luks_lock_IN_ARG_options =
-{
- {
- -1,
- "options",
- "as",
- NULL
- },
- FALSE
-};
-
-static const _ExtendedGDBusArgInfo * const _org_freedesktop_udisks_device_method_info_luks_lock_IN_ARG_pointers[] =
-{
- &_org_freedesktop_udisks_device_method_info_luks_lock_IN_ARG_options,
- NULL
-};
-
-static const GDBusAnnotationInfo _org_freedesktop_udisks_device_method_luks_lock_annotation_info_0 =
-{
- -1,
- "org.freedesktop.DBus.GLib.Async",
- "",
- NULL
-};
-
-static const GDBusAnnotationInfo * const _org_freedesktop_udisks_device_method_luks_lock_annotation_info_pointers[] =
-{
- &_org_freedesktop_udisks_device_method_luks_lock_annotation_info_0,
- NULL
-};
-
-static const _ExtendedGDBusMethodInfo _org_freedesktop_udisks_device_method_info_luks_lock =
-{
- {
- -1,
- "LuksLock",
- (GDBusArgInfo **) &_org_freedesktop_udisks_device_method_info_luks_lock_IN_ARG_pointers,
- NULL,
- (GDBusAnnotationInfo **) &_org_freedesktop_udisks_device_method_luks_lock_annotation_info_pointers
- },
- "handle-luks-lock",
- FALSE
-};
-
-static const _ExtendedGDBusArgInfo _org_freedesktop_udisks_device_method_info_luks_change_passphrase_IN_ARG_current_passphrase =
-{
- {
- -1,
- "current_passphrase",
- "s",
- NULL
- },
- FALSE
-};
-
-static const _ExtendedGDBusArgInfo _org_freedesktop_udisks_device_method_info_luks_change_passphrase_IN_ARG_new_passphrase =
-{
- {
- -1,
- "new_passphrase",
- "s",
- NULL
- },
- FALSE
-};
-
-static const _ExtendedGDBusArgInfo * const _org_freedesktop_udisks_device_method_info_luks_change_passphrase_IN_ARG_pointers[] =
-{
- &_org_freedesktop_udisks_device_method_info_luks_change_passphrase_IN_ARG_current_passphrase,
- &_org_freedesktop_udisks_device_method_info_luks_change_passphrase_IN_ARG_new_passphrase,
- NULL
-};
-
-static const GDBusAnnotationInfo _org_freedesktop_udisks_device_method_luks_change_passphrase_annotation_info_0 =
-{
- -1,
- "org.freedesktop.DBus.GLib.Async",
- "",
- NULL
-};
-
-static const GDBusAnnotationInfo * const _org_freedesktop_udisks_device_method_luks_change_passphrase_annotation_info_pointers[] =
-{
- &_org_freedesktop_udisks_device_method_luks_change_passphrase_annotation_info_0,
- NULL
-};
-
-static const _ExtendedGDBusMethodInfo _org_freedesktop_udisks_device_method_info_luks_change_passphrase =
-{
- {
- -1,
- "LuksChangePassphrase",
- (GDBusArgInfo **) &_org_freedesktop_udisks_device_method_info_luks_change_passphrase_IN_ARG_pointers,
- NULL,
- (GDBusAnnotationInfo **) &_org_freedesktop_udisks_device_method_luks_change_passphrase_annotation_info_pointers
- },
- "handle-luks-change-passphrase",
- FALSE
-};
-
-static const _ExtendedGDBusArgInfo _org_freedesktop_udisks_device_method_info_linux_md_add_spare_IN_ARG_component =
-{
- {
- -1,
- "component",
- "o",
- NULL
- },
- FALSE
-};
-
-static const _ExtendedGDBusArgInfo _org_freedesktop_udisks_device_method_info_linux_md_add_spare_IN_ARG_options =
-{
- {
- -1,
- "options",
- "as",
- NULL
- },
- FALSE
-};
-
-static const _ExtendedGDBusArgInfo * const _org_freedesktop_udisks_device_method_info_linux_md_add_spare_IN_ARG_pointers[] =
-{
- &_org_freedesktop_udisks_device_method_info_linux_md_add_spare_IN_ARG_component,
- &_org_freedesktop_udisks_device_method_info_linux_md_add_spare_IN_ARG_options,
- NULL
-};
-
-static const GDBusAnnotationInfo _org_freedesktop_udisks_device_method_linux_md_add_spare_annotation_info_0 =
-{
- -1,
- "org.freedesktop.DBus.GLib.Async",
- "",
- NULL
-};
-
-static const GDBusAnnotationInfo * const _org_freedesktop_udisks_device_method_linux_md_add_spare_annotation_info_pointers[] =
-{
- &_org_freedesktop_udisks_device_method_linux_md_add_spare_annotation_info_0,
- NULL
-};
-
-static const _ExtendedGDBusMethodInfo _org_freedesktop_udisks_device_method_info_linux_md_add_spare =
-{
- {
- -1,
- "LinuxMdAddSpare",
- (GDBusArgInfo **) &_org_freedesktop_udisks_device_method_info_linux_md_add_spare_IN_ARG_pointers,
- NULL,
- (GDBusAnnotationInfo **) &_org_freedesktop_udisks_device_method_linux_md_add_spare_annotation_info_pointers
- },
- "handle-linux-md-add-spare",
- FALSE
-};
-
-static const _ExtendedGDBusArgInfo _org_freedesktop_udisks_device_method_info_linux_md_expand_IN_ARG_components =
-{
- {
- -1,
- "components",
- "ao",
- NULL
- },
- FALSE
-};
-
-static const _ExtendedGDBusArgInfo _org_freedesktop_udisks_device_method_info_linux_md_expand_IN_ARG_options =
-{
- {
- -1,
- "options",
- "as",
- NULL
- },
- FALSE
-};
-
-static const _ExtendedGDBusArgInfo * const _org_freedesktop_udisks_device_method_info_linux_md_expand_IN_ARG_pointers[] =
-{
- &_org_freedesktop_udisks_device_method_info_linux_md_expand_IN_ARG_components,
- &_org_freedesktop_udisks_device_method_info_linux_md_expand_IN_ARG_options,
- NULL
-};
-
-static const GDBusAnnotationInfo _org_freedesktop_udisks_device_method_linux_md_expand_annotation_info_0 =
-{
- -1,
- "org.freedesktop.DBus.GLib.Async",
- "",
- NULL
-};
-
-static const GDBusAnnotationInfo * const _org_freedesktop_udisks_device_method_linux_md_expand_annotation_info_pointers[] =
-{
- &_org_freedesktop_udisks_device_method_linux_md_expand_annotation_info_0,
- NULL
-};
-
-static const _ExtendedGDBusMethodInfo _org_freedesktop_udisks_device_method_info_linux_md_expand =
-{
- {
- -1,
- "LinuxMdExpand",
- (GDBusArgInfo **) &_org_freedesktop_udisks_device_method_info_linux_md_expand_IN_ARG_pointers,
- NULL,
- (GDBusAnnotationInfo **) &_org_freedesktop_udisks_device_method_linux_md_expand_annotation_info_pointers
- },
- "handle-linux-md-expand",
- FALSE
-};
-
-static const _ExtendedGDBusArgInfo _org_freedesktop_udisks_device_method_info_linux_md_remove_component_IN_ARG_component =
-{
- {
- -1,
- "component",
- "o",
- NULL
- },
- FALSE
-};
-
-static const _ExtendedGDBusArgInfo _org_freedesktop_udisks_device_method_info_linux_md_remove_component_IN_ARG_options =
-{
- {
- -1,
- "options",
- "as",
- NULL
- },
- FALSE
-};
-
-static const _ExtendedGDBusArgInfo * const _org_freedesktop_udisks_device_method_info_linux_md_remove_component_IN_ARG_pointers[] =
-{
- &_org_freedesktop_udisks_device_method_info_linux_md_remove_component_IN_ARG_component,
- &_org_freedesktop_udisks_device_method_info_linux_md_remove_component_IN_ARG_options,
- NULL
-};
-
-static const GDBusAnnotationInfo _org_freedesktop_udisks_device_method_linux_md_remove_component_annotation_info_0 =
-{
- -1,
- "org.freedesktop.DBus.GLib.Async",
- "",
- NULL
-};
-
-static const GDBusAnnotationInfo * const _org_freedesktop_udisks_device_method_linux_md_remove_component_annotation_info_pointers[] =
-{
- &_org_freedesktop_udisks_device_method_linux_md_remove_component_annotation_info_0,
- NULL
-};
-
-static const _ExtendedGDBusMethodInfo _org_freedesktop_udisks_device_method_info_linux_md_remove_component =
-{
- {
- -1,
- "LinuxMdRemoveComponent",
- (GDBusArgInfo **) &_org_freedesktop_udisks_device_method_info_linux_md_remove_component_IN_ARG_pointers,
- NULL,
- (GDBusAnnotationInfo **) &_org_freedesktop_udisks_device_method_linux_md_remove_component_annotation_info_pointers
- },
- "handle-linux-md-remove-component",
- FALSE
-};
-
-static const _ExtendedGDBusArgInfo _org_freedesktop_udisks_device_method_info_linux_md_stop_IN_ARG_options =
-{
- {
- -1,
- "options",
- "as",
- NULL
- },
- FALSE
-};
-
-static const _ExtendedGDBusArgInfo * const _org_freedesktop_udisks_device_method_info_linux_md_stop_IN_ARG_pointers[] =
-{
- &_org_freedesktop_udisks_device_method_info_linux_md_stop_IN_ARG_options,
- NULL
-};
-
-static const GDBusAnnotationInfo _org_freedesktop_udisks_device_method_linux_md_stop_annotation_info_0 =
-{
- -1,
- "org.freedesktop.DBus.GLib.Async",
- "",
- NULL
-};
-
-static const GDBusAnnotationInfo * const _org_freedesktop_udisks_device_method_linux_md_stop_annotation_info_pointers[] =
-{
- &_org_freedesktop_udisks_device_method_linux_md_stop_annotation_info_0,
- NULL
-};
-
-static const _ExtendedGDBusMethodInfo _org_freedesktop_udisks_device_method_info_linux_md_stop =
-{
- {
- -1,
- "LinuxMdStop",
- (GDBusArgInfo **) &_org_freedesktop_udisks_device_method_info_linux_md_stop_IN_ARG_pointers,
- NULL,
- (GDBusAnnotationInfo **) &_org_freedesktop_udisks_device_method_linux_md_stop_annotation_info_pointers
- },
- "handle-linux-md-stop",
- FALSE
-};
-
-static const _ExtendedGDBusArgInfo _org_freedesktop_udisks_device_method_info_linux_lvm2_lvstop_IN_ARG_options =
-{
- {
- -1,
- "options",
- "as",
- NULL
- },
- FALSE
-};
-
-static const _ExtendedGDBusArgInfo * const _org_freedesktop_udisks_device_method_info_linux_lvm2_lvstop_IN_ARG_pointers[] =
-{
- &_org_freedesktop_udisks_device_method_info_linux_lvm2_lvstop_IN_ARG_options,
- NULL
-};
-
-static const GDBusAnnotationInfo _org_freedesktop_udisks_device_method_linux_lvm2_lvstop_annotation_info_0 =
-{
- -1,
- "org.freedesktop.DBus.GLib.Async",
- "",
- NULL
-};
-
-static const GDBusAnnotationInfo * const _org_freedesktop_udisks_device_method_linux_lvm2_lvstop_annotation_info_pointers[] =
-{
- &_org_freedesktop_udisks_device_method_linux_lvm2_lvstop_annotation_info_0,
- NULL
-};
-
-static const _ExtendedGDBusMethodInfo _org_freedesktop_udisks_device_method_info_linux_lvm2_lvstop =
-{
- {
- -1,
- "LinuxLvm2LVStop",
- (GDBusArgInfo **) &_org_freedesktop_udisks_device_method_info_linux_lvm2_lvstop_IN_ARG_pointers,
- NULL,
- (GDBusAnnotationInfo **) &_org_freedesktop_udisks_device_method_linux_lvm2_lvstop_annotation_info_pointers
- },
- "handle-linux-lvm2-lvstop",
- FALSE
-};
-
-static const _ExtendedGDBusArgInfo _org_freedesktop_udisks_device_method_info_linux_md_check_IN_ARG_options =
-{
- {
- -1,
- "options",
- "as",
- NULL
- },
- FALSE
-};
-
-static const _ExtendedGDBusArgInfo * const _org_freedesktop_udisks_device_method_info_linux_md_check_IN_ARG_pointers[] =
-{
- &_org_freedesktop_udisks_device_method_info_linux_md_check_IN_ARG_options,
- NULL
-};
-
-static const _ExtendedGDBusArgInfo _org_freedesktop_udisks_device_method_info_linux_md_check_OUT_ARG_number_of_errors =
-{
- {
- -1,
- "number_of_errors",
- "t",
- NULL
- },
- FALSE
-};
-
-static const _ExtendedGDBusArgInfo * const _org_freedesktop_udisks_device_method_info_linux_md_check_OUT_ARG_pointers[] =
-{
- &_org_freedesktop_udisks_device_method_info_linux_md_check_OUT_ARG_number_of_errors,
- NULL
-};
-
-static const GDBusAnnotationInfo _org_freedesktop_udisks_device_method_linux_md_check_annotation_info_0 =
-{
- -1,
- "org.freedesktop.DBus.GLib.Async",
- "",
- NULL
-};
-
-static const GDBusAnnotationInfo * const _org_freedesktop_udisks_device_method_linux_md_check_annotation_info_pointers[] =
-{
- &_org_freedesktop_udisks_device_method_linux_md_check_annotation_info_0,
- NULL
-};
-
-static const _ExtendedGDBusMethodInfo _org_freedesktop_udisks_device_method_info_linux_md_check =
-{
- {
- -1,
- "LinuxMdCheck",
- (GDBusArgInfo **) &_org_freedesktop_udisks_device_method_info_linux_md_check_IN_ARG_pointers,
- (GDBusArgInfo **) &_org_freedesktop_udisks_device_method_info_linux_md_check_OUT_ARG_pointers,
- (GDBusAnnotationInfo **) &_org_freedesktop_udisks_device_method_linux_md_check_annotation_info_pointers
- },
- "handle-linux-md-check",
- FALSE
-};
-
-static const _ExtendedGDBusArgInfo _org_freedesktop_udisks_device_method_info_drive_inhibit_polling_IN_ARG_options =
-{
- {
- -1,
- "options",
- "as",
- NULL
- },
- FALSE
-};
-
-static const _ExtendedGDBusArgInfo * const _org_freedesktop_udisks_device_method_info_drive_inhibit_polling_IN_ARG_pointers[] =
-{
- &_org_freedesktop_udisks_device_method_info_drive_inhibit_polling_IN_ARG_options,
- NULL
-};
-
-static const _ExtendedGDBusArgInfo _org_freedesktop_udisks_device_method_info_drive_inhibit_polling_OUT_ARG_cookie =
-{
- {
- -1,
- "cookie",
- "s",
- NULL
- },
- FALSE
-};
-
-static const _ExtendedGDBusArgInfo * const _org_freedesktop_udisks_device_method_info_drive_inhibit_polling_OUT_ARG_pointers[] =
-{
- &_org_freedesktop_udisks_device_method_info_drive_inhibit_polling_OUT_ARG_cookie,
- NULL
-};
-
-static const GDBusAnnotationInfo _org_freedesktop_udisks_device_method_drive_inhibit_polling_annotation_info_0 =
-{
- -1,
- "org.freedesktop.DBus.GLib.Async",
- "",
- NULL
-};
-
-static const GDBusAnnotationInfo * const _org_freedesktop_udisks_device_method_drive_inhibit_polling_annotation_info_pointers[] =
-{
- &_org_freedesktop_udisks_device_method_drive_inhibit_polling_annotation_info_0,
- NULL
-};
-
-static const _ExtendedGDBusMethodInfo _org_freedesktop_udisks_device_method_info_drive_inhibit_polling =
-{
- {
- -1,
- "DriveInhibitPolling",
- (GDBusArgInfo **) &_org_freedesktop_udisks_device_method_info_drive_inhibit_polling_IN_ARG_pointers,
- (GDBusArgInfo **) &_org_freedesktop_udisks_device_method_info_drive_inhibit_polling_OUT_ARG_pointers,
- (GDBusAnnotationInfo **) &_org_freedesktop_udisks_device_method_drive_inhibit_polling_annotation_info_pointers
- },
- "handle-drive-inhibit-polling",
- FALSE
-};
-
-static const _ExtendedGDBusArgInfo _org_freedesktop_udisks_device_method_info_drive_uninhibit_polling_IN_ARG_cookie =
-{
- {
- -1,
- "cookie",
- "s",
- NULL
- },
- FALSE
-};
-
-static const _ExtendedGDBusArgInfo * const _org_freedesktop_udisks_device_method_info_drive_uninhibit_polling_IN_ARG_pointers[] =
-{
- &_org_freedesktop_udisks_device_method_info_drive_uninhibit_polling_IN_ARG_cookie,
- NULL
-};
-
-static const GDBusAnnotationInfo _org_freedesktop_udisks_device_method_drive_uninhibit_polling_annotation_info_0 =
-{
- -1,
- "org.freedesktop.DBus.GLib.Async",
- "",
- NULL
-};
-
-static const GDBusAnnotationInfo * const _org_freedesktop_udisks_device_method_drive_uninhibit_polling_annotation_info_pointers[] =
-{
- &_org_freedesktop_udisks_device_method_drive_uninhibit_polling_annotation_info_0,
- NULL
-};
-
-static const _ExtendedGDBusMethodInfo _org_freedesktop_udisks_device_method_info_drive_uninhibit_polling =
-{
- {
- -1,
- "DriveUninhibitPolling",
- (GDBusArgInfo **) &_org_freedesktop_udisks_device_method_info_drive_uninhibit_polling_IN_ARG_pointers,
- NULL,
- (GDBusAnnotationInfo **) &_org_freedesktop_udisks_device_method_drive_uninhibit_polling_annotation_info_pointers
- },
- "handle-drive-uninhibit-polling",
- FALSE
-};
-
-static const GDBusAnnotationInfo _org_freedesktop_udisks_device_method_drive_poll_media_annotation_info_0 =
-{
- -1,
- "org.freedesktop.DBus.GLib.Async",
- "",
- NULL
-};
-
-static const GDBusAnnotationInfo * const _org_freedesktop_udisks_device_method_drive_poll_media_annotation_info_pointers[] =
-{
- &_org_freedesktop_udisks_device_method_drive_poll_media_annotation_info_0,
- NULL
-};
-
-static const _ExtendedGDBusMethodInfo _org_freedesktop_udisks_device_method_info_drive_poll_media =
-{
- {
- -1,
- "DrivePollMedia",
- NULL,
- NULL,
- (GDBusAnnotationInfo **) &_org_freedesktop_udisks_device_method_drive_poll_media_annotation_info_pointers
- },
- "handle-drive-poll-media",
- FALSE
-};
-
-static const _ExtendedGDBusArgInfo _org_freedesktop_udisks_device_method_info_drive_eject_IN_ARG_options =
-{
- {
- -1,
- "options",
- "as",
- NULL
- },
- FALSE
-};
-
-static const _ExtendedGDBusArgInfo * const _org_freedesktop_udisks_device_method_info_drive_eject_IN_ARG_pointers[] =
-{
- &_org_freedesktop_udisks_device_method_info_drive_eject_IN_ARG_options,
- NULL
-};
-
-static const GDBusAnnotationInfo _org_freedesktop_udisks_device_method_drive_eject_annotation_info_0 =
-{
- -1,
- "org.freedesktop.DBus.GLib.Async",
- "",
- NULL
-};
-
-static const GDBusAnnotationInfo * const _org_freedesktop_udisks_device_method_drive_eject_annotation_info_pointers[] =
-{
- &_org_freedesktop_udisks_device_method_drive_eject_annotation_info_0,
- NULL
-};
-
-static const _ExtendedGDBusMethodInfo _org_freedesktop_udisks_device_method_info_drive_eject =
-{
- {
- -1,
- "DriveEject",
- (GDBusArgInfo **) &_org_freedesktop_udisks_device_method_info_drive_eject_IN_ARG_pointers,
- NULL,
- (GDBusAnnotationInfo **) &_org_freedesktop_udisks_device_method_drive_eject_annotation_info_pointers
- },
- "handle-drive-eject",
- FALSE
-};
-
-static const _ExtendedGDBusArgInfo _org_freedesktop_udisks_device_method_info_drive_detach_IN_ARG_options =
-{
- {
- -1,
- "options",
- "as",
- NULL
- },
- FALSE
-};
-
-static const _ExtendedGDBusArgInfo * const _org_freedesktop_udisks_device_method_info_drive_detach_IN_ARG_pointers[] =
-{
- &_org_freedesktop_udisks_device_method_info_drive_detach_IN_ARG_options,
- NULL
-};
-
-static const GDBusAnnotationInfo _org_freedesktop_udisks_device_method_drive_detach_annotation_info_0 =
-{
- -1,
- "org.freedesktop.DBus.GLib.Async",
- "",
- NULL
-};
-
-static const GDBusAnnotationInfo * const _org_freedesktop_udisks_device_method_drive_detach_annotation_info_pointers[] =
-{
- &_org_freedesktop_udisks_device_method_drive_detach_annotation_info_0,
- NULL
-};
-
-static const _ExtendedGDBusMethodInfo _org_freedesktop_udisks_device_method_info_drive_detach =
-{
- {
- -1,
- "DriveDetach",
- (GDBusArgInfo **) &_org_freedesktop_udisks_device_method_info_drive_detach_IN_ARG_pointers,
- NULL,
- (GDBusAnnotationInfo **) &_org_freedesktop_udisks_device_method_drive_detach_annotation_info_pointers
- },
- "handle-drive-detach",
- FALSE
-};
-
-static const _ExtendedGDBusArgInfo _org_freedesktop_udisks_device_method_info_drive_set_spindown_timeout_IN_ARG_timeout_seconds =
-{
- {
- -1,
- "timeout_seconds",
- "i",
- NULL
- },
- FALSE
-};
-
-static const _ExtendedGDBusArgInfo _org_freedesktop_udisks_device_method_info_drive_set_spindown_timeout_IN_ARG_options =
-{
- {
- -1,
- "options",
- "as",
- NULL
- },
- FALSE
-};
-
-static const _ExtendedGDBusArgInfo * const _org_freedesktop_udisks_device_method_info_drive_set_spindown_timeout_IN_ARG_pointers[] =
-{
- &_org_freedesktop_udisks_device_method_info_drive_set_spindown_timeout_IN_ARG_timeout_seconds,
- &_org_freedesktop_udisks_device_method_info_drive_set_spindown_timeout_IN_ARG_options,
- NULL
-};
-
-static const _ExtendedGDBusArgInfo _org_freedesktop_udisks_device_method_info_drive_set_spindown_timeout_OUT_ARG_cookie =
-{
- {
- -1,
- "cookie",
- "s",
- NULL
- },
- FALSE
-};
-
-static const _ExtendedGDBusArgInfo * const _org_freedesktop_udisks_device_method_info_drive_set_spindown_timeout_OUT_ARG_pointers[] =
-{
- &_org_freedesktop_udisks_device_method_info_drive_set_spindown_timeout_OUT_ARG_cookie,
- NULL
-};
-
-static const GDBusAnnotationInfo _org_freedesktop_udisks_device_method_drive_set_spindown_timeout_annotation_info_0 =
-{
- -1,
- "org.freedesktop.DBus.GLib.Async",
- "",
- NULL
-};
-
-static const GDBusAnnotationInfo * const _org_freedesktop_udisks_device_method_drive_set_spindown_timeout_annotation_info_pointers[] =
-{
- &_org_freedesktop_udisks_device_method_drive_set_spindown_timeout_annotation_info_0,
- NULL
-};
-
-static const _ExtendedGDBusMethodInfo _org_freedesktop_udisks_device_method_info_drive_set_spindown_timeout =
-{
- {
- -1,
- "DriveSetSpindownTimeout",
- (GDBusArgInfo **) &_org_freedesktop_udisks_device_method_info_drive_set_spindown_timeout_IN_ARG_pointers,
- (GDBusArgInfo **) &_org_freedesktop_udisks_device_method_info_drive_set_spindown_timeout_OUT_ARG_pointers,
- (GDBusAnnotationInfo **) &_org_freedesktop_udisks_device_method_drive_set_spindown_timeout_annotation_info_pointers
- },
- "handle-drive-set-spindown-timeout",
- FALSE
-};
-
-static const _ExtendedGDBusArgInfo _org_freedesktop_udisks_device_method_info_drive_unset_spindown_timeout_IN_ARG_cookie =
-{
- {
- -1,
- "cookie",
- "s",
- NULL
- },
- FALSE
-};
-
-static const _ExtendedGDBusArgInfo * const _org_freedesktop_udisks_device_method_info_drive_unset_spindown_timeout_IN_ARG_pointers[] =
-{
- &_org_freedesktop_udisks_device_method_info_drive_unset_spindown_timeout_IN_ARG_cookie,
- NULL
-};
-
-static const GDBusAnnotationInfo _org_freedesktop_udisks_device_method_drive_unset_spindown_timeout_annotation_info_0 =
-{
- -1,
- "org.freedesktop.DBus.GLib.Async",
- "",
- NULL
-};
-
-static const GDBusAnnotationInfo * const _org_freedesktop_udisks_device_method_drive_unset_spindown_timeout_annotation_info_pointers[] =
-{
- &_org_freedesktop_udisks_device_method_drive_unset_spindown_timeout_annotation_info_0,
- NULL
-};
-
-static const _ExtendedGDBusMethodInfo _org_freedesktop_udisks_device_method_info_drive_unset_spindown_timeout =
-{
- {
- -1,
- "DriveUnsetSpindownTimeout",
- (GDBusArgInfo **) &_org_freedesktop_udisks_device_method_info_drive_unset_spindown_timeout_IN_ARG_pointers,
- NULL,
- (GDBusAnnotationInfo **) &_org_freedesktop_udisks_device_method_drive_unset_spindown_timeout_annotation_info_pointers
- },
- "handle-drive-unset-spindown-timeout",
- FALSE
-};
-
-static const _ExtendedGDBusArgInfo _org_freedesktop_udisks_device_method_info_drive_ata_smart_refresh_data_IN_ARG_options =
-{
- {
- -1,
- "options",
- "as",
- NULL
- },
- FALSE
-};
-
-static const _ExtendedGDBusArgInfo * const _org_freedesktop_udisks_device_method_info_drive_ata_smart_refresh_data_IN_ARG_pointers[] =
-{
- &_org_freedesktop_udisks_device_method_info_drive_ata_smart_refresh_data_IN_ARG_options,
- NULL
-};
-
-static const GDBusAnnotationInfo _org_freedesktop_udisks_device_method_drive_ata_smart_refresh_data_annotation_info_0 =
-{
- -1,
- "org.freedesktop.DBus.GLib.Async",
- "",
- NULL
-};
-
-static const GDBusAnnotationInfo * const _org_freedesktop_udisks_device_method_drive_ata_smart_refresh_data_annotation_info_pointers[] =
-{
- &_org_freedesktop_udisks_device_method_drive_ata_smart_refresh_data_annotation_info_0,
- NULL
-};
-
-static const _ExtendedGDBusMethodInfo _org_freedesktop_udisks_device_method_info_drive_ata_smart_refresh_data =
-{
- {
- -1,
- "DriveAtaSmartRefreshData",
- (GDBusArgInfo **) &_org_freedesktop_udisks_device_method_info_drive_ata_smart_refresh_data_IN_ARG_pointers,
- NULL,
- (GDBusAnnotationInfo **) &_org_freedesktop_udisks_device_method_drive_ata_smart_refresh_data_annotation_info_pointers
- },
- "handle-drive-ata-smart-refresh-data",
- FALSE
-};
-
-static const _ExtendedGDBusArgInfo _org_freedesktop_udisks_device_method_info_drive_ata_smart_initiate_selftest_IN_ARG_test =
-{
- {
- -1,
- "test",
- "s",
- NULL
- },
- FALSE
-};
-
-static const _ExtendedGDBusArgInfo _org_freedesktop_udisks_device_method_info_drive_ata_smart_initiate_selftest_IN_ARG_options =
-{
- {
- -1,
- "options",
- "as",
- NULL
- },
- FALSE
-};
-
-static const _ExtendedGDBusArgInfo * const _org_freedesktop_udisks_device_method_info_drive_ata_smart_initiate_selftest_IN_ARG_pointers[] =
-{
- &_org_freedesktop_udisks_device_method_info_drive_ata_smart_initiate_selftest_IN_ARG_test,
- &_org_freedesktop_udisks_device_method_info_drive_ata_smart_initiate_selftest_IN_ARG_options,
- NULL
-};
-
-static const GDBusAnnotationInfo _org_freedesktop_udisks_device_method_drive_ata_smart_initiate_selftest_annotation_info_0 =
-{
- -1,
- "org.freedesktop.DBus.GLib.Async",
- "",
- NULL
-};
-
-static const GDBusAnnotationInfo * const _org_freedesktop_udisks_device_method_drive_ata_smart_initiate_selftest_annotation_info_pointers[] =
-{
- &_org_freedesktop_udisks_device_method_drive_ata_smart_initiate_selftest_annotation_info_0,
- NULL
-};
-
-static const _ExtendedGDBusMethodInfo _org_freedesktop_udisks_device_method_info_drive_ata_smart_initiate_selftest =
-{
- {
- -1,
- "DriveAtaSmartInitiateSelftest",
- (GDBusArgInfo **) &_org_freedesktop_udisks_device_method_info_drive_ata_smart_initiate_selftest_IN_ARG_pointers,
- NULL,
- (GDBusAnnotationInfo **) &_org_freedesktop_udisks_device_method_drive_ata_smart_initiate_selftest_annotation_info_pointers
- },
- "handle-drive-ata-smart-initiate-selftest",
- FALSE
-};
-
-static const _ExtendedGDBusArgInfo _org_freedesktop_udisks_device_method_info_drive_benchmark_IN_ARG_do_write_benchmark =
-{
- {
- -1,
- "do_write_benchmark",
- "b",
- NULL
- },
- FALSE
-};
-
-static const _ExtendedGDBusArgInfo _org_freedesktop_udisks_device_method_info_drive_benchmark_IN_ARG_options =
-{
- {
- -1,
- "options",
- "as",
- NULL
- },
- FALSE
-};
-
-static const _ExtendedGDBusArgInfo * const _org_freedesktop_udisks_device_method_info_drive_benchmark_IN_ARG_pointers[] =
-{
- &_org_freedesktop_udisks_device_method_info_drive_benchmark_IN_ARG_do_write_benchmark,
- &_org_freedesktop_udisks_device_method_info_drive_benchmark_IN_ARG_options,
- NULL
-};
-
-static const _ExtendedGDBusArgInfo _org_freedesktop_udisks_device_method_info_drive_benchmark_OUT_ARG_read_transfer_rate_results =
-{
- {
- -1,
- "read_transfer_rate_results",
- "a(td)",
- NULL
- },
- FALSE
-};
-
-static const _ExtendedGDBusArgInfo _org_freedesktop_udisks_device_method_info_drive_benchmark_OUT_ARG_write_transfer_rate_results =
-{
- {
- -1,
- "write_transfer_rate_results",
- "a(td)",
- NULL
- },
- FALSE
-};
-
-static const _ExtendedGDBusArgInfo _org_freedesktop_udisks_device_method_info_drive_benchmark_OUT_ARG_access_time_results =
-{
- {
- -1,
- "access_time_results",
- "a(td)",
- NULL
- },
- FALSE
-};
-
-static const _ExtendedGDBusArgInfo * const _org_freedesktop_udisks_device_method_info_drive_benchmark_OUT_ARG_pointers[] =
-{
- &_org_freedesktop_udisks_device_method_info_drive_benchmark_OUT_ARG_read_transfer_rate_results,
- &_org_freedesktop_udisks_device_method_info_drive_benchmark_OUT_ARG_write_transfer_rate_results,
- &_org_freedesktop_udisks_device_method_info_drive_benchmark_OUT_ARG_access_time_results,
- NULL
-};
-
-static const GDBusAnnotationInfo _org_freedesktop_udisks_device_method_drive_benchmark_annotation_info_0 =
-{
- -1,
- "org.freedesktop.DBus.GLib.Async",
- "",
- NULL
-};
-
-static const GDBusAnnotationInfo * const _org_freedesktop_udisks_device_method_drive_benchmark_annotation_info_pointers[] =
-{
- &_org_freedesktop_udisks_device_method_drive_benchmark_annotation_info_0,
- NULL
-};
-
-static const _ExtendedGDBusMethodInfo _org_freedesktop_udisks_device_method_info_drive_benchmark =
-{
- {
- -1,
- "DriveBenchmark",
- (GDBusArgInfo **) &_org_freedesktop_udisks_device_method_info_drive_benchmark_IN_ARG_pointers,
- (GDBusArgInfo **) &_org_freedesktop_udisks_device_method_info_drive_benchmark_OUT_ARG_pointers,
- (GDBusAnnotationInfo **) &_org_freedesktop_udisks_device_method_drive_benchmark_annotation_info_pointers
- },
- "handle-drive-benchmark",
- FALSE
-};
-
-static const _ExtendedGDBusMethodInfo * const _org_freedesktop_udisks_device_method_info_pointers[] =
-{
- &_org_freedesktop_udisks_device_method_info_job_cancel,
- &_org_freedesktop_udisks_device_method_info_partition_table_create,
- &_org_freedesktop_udisks_device_method_info_partition_delete,
- &_org_freedesktop_udisks_device_method_info_partition_create,
- &_org_freedesktop_udisks_device_method_info_partition_modify,
- &_org_freedesktop_udisks_device_method_info_filesystem_create,
- &_org_freedesktop_udisks_device_method_info_filesystem_set_label,
- &_org_freedesktop_udisks_device_method_info_filesystem_mount,
- &_org_freedesktop_udisks_device_method_info_filesystem_unmount,
- &_org_freedesktop_udisks_device_method_info_filesystem_check,
- &_org_freedesktop_udisks_device_method_info_filesystem_list_open_files,
- &_org_freedesktop_udisks_device_method_info_luks_unlock,
- &_org_freedesktop_udisks_device_method_info_luks_lock,
- &_org_freedesktop_udisks_device_method_info_luks_change_passphrase,
- &_org_freedesktop_udisks_device_method_info_linux_md_add_spare,
- &_org_freedesktop_udisks_device_method_info_linux_md_expand,
- &_org_freedesktop_udisks_device_method_info_linux_md_remove_component,
- &_org_freedesktop_udisks_device_method_info_linux_md_stop,
- &_org_freedesktop_udisks_device_method_info_linux_lvm2_lvstop,
- &_org_freedesktop_udisks_device_method_info_linux_md_check,
- &_org_freedesktop_udisks_device_method_info_drive_inhibit_polling,
- &_org_freedesktop_udisks_device_method_info_drive_uninhibit_polling,
- &_org_freedesktop_udisks_device_method_info_drive_poll_media,
- &_org_freedesktop_udisks_device_method_info_drive_eject,
- &_org_freedesktop_udisks_device_method_info_drive_detach,
- &_org_freedesktop_udisks_device_method_info_drive_set_spindown_timeout,
- &_org_freedesktop_udisks_device_method_info_drive_unset_spindown_timeout,
- &_org_freedesktop_udisks_device_method_info_drive_ata_smart_refresh_data,
- &_org_freedesktop_udisks_device_method_info_drive_ata_smart_initiate_selftest,
- &_org_freedesktop_udisks_device_method_info_drive_benchmark,
- NULL
-};
-
-static const _ExtendedGDBusSignalInfo _org_freedesktop_udisks_device_signal_info_changed =
-{
- {
- -1,
- "Changed",
- NULL,
- NULL
- },
- "changed"
-};
-
-static const _ExtendedGDBusArgInfo _org_freedesktop_udisks_device_signal_info_job_changed_ARG_job_in_progress =
-{
- {
- -1,
- "job_in_progress",
- "b",
- NULL
- },
- FALSE
-};
-
-static const _ExtendedGDBusArgInfo _org_freedesktop_udisks_device_signal_info_job_changed_ARG_job_is_cancellable =
-{
- {
- -1,
- "job_is_cancellable",
- "b",
- NULL
- },
- FALSE
-};
-
-static const _ExtendedGDBusArgInfo _org_freedesktop_udisks_device_signal_info_job_changed_ARG_job_id =
-{
- {
- -1,
- "job_id",
- "s",
- NULL
- },
- FALSE
-};
-
-static const _ExtendedGDBusArgInfo _org_freedesktop_udisks_device_signal_info_job_changed_ARG_job_initiated_by_uid =
-{
- {
- -1,
- "job_initiated_by_uid",
- "u",
- NULL
- },
- FALSE
-};
-
-static const _ExtendedGDBusArgInfo _org_freedesktop_udisks_device_signal_info_job_changed_ARG_job_percentage =
-{
- {
- -1,
- "job_percentage",
- "d",
- NULL
- },
- FALSE
-};
-
-static const _ExtendedGDBusArgInfo * const _org_freedesktop_udisks_device_signal_info_job_changed_ARG_pointers[] =
-{
- &_org_freedesktop_udisks_device_signal_info_job_changed_ARG_job_in_progress,
- &_org_freedesktop_udisks_device_signal_info_job_changed_ARG_job_is_cancellable,
- &_org_freedesktop_udisks_device_signal_info_job_changed_ARG_job_id,
- &_org_freedesktop_udisks_device_signal_info_job_changed_ARG_job_initiated_by_uid,
- &_org_freedesktop_udisks_device_signal_info_job_changed_ARG_job_percentage,
- NULL
-};
-
-static const _ExtendedGDBusSignalInfo _org_freedesktop_udisks_device_signal_info_job_changed =
-{
- {
- -1,
- "JobChanged",
- (GDBusArgInfo **) &_org_freedesktop_udisks_device_signal_info_job_changed_ARG_pointers,
- NULL
- },
- "job-changed"
-};
-
-static const _ExtendedGDBusSignalInfo * const _org_freedesktop_udisks_device_signal_info_pointers[] =
-{
- &_org_freedesktop_udisks_device_signal_info_changed,
- &_org_freedesktop_udisks_device_signal_info_job_changed,
- NULL
-};
-
-static const _ExtendedGDBusPropertyInfo _org_freedesktop_udisks_device_property_info_native_path =
-{
- {
- -1,
- "NativePath",
- "s",
- G_DBUS_PROPERTY_INFO_FLAGS_READABLE,
- NULL
- },
- "native-path",
- FALSE
-};
-
-static const _ExtendedGDBusPropertyInfo _org_freedesktop_udisks_device_property_info_device_detection_time =
-{
- {
- -1,
- "DeviceDetectionTime",
- "t",
- G_DBUS_PROPERTY_INFO_FLAGS_READABLE,
- NULL
- },
- "device-detection-time",
- FALSE
-};
-
-static const _ExtendedGDBusPropertyInfo _org_freedesktop_udisks_device_property_info_device_media_detection_time =
-{
- {
- -1,
- "DeviceMediaDetectionTime",
- "t",
- G_DBUS_PROPERTY_INFO_FLAGS_READABLE,
- NULL
- },
- "device-media-detection-time",
- FALSE
-};
-
-static const _ExtendedGDBusPropertyInfo _org_freedesktop_udisks_device_property_info_device_major =
-{
- {
- -1,
- "DeviceMajor",
- "x",
- G_DBUS_PROPERTY_INFO_FLAGS_READABLE,
- NULL
- },
- "device-major",
- FALSE
-};
-
-static const _ExtendedGDBusPropertyInfo _org_freedesktop_udisks_device_property_info_device_minor =
-{
- {
- -1,
- "DeviceMinor",
- "x",
- G_DBUS_PROPERTY_INFO_FLAGS_READABLE,
- NULL
- },
- "device-minor",
- FALSE
-};
-
-static const _ExtendedGDBusPropertyInfo _org_freedesktop_udisks_device_property_info_device_file =
-{
- {
- -1,
- "DeviceFile",
- "s",
- G_DBUS_PROPERTY_INFO_FLAGS_READABLE,
- NULL
- },
- "device-file",
- FALSE
-};
-
-static const _ExtendedGDBusPropertyInfo _org_freedesktop_udisks_device_property_info_device_file_presentation =
-{
- {
- -1,
- "DeviceFilePresentation",
- "s",
- G_DBUS_PROPERTY_INFO_FLAGS_READABLE,
- NULL
- },
- "device-file-presentation",
- FALSE
-};
-
-static const _ExtendedGDBusPropertyInfo _org_freedesktop_udisks_device_property_info_device_file_by_id =
-{
- {
- -1,
- "DeviceFileById",
- "as",
- G_DBUS_PROPERTY_INFO_FLAGS_READABLE,
- NULL
- },
- "device-file-by-id",
- FALSE
-};
-
-static const _ExtendedGDBusPropertyInfo _org_freedesktop_udisks_device_property_info_device_file_by_path =
-{
- {
- -1,
- "DeviceFileByPath",
- "as",
- G_DBUS_PROPERTY_INFO_FLAGS_READABLE,
- NULL
- },
- "device-file-by-path",
- FALSE
-};
-
-static const _ExtendedGDBusPropertyInfo _org_freedesktop_udisks_device_property_info_device_is_system_internal =
-{
- {
- -1,
- "DeviceIsSystemInternal",
- "b",
- G_DBUS_PROPERTY_INFO_FLAGS_READABLE,
- NULL
- },
- "device-is-system-internal",
- FALSE
-};
-
-static const _ExtendedGDBusPropertyInfo _org_freedesktop_udisks_device_property_info_device_is_partition =
-{
- {
- -1,
- "DeviceIsPartition",
- "b",
- G_DBUS_PROPERTY_INFO_FLAGS_READABLE,
- NULL
- },
- "device-is-partition",
- FALSE
-};
-
-static const _ExtendedGDBusPropertyInfo _org_freedesktop_udisks_device_property_info_device_is_partition_table =
-{
- {
- -1,
- "DeviceIsPartitionTable",
- "b",
- G_DBUS_PROPERTY_INFO_FLAGS_READABLE,
- NULL
- },
- "device-is-partition-table",
- FALSE
-};
-
-static const _ExtendedGDBusPropertyInfo _org_freedesktop_udisks_device_property_info_device_is_removable =
-{
- {
- -1,
- "DeviceIsRemovable",
- "b",
- G_DBUS_PROPERTY_INFO_FLAGS_READABLE,
- NULL
- },
- "device-is-removable",
- FALSE
-};
-
-static const _ExtendedGDBusPropertyInfo _org_freedesktop_udisks_device_property_info_device_is_media_available =
-{
- {
- -1,
- "DeviceIsMediaAvailable",
- "b",
- G_DBUS_PROPERTY_INFO_FLAGS_READABLE,
- NULL
- },
- "device-is-media-available",
- FALSE
-};
-
-static const _ExtendedGDBusPropertyInfo _org_freedesktop_udisks_device_property_info_device_is_media_change_detected =
-{
- {
- -1,
- "DeviceIsMediaChangeDetected",
- "b",
- G_DBUS_PROPERTY_INFO_FLAGS_READABLE,
- NULL
- },
- "device-is-media-change-detected",
- FALSE
-};
-
-static const _ExtendedGDBusPropertyInfo _org_freedesktop_udisks_device_property_info_device_is_media_change_detection_polling =
-{
- {
- -1,
- "DeviceIsMediaChangeDetectionPolling",
- "b",
- G_DBUS_PROPERTY_INFO_FLAGS_READABLE,
- NULL
- },
- "device-is-media-change-detection-polling",
- FALSE
-};
-
-static const _ExtendedGDBusPropertyInfo _org_freedesktop_udisks_device_property_info_device_is_media_change_detection_inhibitable =
-{
- {
- -1,
- "DeviceIsMediaChangeDetectionInhibitable",
- "b",
- G_DBUS_PROPERTY_INFO_FLAGS_READABLE,
- NULL
- },
- "device-is-media-change-detection-inhibitable",
- FALSE
-};
-
-static const _ExtendedGDBusPropertyInfo _org_freedesktop_udisks_device_property_info_device_is_media_change_detection_inhibited =
-{
- {
- -1,
- "DeviceIsMediaChangeDetectionInhibited",
- "b",
- G_DBUS_PROPERTY_INFO_FLAGS_READABLE,
- NULL
- },
- "device-is-media-change-detection-inhibited",
- FALSE
-};
-
-static const _ExtendedGDBusPropertyInfo _org_freedesktop_udisks_device_property_info_device_is_read_only =
-{
- {
- -1,
- "DeviceIsReadOnly",
- "b",
- G_DBUS_PROPERTY_INFO_FLAGS_READABLE,
- NULL
- },
- "device-is-read-only",
- FALSE
-};
-
-static const _ExtendedGDBusPropertyInfo _org_freedesktop_udisks_device_property_info_device_is_drive =
-{
- {
- -1,
- "DeviceIsDrive",
- "b",
- G_DBUS_PROPERTY_INFO_FLAGS_READABLE,
- NULL
- },
- "device-is-drive",
- FALSE
-};
-
-static const _ExtendedGDBusPropertyInfo _org_freedesktop_udisks_device_property_info_device_is_optical_disc =
-{
- {
- -1,
- "DeviceIsOpticalDisc",
- "b",
- G_DBUS_PROPERTY_INFO_FLAGS_READABLE,
- NULL
- },
- "device-is-optical-disc",
- FALSE
-};
-
-static const _ExtendedGDBusPropertyInfo _org_freedesktop_udisks_device_property_info_device_is_mounted =
-{
- {
- -1,
- "DeviceIsMounted",
- "b",
- G_DBUS_PROPERTY_INFO_FLAGS_READABLE,
- NULL
- },
- "device-is-mounted",
- FALSE
-};
-
-static const _ExtendedGDBusPropertyInfo _org_freedesktop_udisks_device_property_info_device_mount_paths =
-{
- {
- -1,
- "DeviceMountPaths",
- "as",
- G_DBUS_PROPERTY_INFO_FLAGS_READABLE,
- NULL
- },
- "device-mount-paths",
- FALSE
-};
-
-static const _ExtendedGDBusPropertyInfo _org_freedesktop_udisks_device_property_info_device_mounted_by_uid =
-{
- {
- -1,
- "DeviceMountedByUid",
- "u",
- G_DBUS_PROPERTY_INFO_FLAGS_READABLE,
- NULL
- },
- "device-mounted-by-uid",
- FALSE
-};
-
-static const _ExtendedGDBusPropertyInfo _org_freedesktop_udisks_device_property_info_device_is_luks =
-{
- {
- -1,
- "DeviceIsLuks",
- "b",
- G_DBUS_PROPERTY_INFO_FLAGS_READABLE,
- NULL
- },
- "device-is-luks",
- FALSE
-};
-
-static const _ExtendedGDBusPropertyInfo _org_freedesktop_udisks_device_property_info_device_is_luks_cleartext =
-{
- {
- -1,
- "DeviceIsLuksCleartext",
- "b",
- G_DBUS_PROPERTY_INFO_FLAGS_READABLE,
- NULL
- },
- "device-is-luks-cleartext",
- FALSE
-};
-
-static const _ExtendedGDBusPropertyInfo _org_freedesktop_udisks_device_property_info_device_is_linux_md_component =
-{
- {
- -1,
- "DeviceIsLinuxMdComponent",
- "b",
- G_DBUS_PROPERTY_INFO_FLAGS_READABLE,
- NULL
- },
- "device-is-linux-md-component",
- FALSE
-};
-
-static const _ExtendedGDBusPropertyInfo _org_freedesktop_udisks_device_property_info_device_is_linux_md =
-{
- {
- -1,
- "DeviceIsLinuxMd",
- "b",
- G_DBUS_PROPERTY_INFO_FLAGS_READABLE,
- NULL
- },
- "device-is-linux-md",
- FALSE
-};
-
-static const _ExtendedGDBusPropertyInfo _org_freedesktop_udisks_device_property_info_device_is_linux_lvm2_lv =
-{
- {
- -1,
- "DeviceIsLinuxLvm2LV",
- "b",
- G_DBUS_PROPERTY_INFO_FLAGS_READABLE,
- NULL
- },
- "device-is-linux-lvm2-lv",
- FALSE
-};
-
-static const _ExtendedGDBusPropertyInfo _org_freedesktop_udisks_device_property_info_device_is_linux_lvm2_pv =
-{
- {
- -1,
- "DeviceIsLinuxLvm2PV",
- "b",
- G_DBUS_PROPERTY_INFO_FLAGS_READABLE,
- NULL
- },
- "device-is-linux-lvm2-pv",
- FALSE
-};
-
-static const _ExtendedGDBusPropertyInfo _org_freedesktop_udisks_device_property_info_device_is_linux_dmmp_component =
-{
- {
- -1,
- "DeviceIsLinuxDmmpComponent",
- "b",
- G_DBUS_PROPERTY_INFO_FLAGS_READABLE,
- NULL
- },
- "device-is-linux-dmmp-component",
- FALSE
-};
-
-static const _ExtendedGDBusPropertyInfo _org_freedesktop_udisks_device_property_info_device_is_linux_dmmp =
-{
- {
- -1,
- "DeviceIsLinuxDmmp",
- "b",
- G_DBUS_PROPERTY_INFO_FLAGS_READABLE,
- NULL
- },
- "device-is-linux-dmmp",
- FALSE
-};
-
-static const _ExtendedGDBusPropertyInfo _org_freedesktop_udisks_device_property_info_device_is_linux_loop =
-{
- {
- -1,
- "DeviceIsLinuxLoop",
- "b",
- G_DBUS_PROPERTY_INFO_FLAGS_READABLE,
- NULL
- },
- "device-is-linux-loop",
- FALSE
-};
-
-static const _ExtendedGDBusPropertyInfo _org_freedesktop_udisks_device_property_info_device_size =
-{
- {
- -1,
- "DeviceSize",
- "t",
- G_DBUS_PROPERTY_INFO_FLAGS_READABLE,
- NULL
- },
- "device-size",
- FALSE
-};
-
-static const _ExtendedGDBusPropertyInfo _org_freedesktop_udisks_device_property_info_device_block_size =
-{
- {
- -1,
- "DeviceBlockSize",
- "t",
- G_DBUS_PROPERTY_INFO_FLAGS_READABLE,
- NULL
- },
- "device-block-size",
- FALSE
-};
-
-static const _ExtendedGDBusPropertyInfo _org_freedesktop_udisks_device_property_info_device_presentation_hide =
-{
- {
- -1,
- "DevicePresentationHide",
- "b",
- G_DBUS_PROPERTY_INFO_FLAGS_READABLE,
- NULL
- },
- "device-presentation-hide",
- FALSE
-};
-
-static const _ExtendedGDBusPropertyInfo _org_freedesktop_udisks_device_property_info_device_presentation_nopolicy =
-{
- {
- -1,
- "DevicePresentationNopolicy",
- "b",
- G_DBUS_PROPERTY_INFO_FLAGS_READABLE,
- NULL
- },
- "device-presentation-nopolicy",
- FALSE
-};
-
-static const _ExtendedGDBusPropertyInfo _org_freedesktop_udisks_device_property_info_device_presentation_name =
-{
- {
- -1,
- "DevicePresentationName",
- "s",
- G_DBUS_PROPERTY_INFO_FLAGS_READABLE,
- NULL
- },
- "device-presentation-name",
- FALSE
-};
-
-static const _ExtendedGDBusPropertyInfo _org_freedesktop_udisks_device_property_info_device_presentation_icon_name =
-{
- {
- -1,
- "DevicePresentationIconName",
- "s",
- G_DBUS_PROPERTY_INFO_FLAGS_READABLE,
- NULL
- },
- "device-presentation-icon-name",
- FALSE
-};
-
-static const _ExtendedGDBusPropertyInfo _org_freedesktop_udisks_device_property_info_device_automount_hint =
-{
- {
- -1,
- "DeviceAutomountHint",
- "s",
- G_DBUS_PROPERTY_INFO_FLAGS_READABLE,
- NULL
- },
- "device-automount-hint",
- FALSE
-};
-
-static const _ExtendedGDBusPropertyInfo _org_freedesktop_udisks_device_property_info_job_in_progress =
-{
- {
- -1,
- "JobInProgress",
- "b",
- G_DBUS_PROPERTY_INFO_FLAGS_READABLE,
- NULL
- },
- "job-in-progress",
- FALSE
-};
-
-static const _ExtendedGDBusPropertyInfo _org_freedesktop_udisks_device_property_info_job_id =
-{
- {
- -1,
- "JobId",
- "s",
- G_DBUS_PROPERTY_INFO_FLAGS_READABLE,
- NULL
- },
- "job-id",
- FALSE
-};
-
-static const _ExtendedGDBusPropertyInfo _org_freedesktop_udisks_device_property_info_job_initiated_by_uid =
-{
- {
- -1,
- "JobInitiatedByUid",
- "u",
- G_DBUS_PROPERTY_INFO_FLAGS_READABLE,
- NULL
- },
- "job-initiated-by-uid",
- FALSE
-};
-
-static const _ExtendedGDBusPropertyInfo _org_freedesktop_udisks_device_property_info_job_is_cancellable =
-{
- {
- -1,
- "JobIsCancellable",
- "b",
- G_DBUS_PROPERTY_INFO_FLAGS_READABLE,
- NULL
- },
- "job-is-cancellable",
- FALSE
-};
-
-static const _ExtendedGDBusPropertyInfo _org_freedesktop_udisks_device_property_info_job_percentage =
-{
- {
- -1,
- "JobPercentage",
- "d",
- G_DBUS_PROPERTY_INFO_FLAGS_READABLE,
- NULL
- },
- "job-percentage",
- FALSE
-};
-
-static const _ExtendedGDBusPropertyInfo _org_freedesktop_udisks_device_property_info_id_usage =
-{
- {
- -1,
- "IdUsage",
- "s",
- G_DBUS_PROPERTY_INFO_FLAGS_READABLE,
- NULL
- },
- "id-usage",
- FALSE
-};
-
-static const _ExtendedGDBusPropertyInfo _org_freedesktop_udisks_device_property_info_id_type =
-{
- {
- -1,
- "IdType",
- "s",
- G_DBUS_PROPERTY_INFO_FLAGS_READABLE,
- NULL
- },
- "id-type",
- FALSE
-};
-
-static const _ExtendedGDBusPropertyInfo _org_freedesktop_udisks_device_property_info_id_version =
-{
- {
- -1,
- "IdVersion",
- "s",
- G_DBUS_PROPERTY_INFO_FLAGS_READABLE,
- NULL
- },
- "id-version",
- FALSE
-};
-
-static const _ExtendedGDBusPropertyInfo _org_freedesktop_udisks_device_property_info_id_uuid =
-{
- {
- -1,
- "IdUuid",
- "s",
- G_DBUS_PROPERTY_INFO_FLAGS_READABLE,
- NULL
- },
- "id-uuid",
- FALSE
-};
-
-static const _ExtendedGDBusPropertyInfo _org_freedesktop_udisks_device_property_info_id_label =
-{
- {
- -1,
- "IdLabel",
- "s",
- G_DBUS_PROPERTY_INFO_FLAGS_READABLE,
- NULL
- },
- "id-label",
- FALSE
-};
-
-static const _ExtendedGDBusPropertyInfo _org_freedesktop_udisks_device_property_info_luks_holder =
-{
- {
- -1,
- "LuksHolder",
- "o",
- G_DBUS_PROPERTY_INFO_FLAGS_READABLE,
- NULL
- },
- "luks-holder",
- FALSE
-};
-
-static const _ExtendedGDBusPropertyInfo _org_freedesktop_udisks_device_property_info_luks_cleartext_slave =
-{
- {
- -1,
- "LuksCleartextSlave",
- "o",
- G_DBUS_PROPERTY_INFO_FLAGS_READABLE,
- NULL
- },
- "luks-cleartext-slave",
- FALSE
-};
-
-static const _ExtendedGDBusPropertyInfo _org_freedesktop_udisks_device_property_info_luks_cleartext_unlocked_by_uid =
-{
- {
- -1,
- "LuksCleartextUnlockedByUid",
- "u",
- G_DBUS_PROPERTY_INFO_FLAGS_READABLE,
- NULL
- },
- "luks-cleartext-unlocked-by-uid",
- FALSE
-};
-
-static const _ExtendedGDBusPropertyInfo _org_freedesktop_udisks_device_property_info_partition_slave =
-{
- {
- -1,
- "PartitionSlave",
- "o",
- G_DBUS_PROPERTY_INFO_FLAGS_READABLE,
- NULL
- },
- "partition-slave",
- FALSE
-};
-
-static const _ExtendedGDBusPropertyInfo _org_freedesktop_udisks_device_property_info_partition_scheme =
-{
- {
- -1,
- "PartitionScheme",
- "s",
- G_DBUS_PROPERTY_INFO_FLAGS_READABLE,
- NULL
- },
- "partition-scheme",
- FALSE
-};
-
-static const _ExtendedGDBusPropertyInfo _org_freedesktop_udisks_device_property_info_partition_type =
-{
- {
- -1,
- "PartitionType",
- "s",
- G_DBUS_PROPERTY_INFO_FLAGS_READABLE,
- NULL
- },
- "partition-type",
- FALSE
-};
-
-static const _ExtendedGDBusPropertyInfo _org_freedesktop_udisks_device_property_info_partition_label =
-{
- {
- -1,
- "PartitionLabel",
- "s",
- G_DBUS_PROPERTY_INFO_FLAGS_READABLE,
- NULL
- },
- "partition-label",
- FALSE
-};
-
-static const _ExtendedGDBusPropertyInfo _org_freedesktop_udisks_device_property_info_partition_uuid =
-{
- {
- -1,
- "PartitionUuid",
- "s",
- G_DBUS_PROPERTY_INFO_FLAGS_READABLE,
- NULL
- },
- "partition-uuid",
- FALSE
-};
-
-static const _ExtendedGDBusPropertyInfo _org_freedesktop_udisks_device_property_info_partition_flags =
-{
- {
- -1,
- "PartitionFlags",
- "as",
- G_DBUS_PROPERTY_INFO_FLAGS_READABLE,
- NULL
- },
- "partition-flags",
- FALSE
-};
-
-static const _ExtendedGDBusPropertyInfo _org_freedesktop_udisks_device_property_info_partition_number =
-{
- {
- -1,
- "PartitionNumber",
- "i",
- G_DBUS_PROPERTY_INFO_FLAGS_READABLE,
- NULL
- },
- "partition-number",
- FALSE
-};
-
-static const _ExtendedGDBusPropertyInfo _org_freedesktop_udisks_device_property_info_partition_offset =
-{
- {
- -1,
- "PartitionOffset",
- "t",
- G_DBUS_PROPERTY_INFO_FLAGS_READABLE,
- NULL
- },
- "partition-offset",
- FALSE
-};
-
-static const _ExtendedGDBusPropertyInfo _org_freedesktop_udisks_device_property_info_partition_size =
-{
- {
- -1,
- "PartitionSize",
- "t",
- G_DBUS_PROPERTY_INFO_FLAGS_READABLE,
- NULL
- },
- "partition-size",
- FALSE
-};
-
-static const _ExtendedGDBusPropertyInfo _org_freedesktop_udisks_device_property_info_partition_alignment_offset =
-{
- {
- -1,
- "PartitionAlignmentOffset",
- "t",
- G_DBUS_PROPERTY_INFO_FLAGS_READABLE,
- NULL
- },
- "partition-alignment-offset",
- FALSE
-};
-
-static const _ExtendedGDBusPropertyInfo _org_freedesktop_udisks_device_property_info_partition_table_scheme =
-{
- {
- -1,
- "PartitionTableScheme",
- "s",
- G_DBUS_PROPERTY_INFO_FLAGS_READABLE,
- NULL
- },
- "partition-table-scheme",
- FALSE
-};
-
-static const _ExtendedGDBusPropertyInfo _org_freedesktop_udisks_device_property_info_partition_table_count =
-{
- {
- -1,
- "PartitionTableCount",
- "i",
- G_DBUS_PROPERTY_INFO_FLAGS_READABLE,
- NULL
- },
- "partition-table-count",
- FALSE
-};
-
-static const _ExtendedGDBusPropertyInfo _org_freedesktop_udisks_device_property_info_drive_vendor =
-{
- {
- -1,
- "DriveVendor",
- "s",
- G_DBUS_PROPERTY_INFO_FLAGS_READABLE,
- NULL
- },
- "drive-vendor",
- FALSE
-};
-
-static const _ExtendedGDBusPropertyInfo _org_freedesktop_udisks_device_property_info_drive_model =
-{
- {
- -1,
- "DriveModel",
- "s",
- G_DBUS_PROPERTY_INFO_FLAGS_READABLE,
- NULL
- },
- "drive-model",
- FALSE
-};
-
-static const _ExtendedGDBusPropertyInfo _org_freedesktop_udisks_device_property_info_drive_revision =
-{
- {
- -1,
- "DriveRevision",
- "s",
- G_DBUS_PROPERTY_INFO_FLAGS_READABLE,
- NULL
- },
- "drive-revision",
- FALSE
-};
-
-static const _ExtendedGDBusPropertyInfo _org_freedesktop_udisks_device_property_info_drive_serial =
-{
- {
- -1,
- "DriveSerial",
- "s",
- G_DBUS_PROPERTY_INFO_FLAGS_READABLE,
- NULL
- },
- "drive-serial",
- FALSE
-};
-
-static const _ExtendedGDBusPropertyInfo _org_freedesktop_udisks_device_property_info_drive_wwn =
-{
- {
- -1,
- "DriveWwn",
- "s",
- G_DBUS_PROPERTY_INFO_FLAGS_READABLE,
- NULL
- },
- "drive-wwn",
- FALSE
-};
-
-static const _ExtendedGDBusPropertyInfo _org_freedesktop_udisks_device_property_info_drive_rotation_rate =
-{
- {
- -1,
- "DriveRotationRate",
- "u",
- G_DBUS_PROPERTY_INFO_FLAGS_READABLE,
- NULL
- },
- "drive-rotation-rate",
- FALSE
-};
-
-static const _ExtendedGDBusPropertyInfo _org_freedesktop_udisks_device_property_info_drive_write_cache =
-{
- {
- -1,
- "DriveWriteCache",
- "s",
- G_DBUS_PROPERTY_INFO_FLAGS_READABLE,
- NULL
- },
- "drive-write-cache",
- FALSE
-};
-
-static const _ExtendedGDBusPropertyInfo _org_freedesktop_udisks_device_property_info_drive_connection_interface =
-{
- {
- -1,
- "DriveConnectionInterface",
- "s",
- G_DBUS_PROPERTY_INFO_FLAGS_READABLE,
- NULL
- },
- "drive-connection-interface",
- FALSE
-};
-
-static const _ExtendedGDBusPropertyInfo _org_freedesktop_udisks_device_property_info_drive_connection_speed =
-{
- {
- -1,
- "DriveConnectionSpeed",
- "t",
- G_DBUS_PROPERTY_INFO_FLAGS_READABLE,
- NULL
- },
- "drive-connection-speed",
- FALSE
-};
-
-static const _ExtendedGDBusPropertyInfo _org_freedesktop_udisks_device_property_info_drive_media_compatibility =
-{
- {
- -1,
- "DriveMediaCompatibility",
- "as",
- G_DBUS_PROPERTY_INFO_FLAGS_READABLE,
- NULL
- },
- "drive-media-compatibility",
- FALSE
-};
-
-static const _ExtendedGDBusPropertyInfo _org_freedesktop_udisks_device_property_info_drive_media =
-{
- {
- -1,
- "DriveMedia",
- "s",
- G_DBUS_PROPERTY_INFO_FLAGS_READABLE,
- NULL
- },
- "drive-media",
- FALSE
-};
-
-static const _ExtendedGDBusPropertyInfo _org_freedesktop_udisks_device_property_info_drive_is_media_ejectable =
-{
- {
- -1,
- "DriveIsMediaEjectable",
- "b",
- G_DBUS_PROPERTY_INFO_FLAGS_READABLE,
- NULL
- },
- "drive-is-media-ejectable",
- FALSE
-};
-
-static const _ExtendedGDBusPropertyInfo _org_freedesktop_udisks_device_property_info_drive_can_detach =
-{
- {
- -1,
- "DriveCanDetach",
- "b",
- G_DBUS_PROPERTY_INFO_FLAGS_READABLE,
- NULL
- },
- "drive-can-detach",
- FALSE
-};
-
-static const _ExtendedGDBusPropertyInfo _org_freedesktop_udisks_device_property_info_drive_can_spindown =
-{
- {
- -1,
- "DriveCanSpindown",
- "b",
- G_DBUS_PROPERTY_INFO_FLAGS_READABLE,
- NULL
- },
- "drive-can-spindown",
- FALSE
-};
-
-static const _ExtendedGDBusPropertyInfo _org_freedesktop_udisks_device_property_info_drive_is_rotational =
-{
- {
- -1,
- "DriveIsRotational",
- "b",
- G_DBUS_PROPERTY_INFO_FLAGS_READABLE,
- NULL
- },
- "drive-is-rotational",
- FALSE
-};
-
-static const _ExtendedGDBusPropertyInfo _org_freedesktop_udisks_device_property_info_drive_adapter =
-{
- {
- -1,
- "DriveAdapter",
- "o",
- G_DBUS_PROPERTY_INFO_FLAGS_READABLE,
- NULL
- },
- "drive-adapter",
- FALSE
-};
-
-static const _ExtendedGDBusPropertyInfo _org_freedesktop_udisks_device_property_info_drive_ports =
-{
- {
- -1,
- "DrivePorts",
- "ao",
- G_DBUS_PROPERTY_INFO_FLAGS_READABLE,
- NULL
- },
- "drive-ports",
- FALSE
-};
-
-static const _ExtendedGDBusPropertyInfo _org_freedesktop_udisks_device_property_info_drive_similar_devices =
-{
- {
- -1,
- "DriveSimilarDevices",
- "ao",
- G_DBUS_PROPERTY_INFO_FLAGS_READABLE,
- NULL
- },
- "drive-similar-devices",
- FALSE
-};
-
-static const _ExtendedGDBusPropertyInfo _org_freedesktop_udisks_device_property_info_optical_disc_is_blank =
-{
- {
- -1,
- "OpticalDiscIsBlank",
- "b",
- G_DBUS_PROPERTY_INFO_FLAGS_READABLE,
- NULL
- },
- "optical-disc-is-blank",
- FALSE
-};
-
-static const _ExtendedGDBusPropertyInfo _org_freedesktop_udisks_device_property_info_optical_disc_is_appendable =
-{
- {
- -1,
- "OpticalDiscIsAppendable",
- "b",
- G_DBUS_PROPERTY_INFO_FLAGS_READABLE,
- NULL
- },
- "optical-disc-is-appendable",
- FALSE
-};
-
-static const _ExtendedGDBusPropertyInfo _org_freedesktop_udisks_device_property_info_optical_disc_is_closed =
-{
- {
- -1,
- "OpticalDiscIsClosed",
- "b",
- G_DBUS_PROPERTY_INFO_FLAGS_READABLE,
- NULL
- },
- "optical-disc-is-closed",
- FALSE
-};
-
-static const _ExtendedGDBusPropertyInfo _org_freedesktop_udisks_device_property_info_optical_disc_num_tracks =
-{
- {
- -1,
- "OpticalDiscNumTracks",
- "u",
- G_DBUS_PROPERTY_INFO_FLAGS_READABLE,
- NULL
- },
- "optical-disc-num-tracks",
- FALSE
-};
-
-static const _ExtendedGDBusPropertyInfo _org_freedesktop_udisks_device_property_info_optical_disc_num_audio_tracks =
-{
- {
- -1,
- "OpticalDiscNumAudioTracks",
- "u",
- G_DBUS_PROPERTY_INFO_FLAGS_READABLE,
- NULL
- },
- "optical-disc-num-audio-tracks",
- FALSE
-};
-
-static const _ExtendedGDBusPropertyInfo _org_freedesktop_udisks_device_property_info_optical_disc_num_sessions =
-{
- {
- -1,
- "OpticalDiscNumSessions",
- "u",
- G_DBUS_PROPERTY_INFO_FLAGS_READABLE,
- NULL
- },
- "optical-disc-num-sessions",
- FALSE
-};
-
-static const _ExtendedGDBusPropertyInfo _org_freedesktop_udisks_device_property_info_drive_ata_smart_is_available =
-{
- {
- -1,
- "DriveAtaSmartIsAvailable",
- "b",
- G_DBUS_PROPERTY_INFO_FLAGS_READABLE,
- NULL
- },
- "drive-ata-smart-is-available",
- FALSE
-};
-
-static const _ExtendedGDBusPropertyInfo _org_freedesktop_udisks_device_property_info_drive_ata_smart_time_collected =
-{
- {
- -1,
- "DriveAtaSmartTimeCollected",
- "t",
- G_DBUS_PROPERTY_INFO_FLAGS_READABLE,
- NULL
- },
- "drive-ata-smart-time-collected",
- FALSE
-};
-
-static const _ExtendedGDBusPropertyInfo _org_freedesktop_udisks_device_property_info_drive_ata_smart_status =
-{
- {
- -1,
- "DriveAtaSmartStatus",
- "s",
- G_DBUS_PROPERTY_INFO_FLAGS_READABLE,
- NULL
- },
- "drive-ata-smart-status",
- FALSE
-};
-
-static const _ExtendedGDBusPropertyInfo _org_freedesktop_udisks_device_property_info_drive_ata_smart_blob =
-{
- {
- -1,
- "DriveAtaSmartBlob",
- "ay",
- G_DBUS_PROPERTY_INFO_FLAGS_READABLE,
- NULL
- },
- "drive-ata-smart-blob",
- FALSE
-};
-
-static const _ExtendedGDBusPropertyInfo _org_freedesktop_udisks_device_property_info_linux_md_component_level =
-{
- {
- -1,
- "LinuxMdComponentLevel",
- "s",
- G_DBUS_PROPERTY_INFO_FLAGS_READABLE,
- NULL
- },
- "linux-md-component-level",
- FALSE
-};
-
-static const _ExtendedGDBusPropertyInfo _org_freedesktop_udisks_device_property_info_linux_md_component_position =
-{
- {
- -1,
- "LinuxMdComponentPosition",
- "i",
- G_DBUS_PROPERTY_INFO_FLAGS_READABLE,
- NULL
- },
- "linux-md-component-position",
- FALSE
-};
-
-static const _ExtendedGDBusPropertyInfo _org_freedesktop_udisks_device_property_info_linux_md_component_num_raid_devices =
-{
- {
- -1,
- "LinuxMdComponentNumRaidDevices",
- "i",
- G_DBUS_PROPERTY_INFO_FLAGS_READABLE,
- NULL
- },
- "linux-md-component-num-raid-devices",
- FALSE
-};
-
-static const _ExtendedGDBusPropertyInfo _org_freedesktop_udisks_device_property_info_linux_md_component_uuid =
-{
- {
- -1,
- "LinuxMdComponentUuid",
- "s",
- G_DBUS_PROPERTY_INFO_FLAGS_READABLE,
- NULL
- },
- "linux-md-component-uuid",
- FALSE
-};
-
-static const _ExtendedGDBusPropertyInfo _org_freedesktop_udisks_device_property_info_linux_md_component_name =
-{
- {
- -1,
- "LinuxMdComponentName",
- "s",
- G_DBUS_PROPERTY_INFO_FLAGS_READABLE,
- NULL
- },
- "linux-md-component-name",
- FALSE
-};
-
-static const _ExtendedGDBusPropertyInfo _org_freedesktop_udisks_device_property_info_linux_md_component_home_host =
-{
- {
- -1,
- "LinuxMdComponentHomeHost",
- "s",
- G_DBUS_PROPERTY_INFO_FLAGS_READABLE,
- NULL
- },
- "linux-md-component-home-host",
- FALSE
-};
-
-static const _ExtendedGDBusPropertyInfo _org_freedesktop_udisks_device_property_info_linux_md_component_version =
-{
- {
- -1,
- "LinuxMdComponentVersion",
- "s",
- G_DBUS_PROPERTY_INFO_FLAGS_READABLE,
- NULL
- },
- "linux-md-component-version",
- FALSE
-};
-
-static const _ExtendedGDBusPropertyInfo _org_freedesktop_udisks_device_property_info_linux_md_component_holder =
-{
- {
- -1,
- "LinuxMdComponentHolder",
- "o",
- G_DBUS_PROPERTY_INFO_FLAGS_READABLE,
- NULL
- },
- "linux-md-component-holder",
- FALSE
-};
-
-static const _ExtendedGDBusPropertyInfo _org_freedesktop_udisks_device_property_info_linux_md_component_state =
-{
- {
- -1,
- "LinuxMdComponentState",
- "as",
- G_DBUS_PROPERTY_INFO_FLAGS_READABLE,
- NULL
- },
- "linux-md-component-state",
- FALSE
-};
-
-static const _ExtendedGDBusPropertyInfo _org_freedesktop_udisks_device_property_info_linux_md_state =
-{
- {
- -1,
- "LinuxMdState",
- "s",
- G_DBUS_PROPERTY_INFO_FLAGS_READABLE,
- NULL
- },
- "linux-md-state",
- FALSE
-};
-
-static const _ExtendedGDBusPropertyInfo _org_freedesktop_udisks_device_property_info_linux_md_level =
-{
- {
- -1,
- "LinuxMdLevel",
- "s",
- G_DBUS_PROPERTY_INFO_FLAGS_READABLE,
- NULL
- },
- "linux-md-level",
- FALSE
-};
-
-static const _ExtendedGDBusPropertyInfo _org_freedesktop_udisks_device_property_info_linux_md_uuid =
-{
- {
- -1,
- "LinuxMdUuid",
- "s",
- G_DBUS_PROPERTY_INFO_FLAGS_READABLE,
- NULL
- },
- "linux-md-uuid",
- FALSE
-};
-
-static const _ExtendedGDBusPropertyInfo _org_freedesktop_udisks_device_property_info_linux_md_home_host =
-{
- {
- -1,
- "LinuxMdHomeHost",
- "s",
- G_DBUS_PROPERTY_INFO_FLAGS_READABLE,
- NULL
- },
- "linux-md-home-host",
- FALSE
-};
-
-static const _ExtendedGDBusPropertyInfo _org_freedesktop_udisks_device_property_info_linux_md_name =
-{
- {
- -1,
- "LinuxMdName",
- "s",
- G_DBUS_PROPERTY_INFO_FLAGS_READABLE,
- NULL
- },
- "linux-md-name",
- FALSE
-};
-
-static const _ExtendedGDBusPropertyInfo _org_freedesktop_udisks_device_property_info_linux_md_num_raid_devices =
-{
- {
- -1,
- "LinuxMdNumRaidDevices",
- "i",
- G_DBUS_PROPERTY_INFO_FLAGS_READABLE,
- NULL
- },
- "linux-md-num-raid-devices",
- FALSE
-};
-
-static const _ExtendedGDBusPropertyInfo _org_freedesktop_udisks_device_property_info_linux_md_version =
-{
- {
- -1,
- "LinuxMdVersion",
- "s",
- G_DBUS_PROPERTY_INFO_FLAGS_READABLE,
- NULL
- },
- "linux-md-version",
- FALSE
-};
-
-static const _ExtendedGDBusPropertyInfo _org_freedesktop_udisks_device_property_info_linux_md_slaves =
-{
- {
- -1,
- "LinuxMdSlaves",
- "ao",
- G_DBUS_PROPERTY_INFO_FLAGS_READABLE,
- NULL
- },
- "linux-md-slaves",
- FALSE
-};
-
-static const _ExtendedGDBusPropertyInfo _org_freedesktop_udisks_device_property_info_linux_md_is_degraded =
-{
- {
- -1,
- "LinuxMdIsDegraded",
- "b",
- G_DBUS_PROPERTY_INFO_FLAGS_READABLE,
- NULL
- },
- "linux-md-is-degraded",
- FALSE
-};
-
-static const _ExtendedGDBusPropertyInfo _org_freedesktop_udisks_device_property_info_linux_md_sync_action =
-{
- {
- -1,
- "LinuxMdSyncAction",
- "s",
- G_DBUS_PROPERTY_INFO_FLAGS_READABLE,
- NULL
- },
- "linux-md-sync-action",
- FALSE
-};
-
-static const _ExtendedGDBusPropertyInfo _org_freedesktop_udisks_device_property_info_linux_md_sync_percentage =
-{
- {
- -1,
- "LinuxMdSyncPercentage",
- "d",
- G_DBUS_PROPERTY_INFO_FLAGS_READABLE,
- NULL
- },
- "linux-md-sync-percentage",
- FALSE
-};
-
-static const _ExtendedGDBusPropertyInfo _org_freedesktop_udisks_device_property_info_linux_md_sync_speed =
-{
- {
- -1,
- "LinuxMdSyncSpeed",
- "t",
- G_DBUS_PROPERTY_INFO_FLAGS_READABLE,
- NULL
- },
- "linux-md-sync-speed",
- FALSE
-};
-
-static const _ExtendedGDBusPropertyInfo _org_freedesktop_udisks_device_property_info_linux_lvm2_pvuuid =
-{
- {
- -1,
- "LinuxLvm2PVUuid",
- "s",
- G_DBUS_PROPERTY_INFO_FLAGS_READABLE,
- NULL
- },
- "linux-lvm2-pvuuid",
- FALSE
-};
-
-static const _ExtendedGDBusPropertyInfo _org_freedesktop_udisks_device_property_info_linux_lvm2_pvnum_metadata_areas =
-{
- {
- -1,
- "LinuxLvm2PVNumMetadataAreas",
- "u",
- G_DBUS_PROPERTY_INFO_FLAGS_READABLE,
- NULL
- },
- "linux-lvm2-pvnum-metadata-areas",
- FALSE
-};
-
-static const _ExtendedGDBusPropertyInfo _org_freedesktop_udisks_device_property_info_linux_lvm2_pvgroup_name =
-{
- {
- -1,
- "LinuxLvm2PVGroupName",
- "s",
- G_DBUS_PROPERTY_INFO_FLAGS_READABLE,
- NULL
- },
- "linux-lvm2-pvgroup-name",
- FALSE
-};
-
-static const _ExtendedGDBusPropertyInfo _org_freedesktop_udisks_device_property_info_linux_lvm2_pvgroup_uuid =
-{
- {
- -1,
- "LinuxLvm2PVGroupUuid",
- "s",
- G_DBUS_PROPERTY_INFO_FLAGS_READABLE,
- NULL
- },
- "linux-lvm2-pvgroup-uuid",
- FALSE
-};
-
-static const _ExtendedGDBusPropertyInfo _org_freedesktop_udisks_device_property_info_linux_lvm2_pvgroup_size =
-{
- {
- -1,
- "LinuxLvm2PVGroupSize",
- "t",
- G_DBUS_PROPERTY_INFO_FLAGS_READABLE,
- NULL
- },
- "linux-lvm2-pvgroup-size",
- FALSE
-};
-
-static const _ExtendedGDBusPropertyInfo _org_freedesktop_udisks_device_property_info_linux_lvm2_pvgroup_unallocated_size =
-{
- {
- -1,
- "LinuxLvm2PVGroupUnallocatedSize",
- "t",
- G_DBUS_PROPERTY_INFO_FLAGS_READABLE,
- NULL
- },
- "linux-lvm2-pvgroup-unallocated-size",
- FALSE
-};
-
-static const _ExtendedGDBusPropertyInfo _org_freedesktop_udisks_device_property_info_linux_lvm2_pvgroup_sequence_number =
-{
- {
- -1,
- "LinuxLvm2PVGroupSequenceNumber",
- "t",
- G_DBUS_PROPERTY_INFO_FLAGS_READABLE,
- NULL
- },
- "linux-lvm2-pvgroup-sequence-number",
- FALSE
-};
-
-static const _ExtendedGDBusPropertyInfo _org_freedesktop_udisks_device_property_info_linux_lvm2_pvgroup_extent_size =
-{
- {
- -1,
- "LinuxLvm2PVGroupExtentSize",
- "t",
- G_DBUS_PROPERTY_INFO_FLAGS_READABLE,
- NULL
- },
- "linux-lvm2-pvgroup-extent-size",
- FALSE
-};
-
-static const _ExtendedGDBusPropertyInfo _org_freedesktop_udisks_device_property_info_linux_lvm2_pvgroup_physical_volumes =
-{
- {
- -1,
- "LinuxLvm2PVGroupPhysicalVolumes",
- "as",
- G_DBUS_PROPERTY_INFO_FLAGS_READABLE,
- NULL
- },
- "linux-lvm2-pvgroup-physical-volumes",
- FALSE
-};
-
-static const _ExtendedGDBusPropertyInfo _org_freedesktop_udisks_device_property_info_linux_lvm2_pvgroup_logical_volumes =
-{
- {
- -1,
- "LinuxLvm2PVGroupLogicalVolumes",
- "as",
- G_DBUS_PROPERTY_INFO_FLAGS_READABLE,
- NULL
- },
- "linux-lvm2-pvgroup-logical-volumes",
- FALSE
-};
-
-static const _ExtendedGDBusPropertyInfo _org_freedesktop_udisks_device_property_info_linux_lvm2_lvname =
-{
- {
- -1,
- "LinuxLvm2LVName",
- "s",
- G_DBUS_PROPERTY_INFO_FLAGS_READABLE,
- NULL
- },
- "linux-lvm2-lvname",
- FALSE
-};
-
-static const _ExtendedGDBusPropertyInfo _org_freedesktop_udisks_device_property_info_linux_lvm2_lvuuid =
-{
- {
- -1,
- "LinuxLvm2LVUuid",
- "s",
- G_DBUS_PROPERTY_INFO_FLAGS_READABLE,
- NULL
- },
- "linux-lvm2-lvuuid",
- FALSE
-};
-
-static const _ExtendedGDBusPropertyInfo _org_freedesktop_udisks_device_property_info_linux_lvm2_lvgroup_name =
-{
- {
- -1,
- "LinuxLvm2LVGroupName",
- "s",
- G_DBUS_PROPERTY_INFO_FLAGS_READABLE,
- NULL
- },
- "linux-lvm2-lvgroup-name",
- FALSE
-};
-
-static const _ExtendedGDBusPropertyInfo _org_freedesktop_udisks_device_property_info_linux_lvm2_lvgroup_uuid =
-{
- {
- -1,
- "LinuxLvm2LVGroupUuid",
- "s",
- G_DBUS_PROPERTY_INFO_FLAGS_READABLE,
- NULL
- },
- "linux-lvm2-lvgroup-uuid",
- FALSE
-};
-
-static const _ExtendedGDBusPropertyInfo _org_freedesktop_udisks_device_property_info_linux_dmmp_component_holder =
-{
- {
- -1,
- "LinuxDmmpComponentHolder",
- "o",
- G_DBUS_PROPERTY_INFO_FLAGS_READABLE,
- NULL
- },
- "linux-dmmp-component-holder",
- FALSE
-};
-
-static const _ExtendedGDBusPropertyInfo _org_freedesktop_udisks_device_property_info_linux_dmmp_name =
-{
- {
- -1,
- "LinuxDmmpName",
- "s",
- G_DBUS_PROPERTY_INFO_FLAGS_READABLE,
- NULL
- },
- "linux-dmmp-name",
- FALSE
-};
-
-static const _ExtendedGDBusPropertyInfo _org_freedesktop_udisks_device_property_info_linux_dmmp_slaves =
-{
- {
- -1,
- "LinuxDmmpSlaves",
- "ao",
- G_DBUS_PROPERTY_INFO_FLAGS_READABLE,
- NULL
- },
- "linux-dmmp-slaves",
- FALSE
-};
-
-static const _ExtendedGDBusPropertyInfo _org_freedesktop_udisks_device_property_info_linux_dmmp_parameters =
-{
- {
- -1,
- "LinuxDmmpParameters",
- "s",
- G_DBUS_PROPERTY_INFO_FLAGS_READABLE,
- NULL
- },
- "linux-dmmp-parameters",
- FALSE
-};
-
-static const _ExtendedGDBusPropertyInfo _org_freedesktop_udisks_device_property_info_linux_loop_filename =
-{
- {
- -1,
- "LinuxLoopFilename",
- "s",
- G_DBUS_PROPERTY_INFO_FLAGS_READABLE,
- NULL
- },
- "linux-loop-filename",
- FALSE
-};
-
-static const _ExtendedGDBusPropertyInfo * const _org_freedesktop_udisks_device_property_info_pointers[] =
-{
- &_org_freedesktop_udisks_device_property_info_native_path,
- &_org_freedesktop_udisks_device_property_info_device_detection_time,
- &_org_freedesktop_udisks_device_property_info_device_media_detection_time,
- &_org_freedesktop_udisks_device_property_info_device_major,
- &_org_freedesktop_udisks_device_property_info_device_minor,
- &_org_freedesktop_udisks_device_property_info_device_file,
- &_org_freedesktop_udisks_device_property_info_device_file_presentation,
- &_org_freedesktop_udisks_device_property_info_device_file_by_id,
- &_org_freedesktop_udisks_device_property_info_device_file_by_path,
- &_org_freedesktop_udisks_device_property_info_device_is_system_internal,
- &_org_freedesktop_udisks_device_property_info_device_is_partition,
- &_org_freedesktop_udisks_device_property_info_device_is_partition_table,
- &_org_freedesktop_udisks_device_property_info_device_is_removable,
- &_org_freedesktop_udisks_device_property_info_device_is_media_available,
- &_org_freedesktop_udisks_device_property_info_device_is_media_change_detected,
- &_org_freedesktop_udisks_device_property_info_device_is_media_change_detection_polling,
- &_org_freedesktop_udisks_device_property_info_device_is_media_change_detection_inhibitable,
- &_org_freedesktop_udisks_device_property_info_device_is_media_change_detection_inhibited,
- &_org_freedesktop_udisks_device_property_info_device_is_read_only,
- &_org_freedesktop_udisks_device_property_info_device_is_drive,
- &_org_freedesktop_udisks_device_property_info_device_is_optical_disc,
- &_org_freedesktop_udisks_device_property_info_device_is_mounted,
- &_org_freedesktop_udisks_device_property_info_device_mount_paths,
- &_org_freedesktop_udisks_device_property_info_device_mounted_by_uid,
- &_org_freedesktop_udisks_device_property_info_device_is_luks,
- &_org_freedesktop_udisks_device_property_info_device_is_luks_cleartext,
- &_org_freedesktop_udisks_device_property_info_device_is_linux_md_component,
- &_org_freedesktop_udisks_device_property_info_device_is_linux_md,
- &_org_freedesktop_udisks_device_property_info_device_is_linux_lvm2_lv,
- &_org_freedesktop_udisks_device_property_info_device_is_linux_lvm2_pv,
- &_org_freedesktop_udisks_device_property_info_device_is_linux_dmmp_component,
- &_org_freedesktop_udisks_device_property_info_device_is_linux_dmmp,
- &_org_freedesktop_udisks_device_property_info_device_is_linux_loop,
- &_org_freedesktop_udisks_device_property_info_device_size,
- &_org_freedesktop_udisks_device_property_info_device_block_size,
- &_org_freedesktop_udisks_device_property_info_device_presentation_hide,
- &_org_freedesktop_udisks_device_property_info_device_presentation_nopolicy,
- &_org_freedesktop_udisks_device_property_info_device_presentation_name,
- &_org_freedesktop_udisks_device_property_info_device_presentation_icon_name,
- &_org_freedesktop_udisks_device_property_info_device_automount_hint,
- &_org_freedesktop_udisks_device_property_info_job_in_progress,
- &_org_freedesktop_udisks_device_property_info_job_id,
- &_org_freedesktop_udisks_device_property_info_job_initiated_by_uid,
- &_org_freedesktop_udisks_device_property_info_job_is_cancellable,
- &_org_freedesktop_udisks_device_property_info_job_percentage,
- &_org_freedesktop_udisks_device_property_info_id_usage,
- &_org_freedesktop_udisks_device_property_info_id_type,
- &_org_freedesktop_udisks_device_property_info_id_version,
- &_org_freedesktop_udisks_device_property_info_id_uuid,
- &_org_freedesktop_udisks_device_property_info_id_label,
- &_org_freedesktop_udisks_device_property_info_luks_holder,
- &_org_freedesktop_udisks_device_property_info_luks_cleartext_slave,
- &_org_freedesktop_udisks_device_property_info_luks_cleartext_unlocked_by_uid,
- &_org_freedesktop_udisks_device_property_info_partition_slave,
- &_org_freedesktop_udisks_device_property_info_partition_scheme,
- &_org_freedesktop_udisks_device_property_info_partition_type,
- &_org_freedesktop_udisks_device_property_info_partition_label,
- &_org_freedesktop_udisks_device_property_info_partition_uuid,
- &_org_freedesktop_udisks_device_property_info_partition_flags,
- &_org_freedesktop_udisks_device_property_info_partition_number,
- &_org_freedesktop_udisks_device_property_info_partition_offset,
- &_org_freedesktop_udisks_device_property_info_partition_size,
- &_org_freedesktop_udisks_device_property_info_partition_alignment_offset,
- &_org_freedesktop_udisks_device_property_info_partition_table_scheme,
- &_org_freedesktop_udisks_device_property_info_partition_table_count,
- &_org_freedesktop_udisks_device_property_info_drive_vendor,
- &_org_freedesktop_udisks_device_property_info_drive_model,
- &_org_freedesktop_udisks_device_property_info_drive_revision,
- &_org_freedesktop_udisks_device_property_info_drive_serial,
- &_org_freedesktop_udisks_device_property_info_drive_wwn,
- &_org_freedesktop_udisks_device_property_info_drive_rotation_rate,
- &_org_freedesktop_udisks_device_property_info_drive_write_cache,
- &_org_freedesktop_udisks_device_property_info_drive_connection_interface,
- &_org_freedesktop_udisks_device_property_info_drive_connection_speed,
- &_org_freedesktop_udisks_device_property_info_drive_media_compatibility,
- &_org_freedesktop_udisks_device_property_info_drive_media,
- &_org_freedesktop_udisks_device_property_info_drive_is_media_ejectable,
- &_org_freedesktop_udisks_device_property_info_drive_can_detach,
- &_org_freedesktop_udisks_device_property_info_drive_can_spindown,
- &_org_freedesktop_udisks_device_property_info_drive_is_rotational,
- &_org_freedesktop_udisks_device_property_info_drive_adapter,
- &_org_freedesktop_udisks_device_property_info_drive_ports,
- &_org_freedesktop_udisks_device_property_info_drive_similar_devices,
- &_org_freedesktop_udisks_device_property_info_optical_disc_is_blank,
- &_org_freedesktop_udisks_device_property_info_optical_disc_is_appendable,
- &_org_freedesktop_udisks_device_property_info_optical_disc_is_closed,
- &_org_freedesktop_udisks_device_property_info_optical_disc_num_tracks,
- &_org_freedesktop_udisks_device_property_info_optical_disc_num_audio_tracks,
- &_org_freedesktop_udisks_device_property_info_optical_disc_num_sessions,
- &_org_freedesktop_udisks_device_property_info_drive_ata_smart_is_available,
- &_org_freedesktop_udisks_device_property_info_drive_ata_smart_time_collected,
- &_org_freedesktop_udisks_device_property_info_drive_ata_smart_status,
- &_org_freedesktop_udisks_device_property_info_drive_ata_smart_blob,
- &_org_freedesktop_udisks_device_property_info_linux_md_component_level,
- &_org_freedesktop_udisks_device_property_info_linux_md_component_position,
- &_org_freedesktop_udisks_device_property_info_linux_md_component_num_raid_devices,
- &_org_freedesktop_udisks_device_property_info_linux_md_component_uuid,
- &_org_freedesktop_udisks_device_property_info_linux_md_component_name,
- &_org_freedesktop_udisks_device_property_info_linux_md_component_home_host,
- &_org_freedesktop_udisks_device_property_info_linux_md_component_version,
- &_org_freedesktop_udisks_device_property_info_linux_md_component_holder,
- &_org_freedesktop_udisks_device_property_info_linux_md_component_state,
- &_org_freedesktop_udisks_device_property_info_linux_md_state,
- &_org_freedesktop_udisks_device_property_info_linux_md_level,
- &_org_freedesktop_udisks_device_property_info_linux_md_uuid,
- &_org_freedesktop_udisks_device_property_info_linux_md_home_host,
- &_org_freedesktop_udisks_device_property_info_linux_md_name,
- &_org_freedesktop_udisks_device_property_info_linux_md_num_raid_devices,
- &_org_freedesktop_udisks_device_property_info_linux_md_version,
- &_org_freedesktop_udisks_device_property_info_linux_md_slaves,
- &_org_freedesktop_udisks_device_property_info_linux_md_is_degraded,
- &_org_freedesktop_udisks_device_property_info_linux_md_sync_action,
- &_org_freedesktop_udisks_device_property_info_linux_md_sync_percentage,
- &_org_freedesktop_udisks_device_property_info_linux_md_sync_speed,
- &_org_freedesktop_udisks_device_property_info_linux_lvm2_pvuuid,
- &_org_freedesktop_udisks_device_property_info_linux_lvm2_pvnum_metadata_areas,
- &_org_freedesktop_udisks_device_property_info_linux_lvm2_pvgroup_name,
- &_org_freedesktop_udisks_device_property_info_linux_lvm2_pvgroup_uuid,
- &_org_freedesktop_udisks_device_property_info_linux_lvm2_pvgroup_size,
- &_org_freedesktop_udisks_device_property_info_linux_lvm2_pvgroup_unallocated_size,
- &_org_freedesktop_udisks_device_property_info_linux_lvm2_pvgroup_sequence_number,
- &_org_freedesktop_udisks_device_property_info_linux_lvm2_pvgroup_extent_size,
- &_org_freedesktop_udisks_device_property_info_linux_lvm2_pvgroup_physical_volumes,
- &_org_freedesktop_udisks_device_property_info_linux_lvm2_pvgroup_logical_volumes,
- &_org_freedesktop_udisks_device_property_info_linux_lvm2_lvname,
- &_org_freedesktop_udisks_device_property_info_linux_lvm2_lvuuid,
- &_org_freedesktop_udisks_device_property_info_linux_lvm2_lvgroup_name,
- &_org_freedesktop_udisks_device_property_info_linux_lvm2_lvgroup_uuid,
- &_org_freedesktop_udisks_device_property_info_linux_dmmp_component_holder,
- &_org_freedesktop_udisks_device_property_info_linux_dmmp_name,
- &_org_freedesktop_udisks_device_property_info_linux_dmmp_slaves,
- &_org_freedesktop_udisks_device_property_info_linux_dmmp_parameters,
- &_org_freedesktop_udisks_device_property_info_linux_loop_filename,
- NULL
-};
-
-static const _ExtendedGDBusInterfaceInfo _org_freedesktop_udisks_device_interface_info =
-{
- {
- -1,
- "org.freedesktop.UDisks.Device",
- (GDBusMethodInfo **) &_org_freedesktop_udisks_device_method_info_pointers,
- (GDBusSignalInfo **) &_org_freedesktop_udisks_device_signal_info_pointers,
- (GDBusPropertyInfo **) &_org_freedesktop_udisks_device_property_info_pointers,
- NULL
- },
- "org-freedesktop-udisks-device",
-};
-
-
-/**
- * org_freedesktop_udisks_device_interface_info:
- *
- * Gets a machine-readable description of the <link linkend="gdbus-interface-org-freedesktop-UDisks-Device.top_of_page">org.freedesktop.UDisks.Device</link> D-Bus interface.
- *
- * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
- */
-GDBusInterfaceInfo *
-org_freedesktop_udisks_device_interface_info (void)
-{
- return (GDBusInterfaceInfo *) &_org_freedesktop_udisks_device_interface_info;
-}
-
-/**
- * org_freedesktop_udisks_device_override_properties:
- * @klass: The class structure for a #GObject<!-- -->-derived class.
- * @property_id_begin: The property id to assign to the first overridden property.
- *
- * Overrides all #GObject properties in the #OrgFreedesktopUDisksDevice interface for a concrete class.
- * The properties are overridden in the order they are defined.
- *
- * Returns: The last property id.
- */
-guint
-org_freedesktop_udisks_device_override_properties (GObjectClass *klass, guint property_id_begin)
-{
- g_object_class_override_property (klass, property_id_begin++, "native-path");
- g_object_class_override_property (klass, property_id_begin++, "device-detection-time");
- g_object_class_override_property (klass, property_id_begin++, "device-media-detection-time");
- g_object_class_override_property (klass, property_id_begin++, "device-major");
- g_object_class_override_property (klass, property_id_begin++, "device-minor");
- g_object_class_override_property (klass, property_id_begin++, "device-file");
- g_object_class_override_property (klass, property_id_begin++, "device-file-presentation");
- g_object_class_override_property (klass, property_id_begin++, "device-file-by-id");
- g_object_class_override_property (klass, property_id_begin++, "device-file-by-path");
- g_object_class_override_property (klass, property_id_begin++, "device-is-system-internal");
- g_object_class_override_property (klass, property_id_begin++, "device-is-partition");
- g_object_class_override_property (klass, property_id_begin++, "device-is-partition-table");
- g_object_class_override_property (klass, property_id_begin++, "device-is-removable");
- g_object_class_override_property (klass, property_id_begin++, "device-is-media-available");
- g_object_class_override_property (klass, property_id_begin++, "device-is-media-change-detected");
- g_object_class_override_property (klass, property_id_begin++, "device-is-media-change-detection-polling");
- g_object_class_override_property (klass, property_id_begin++, "device-is-media-change-detection-inhibitable");
- g_object_class_override_property (klass, property_id_begin++, "device-is-media-change-detection-inhibited");
- g_object_class_override_property (klass, property_id_begin++, "device-is-read-only");
- g_object_class_override_property (klass, property_id_begin++, "device-is-drive");
- g_object_class_override_property (klass, property_id_begin++, "device-is-optical-disc");
- g_object_class_override_property (klass, property_id_begin++, "device-is-mounted");
- g_object_class_override_property (klass, property_id_begin++, "device-mount-paths");
- g_object_class_override_property (klass, property_id_begin++, "device-mounted-by-uid");
- g_object_class_override_property (klass, property_id_begin++, "device-is-luks");
- g_object_class_override_property (klass, property_id_begin++, "device-is-luks-cleartext");
- g_object_class_override_property (klass, property_id_begin++, "device-is-linux-md-component");
- g_object_class_override_property (klass, property_id_begin++, "device-is-linux-md");
- g_object_class_override_property (klass, property_id_begin++, "device-is-linux-lvm2-lv");
- g_object_class_override_property (klass, property_id_begin++, "device-is-linux-lvm2-pv");
- g_object_class_override_property (klass, property_id_begin++, "device-is-linux-dmmp-component");
- g_object_class_override_property (klass, property_id_begin++, "device-is-linux-dmmp");
- g_object_class_override_property (klass, property_id_begin++, "device-is-linux-loop");
- g_object_class_override_property (klass, property_id_begin++, "device-size");
- g_object_class_override_property (klass, property_id_begin++, "device-block-size");
- g_object_class_override_property (klass, property_id_begin++, "device-presentation-hide");
- g_object_class_override_property (klass, property_id_begin++, "device-presentation-nopolicy");
- g_object_class_override_property (klass, property_id_begin++, "device-presentation-name");
- g_object_class_override_property (klass, property_id_begin++, "device-presentation-icon-name");
- g_object_class_override_property (klass, property_id_begin++, "device-automount-hint");
- g_object_class_override_property (klass, property_id_begin++, "job-in-progress");
- g_object_class_override_property (klass, property_id_begin++, "job-id");
- g_object_class_override_property (klass, property_id_begin++, "job-initiated-by-uid");
- g_object_class_override_property (klass, property_id_begin++, "job-is-cancellable");
- g_object_class_override_property (klass, property_id_begin++, "job-percentage");
- g_object_class_override_property (klass, property_id_begin++, "id-usage");
- g_object_class_override_property (klass, property_id_begin++, "id-type");
- g_object_class_override_property (klass, property_id_begin++, "id-version");
- g_object_class_override_property (klass, property_id_begin++, "id-uuid");
- g_object_class_override_property (klass, property_id_begin++, "id-label");
- g_object_class_override_property (klass, property_id_begin++, "luks-holder");
- g_object_class_override_property (klass, property_id_begin++, "luks-cleartext-slave");
- g_object_class_override_property (klass, property_id_begin++, "luks-cleartext-unlocked-by-uid");
- g_object_class_override_property (klass, property_id_begin++, "partition-slave");
- g_object_class_override_property (klass, property_id_begin++, "partition-scheme");
- g_object_class_override_property (klass, property_id_begin++, "partition-type");
- g_object_class_override_property (klass, property_id_begin++, "partition-label");
- g_object_class_override_property (klass, property_id_begin++, "partition-uuid");
- g_object_class_override_property (klass, property_id_begin++, "partition-flags");
- g_object_class_override_property (klass, property_id_begin++, "partition-number");
- g_object_class_override_property (klass, property_id_begin++, "partition-offset");
- g_object_class_override_property (klass, property_id_begin++, "partition-size");
- g_object_class_override_property (klass, property_id_begin++, "partition-alignment-offset");
- g_object_class_override_property (klass, property_id_begin++, "partition-table-scheme");
- g_object_class_override_property (klass, property_id_begin++, "partition-table-count");
- g_object_class_override_property (klass, property_id_begin++, "drive-vendor");
- g_object_class_override_property (klass, property_id_begin++, "drive-model");
- g_object_class_override_property (klass, property_id_begin++, "drive-revision");
- g_object_class_override_property (klass, property_id_begin++, "drive-serial");
- g_object_class_override_property (klass, property_id_begin++, "drive-wwn");
- g_object_class_override_property (klass, property_id_begin++, "drive-rotation-rate");
- g_object_class_override_property (klass, property_id_begin++, "drive-write-cache");
- g_object_class_override_property (klass, property_id_begin++, "drive-connection-interface");
- g_object_class_override_property (klass, property_id_begin++, "drive-connection-speed");
- g_object_class_override_property (klass, property_id_begin++, "drive-media-compatibility");
- g_object_class_override_property (klass, property_id_begin++, "drive-media");
- g_object_class_override_property (klass, property_id_begin++, "drive-is-media-ejectable");
- g_object_class_override_property (klass, property_id_begin++, "drive-can-detach");
- g_object_class_override_property (klass, property_id_begin++, "drive-can-spindown");
- g_object_class_override_property (klass, property_id_begin++, "drive-is-rotational");
- g_object_class_override_property (klass, property_id_begin++, "drive-adapter");
- g_object_class_override_property (klass, property_id_begin++, "drive-ports");
- g_object_class_override_property (klass, property_id_begin++, "drive-similar-devices");
- g_object_class_override_property (klass, property_id_begin++, "optical-disc-is-blank");
- g_object_class_override_property (klass, property_id_begin++, "optical-disc-is-appendable");
- g_object_class_override_property (klass, property_id_begin++, "optical-disc-is-closed");
- g_object_class_override_property (klass, property_id_begin++, "optical-disc-num-tracks");
- g_object_class_override_property (klass, property_id_begin++, "optical-disc-num-audio-tracks");
- g_object_class_override_property (klass, property_id_begin++, "optical-disc-num-sessions");
- g_object_class_override_property (klass, property_id_begin++, "drive-ata-smart-is-available");
- g_object_class_override_property (klass, property_id_begin++, "drive-ata-smart-time-collected");
- g_object_class_override_property (klass, property_id_begin++, "drive-ata-smart-status");
- g_object_class_override_property (klass, property_id_begin++, "drive-ata-smart-blob");
- g_object_class_override_property (klass, property_id_begin++, "linux-md-component-level");
- g_object_class_override_property (klass, property_id_begin++, "linux-md-component-position");
- g_object_class_override_property (klass, property_id_begin++, "linux-md-component-num-raid-devices");
- g_object_class_override_property (klass, property_id_begin++, "linux-md-component-uuid");
- g_object_class_override_property (klass, property_id_begin++, "linux-md-component-name");
- g_object_class_override_property (klass, property_id_begin++, "linux-md-component-home-host");
- g_object_class_override_property (klass, property_id_begin++, "linux-md-component-version");
- g_object_class_override_property (klass, property_id_begin++, "linux-md-component-holder");
- g_object_class_override_property (klass, property_id_begin++, "linux-md-component-state");
- g_object_class_override_property (klass, property_id_begin++, "linux-md-state");
- g_object_class_override_property (klass, property_id_begin++, "linux-md-level");
- g_object_class_override_property (klass, property_id_begin++, "linux-md-uuid");
- g_object_class_override_property (klass, property_id_begin++, "linux-md-home-host");
- g_object_class_override_property (klass, property_id_begin++, "linux-md-name");
- g_object_class_override_property (klass, property_id_begin++, "linux-md-num-raid-devices");
- g_object_class_override_property (klass, property_id_begin++, "linux-md-version");
- g_object_class_override_property (klass, property_id_begin++, "linux-md-slaves");
- g_object_class_override_property (klass, property_id_begin++, "linux-md-is-degraded");
- g_object_class_override_property (klass, property_id_begin++, "linux-md-sync-action");
- g_object_class_override_property (klass, property_id_begin++, "linux-md-sync-percentage");
- g_object_class_override_property (klass, property_id_begin++, "linux-md-sync-speed");
- g_object_class_override_property (klass, property_id_begin++, "linux-lvm2-pvuuid");
- g_object_class_override_property (klass, property_id_begin++, "linux-lvm2-pvnum-metadata-areas");
- g_object_class_override_property (klass, property_id_begin++, "linux-lvm2-pvgroup-name");
- g_object_class_override_property (klass, property_id_begin++, "linux-lvm2-pvgroup-uuid");
- g_object_class_override_property (klass, property_id_begin++, "linux-lvm2-pvgroup-size");
- g_object_class_override_property (klass, property_id_begin++, "linux-lvm2-pvgroup-unallocated-size");
- g_object_class_override_property (klass, property_id_begin++, "linux-lvm2-pvgroup-sequence-number");
- g_object_class_override_property (klass, property_id_begin++, "linux-lvm2-pvgroup-extent-size");
- g_object_class_override_property (klass, property_id_begin++, "linux-lvm2-pvgroup-physical-volumes");
- g_object_class_override_property (klass, property_id_begin++, "linux-lvm2-pvgroup-logical-volumes");
- g_object_class_override_property (klass, property_id_begin++, "linux-lvm2-lvname");
- g_object_class_override_property (klass, property_id_begin++, "linux-lvm2-lvuuid");
- g_object_class_override_property (klass, property_id_begin++, "linux-lvm2-lvgroup-name");
- g_object_class_override_property (klass, property_id_begin++, "linux-lvm2-lvgroup-uuid");
- g_object_class_override_property (klass, property_id_begin++, "linux-dmmp-component-holder");
- g_object_class_override_property (klass, property_id_begin++, "linux-dmmp-name");
- g_object_class_override_property (klass, property_id_begin++, "linux-dmmp-slaves");
- g_object_class_override_property (klass, property_id_begin++, "linux-dmmp-parameters");
- g_object_class_override_property (klass, property_id_begin++, "linux-loop-filename");
- return property_id_begin - 1;
-}
-
-
-
-/**
- * OrgFreedesktopUDisksDevice:
- *
- * Abstract interface type for the D-Bus interface <link linkend="gdbus-interface-org-freedesktop-UDisks-Device.top_of_page">org.freedesktop.UDisks.Device</link>.
- */
-
-/**
- * OrgFreedesktopUDisksDeviceIface:
- * @parent_iface: The parent interface.
- * @handle_drive_ata_smart_initiate_selftest: Handler for the #OrgFreedesktopUDisksDevice::handle-drive-ata-smart-initiate-selftest signal.
- * @handle_drive_ata_smart_refresh_data: Handler for the #OrgFreedesktopUDisksDevice::handle-drive-ata-smart-refresh-data signal.
- * @handle_drive_benchmark: Handler for the #OrgFreedesktopUDisksDevice::handle-drive-benchmark signal.
- * @handle_drive_detach: Handler for the #OrgFreedesktopUDisksDevice::handle-drive-detach signal.
- * @handle_drive_eject: Handler for the #OrgFreedesktopUDisksDevice::handle-drive-eject signal.
- * @handle_drive_inhibit_polling: Handler for the #OrgFreedesktopUDisksDevice::handle-drive-inhibit-polling signal.
- * @handle_drive_poll_media: Handler for the #OrgFreedesktopUDisksDevice::handle-drive-poll-media signal.
- * @handle_drive_set_spindown_timeout: Handler for the #OrgFreedesktopUDisksDevice::handle-drive-set-spindown-timeout signal.
- * @handle_drive_uninhibit_polling: Handler for the #OrgFreedesktopUDisksDevice::handle-drive-uninhibit-polling signal.
- * @handle_drive_unset_spindown_timeout: Handler for the #OrgFreedesktopUDisksDevice::handle-drive-unset-spindown-timeout signal.
- * @handle_filesystem_check: Handler for the #OrgFreedesktopUDisksDevice::handle-filesystem-check signal.
- * @handle_filesystem_create: Handler for the #OrgFreedesktopUDisksDevice::handle-filesystem-create signal.
- * @handle_filesystem_list_open_files: Handler for the #OrgFreedesktopUDisksDevice::handle-filesystem-list-open-files signal.
- * @handle_filesystem_mount: Handler for the #OrgFreedesktopUDisksDevice::handle-filesystem-mount signal.
- * @handle_filesystem_set_label: Handler for the #OrgFreedesktopUDisksDevice::handle-filesystem-set-label signal.
- * @handle_filesystem_unmount: Handler for the #OrgFreedesktopUDisksDevice::handle-filesystem-unmount signal.
- * @handle_job_cancel: Handler for the #OrgFreedesktopUDisksDevice::handle-job-cancel signal.
- * @handle_linux_lvm2_lvstop: Handler for the #OrgFreedesktopUDisksDevice::handle-linux-lvm2-lvstop signal.
- * @handle_linux_md_add_spare: Handler for the #OrgFreedesktopUDisksDevice::handle-linux-md-add-spare signal.
- * @handle_linux_md_check: Handler for the #OrgFreedesktopUDisksDevice::handle-linux-md-check signal.
- * @handle_linux_md_expand: Handler for the #OrgFreedesktopUDisksDevice::handle-linux-md-expand signal.
- * @handle_linux_md_remove_component: Handler for the #OrgFreedesktopUDisksDevice::handle-linux-md-remove-component signal.
- * @handle_linux_md_stop: Handler for the #OrgFreedesktopUDisksDevice::handle-linux-md-stop signal.
- * @handle_luks_change_passphrase: Handler for the #OrgFreedesktopUDisksDevice::handle-luks-change-passphrase signal.
- * @handle_luks_lock: Handler for the #OrgFreedesktopUDisksDevice::handle-luks-lock signal.
- * @handle_luks_unlock: Handler for the #OrgFreedesktopUDisksDevice::handle-luks-unlock signal.
- * @handle_partition_create: Handler for the #OrgFreedesktopUDisksDevice::handle-partition-create signal.
- * @handle_partition_delete: Handler for the #OrgFreedesktopUDisksDevice::handle-partition-delete signal.
- * @handle_partition_modify: Handler for the #OrgFreedesktopUDisksDevice::handle-partition-modify signal.
- * @handle_partition_table_create: Handler for the #OrgFreedesktopUDisksDevice::handle-partition-table-create signal.
- * @get_device_automount_hint: Getter for the #OrgFreedesktopUDisksDevice:device-automount-hint property.
- * @get_device_block_size: Getter for the #OrgFreedesktopUDisksDevice:device-block-size property.
- * @get_device_detection_time: Getter for the #OrgFreedesktopUDisksDevice:device-detection-time property.
- * @get_device_file: Getter for the #OrgFreedesktopUDisksDevice:device-file property.
- * @get_device_file_by_id: Getter for the #OrgFreedesktopUDisksDevice:device-file-by-id property.
- * @get_device_file_by_path: Getter for the #OrgFreedesktopUDisksDevice:device-file-by-path property.
- * @get_device_file_presentation: Getter for the #OrgFreedesktopUDisksDevice:device-file-presentation property.
- * @get_device_is_drive: Getter for the #OrgFreedesktopUDisksDevice:device-is-drive property.
- * @get_device_is_linux_dmmp: Getter for the #OrgFreedesktopUDisksDevice:device-is-linux-dmmp property.
- * @get_device_is_linux_dmmp_component: Getter for the #OrgFreedesktopUDisksDevice:device-is-linux-dmmp-component property.
- * @get_device_is_linux_loop: Getter for the #OrgFreedesktopUDisksDevice:device-is-linux-loop property.
- * @get_device_is_linux_lvm2_lv: Getter for the #OrgFreedesktopUDisksDevice:device-is-linux-lvm2-lv property.
- * @get_device_is_linux_lvm2_pv: Getter for the #OrgFreedesktopUDisksDevice:device-is-linux-lvm2-pv property.
- * @get_device_is_linux_md: Getter for the #OrgFreedesktopUDisksDevice:device-is-linux-md property.
- * @get_device_is_linux_md_component: Getter for the #OrgFreedesktopUDisksDevice:device-is-linux-md-component property.
- * @get_device_is_luks: Getter for the #OrgFreedesktopUDisksDevice:device-is-luks property.
- * @get_device_is_luks_cleartext: Getter for the #OrgFreedesktopUDisksDevice:device-is-luks-cleartext property.
- * @get_device_is_media_available: Getter for the #OrgFreedesktopUDisksDevice:device-is-media-available property.
- * @get_device_is_media_change_detected: Getter for the #OrgFreedesktopUDisksDevice:device-is-media-change-detected property.
- * @get_device_is_media_change_detection_inhibitable: Getter for the #OrgFreedesktopUDisksDevice:device-is-media-change-detection-inhibitable property.
- * @get_device_is_media_change_detection_inhibited: Getter for the #OrgFreedesktopUDisksDevice:device-is-media-change-detection-inhibited property.
- * @get_device_is_media_change_detection_polling: Getter for the #OrgFreedesktopUDisksDevice:device-is-media-change-detection-polling property.
- * @get_device_is_mounted: Getter for the #OrgFreedesktopUDisksDevice:device-is-mounted property.
- * @get_device_is_optical_disc: Getter for the #OrgFreedesktopUDisksDevice:device-is-optical-disc property.
- * @get_device_is_partition: Getter for the #OrgFreedesktopUDisksDevice:device-is-partition property.
- * @get_device_is_partition_table: Getter for the #OrgFreedesktopUDisksDevice:device-is-partition-table property.
- * @get_device_is_read_only: Getter for the #OrgFreedesktopUDisksDevice:device-is-read-only property.
- * @get_device_is_removable: Getter for the #OrgFreedesktopUDisksDevice:device-is-removable property.
- * @get_device_is_system_internal: Getter for the #OrgFreedesktopUDisksDevice:device-is-system-internal property.
- * @get_device_major: Getter for the #OrgFreedesktopUDisksDevice:device-major property.
- * @get_device_media_detection_time: Getter for the #OrgFreedesktopUDisksDevice:device-media-detection-time property.
- * @get_device_minor: Getter for the #OrgFreedesktopUDisksDevice:device-minor property.
- * @get_device_mount_paths: Getter for the #OrgFreedesktopUDisksDevice:device-mount-paths property.
- * @get_device_mounted_by_uid: Getter for the #OrgFreedesktopUDisksDevice:device-mounted-by-uid property.
- * @get_device_presentation_hide: Getter for the #OrgFreedesktopUDisksDevice:device-presentation-hide property.
- * @get_device_presentation_icon_name: Getter for the #OrgFreedesktopUDisksDevice:device-presentation-icon-name property.
- * @get_device_presentation_name: Getter for the #OrgFreedesktopUDisksDevice:device-presentation-name property.
- * @get_device_presentation_nopolicy: Getter for the #OrgFreedesktopUDisksDevice:device-presentation-nopolicy property.
- * @get_device_size: Getter for the #OrgFreedesktopUDisksDevice:device-size property.
- * @get_drive_adapter: Getter for the #OrgFreedesktopUDisksDevice:drive-adapter property.
- * @get_drive_ata_smart_blob: Getter for the #OrgFreedesktopUDisksDevice:drive-ata-smart-blob property.
- * @get_drive_ata_smart_is_available: Getter for the #OrgFreedesktopUDisksDevice:drive-ata-smart-is-available property.
- * @get_drive_ata_smart_status: Getter for the #OrgFreedesktopUDisksDevice:drive-ata-smart-status property.
- * @get_drive_ata_smart_time_collected: Getter for the #OrgFreedesktopUDisksDevice:drive-ata-smart-time-collected property.
- * @get_drive_can_detach: Getter for the #OrgFreedesktopUDisksDevice:drive-can-detach property.
- * @get_drive_can_spindown: Getter for the #OrgFreedesktopUDisksDevice:drive-can-spindown property.
- * @get_drive_connection_interface: Getter for the #OrgFreedesktopUDisksDevice:drive-connection-interface property.
- * @get_drive_connection_speed: Getter for the #OrgFreedesktopUDisksDevice:drive-connection-speed property.
- * @get_drive_is_media_ejectable: Getter for the #OrgFreedesktopUDisksDevice:drive-is-media-ejectable property.
- * @get_drive_is_rotational: Getter for the #OrgFreedesktopUDisksDevice:drive-is-rotational property.
- * @get_drive_media: Getter for the #OrgFreedesktopUDisksDevice:drive-media property.
- * @get_drive_media_compatibility: Getter for the #OrgFreedesktopUDisksDevice:drive-media-compatibility property.
- * @get_drive_model: Getter for the #OrgFreedesktopUDisksDevice:drive-model property.
- * @get_drive_ports: Getter for the #OrgFreedesktopUDisksDevice:drive-ports property.
- * @get_drive_revision: Getter for the #OrgFreedesktopUDisksDevice:drive-revision property.
- * @get_drive_rotation_rate: Getter for the #OrgFreedesktopUDisksDevice:drive-rotation-rate property.
- * @get_drive_serial: Getter for the #OrgFreedesktopUDisksDevice:drive-serial property.
- * @get_drive_similar_devices: Getter for the #OrgFreedesktopUDisksDevice:drive-similar-devices property.
- * @get_drive_vendor: Getter for the #OrgFreedesktopUDisksDevice:drive-vendor property.
- * @get_drive_write_cache: Getter for the #OrgFreedesktopUDisksDevice:drive-write-cache property.
- * @get_drive_wwn: Getter for the #OrgFreedesktopUDisksDevice:drive-wwn property.
- * @get_id_label: Getter for the #OrgFreedesktopUDisksDevice:id-label property.
- * @get_id_type: Getter for the #OrgFreedesktopUDisksDevice:id-type property.
- * @get_id_usage: Getter for the #OrgFreedesktopUDisksDevice:id-usage property.
- * @get_id_uuid: Getter for the #OrgFreedesktopUDisksDevice:id-uuid property.
- * @get_id_version: Getter for the #OrgFreedesktopUDisksDevice:id-version property.
- * @get_job_id: Getter for the #OrgFreedesktopUDisksDevice:job-id property.
- * @get_job_in_progress: Getter for the #OrgFreedesktopUDisksDevice:job-in-progress property.
- * @get_job_initiated_by_uid: Getter for the #OrgFreedesktopUDisksDevice:job-initiated-by-uid property.
- * @get_job_is_cancellable: Getter for the #OrgFreedesktopUDisksDevice:job-is-cancellable property.
- * @get_job_percentage: Getter for the #OrgFreedesktopUDisksDevice:job-percentage property.
- * @get_linux_dmmp_component_holder: Getter for the #OrgFreedesktopUDisksDevice:linux-dmmp-component-holder property.
- * @get_linux_dmmp_name: Getter for the #OrgFreedesktopUDisksDevice:linux-dmmp-name property.
- * @get_linux_dmmp_parameters: Getter for the #OrgFreedesktopUDisksDevice:linux-dmmp-parameters property.
- * @get_linux_dmmp_slaves: Getter for the #OrgFreedesktopUDisksDevice:linux-dmmp-slaves property.
- * @get_linux_loop_filename: Getter for the #OrgFreedesktopUDisksDevice:linux-loop-filename property.
- * @get_linux_lvm2_lvgroup_name: Getter for the #OrgFreedesktopUDisksDevice:linux-lvm2-lvgroup-name property.
- * @get_linux_lvm2_lvgroup_uuid: Getter for the #OrgFreedesktopUDisksDevice:linux-lvm2-lvgroup-uuid property.
- * @get_linux_lvm2_lvname: Getter for the #OrgFreedesktopUDisksDevice:linux-lvm2-lvname property.
- * @get_linux_lvm2_lvuuid: Getter for the #OrgFreedesktopUDisksDevice:linux-lvm2-lvuuid property.
- * @get_linux_lvm2_pvgroup_extent_size: Getter for the #OrgFreedesktopUDisksDevice:linux-lvm2-pvgroup-extent-size property.
- * @get_linux_lvm2_pvgroup_logical_volumes: Getter for the #OrgFreedesktopUDisksDevice:linux-lvm2-pvgroup-logical-volumes property.
- * @get_linux_lvm2_pvgroup_name: Getter for the #OrgFreedesktopUDisksDevice:linux-lvm2-pvgroup-name property.
- * @get_linux_lvm2_pvgroup_physical_volumes: Getter for the #OrgFreedesktopUDisksDevice:linux-lvm2-pvgroup-physical-volumes property.
- * @get_linux_lvm2_pvgroup_sequence_number: Getter for the #OrgFreedesktopUDisksDevice:linux-lvm2-pvgroup-sequence-number property.
- * @get_linux_lvm2_pvgroup_size: Getter for the #OrgFreedesktopUDisksDevice:linux-lvm2-pvgroup-size property.
- * @get_linux_lvm2_pvgroup_unallocated_size: Getter for the #OrgFreedesktopUDisksDevice:linux-lvm2-pvgroup-unallocated-size property.
- * @get_linux_lvm2_pvgroup_uuid: Getter for the #OrgFreedesktopUDisksDevice:linux-lvm2-pvgroup-uuid property.
- * @get_linux_lvm2_pvnum_metadata_areas: Getter for the #OrgFreedesktopUDisksDevice:linux-lvm2-pvnum-metadata-areas property.
- * @get_linux_lvm2_pvuuid: Getter for the #OrgFreedesktopUDisksDevice:linux-lvm2-pvuuid property.
- * @get_linux_md_component_holder: Getter for the #OrgFreedesktopUDisksDevice:linux-md-component-holder property.
- * @get_linux_md_component_home_host: Getter for the #OrgFreedesktopUDisksDevice:linux-md-component-home-host property.
- * @get_linux_md_component_level: Getter for the #OrgFreedesktopUDisksDevice:linux-md-component-level property.
- * @get_linux_md_component_name: Getter for the #OrgFreedesktopUDisksDevice:linux-md-component-name property.
- * @get_linux_md_component_num_raid_devices: Getter for the #OrgFreedesktopUDisksDevice:linux-md-component-num-raid-devices property.
- * @get_linux_md_component_position: Getter for the #OrgFreedesktopUDisksDevice:linux-md-component-position property.
- * @get_linux_md_component_state: Getter for the #OrgFreedesktopUDisksDevice:linux-md-component-state property.
- * @get_linux_md_component_uuid: Getter for the #OrgFreedesktopUDisksDevice:linux-md-component-uuid property.
- * @get_linux_md_component_version: Getter for the #OrgFreedesktopUDisksDevice:linux-md-component-version property.
- * @get_linux_md_home_host: Getter for the #OrgFreedesktopUDisksDevice:linux-md-home-host property.
- * @get_linux_md_is_degraded: Getter for the #OrgFreedesktopUDisksDevice:linux-md-is-degraded property.
- * @get_linux_md_level: Getter for the #OrgFreedesktopUDisksDevice:linux-md-level property.
- * @get_linux_md_name: Getter for the #OrgFreedesktopUDisksDevice:linux-md-name property.
- * @get_linux_md_num_raid_devices: Getter for the #OrgFreedesktopUDisksDevice:linux-md-num-raid-devices property.
- * @get_linux_md_slaves: Getter for the #OrgFreedesktopUDisksDevice:linux-md-slaves property.
- * @get_linux_md_state: Getter for the #OrgFreedesktopUDisksDevice:linux-md-state property.
- * @get_linux_md_sync_action: Getter for the #OrgFreedesktopUDisksDevice:linux-md-sync-action property.
- * @get_linux_md_sync_percentage: Getter for the #OrgFreedesktopUDisksDevice:linux-md-sync-percentage property.
- * @get_linux_md_sync_speed: Getter for the #OrgFreedesktopUDisksDevice:linux-md-sync-speed property.
- * @get_linux_md_uuid: Getter for the #OrgFreedesktopUDisksDevice:linux-md-uuid property.
- * @get_linux_md_version: Getter for the #OrgFreedesktopUDisksDevice:linux-md-version property.
- * @get_luks_cleartext_slave: Getter for the #OrgFreedesktopUDisksDevice:luks-cleartext-slave property.
- * @get_luks_cleartext_unlocked_by_uid: Getter for the #OrgFreedesktopUDisksDevice:luks-cleartext-unlocked-by-uid property.
- * @get_luks_holder: Getter for the #OrgFreedesktopUDisksDevice:luks-holder property.
- * @get_native_path: Getter for the #OrgFreedesktopUDisksDevice:native-path property.
- * @get_optical_disc_is_appendable: Getter for the #OrgFreedesktopUDisksDevice:optical-disc-is-appendable property.
- * @get_optical_disc_is_blank: Getter for the #OrgFreedesktopUDisksDevice:optical-disc-is-blank property.
- * @get_optical_disc_is_closed: Getter for the #OrgFreedesktopUDisksDevice:optical-disc-is-closed property.
- * @get_optical_disc_num_audio_tracks: Getter for the #OrgFreedesktopUDisksDevice:optical-disc-num-audio-tracks property.
- * @get_optical_disc_num_sessions: Getter for the #OrgFreedesktopUDisksDevice:optical-disc-num-sessions property.
- * @get_optical_disc_num_tracks: Getter for the #OrgFreedesktopUDisksDevice:optical-disc-num-tracks property.
- * @get_partition_alignment_offset: Getter for the #OrgFreedesktopUDisksDevice:partition-alignment-offset property.
- * @get_partition_flags: Getter for the #OrgFreedesktopUDisksDevice:partition-flags property.
- * @get_partition_label: Getter for the #OrgFreedesktopUDisksDevice:partition-label property.
- * @get_partition_number: Getter for the #OrgFreedesktopUDisksDevice:partition-number property.
- * @get_partition_offset: Getter for the #OrgFreedesktopUDisksDevice:partition-offset property.
- * @get_partition_scheme: Getter for the #OrgFreedesktopUDisksDevice:partition-scheme property.
- * @get_partition_size: Getter for the #OrgFreedesktopUDisksDevice:partition-size property.
- * @get_partition_slave: Getter for the #OrgFreedesktopUDisksDevice:partition-slave property.
- * @get_partition_table_count: Getter for the #OrgFreedesktopUDisksDevice:partition-table-count property.
- * @get_partition_table_scheme: Getter for the #OrgFreedesktopUDisksDevice:partition-table-scheme property.
- * @get_partition_type: Getter for the #OrgFreedesktopUDisksDevice:partition-type property.
- * @get_partition_uuid: Getter for the #OrgFreedesktopUDisksDevice:partition-uuid property.
- * @changed: Handler for the #OrgFreedesktopUDisksDevice::changed signal.
- * @job_changed: Handler for the #OrgFreedesktopUDisksDevice::job-changed signal.
- *
- * Virtual table for the D-Bus interface <link linkend="gdbus-interface-org-freedesktop-UDisks-Device.top_of_page">org.freedesktop.UDisks.Device</link>.
- */
-
-static void
-org_freedesktop_udisks_device_default_init (OrgFreedesktopUDisksDeviceIface *iface)
-{
- /* GObject signals for incoming D-Bus method calls: */
- /**
- * OrgFreedesktopUDisksDevice::handle-job-cancel:
- * @object: A #OrgFreedesktopUDisksDevice.
- * @invocation: A #GDBusMethodInvocation.
- *
- * Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-freedesktop-UDisks-Device.JobCancel">JobCancel()</link> D-Bus method.
- *
- * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call org_freedesktop_udisks_device_complete_job_cancel() or e.g. g_dbus_method_invocation_return_error() on it) and no order signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned.
- *
- * Returns: %TRUE if the invocation was handled, %FALSE to let other signal handlers run.
- */
- g_signal_new ("handle-job-cancel",
- G_TYPE_FROM_INTERFACE (iface),
- G_SIGNAL_RUN_LAST,
- G_STRUCT_OFFSET (OrgFreedesktopUDisksDeviceIface, handle_job_cancel),
- g_signal_accumulator_true_handled,
- NULL,
- g_cclosure_marshal_generic,
- G_TYPE_BOOLEAN,
- 1,
- G_TYPE_DBUS_METHOD_INVOCATION);
-
- /**
- * OrgFreedesktopUDisksDevice::handle-partition-table-create:
- * @object: A #OrgFreedesktopUDisksDevice.
- * @invocation: A #GDBusMethodInvocation.
- * @arg_scheme: Argument passed by remote caller.
- * @arg_options: Argument passed by remote caller.
- *
- * Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-freedesktop-UDisks-Device.PartitionTableCreate">PartitionTableCreate()</link> D-Bus method.
- *
- * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call org_freedesktop_udisks_device_complete_partition_table_create() or e.g. g_dbus_method_invocation_return_error() on it) and no order signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned.
- *
- * Returns: %TRUE if the invocation was handled, %FALSE to let other signal handlers run.
- */
- g_signal_new ("handle-partition-table-create",
- G_TYPE_FROM_INTERFACE (iface),
- G_SIGNAL_RUN_LAST,
- G_STRUCT_OFFSET (OrgFreedesktopUDisksDeviceIface, handle_partition_table_create),
- g_signal_accumulator_true_handled,
- NULL,
- g_cclosure_marshal_generic,
- G_TYPE_BOOLEAN,
- 3,
- G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING, G_TYPE_STRV);
-
- /**
- * OrgFreedesktopUDisksDevice::handle-partition-delete:
- * @object: A #OrgFreedesktopUDisksDevice.
- * @invocation: A #GDBusMethodInvocation.
- * @arg_options: Argument passed by remote caller.
- *
- * Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-freedesktop-UDisks-Device.PartitionDelete">PartitionDelete()</link> D-Bus method.
- *
- * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call org_freedesktop_udisks_device_complete_partition_delete() or e.g. g_dbus_method_invocation_return_error() on it) and no order signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned.
- *
- * Returns: %TRUE if the invocation was handled, %FALSE to let other signal handlers run.
- */
- g_signal_new ("handle-partition-delete",
- G_TYPE_FROM_INTERFACE (iface),
- G_SIGNAL_RUN_LAST,
- G_STRUCT_OFFSET (OrgFreedesktopUDisksDeviceIface, handle_partition_delete),
- g_signal_accumulator_true_handled,
- NULL,
- g_cclosure_marshal_generic,
- G_TYPE_BOOLEAN,
- 2,
- G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV);
-
- /**
- * OrgFreedesktopUDisksDevice::handle-partition-create:
- * @object: A #OrgFreedesktopUDisksDevice.
- * @invocation: A #GDBusMethodInvocation.
- * @arg_offset: Argument passed by remote caller.
- * @arg_size: Argument passed by remote caller.
- * @arg_type: Argument passed by remote caller.
- * @arg_label: Argument passed by remote caller.
- * @arg_flags: Argument passed by remote caller.
- * @arg_options: Argument passed by remote caller.
- * @arg_fstype: Argument passed by remote caller.
- * @arg_fsoptions: Argument passed by remote caller.
- *
- * Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-freedesktop-UDisks-Device.PartitionCreate">PartitionCreate()</link> D-Bus method.
- *
- * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call org_freedesktop_udisks_device_complete_partition_create() or e.g. g_dbus_method_invocation_return_error() on it) and no order signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned.
- *
- * Returns: %TRUE if the invocation was handled, %FALSE to let other signal handlers run.
- */
- g_signal_new ("handle-partition-create",
- G_TYPE_FROM_INTERFACE (iface),
- G_SIGNAL_RUN_LAST,
- G_STRUCT_OFFSET (OrgFreedesktopUDisksDeviceIface, handle_partition_create),
- g_signal_accumulator_true_handled,
- NULL,
- g_cclosure_marshal_generic,
- G_TYPE_BOOLEAN,
- 9,
- G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT64, G_TYPE_UINT64, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_STRV, G_TYPE_STRV, G_TYPE_STRING, G_TYPE_STRV);
-
- /**
- * OrgFreedesktopUDisksDevice::handle-partition-modify:
- * @object: A #OrgFreedesktopUDisksDevice.
- * @invocation: A #GDBusMethodInvocation.
- * @arg_type: Argument passed by remote caller.
- * @arg_label: Argument passed by remote caller.
- * @arg_flags: Argument passed by remote caller.
- *
- * Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-freedesktop-UDisks-Device.PartitionModify">PartitionModify()</link> D-Bus method.
- *
- * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call org_freedesktop_udisks_device_complete_partition_modify() or e.g. g_dbus_method_invocation_return_error() on it) and no order signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned.
- *
- * Returns: %TRUE if the invocation was handled, %FALSE to let other signal handlers run.
- */
- g_signal_new ("handle-partition-modify",
- G_TYPE_FROM_INTERFACE (iface),
- G_SIGNAL_RUN_LAST,
- G_STRUCT_OFFSET (OrgFreedesktopUDisksDeviceIface, handle_partition_modify),
- g_signal_accumulator_true_handled,
- NULL,
- g_cclosure_marshal_generic,
- G_TYPE_BOOLEAN,
- 4,
- G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_STRV);
-
- /**
- * OrgFreedesktopUDisksDevice::handle-filesystem-create:
- * @object: A #OrgFreedesktopUDisksDevice.
- * @invocation: A #GDBusMethodInvocation.
- * @arg_fstype: Argument passed by remote caller.
- * @arg_options: Argument passed by remote caller.
- *
- * Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-freedesktop-UDisks-Device.FilesystemCreate">FilesystemCreate()</link> D-Bus method.
- *
- * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call org_freedesktop_udisks_device_complete_filesystem_create() or e.g. g_dbus_method_invocation_return_error() on it) and no order signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned.
- *
- * Returns: %TRUE if the invocation was handled, %FALSE to let other signal handlers run.
- */
- g_signal_new ("handle-filesystem-create",
- G_TYPE_FROM_INTERFACE (iface),
- G_SIGNAL_RUN_LAST,
- G_STRUCT_OFFSET (OrgFreedesktopUDisksDeviceIface, handle_filesystem_create),
- g_signal_accumulator_true_handled,
- NULL,
- g_cclosure_marshal_generic,
- G_TYPE_BOOLEAN,
- 3,
- G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING, G_TYPE_STRV);
-
- /**
- * OrgFreedesktopUDisksDevice::handle-filesystem-set-label:
- * @object: A #OrgFreedesktopUDisksDevice.
- * @invocation: A #GDBusMethodInvocation.
- * @arg_new_label: Argument passed by remote caller.
- *
- * Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-freedesktop-UDisks-Device.FilesystemSetLabel">FilesystemSetLabel()</link> D-Bus method.
- *
- * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call org_freedesktop_udisks_device_complete_filesystem_set_label() or e.g. g_dbus_method_invocation_return_error() on it) and no order signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned.
- *
- * Returns: %TRUE if the invocation was handled, %FALSE to let other signal handlers run.
- */
- g_signal_new ("handle-filesystem-set-label",
- G_TYPE_FROM_INTERFACE (iface),
- G_SIGNAL_RUN_LAST,
- G_STRUCT_OFFSET (OrgFreedesktopUDisksDeviceIface, handle_filesystem_set_label),
- g_signal_accumulator_true_handled,
- NULL,
- g_cclosure_marshal_generic,
- G_TYPE_BOOLEAN,
- 2,
- G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING);
-
- /**
- * OrgFreedesktopUDisksDevice::handle-filesystem-mount:
- * @object: A #OrgFreedesktopUDisksDevice.
- * @invocation: A #GDBusMethodInvocation.
- * @arg_filesystem_type: Argument passed by remote caller.
- * @arg_options: Argument passed by remote caller.
- *
- * Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-freedesktop-UDisks-Device.FilesystemMount">FilesystemMount()</link> D-Bus method.
- *
- * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call org_freedesktop_udisks_device_complete_filesystem_mount() or e.g. g_dbus_method_invocation_return_error() on it) and no order signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned.
- *
- * Returns: %TRUE if the invocation was handled, %FALSE to let other signal handlers run.
- */
- g_signal_new ("handle-filesystem-mount",
- G_TYPE_FROM_INTERFACE (iface),
- G_SIGNAL_RUN_LAST,
- G_STRUCT_OFFSET (OrgFreedesktopUDisksDeviceIface, handle_filesystem_mount),
- g_signal_accumulator_true_handled,
- NULL,
- g_cclosure_marshal_generic,
- G_TYPE_BOOLEAN,
- 3,
- G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING, G_TYPE_STRV);
-
- /**
- * OrgFreedesktopUDisksDevice::handle-filesystem-unmount:
- * @object: A #OrgFreedesktopUDisksDevice.
- * @invocation: A #GDBusMethodInvocation.
- * @arg_options: Argument passed by remote caller.
- *
- * Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-freedesktop-UDisks-Device.FilesystemUnmount">FilesystemUnmount()</link> D-Bus method.
- *
- * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call org_freedesktop_udisks_device_complete_filesystem_unmount() or e.g. g_dbus_method_invocation_return_error() on it) and no order signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned.
- *
- * Returns: %TRUE if the invocation was handled, %FALSE to let other signal handlers run.
- */
- g_signal_new ("handle-filesystem-unmount",
- G_TYPE_FROM_INTERFACE (iface),
- G_SIGNAL_RUN_LAST,
- G_STRUCT_OFFSET (OrgFreedesktopUDisksDeviceIface, handle_filesystem_unmount),
- g_signal_accumulator_true_handled,
- NULL,
- g_cclosure_marshal_generic,
- G_TYPE_BOOLEAN,
- 2,
- G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV);
-
- /**
- * OrgFreedesktopUDisksDevice::handle-filesystem-check:
- * @object: A #OrgFreedesktopUDisksDevice.
- * @invocation: A #GDBusMethodInvocation.
- * @arg_options: Argument passed by remote caller.
- *
- * Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-freedesktop-UDisks-Device.FilesystemCheck">FilesystemCheck()</link> D-Bus method.
- *
- * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call org_freedesktop_udisks_device_complete_filesystem_check() or e.g. g_dbus_method_invocation_return_error() on it) and no order signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned.
- *
- * Returns: %TRUE if the invocation was handled, %FALSE to let other signal handlers run.
- */
- g_signal_new ("handle-filesystem-check",
- G_TYPE_FROM_INTERFACE (iface),
- G_SIGNAL_RUN_LAST,
- G_STRUCT_OFFSET (OrgFreedesktopUDisksDeviceIface, handle_filesystem_check),
- g_signal_accumulator_true_handled,
- NULL,
- g_cclosure_marshal_generic,
- G_TYPE_BOOLEAN,
- 2,
- G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV);
-
- /**
- * OrgFreedesktopUDisksDevice::handle-filesystem-list-open-files:
- * @object: A #OrgFreedesktopUDisksDevice.
- * @invocation: A #GDBusMethodInvocation.
- *
- * Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-freedesktop-UDisks-Device.FilesystemListOpenFiles">FilesystemListOpenFiles()</link> D-Bus method.
- *
- * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call org_freedesktop_udisks_device_complete_filesystem_list_open_files() or e.g. g_dbus_method_invocation_return_error() on it) and no order signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned.
- *
- * Returns: %TRUE if the invocation was handled, %FALSE to let other signal handlers run.
- */
- g_signal_new ("handle-filesystem-list-open-files",
- G_TYPE_FROM_INTERFACE (iface),
- G_SIGNAL_RUN_LAST,
- G_STRUCT_OFFSET (OrgFreedesktopUDisksDeviceIface, handle_filesystem_list_open_files),
- g_signal_accumulator_true_handled,
- NULL,
- g_cclosure_marshal_generic,
- G_TYPE_BOOLEAN,
- 1,
- G_TYPE_DBUS_METHOD_INVOCATION);
-
- /**
- * OrgFreedesktopUDisksDevice::handle-luks-unlock:
- * @object: A #OrgFreedesktopUDisksDevice.
- * @invocation: A #GDBusMethodInvocation.
- * @arg_passphrase: Argument passed by remote caller.
- * @arg_options: Argument passed by remote caller.
- *
- * Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-freedesktop-UDisks-Device.LuksUnlock">LuksUnlock()</link> D-Bus method.
- *
- * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call org_freedesktop_udisks_device_complete_luks_unlock() or e.g. g_dbus_method_invocation_return_error() on it) and no order signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned.
- *
- * Returns: %TRUE if the invocation was handled, %FALSE to let other signal handlers run.
- */
- g_signal_new ("handle-luks-unlock",
- G_TYPE_FROM_INTERFACE (iface),
- G_SIGNAL_RUN_LAST,
- G_STRUCT_OFFSET (OrgFreedesktopUDisksDeviceIface, handle_luks_unlock),
- g_signal_accumulator_true_handled,
- NULL,
- g_cclosure_marshal_generic,
- G_TYPE_BOOLEAN,
- 3,
- G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING, G_TYPE_STRV);
-
- /**
- * OrgFreedesktopUDisksDevice::handle-luks-lock:
- * @object: A #OrgFreedesktopUDisksDevice.
- * @invocation: A #GDBusMethodInvocation.
- * @arg_options: Argument passed by remote caller.
- *
- * Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-freedesktop-UDisks-Device.LuksLock">LuksLock()</link> D-Bus method.
- *
- * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call org_freedesktop_udisks_device_complete_luks_lock() or e.g. g_dbus_method_invocation_return_error() on it) and no order signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned.
- *
- * Returns: %TRUE if the invocation was handled, %FALSE to let other signal handlers run.
- */
- g_signal_new ("handle-luks-lock",
- G_TYPE_FROM_INTERFACE (iface),
- G_SIGNAL_RUN_LAST,
- G_STRUCT_OFFSET (OrgFreedesktopUDisksDeviceIface, handle_luks_lock),
- g_signal_accumulator_true_handled,
- NULL,
- g_cclosure_marshal_generic,
- G_TYPE_BOOLEAN,
- 2,
- G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV);
-
- /**
- * OrgFreedesktopUDisksDevice::handle-luks-change-passphrase:
- * @object: A #OrgFreedesktopUDisksDevice.
- * @invocation: A #GDBusMethodInvocation.
- * @arg_current_passphrase: Argument passed by remote caller.
- * @arg_new_passphrase: Argument passed by remote caller.
- *
- * Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-freedesktop-UDisks-Device.LuksChangePassphrase">LuksChangePassphrase()</link> D-Bus method.
- *
- * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call org_freedesktop_udisks_device_complete_luks_change_passphrase() or e.g. g_dbus_method_invocation_return_error() on it) and no order signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned.
- *
- * Returns: %TRUE if the invocation was handled, %FALSE to let other signal handlers run.
- */
- g_signal_new ("handle-luks-change-passphrase",
- G_TYPE_FROM_INTERFACE (iface),
- G_SIGNAL_RUN_LAST,
- G_STRUCT_OFFSET (OrgFreedesktopUDisksDeviceIface, handle_luks_change_passphrase),
- g_signal_accumulator_true_handled,
- NULL,
- g_cclosure_marshal_generic,
- G_TYPE_BOOLEAN,
- 3,
- G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING, G_TYPE_STRING);
-
- /**
- * OrgFreedesktopUDisksDevice::handle-linux-md-add-spare:
- * @object: A #OrgFreedesktopUDisksDevice.
- * @invocation: A #GDBusMethodInvocation.
- * @arg_component: Argument passed by remote caller.
- * @arg_options: Argument passed by remote caller.
- *
- * Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-freedesktop-UDisks-Device.LinuxMdAddSpare">LinuxMdAddSpare()</link> D-Bus method.
- *
- * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call org_freedesktop_udisks_device_complete_linux_md_add_spare() or e.g. g_dbus_method_invocation_return_error() on it) and no order signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned.
- *
- * Returns: %TRUE if the invocation was handled, %FALSE to let other signal handlers run.
- */
- g_signal_new ("handle-linux-md-add-spare",
- G_TYPE_FROM_INTERFACE (iface),
- G_SIGNAL_RUN_LAST,
- G_STRUCT_OFFSET (OrgFreedesktopUDisksDeviceIface, handle_linux_md_add_spare),
- g_signal_accumulator_true_handled,
- NULL,
- g_cclosure_marshal_generic,
- G_TYPE_BOOLEAN,
- 3,
- G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING, G_TYPE_STRV);
-
- /**
- * OrgFreedesktopUDisksDevice::handle-linux-md-expand:
- * @object: A #OrgFreedesktopUDisksDevice.
- * @invocation: A #GDBusMethodInvocation.
- * @arg_components: Argument passed by remote caller.
- * @arg_options: Argument passed by remote caller.
- *
- * Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-freedesktop-UDisks-Device.LinuxMdExpand">LinuxMdExpand()</link> D-Bus method.
- *
- * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call org_freedesktop_udisks_device_complete_linux_md_expand() or e.g. g_dbus_method_invocation_return_error() on it) and no order signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned.
- *
- * Returns: %TRUE if the invocation was handled, %FALSE to let other signal handlers run.
- */
- g_signal_new ("handle-linux-md-expand",
- G_TYPE_FROM_INTERFACE (iface),
- G_SIGNAL_RUN_LAST,
- G_STRUCT_OFFSET (OrgFreedesktopUDisksDeviceIface, handle_linux_md_expand),
- g_signal_accumulator_true_handled,
- NULL,
- g_cclosure_marshal_generic,
- G_TYPE_BOOLEAN,
- 3,
- G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV, G_TYPE_STRV);
-
- /**
- * OrgFreedesktopUDisksDevice::handle-linux-md-remove-component:
- * @object: A #OrgFreedesktopUDisksDevice.
- * @invocation: A #GDBusMethodInvocation.
- * @arg_component: Argument passed by remote caller.
- * @arg_options: Argument passed by remote caller.
- *
- * Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-freedesktop-UDisks-Device.LinuxMdRemoveComponent">LinuxMdRemoveComponent()</link> D-Bus method.
- *
- * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call org_freedesktop_udisks_device_complete_linux_md_remove_component() or e.g. g_dbus_method_invocation_return_error() on it) and no order signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned.
- *
- * Returns: %TRUE if the invocation was handled, %FALSE to let other signal handlers run.
- */
- g_signal_new ("handle-linux-md-remove-component",
- G_TYPE_FROM_INTERFACE (iface),
- G_SIGNAL_RUN_LAST,
- G_STRUCT_OFFSET (OrgFreedesktopUDisksDeviceIface, handle_linux_md_remove_component),
- g_signal_accumulator_true_handled,
- NULL,
- g_cclosure_marshal_generic,
- G_TYPE_BOOLEAN,
- 3,
- G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING, G_TYPE_STRV);
-
- /**
- * OrgFreedesktopUDisksDevice::handle-linux-md-stop:
- * @object: A #OrgFreedesktopUDisksDevice.
- * @invocation: A #GDBusMethodInvocation.
- * @arg_options: Argument passed by remote caller.
- *
- * Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-freedesktop-UDisks-Device.LinuxMdStop">LinuxMdStop()</link> D-Bus method.
- *
- * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call org_freedesktop_udisks_device_complete_linux_md_stop() or e.g. g_dbus_method_invocation_return_error() on it) and no order signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned.
- *
- * Returns: %TRUE if the invocation was handled, %FALSE to let other signal handlers run.
- */
- g_signal_new ("handle-linux-md-stop",
- G_TYPE_FROM_INTERFACE (iface),
- G_SIGNAL_RUN_LAST,
- G_STRUCT_OFFSET (OrgFreedesktopUDisksDeviceIface, handle_linux_md_stop),
- g_signal_accumulator_true_handled,
- NULL,
- g_cclosure_marshal_generic,
- G_TYPE_BOOLEAN,
- 2,
- G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV);
-
- /**
- * OrgFreedesktopUDisksDevice::handle-linux-lvm2-lvstop:
- * @object: A #OrgFreedesktopUDisksDevice.
- * @invocation: A #GDBusMethodInvocation.
- * @arg_options: Argument passed by remote caller.
- *
- * Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-freedesktop-UDisks-Device.LinuxLvm2LVStop">LinuxLvm2LVStop()</link> D-Bus method.
- *
- * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call org_freedesktop_udisks_device_complete_linux_lvm2_lvstop() or e.g. g_dbus_method_invocation_return_error() on it) and no order signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned.
- *
- * Returns: %TRUE if the invocation was handled, %FALSE to let other signal handlers run.
- */
- g_signal_new ("handle-linux-lvm2-lvstop",
- G_TYPE_FROM_INTERFACE (iface),
- G_SIGNAL_RUN_LAST,
- G_STRUCT_OFFSET (OrgFreedesktopUDisksDeviceIface, handle_linux_lvm2_lvstop),
- g_signal_accumulator_true_handled,
- NULL,
- g_cclosure_marshal_generic,
- G_TYPE_BOOLEAN,
- 2,
- G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV);
-
- /**
- * OrgFreedesktopUDisksDevice::handle-linux-md-check:
- * @object: A #OrgFreedesktopUDisksDevice.
- * @invocation: A #GDBusMethodInvocation.
- * @arg_options: Argument passed by remote caller.
- *
- * Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-freedesktop-UDisks-Device.LinuxMdCheck">LinuxMdCheck()</link> D-Bus method.
- *
- * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call org_freedesktop_udisks_device_complete_linux_md_check() or e.g. g_dbus_method_invocation_return_error() on it) and no order signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned.
- *
- * Returns: %TRUE if the invocation was handled, %FALSE to let other signal handlers run.
- */
- g_signal_new ("handle-linux-md-check",
- G_TYPE_FROM_INTERFACE (iface),
- G_SIGNAL_RUN_LAST,
- G_STRUCT_OFFSET (OrgFreedesktopUDisksDeviceIface, handle_linux_md_check),
- g_signal_accumulator_true_handled,
- NULL,
- g_cclosure_marshal_generic,
- G_TYPE_BOOLEAN,
- 2,
- G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV);
-
- /**
- * OrgFreedesktopUDisksDevice::handle-drive-inhibit-polling:
- * @object: A #OrgFreedesktopUDisksDevice.
- * @invocation: A #GDBusMethodInvocation.
- * @arg_options: Argument passed by remote caller.
- *
- * Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-freedesktop-UDisks-Device.DriveInhibitPolling">DriveInhibitPolling()</link> D-Bus method.
- *
- * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call org_freedesktop_udisks_device_complete_drive_inhibit_polling() or e.g. g_dbus_method_invocation_return_error() on it) and no order signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned.
- *
- * Returns: %TRUE if the invocation was handled, %FALSE to let other signal handlers run.
- */
- g_signal_new ("handle-drive-inhibit-polling",
- G_TYPE_FROM_INTERFACE (iface),
- G_SIGNAL_RUN_LAST,
- G_STRUCT_OFFSET (OrgFreedesktopUDisksDeviceIface, handle_drive_inhibit_polling),
- g_signal_accumulator_true_handled,
- NULL,
- g_cclosure_marshal_generic,
- G_TYPE_BOOLEAN,
- 2,
- G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV);
-
- /**
- * OrgFreedesktopUDisksDevice::handle-drive-uninhibit-polling:
- * @object: A #OrgFreedesktopUDisksDevice.
- * @invocation: A #GDBusMethodInvocation.
- * @arg_cookie: Argument passed by remote caller.
- *
- * Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-freedesktop-UDisks-Device.DriveUninhibitPolling">DriveUninhibitPolling()</link> D-Bus method.
- *
- * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call org_freedesktop_udisks_device_complete_drive_uninhibit_polling() or e.g. g_dbus_method_invocation_return_error() on it) and no order signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned.
- *
- * Returns: %TRUE if the invocation was handled, %FALSE to let other signal handlers run.
- */
- g_signal_new ("handle-drive-uninhibit-polling",
- G_TYPE_FROM_INTERFACE (iface),
- G_SIGNAL_RUN_LAST,
- G_STRUCT_OFFSET (OrgFreedesktopUDisksDeviceIface, handle_drive_uninhibit_polling),
- g_signal_accumulator_true_handled,
- NULL,
- g_cclosure_marshal_generic,
- G_TYPE_BOOLEAN,
- 2,
- G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING);
-
- /**
- * OrgFreedesktopUDisksDevice::handle-drive-poll-media:
- * @object: A #OrgFreedesktopUDisksDevice.
- * @invocation: A #GDBusMethodInvocation.
- *
- * Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-freedesktop-UDisks-Device.DrivePollMedia">DrivePollMedia()</link> D-Bus method.
- *
- * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call org_freedesktop_udisks_device_complete_drive_poll_media() or e.g. g_dbus_method_invocation_return_error() on it) and no order signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned.
- *
- * Returns: %TRUE if the invocation was handled, %FALSE to let other signal handlers run.
- */
- g_signal_new ("handle-drive-poll-media",
- G_TYPE_FROM_INTERFACE (iface),
- G_SIGNAL_RUN_LAST,
- G_STRUCT_OFFSET (OrgFreedesktopUDisksDeviceIface, handle_drive_poll_media),
- g_signal_accumulator_true_handled,
- NULL,
- g_cclosure_marshal_generic,
- G_TYPE_BOOLEAN,
- 1,
- G_TYPE_DBUS_METHOD_INVOCATION);
-
- /**
- * OrgFreedesktopUDisksDevice::handle-drive-eject:
- * @object: A #OrgFreedesktopUDisksDevice.
- * @invocation: A #GDBusMethodInvocation.
- * @arg_options: Argument passed by remote caller.
- *
- * Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-freedesktop-UDisks-Device.DriveEject">DriveEject()</link> D-Bus method.
- *
- * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call org_freedesktop_udisks_device_complete_drive_eject() or e.g. g_dbus_method_invocation_return_error() on it) and no order signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned.
- *
- * Returns: %TRUE if the invocation was handled, %FALSE to let other signal handlers run.
- */
- g_signal_new ("handle-drive-eject",
- G_TYPE_FROM_INTERFACE (iface),
- G_SIGNAL_RUN_LAST,
- G_STRUCT_OFFSET (OrgFreedesktopUDisksDeviceIface, handle_drive_eject),
- g_signal_accumulator_true_handled,
- NULL,
- g_cclosure_marshal_generic,
- G_TYPE_BOOLEAN,
- 2,
- G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV);
-
- /**
- * OrgFreedesktopUDisksDevice::handle-drive-detach:
- * @object: A #OrgFreedesktopUDisksDevice.
- * @invocation: A #GDBusMethodInvocation.
- * @arg_options: Argument passed by remote caller.
- *
- * Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-freedesktop-UDisks-Device.DriveDetach">DriveDetach()</link> D-Bus method.
- *
- * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call org_freedesktop_udisks_device_complete_drive_detach() or e.g. g_dbus_method_invocation_return_error() on it) and no order signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned.
- *
- * Returns: %TRUE if the invocation was handled, %FALSE to let other signal handlers run.
- */
- g_signal_new ("handle-drive-detach",
- G_TYPE_FROM_INTERFACE (iface),
- G_SIGNAL_RUN_LAST,
- G_STRUCT_OFFSET (OrgFreedesktopUDisksDeviceIface, handle_drive_detach),
- g_signal_accumulator_true_handled,
- NULL,
- g_cclosure_marshal_generic,
- G_TYPE_BOOLEAN,
- 2,
- G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV);
-
- /**
- * OrgFreedesktopUDisksDevice::handle-drive-set-spindown-timeout:
- * @object: A #OrgFreedesktopUDisksDevice.
- * @invocation: A #GDBusMethodInvocation.
- * @arg_timeout_seconds: Argument passed by remote caller.
- * @arg_options: Argument passed by remote caller.
- *
- * Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-freedesktop-UDisks-Device.DriveSetSpindownTimeout">DriveSetSpindownTimeout()</link> D-Bus method.
- *
- * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call org_freedesktop_udisks_device_complete_drive_set_spindown_timeout() or e.g. g_dbus_method_invocation_return_error() on it) and no order signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned.
- *
- * Returns: %TRUE if the invocation was handled, %FALSE to let other signal handlers run.
- */
- g_signal_new ("handle-drive-set-spindown-timeout",
- G_TYPE_FROM_INTERFACE (iface),
- G_SIGNAL_RUN_LAST,
- G_STRUCT_OFFSET (OrgFreedesktopUDisksDeviceIface, handle_drive_set_spindown_timeout),
- g_signal_accumulator_true_handled,
- NULL,
- g_cclosure_marshal_generic,
- G_TYPE_BOOLEAN,
- 3,
- G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT, G_TYPE_STRV);
-
- /**
- * OrgFreedesktopUDisksDevice::handle-drive-unset-spindown-timeout:
- * @object: A #OrgFreedesktopUDisksDevice.
- * @invocation: A #GDBusMethodInvocation.
- * @arg_cookie: Argument passed by remote caller.
- *
- * Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-freedesktop-UDisks-Device.DriveUnsetSpindownTimeout">DriveUnsetSpindownTimeout()</link> D-Bus method.
- *
- * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call org_freedesktop_udisks_device_complete_drive_unset_spindown_timeout() or e.g. g_dbus_method_invocation_return_error() on it) and no order signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned.
- *
- * Returns: %TRUE if the invocation was handled, %FALSE to let other signal handlers run.
- */
- g_signal_new ("handle-drive-unset-spindown-timeout",
- G_TYPE_FROM_INTERFACE (iface),
- G_SIGNAL_RUN_LAST,
- G_STRUCT_OFFSET (OrgFreedesktopUDisksDeviceIface, handle_drive_unset_spindown_timeout),
- g_signal_accumulator_true_handled,
- NULL,
- g_cclosure_marshal_generic,
- G_TYPE_BOOLEAN,
- 2,
- G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING);
-
- /**
- * OrgFreedesktopUDisksDevice::handle-drive-ata-smart-refresh-data:
- * @object: A #OrgFreedesktopUDisksDevice.
- * @invocation: A #GDBusMethodInvocation.
- * @arg_options: Argument passed by remote caller.
- *
- * Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-freedesktop-UDisks-Device.DriveAtaSmartRefreshData">DriveAtaSmartRefreshData()</link> D-Bus method.
- *
- * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call org_freedesktop_udisks_device_complete_drive_ata_smart_refresh_data() or e.g. g_dbus_method_invocation_return_error() on it) and no order signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned.
- *
- * Returns: %TRUE if the invocation was handled, %FALSE to let other signal handlers run.
- */
- g_signal_new ("handle-drive-ata-smart-refresh-data",
- G_TYPE_FROM_INTERFACE (iface),
- G_SIGNAL_RUN_LAST,
- G_STRUCT_OFFSET (OrgFreedesktopUDisksDeviceIface, handle_drive_ata_smart_refresh_data),
- g_signal_accumulator_true_handled,
- NULL,
- g_cclosure_marshal_generic,
- G_TYPE_BOOLEAN,
- 2,
- G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV);
-
- /**
- * OrgFreedesktopUDisksDevice::handle-drive-ata-smart-initiate-selftest:
- * @object: A #OrgFreedesktopUDisksDevice.
- * @invocation: A #GDBusMethodInvocation.
- * @arg_test: Argument passed by remote caller.
- * @arg_options: Argument passed by remote caller.
- *
- * Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-freedesktop-UDisks-Device.DriveAtaSmartInitiateSelftest">DriveAtaSmartInitiateSelftest()</link> D-Bus method.
- *
- * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call org_freedesktop_udisks_device_complete_drive_ata_smart_initiate_selftest() or e.g. g_dbus_method_invocation_return_error() on it) and no order signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned.
- *
- * Returns: %TRUE if the invocation was handled, %FALSE to let other signal handlers run.
- */
- g_signal_new ("handle-drive-ata-smart-initiate-selftest",
- G_TYPE_FROM_INTERFACE (iface),
- G_SIGNAL_RUN_LAST,
- G_STRUCT_OFFSET (OrgFreedesktopUDisksDeviceIface, handle_drive_ata_smart_initiate_selftest),
- g_signal_accumulator_true_handled,
- NULL,
- g_cclosure_marshal_generic,
- G_TYPE_BOOLEAN,
- 3,
- G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING, G_TYPE_STRV);
-
- /**
- * OrgFreedesktopUDisksDevice::handle-drive-benchmark:
- * @object: A #OrgFreedesktopUDisksDevice.
- * @invocation: A #GDBusMethodInvocation.
- * @arg_do_write_benchmark: Argument passed by remote caller.
- * @arg_options: Argument passed by remote caller.
- *
- * Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-freedesktop-UDisks-Device.DriveBenchmark">DriveBenchmark()</link> D-Bus method.
- *
- * If a signal handler returns %TRUE, it means the signal handler will handle the invocation (e.g. take a reference to @invocation and eventually call org_freedesktop_udisks_device_complete_drive_benchmark() or e.g. g_dbus_method_invocation_return_error() on it) and no order signal handlers will run. If no signal handler handles the invocation, the %G_DBUS_ERROR_UNKNOWN_METHOD error is returned.
- *
- * Returns: %TRUE if the invocation was handled, %FALSE to let other signal handlers run.
- */
- g_signal_new ("handle-drive-benchmark",
- G_TYPE_FROM_INTERFACE (iface),
- G_SIGNAL_RUN_LAST,
- G_STRUCT_OFFSET (OrgFreedesktopUDisksDeviceIface, handle_drive_benchmark),
- g_signal_accumulator_true_handled,
- NULL,
- g_cclosure_marshal_generic,
- G_TYPE_BOOLEAN,
- 3,
- G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_BOOLEAN, G_TYPE_STRV);
-
- /* GObject signals for received D-Bus signals: */
- /**
- * OrgFreedesktopUDisksDevice::changed:
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * On the client-side, this signal is emitted whenever the D-Bus signal <link linkend="gdbus-signal-org-freedesktop-UDisks-Device.Changed">"Changed"</link> is received.
- *
- * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
- */
- g_signal_new ("changed",
- G_TYPE_FROM_INTERFACE (iface),
- G_SIGNAL_RUN_LAST,
- G_STRUCT_OFFSET (OrgFreedesktopUDisksDeviceIface, changed),
- NULL,
- NULL,
- g_cclosure_marshal_generic,
- G_TYPE_NONE,
- 0);
-
- /**
- * OrgFreedesktopUDisksDevice::job-changed:
- * @object: A #OrgFreedesktopUDisksDevice.
- * @arg_job_in_progress: Argument.
- * @arg_job_is_cancellable: Argument.
- * @arg_job_id: Argument.
- * @arg_job_initiated_by_uid: Argument.
- * @arg_job_percentage: Argument.
- *
- * On the client-side, this signal is emitted whenever the D-Bus signal <link linkend="gdbus-signal-org-freedesktop-UDisks-Device.JobChanged">"JobChanged"</link> is received.
- *
- * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
- */
- g_signal_new ("job-changed",
- G_TYPE_FROM_INTERFACE (iface),
- G_SIGNAL_RUN_LAST,
- G_STRUCT_OFFSET (OrgFreedesktopUDisksDeviceIface, job_changed),
- NULL,
- NULL,
- g_cclosure_marshal_generic,
- G_TYPE_NONE,
- 5, G_TYPE_BOOLEAN, G_TYPE_BOOLEAN, G_TYPE_STRING, G_TYPE_UINT, G_TYPE_DOUBLE);
-
- /* GObject properties for D-Bus properties: */
- /**
- * OrgFreedesktopUDisksDevice:native-path:
- *
- * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-UDisks-Device.NativePath">"NativePath"</link>.
- *
- * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
- */
- g_object_interface_install_property (iface,
- g_param_spec_string ("native-path", "NativePath", "NativePath", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
- /**
- * OrgFreedesktopUDisksDevice:device-detection-time:
- *
- * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DeviceDetectionTime">"DeviceDetectionTime"</link>.
- *
- * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
- */
- g_object_interface_install_property (iface,
- g_param_spec_uint64 ("device-detection-time", "DeviceDetectionTime", "DeviceDetectionTime", 0, G_MAXUINT64, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
- /**
- * OrgFreedesktopUDisksDevice:device-media-detection-time:
- *
- * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DeviceMediaDetectionTime">"DeviceMediaDetectionTime"</link>.
- *
- * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
- */
- g_object_interface_install_property (iface,
- g_param_spec_uint64 ("device-media-detection-time", "DeviceMediaDetectionTime", "DeviceMediaDetectionTime", 0, G_MAXUINT64, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
- /**
- * OrgFreedesktopUDisksDevice:device-major:
- *
- * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DeviceMajor">"DeviceMajor"</link>.
- *
- * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
- */
- g_object_interface_install_property (iface,
- g_param_spec_int64 ("device-major", "DeviceMajor", "DeviceMajor", G_MININT64, G_MAXINT64, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
- /**
- * OrgFreedesktopUDisksDevice:device-minor:
- *
- * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DeviceMinor">"DeviceMinor"</link>.
- *
- * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
- */
- g_object_interface_install_property (iface,
- g_param_spec_int64 ("device-minor", "DeviceMinor", "DeviceMinor", G_MININT64, G_MAXINT64, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
- /**
- * OrgFreedesktopUDisksDevice:device-file:
- *
- * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DeviceFile">"DeviceFile"</link>.
- *
- * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
- */
- g_object_interface_install_property (iface,
- g_param_spec_string ("device-file", "DeviceFile", "DeviceFile", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
- /**
- * OrgFreedesktopUDisksDevice:device-file-presentation:
- *
- * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DeviceFilePresentation">"DeviceFilePresentation"</link>.
- *
- * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
- */
- g_object_interface_install_property (iface,
- g_param_spec_string ("device-file-presentation", "DeviceFilePresentation", "DeviceFilePresentation", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
- /**
- * OrgFreedesktopUDisksDevice:device-file-by-id:
- *
- * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DeviceFileById">"DeviceFileById"</link>.
- *
- * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
- */
- g_object_interface_install_property (iface,
- g_param_spec_boxed ("device-file-by-id", "DeviceFileById", "DeviceFileById", G_TYPE_STRV, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
- /**
- * OrgFreedesktopUDisksDevice:device-file-by-path:
- *
- * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DeviceFileByPath">"DeviceFileByPath"</link>.
- *
- * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
- */
- g_object_interface_install_property (iface,
- g_param_spec_boxed ("device-file-by-path", "DeviceFileByPath", "DeviceFileByPath", G_TYPE_STRV, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
- /**
- * OrgFreedesktopUDisksDevice:device-is-system-internal:
- *
- * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DeviceIsSystemInternal">"DeviceIsSystemInternal"</link>.
- *
- * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
- */
- g_object_interface_install_property (iface,
- g_param_spec_boolean ("device-is-system-internal", "DeviceIsSystemInternal", "DeviceIsSystemInternal", FALSE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
- /**
- * OrgFreedesktopUDisksDevice:device-is-partition:
- *
- * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DeviceIsPartition">"DeviceIsPartition"</link>.
- *
- * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
- */
- g_object_interface_install_property (iface,
- g_param_spec_boolean ("device-is-partition", "DeviceIsPartition", "DeviceIsPartition", FALSE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
- /**
- * OrgFreedesktopUDisksDevice:device-is-partition-table:
- *
- * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DeviceIsPartitionTable">"DeviceIsPartitionTable"</link>.
- *
- * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
- */
- g_object_interface_install_property (iface,
- g_param_spec_boolean ("device-is-partition-table", "DeviceIsPartitionTable", "DeviceIsPartitionTable", FALSE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
- /**
- * OrgFreedesktopUDisksDevice:device-is-removable:
- *
- * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DeviceIsRemovable">"DeviceIsRemovable"</link>.
- *
- * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
- */
- g_object_interface_install_property (iface,
- g_param_spec_boolean ("device-is-removable", "DeviceIsRemovable", "DeviceIsRemovable", FALSE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
- /**
- * OrgFreedesktopUDisksDevice:device-is-media-available:
- *
- * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DeviceIsMediaAvailable">"DeviceIsMediaAvailable"</link>.
- *
- * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
- */
- g_object_interface_install_property (iface,
- g_param_spec_boolean ("device-is-media-available", "DeviceIsMediaAvailable", "DeviceIsMediaAvailable", FALSE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
- /**
- * OrgFreedesktopUDisksDevice:device-is-media-change-detected:
- *
- * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DeviceIsMediaChangeDetected">"DeviceIsMediaChangeDetected"</link>.
- *
- * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
- */
- g_object_interface_install_property (iface,
- g_param_spec_boolean ("device-is-media-change-detected", "DeviceIsMediaChangeDetected", "DeviceIsMediaChangeDetected", FALSE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
- /**
- * OrgFreedesktopUDisksDevice:device-is-media-change-detection-polling:
- *
- * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DeviceIsMediaChangeDetectionPolling">"DeviceIsMediaChangeDetectionPolling"</link>.
- *
- * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
- */
- g_object_interface_install_property (iface,
- g_param_spec_boolean ("device-is-media-change-detection-polling", "DeviceIsMediaChangeDetectionPolling", "DeviceIsMediaChangeDetectionPolling", FALSE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
- /**
- * OrgFreedesktopUDisksDevice:device-is-media-change-detection-inhibitable:
- *
- * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DeviceIsMediaChangeDetectionInhibitable">"DeviceIsMediaChangeDetectionInhibitable"</link>.
- *
- * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
- */
- g_object_interface_install_property (iface,
- g_param_spec_boolean ("device-is-media-change-detection-inhibitable", "DeviceIsMediaChangeDetectionInhibitable", "DeviceIsMediaChangeDetectionInhibitable", FALSE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
- /**
- * OrgFreedesktopUDisksDevice:device-is-media-change-detection-inhibited:
- *
- * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DeviceIsMediaChangeDetectionInhibited">"DeviceIsMediaChangeDetectionInhibited"</link>.
- *
- * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
- */
- g_object_interface_install_property (iface,
- g_param_spec_boolean ("device-is-media-change-detection-inhibited", "DeviceIsMediaChangeDetectionInhibited", "DeviceIsMediaChangeDetectionInhibited", FALSE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
- /**
- * OrgFreedesktopUDisksDevice:device-is-read-only:
- *
- * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DeviceIsReadOnly">"DeviceIsReadOnly"</link>.
- *
- * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
- */
- g_object_interface_install_property (iface,
- g_param_spec_boolean ("device-is-read-only", "DeviceIsReadOnly", "DeviceIsReadOnly", FALSE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
- /**
- * OrgFreedesktopUDisksDevice:device-is-drive:
- *
- * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DeviceIsDrive">"DeviceIsDrive"</link>.
- *
- * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
- */
- g_object_interface_install_property (iface,
- g_param_spec_boolean ("device-is-drive", "DeviceIsDrive", "DeviceIsDrive", FALSE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
- /**
- * OrgFreedesktopUDisksDevice:device-is-optical-disc:
- *
- * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DeviceIsOpticalDisc">"DeviceIsOpticalDisc"</link>.
- *
- * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
- */
- g_object_interface_install_property (iface,
- g_param_spec_boolean ("device-is-optical-disc", "DeviceIsOpticalDisc", "DeviceIsOpticalDisc", FALSE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
- /**
- * OrgFreedesktopUDisksDevice:device-is-mounted:
- *
- * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DeviceIsMounted">"DeviceIsMounted"</link>.
- *
- * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
- */
- g_object_interface_install_property (iface,
- g_param_spec_boolean ("device-is-mounted", "DeviceIsMounted", "DeviceIsMounted", FALSE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
- /**
- * OrgFreedesktopUDisksDevice:device-mount-paths:
- *
- * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DeviceMountPaths">"DeviceMountPaths"</link>.
- *
- * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
- */
- g_object_interface_install_property (iface,
- g_param_spec_boxed ("device-mount-paths", "DeviceMountPaths", "DeviceMountPaths", G_TYPE_STRV, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
- /**
- * OrgFreedesktopUDisksDevice:device-mounted-by-uid:
- *
- * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DeviceMountedByUid">"DeviceMountedByUid"</link>.
- *
- * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
- */
- g_object_interface_install_property (iface,
- g_param_spec_uint ("device-mounted-by-uid", "DeviceMountedByUid", "DeviceMountedByUid", 0, G_MAXUINT32, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
- /**
- * OrgFreedesktopUDisksDevice:device-is-luks:
- *
- * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DeviceIsLuks">"DeviceIsLuks"</link>.
- *
- * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
- */
- g_object_interface_install_property (iface,
- g_param_spec_boolean ("device-is-luks", "DeviceIsLuks", "DeviceIsLuks", FALSE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
- /**
- * OrgFreedesktopUDisksDevice:device-is-luks-cleartext:
- *
- * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DeviceIsLuksCleartext">"DeviceIsLuksCleartext"</link>.
- *
- * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
- */
- g_object_interface_install_property (iface,
- g_param_spec_boolean ("device-is-luks-cleartext", "DeviceIsLuksCleartext", "DeviceIsLuksCleartext", FALSE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
- /**
- * OrgFreedesktopUDisksDevice:device-is-linux-md-component:
- *
- * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DeviceIsLinuxMdComponent">"DeviceIsLinuxMdComponent"</link>.
- *
- * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
- */
- g_object_interface_install_property (iface,
- g_param_spec_boolean ("device-is-linux-md-component", "DeviceIsLinuxMdComponent", "DeviceIsLinuxMdComponent", FALSE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
- /**
- * OrgFreedesktopUDisksDevice:device-is-linux-md:
- *
- * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DeviceIsLinuxMd">"DeviceIsLinuxMd"</link>.
- *
- * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
- */
- g_object_interface_install_property (iface,
- g_param_spec_boolean ("device-is-linux-md", "DeviceIsLinuxMd", "DeviceIsLinuxMd", FALSE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
- /**
- * OrgFreedesktopUDisksDevice:device-is-linux-lvm2-lv:
- *
- * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DeviceIsLinuxLvm2LV">"DeviceIsLinuxLvm2LV"</link>.
- *
- * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
- */
- g_object_interface_install_property (iface,
- g_param_spec_boolean ("device-is-linux-lvm2-lv", "DeviceIsLinuxLvm2LV", "DeviceIsLinuxLvm2LV", FALSE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
- /**
- * OrgFreedesktopUDisksDevice:device-is-linux-lvm2-pv:
- *
- * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DeviceIsLinuxLvm2PV">"DeviceIsLinuxLvm2PV"</link>.
- *
- * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
- */
- g_object_interface_install_property (iface,
- g_param_spec_boolean ("device-is-linux-lvm2-pv", "DeviceIsLinuxLvm2PV", "DeviceIsLinuxLvm2PV", FALSE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
- /**
- * OrgFreedesktopUDisksDevice:device-is-linux-dmmp-component:
- *
- * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DeviceIsLinuxDmmpComponent">"DeviceIsLinuxDmmpComponent"</link>.
- *
- * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
- */
- g_object_interface_install_property (iface,
- g_param_spec_boolean ("device-is-linux-dmmp-component", "DeviceIsLinuxDmmpComponent", "DeviceIsLinuxDmmpComponent", FALSE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
- /**
- * OrgFreedesktopUDisksDevice:device-is-linux-dmmp:
- *
- * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DeviceIsLinuxDmmp">"DeviceIsLinuxDmmp"</link>.
- *
- * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
- */
- g_object_interface_install_property (iface,
- g_param_spec_boolean ("device-is-linux-dmmp", "DeviceIsLinuxDmmp", "DeviceIsLinuxDmmp", FALSE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
- /**
- * OrgFreedesktopUDisksDevice:device-is-linux-loop:
- *
- * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DeviceIsLinuxLoop">"DeviceIsLinuxLoop"</link>.
- *
- * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
- */
- g_object_interface_install_property (iface,
- g_param_spec_boolean ("device-is-linux-loop", "DeviceIsLinuxLoop", "DeviceIsLinuxLoop", FALSE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
- /**
- * OrgFreedesktopUDisksDevice:device-size:
- *
- * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DeviceSize">"DeviceSize"</link>.
- *
- * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
- */
- g_object_interface_install_property (iface,
- g_param_spec_uint64 ("device-size", "DeviceSize", "DeviceSize", 0, G_MAXUINT64, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
- /**
- * OrgFreedesktopUDisksDevice:device-block-size:
- *
- * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DeviceBlockSize">"DeviceBlockSize"</link>.
- *
- * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
- */
- g_object_interface_install_property (iface,
- g_param_spec_uint64 ("device-block-size", "DeviceBlockSize", "DeviceBlockSize", 0, G_MAXUINT64, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
- /**
- * OrgFreedesktopUDisksDevice:device-presentation-hide:
- *
- * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DevicePresentationHide">"DevicePresentationHide"</link>.
- *
- * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
- */
- g_object_interface_install_property (iface,
- g_param_spec_boolean ("device-presentation-hide", "DevicePresentationHide", "DevicePresentationHide", FALSE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
- /**
- * OrgFreedesktopUDisksDevice:device-presentation-nopolicy:
- *
- * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DevicePresentationNopolicy">"DevicePresentationNopolicy"</link>.
- *
- * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
- */
- g_object_interface_install_property (iface,
- g_param_spec_boolean ("device-presentation-nopolicy", "DevicePresentationNopolicy", "DevicePresentationNopolicy", FALSE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
- /**
- * OrgFreedesktopUDisksDevice:device-presentation-name:
- *
- * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DevicePresentationName">"DevicePresentationName"</link>.
- *
- * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
- */
- g_object_interface_install_property (iface,
- g_param_spec_string ("device-presentation-name", "DevicePresentationName", "DevicePresentationName", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
- /**
- * OrgFreedesktopUDisksDevice:device-presentation-icon-name:
- *
- * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DevicePresentationIconName">"DevicePresentationIconName"</link>.
- *
- * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
- */
- g_object_interface_install_property (iface,
- g_param_spec_string ("device-presentation-icon-name", "DevicePresentationIconName", "DevicePresentationIconName", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
- /**
- * OrgFreedesktopUDisksDevice:device-automount-hint:
- *
- * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DeviceAutomountHint">"DeviceAutomountHint"</link>.
- *
- * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
- */
- g_object_interface_install_property (iface,
- g_param_spec_string ("device-automount-hint", "DeviceAutomountHint", "DeviceAutomountHint", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
- /**
- * OrgFreedesktopUDisksDevice:job-in-progress:
- *
- * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-UDisks-Device.JobInProgress">"JobInProgress"</link>.
- *
- * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
- */
- g_object_interface_install_property (iface,
- g_param_spec_boolean ("job-in-progress", "JobInProgress", "JobInProgress", FALSE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
- /**
- * OrgFreedesktopUDisksDevice:job-id:
- *
- * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-UDisks-Device.JobId">"JobId"</link>.
- *
- * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
- */
- g_object_interface_install_property (iface,
- g_param_spec_string ("job-id", "JobId", "JobId", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
- /**
- * OrgFreedesktopUDisksDevice:job-initiated-by-uid:
- *
- * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-UDisks-Device.JobInitiatedByUid">"JobInitiatedByUid"</link>.
- *
- * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
- */
- g_object_interface_install_property (iface,
- g_param_spec_uint ("job-initiated-by-uid", "JobInitiatedByUid", "JobInitiatedByUid", 0, G_MAXUINT32, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
- /**
- * OrgFreedesktopUDisksDevice:job-is-cancellable:
- *
- * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-UDisks-Device.JobIsCancellable">"JobIsCancellable"</link>.
- *
- * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
- */
- g_object_interface_install_property (iface,
- g_param_spec_boolean ("job-is-cancellable", "JobIsCancellable", "JobIsCancellable", FALSE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
- /**
- * OrgFreedesktopUDisksDevice:job-percentage:
- *
- * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-UDisks-Device.JobPercentage">"JobPercentage"</link>.
- *
- * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
- */
- g_object_interface_install_property (iface,
- g_param_spec_double ("job-percentage", "JobPercentage", "JobPercentage", -G_MAXDOUBLE, G_MAXDOUBLE, 0.0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
- /**
- * OrgFreedesktopUDisksDevice:id-usage:
- *
- * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-UDisks-Device.IdUsage">"IdUsage"</link>.
- *
- * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
- */
- g_object_interface_install_property (iface,
- g_param_spec_string ("id-usage", "IdUsage", "IdUsage", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
- /**
- * OrgFreedesktopUDisksDevice:id-type:
- *
- * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-UDisks-Device.IdType">"IdType"</link>.
- *
- * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
- */
- g_object_interface_install_property (iface,
- g_param_spec_string ("id-type", "IdType", "IdType", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
- /**
- * OrgFreedesktopUDisksDevice:id-version:
- *
- * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-UDisks-Device.IdVersion">"IdVersion"</link>.
- *
- * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
- */
- g_object_interface_install_property (iface,
- g_param_spec_string ("id-version", "IdVersion", "IdVersion", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
- /**
- * OrgFreedesktopUDisksDevice:id-uuid:
- *
- * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-UDisks-Device.IdUuid">"IdUuid"</link>.
- *
- * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
- */
- g_object_interface_install_property (iface,
- g_param_spec_string ("id-uuid", "IdUuid", "IdUuid", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
- /**
- * OrgFreedesktopUDisksDevice:id-label:
- *
- * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-UDisks-Device.IdLabel">"IdLabel"</link>.
- *
- * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
- */
- g_object_interface_install_property (iface,
- g_param_spec_string ("id-label", "IdLabel", "IdLabel", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
- /**
- * OrgFreedesktopUDisksDevice:luks-holder:
- *
- * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-UDisks-Device.LuksHolder">"LuksHolder"</link>.
- *
- * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
- */
- g_object_interface_install_property (iface,
- g_param_spec_string ("luks-holder", "LuksHolder", "LuksHolder", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
- /**
- * OrgFreedesktopUDisksDevice:luks-cleartext-slave:
- *
- * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-UDisks-Device.LuksCleartextSlave">"LuksCleartextSlave"</link>.
- *
- * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
- */
- g_object_interface_install_property (iface,
- g_param_spec_string ("luks-cleartext-slave", "LuksCleartextSlave", "LuksCleartextSlave", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
- /**
- * OrgFreedesktopUDisksDevice:luks-cleartext-unlocked-by-uid:
- *
- * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-UDisks-Device.LuksCleartextUnlockedByUid">"LuksCleartextUnlockedByUid"</link>.
- *
- * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
- */
- g_object_interface_install_property (iface,
- g_param_spec_uint ("luks-cleartext-unlocked-by-uid", "LuksCleartextUnlockedByUid", "LuksCleartextUnlockedByUid", 0, G_MAXUINT32, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
- /**
- * OrgFreedesktopUDisksDevice:partition-slave:
- *
- * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-UDisks-Device.PartitionSlave">"PartitionSlave"</link>.
- *
- * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
- */
- g_object_interface_install_property (iface,
- g_param_spec_string ("partition-slave", "PartitionSlave", "PartitionSlave", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
- /**
- * OrgFreedesktopUDisksDevice:partition-scheme:
- *
- * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-UDisks-Device.PartitionScheme">"PartitionScheme"</link>.
- *
- * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
- */
- g_object_interface_install_property (iface,
- g_param_spec_string ("partition-scheme", "PartitionScheme", "PartitionScheme", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
- /**
- * OrgFreedesktopUDisksDevice:partition-type:
- *
- * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-UDisks-Device.PartitionType">"PartitionType"</link>.
- *
- * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
- */
- g_object_interface_install_property (iface,
- g_param_spec_string ("partition-type", "PartitionType", "PartitionType", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
- /**
- * OrgFreedesktopUDisksDevice:partition-label:
- *
- * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-UDisks-Device.PartitionLabel">"PartitionLabel"</link>.
- *
- * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
- */
- g_object_interface_install_property (iface,
- g_param_spec_string ("partition-label", "PartitionLabel", "PartitionLabel", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
- /**
- * OrgFreedesktopUDisksDevice:partition-uuid:
- *
- * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-UDisks-Device.PartitionUuid">"PartitionUuid"</link>.
- *
- * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
- */
- g_object_interface_install_property (iface,
- g_param_spec_string ("partition-uuid", "PartitionUuid", "PartitionUuid", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
- /**
- * OrgFreedesktopUDisksDevice:partition-flags:
- *
- * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-UDisks-Device.PartitionFlags">"PartitionFlags"</link>.
- *
- * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
- */
- g_object_interface_install_property (iface,
- g_param_spec_boxed ("partition-flags", "PartitionFlags", "PartitionFlags", G_TYPE_STRV, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
- /**
- * OrgFreedesktopUDisksDevice:partition-number:
- *
- * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-UDisks-Device.PartitionNumber">"PartitionNumber"</link>.
- *
- * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
- */
- g_object_interface_install_property (iface,
- g_param_spec_int ("partition-number", "PartitionNumber", "PartitionNumber", G_MININT32, G_MAXINT32, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
- /**
- * OrgFreedesktopUDisksDevice:partition-offset:
- *
- * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-UDisks-Device.PartitionOffset">"PartitionOffset"</link>.
- *
- * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
- */
- g_object_interface_install_property (iface,
- g_param_spec_uint64 ("partition-offset", "PartitionOffset", "PartitionOffset", 0, G_MAXUINT64, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
- /**
- * OrgFreedesktopUDisksDevice:partition-size:
- *
- * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-UDisks-Device.PartitionSize">"PartitionSize"</link>.
- *
- * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
- */
- g_object_interface_install_property (iface,
- g_param_spec_uint64 ("partition-size", "PartitionSize", "PartitionSize", 0, G_MAXUINT64, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
- /**
- * OrgFreedesktopUDisksDevice:partition-alignment-offset:
- *
- * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-UDisks-Device.PartitionAlignmentOffset">"PartitionAlignmentOffset"</link>.
- *
- * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
- */
- g_object_interface_install_property (iface,
- g_param_spec_uint64 ("partition-alignment-offset", "PartitionAlignmentOffset", "PartitionAlignmentOffset", 0, G_MAXUINT64, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
- /**
- * OrgFreedesktopUDisksDevice:partition-table-scheme:
- *
- * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-UDisks-Device.PartitionTableScheme">"PartitionTableScheme"</link>.
- *
- * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
- */
- g_object_interface_install_property (iface,
- g_param_spec_string ("partition-table-scheme", "PartitionTableScheme", "PartitionTableScheme", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
- /**
- * OrgFreedesktopUDisksDevice:partition-table-count:
- *
- * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-UDisks-Device.PartitionTableCount">"PartitionTableCount"</link>.
- *
- * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
- */
- g_object_interface_install_property (iface,
- g_param_spec_int ("partition-table-count", "PartitionTableCount", "PartitionTableCount", G_MININT32, G_MAXINT32, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
- /**
- * OrgFreedesktopUDisksDevice:drive-vendor:
- *
- * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DriveVendor">"DriveVendor"</link>.
- *
- * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
- */
- g_object_interface_install_property (iface,
- g_param_spec_string ("drive-vendor", "DriveVendor", "DriveVendor", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
- /**
- * OrgFreedesktopUDisksDevice:drive-model:
- *
- * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DriveModel">"DriveModel"</link>.
- *
- * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
- */
- g_object_interface_install_property (iface,
- g_param_spec_string ("drive-model", "DriveModel", "DriveModel", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
- /**
- * OrgFreedesktopUDisksDevice:drive-revision:
- *
- * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DriveRevision">"DriveRevision"</link>.
- *
- * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
- */
- g_object_interface_install_property (iface,
- g_param_spec_string ("drive-revision", "DriveRevision", "DriveRevision", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
- /**
- * OrgFreedesktopUDisksDevice:drive-serial:
- *
- * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DriveSerial">"DriveSerial"</link>.
- *
- * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
- */
- g_object_interface_install_property (iface,
- g_param_spec_string ("drive-serial", "DriveSerial", "DriveSerial", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
- /**
- * OrgFreedesktopUDisksDevice:drive-wwn:
- *
- * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DriveWwn">"DriveWwn"</link>.
- *
- * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
- */
- g_object_interface_install_property (iface,
- g_param_spec_string ("drive-wwn", "DriveWwn", "DriveWwn", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
- /**
- * OrgFreedesktopUDisksDevice:drive-rotation-rate:
- *
- * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DriveRotationRate">"DriveRotationRate"</link>.
- *
- * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
- */
- g_object_interface_install_property (iface,
- g_param_spec_uint ("drive-rotation-rate", "DriveRotationRate", "DriveRotationRate", 0, G_MAXUINT32, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
- /**
- * OrgFreedesktopUDisksDevice:drive-write-cache:
- *
- * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DriveWriteCache">"DriveWriteCache"</link>.
- *
- * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
- */
- g_object_interface_install_property (iface,
- g_param_spec_string ("drive-write-cache", "DriveWriteCache", "DriveWriteCache", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
- /**
- * OrgFreedesktopUDisksDevice:drive-connection-interface:
- *
- * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DriveConnectionInterface">"DriveConnectionInterface"</link>.
- *
- * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
- */
- g_object_interface_install_property (iface,
- g_param_spec_string ("drive-connection-interface", "DriveConnectionInterface", "DriveConnectionInterface", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
- /**
- * OrgFreedesktopUDisksDevice:drive-connection-speed:
- *
- * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DriveConnectionSpeed">"DriveConnectionSpeed"</link>.
- *
- * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
- */
- g_object_interface_install_property (iface,
- g_param_spec_uint64 ("drive-connection-speed", "DriveConnectionSpeed", "DriveConnectionSpeed", 0, G_MAXUINT64, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
- /**
- * OrgFreedesktopUDisksDevice:drive-media-compatibility:
- *
- * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DriveMediaCompatibility">"DriveMediaCompatibility"</link>.
- *
- * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
- */
- g_object_interface_install_property (iface,
- g_param_spec_boxed ("drive-media-compatibility", "DriveMediaCompatibility", "DriveMediaCompatibility", G_TYPE_STRV, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
- /**
- * OrgFreedesktopUDisksDevice:drive-media:
- *
- * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DriveMedia">"DriveMedia"</link>.
- *
- * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
- */
- g_object_interface_install_property (iface,
- g_param_spec_string ("drive-media", "DriveMedia", "DriveMedia", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
- /**
- * OrgFreedesktopUDisksDevice:drive-is-media-ejectable:
- *
- * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DriveIsMediaEjectable">"DriveIsMediaEjectable"</link>.
- *
- * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
- */
- g_object_interface_install_property (iface,
- g_param_spec_boolean ("drive-is-media-ejectable", "DriveIsMediaEjectable", "DriveIsMediaEjectable", FALSE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
- /**
- * OrgFreedesktopUDisksDevice:drive-can-detach:
- *
- * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DriveCanDetach">"DriveCanDetach"</link>.
- *
- * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
- */
- g_object_interface_install_property (iface,
- g_param_spec_boolean ("drive-can-detach", "DriveCanDetach", "DriveCanDetach", FALSE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
- /**
- * OrgFreedesktopUDisksDevice:drive-can-spindown:
- *
- * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DriveCanSpindown">"DriveCanSpindown"</link>.
- *
- * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
- */
- g_object_interface_install_property (iface,
- g_param_spec_boolean ("drive-can-spindown", "DriveCanSpindown", "DriveCanSpindown", FALSE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
- /**
- * OrgFreedesktopUDisksDevice:drive-is-rotational:
- *
- * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DriveIsRotational">"DriveIsRotational"</link>.
- *
- * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
- */
- g_object_interface_install_property (iface,
- g_param_spec_boolean ("drive-is-rotational", "DriveIsRotational", "DriveIsRotational", FALSE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
- /**
- * OrgFreedesktopUDisksDevice:drive-adapter:
- *
- * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DriveAdapter">"DriveAdapter"</link>.
- *
- * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
- */
- g_object_interface_install_property (iface,
- g_param_spec_string ("drive-adapter", "DriveAdapter", "DriveAdapter", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
- /**
- * OrgFreedesktopUDisksDevice:drive-ports:
- *
- * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DrivePorts">"DrivePorts"</link>.
- *
- * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
- */
- g_object_interface_install_property (iface,
- g_param_spec_boxed ("drive-ports", "DrivePorts", "DrivePorts", G_TYPE_STRV, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
- /**
- * OrgFreedesktopUDisksDevice:drive-similar-devices:
- *
- * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DriveSimilarDevices">"DriveSimilarDevices"</link>.
- *
- * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
- */
- g_object_interface_install_property (iface,
- g_param_spec_boxed ("drive-similar-devices", "DriveSimilarDevices", "DriveSimilarDevices", G_TYPE_STRV, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
- /**
- * OrgFreedesktopUDisksDevice:optical-disc-is-blank:
- *
- * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-UDisks-Device.OpticalDiscIsBlank">"OpticalDiscIsBlank"</link>.
- *
- * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
- */
- g_object_interface_install_property (iface,
- g_param_spec_boolean ("optical-disc-is-blank", "OpticalDiscIsBlank", "OpticalDiscIsBlank", FALSE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
- /**
- * OrgFreedesktopUDisksDevice:optical-disc-is-appendable:
- *
- * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-UDisks-Device.OpticalDiscIsAppendable">"OpticalDiscIsAppendable"</link>.
- *
- * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
- */
- g_object_interface_install_property (iface,
- g_param_spec_boolean ("optical-disc-is-appendable", "OpticalDiscIsAppendable", "OpticalDiscIsAppendable", FALSE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
- /**
- * OrgFreedesktopUDisksDevice:optical-disc-is-closed:
- *
- * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-UDisks-Device.OpticalDiscIsClosed">"OpticalDiscIsClosed"</link>.
- *
- * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
- */
- g_object_interface_install_property (iface,
- g_param_spec_boolean ("optical-disc-is-closed", "OpticalDiscIsClosed", "OpticalDiscIsClosed", FALSE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
- /**
- * OrgFreedesktopUDisksDevice:optical-disc-num-tracks:
- *
- * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-UDisks-Device.OpticalDiscNumTracks">"OpticalDiscNumTracks"</link>.
- *
- * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
- */
- g_object_interface_install_property (iface,
- g_param_spec_uint ("optical-disc-num-tracks", "OpticalDiscNumTracks", "OpticalDiscNumTracks", 0, G_MAXUINT32, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
- /**
- * OrgFreedesktopUDisksDevice:optical-disc-num-audio-tracks:
- *
- * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-UDisks-Device.OpticalDiscNumAudioTracks">"OpticalDiscNumAudioTracks"</link>.
- *
- * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
- */
- g_object_interface_install_property (iface,
- g_param_spec_uint ("optical-disc-num-audio-tracks", "OpticalDiscNumAudioTracks", "OpticalDiscNumAudioTracks", 0, G_MAXUINT32, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
- /**
- * OrgFreedesktopUDisksDevice:optical-disc-num-sessions:
- *
- * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-UDisks-Device.OpticalDiscNumSessions">"OpticalDiscNumSessions"</link>.
- *
- * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
- */
- g_object_interface_install_property (iface,
- g_param_spec_uint ("optical-disc-num-sessions", "OpticalDiscNumSessions", "OpticalDiscNumSessions", 0, G_MAXUINT32, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
- /**
- * OrgFreedesktopUDisksDevice:drive-ata-smart-is-available:
- *
- * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DriveAtaSmartIsAvailable">"DriveAtaSmartIsAvailable"</link>.
- *
- * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
- */
- g_object_interface_install_property (iface,
- g_param_spec_boolean ("drive-ata-smart-is-available", "DriveAtaSmartIsAvailable", "DriveAtaSmartIsAvailable", FALSE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
- /**
- * OrgFreedesktopUDisksDevice:drive-ata-smart-time-collected:
- *
- * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DriveAtaSmartTimeCollected">"DriveAtaSmartTimeCollected"</link>.
- *
- * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
- */
- g_object_interface_install_property (iface,
- g_param_spec_uint64 ("drive-ata-smart-time-collected", "DriveAtaSmartTimeCollected", "DriveAtaSmartTimeCollected", 0, G_MAXUINT64, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
- /**
- * OrgFreedesktopUDisksDevice:drive-ata-smart-status:
- *
- * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DriveAtaSmartStatus">"DriveAtaSmartStatus"</link>.
- *
- * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
- */
- g_object_interface_install_property (iface,
- g_param_spec_string ("drive-ata-smart-status", "DriveAtaSmartStatus", "DriveAtaSmartStatus", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
- /**
- * OrgFreedesktopUDisksDevice:drive-ata-smart-blob:
- *
- * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DriveAtaSmartBlob">"DriveAtaSmartBlob"</link>.
- *
- * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
- */
- g_object_interface_install_property (iface,
- g_param_spec_string ("drive-ata-smart-blob", "DriveAtaSmartBlob", "DriveAtaSmartBlob", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
- /**
- * OrgFreedesktopUDisksDevice:linux-md-component-level:
- *
- * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-UDisks-Device.LinuxMdComponentLevel">"LinuxMdComponentLevel"</link>.
- *
- * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
- */
- g_object_interface_install_property (iface,
- g_param_spec_string ("linux-md-component-level", "LinuxMdComponentLevel", "LinuxMdComponentLevel", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
- /**
- * OrgFreedesktopUDisksDevice:linux-md-component-position:
- *
- * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-UDisks-Device.LinuxMdComponentPosition">"LinuxMdComponentPosition"</link>.
- *
- * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
- */
- g_object_interface_install_property (iface,
- g_param_spec_int ("linux-md-component-position", "LinuxMdComponentPosition", "LinuxMdComponentPosition", G_MININT32, G_MAXINT32, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
- /**
- * OrgFreedesktopUDisksDevice:linux-md-component-num-raid-devices:
- *
- * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-UDisks-Device.LinuxMdComponentNumRaidDevices">"LinuxMdComponentNumRaidDevices"</link>.
- *
- * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
- */
- g_object_interface_install_property (iface,
- g_param_spec_int ("linux-md-component-num-raid-devices", "LinuxMdComponentNumRaidDevices", "LinuxMdComponentNumRaidDevices", G_MININT32, G_MAXINT32, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
- /**
- * OrgFreedesktopUDisksDevice:linux-md-component-uuid:
- *
- * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-UDisks-Device.LinuxMdComponentUuid">"LinuxMdComponentUuid"</link>.
- *
- * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
- */
- g_object_interface_install_property (iface,
- g_param_spec_string ("linux-md-component-uuid", "LinuxMdComponentUuid", "LinuxMdComponentUuid", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
- /**
- * OrgFreedesktopUDisksDevice:linux-md-component-name:
- *
- * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-UDisks-Device.LinuxMdComponentName">"LinuxMdComponentName"</link>.
- *
- * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
- */
- g_object_interface_install_property (iface,
- g_param_spec_string ("linux-md-component-name", "LinuxMdComponentName", "LinuxMdComponentName", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
- /**
- * OrgFreedesktopUDisksDevice:linux-md-component-home-host:
- *
- * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-UDisks-Device.LinuxMdComponentHomeHost">"LinuxMdComponentHomeHost"</link>.
- *
- * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
- */
- g_object_interface_install_property (iface,
- g_param_spec_string ("linux-md-component-home-host", "LinuxMdComponentHomeHost", "LinuxMdComponentHomeHost", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
- /**
- * OrgFreedesktopUDisksDevice:linux-md-component-version:
- *
- * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-UDisks-Device.LinuxMdComponentVersion">"LinuxMdComponentVersion"</link>.
- *
- * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
- */
- g_object_interface_install_property (iface,
- g_param_spec_string ("linux-md-component-version", "LinuxMdComponentVersion", "LinuxMdComponentVersion", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
- /**
- * OrgFreedesktopUDisksDevice:linux-md-component-holder:
- *
- * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-UDisks-Device.LinuxMdComponentHolder">"LinuxMdComponentHolder"</link>.
- *
- * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
- */
- g_object_interface_install_property (iface,
- g_param_spec_string ("linux-md-component-holder", "LinuxMdComponentHolder", "LinuxMdComponentHolder", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
- /**
- * OrgFreedesktopUDisksDevice:linux-md-component-state:
- *
- * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-UDisks-Device.LinuxMdComponentState">"LinuxMdComponentState"</link>.
- *
- * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
- */
- g_object_interface_install_property (iface,
- g_param_spec_boxed ("linux-md-component-state", "LinuxMdComponentState", "LinuxMdComponentState", G_TYPE_STRV, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
- /**
- * OrgFreedesktopUDisksDevice:linux-md-state:
- *
- * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-UDisks-Device.LinuxMdState">"LinuxMdState"</link>.
- *
- * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
- */
- g_object_interface_install_property (iface,
- g_param_spec_string ("linux-md-state", "LinuxMdState", "LinuxMdState", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
- /**
- * OrgFreedesktopUDisksDevice:linux-md-level:
- *
- * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-UDisks-Device.LinuxMdLevel">"LinuxMdLevel"</link>.
- *
- * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
- */
- g_object_interface_install_property (iface,
- g_param_spec_string ("linux-md-level", "LinuxMdLevel", "LinuxMdLevel", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
- /**
- * OrgFreedesktopUDisksDevice:linux-md-uuid:
- *
- * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-UDisks-Device.LinuxMdUuid">"LinuxMdUuid"</link>.
- *
- * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
- */
- g_object_interface_install_property (iface,
- g_param_spec_string ("linux-md-uuid", "LinuxMdUuid", "LinuxMdUuid", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
- /**
- * OrgFreedesktopUDisksDevice:linux-md-home-host:
- *
- * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-UDisks-Device.LinuxMdHomeHost">"LinuxMdHomeHost"</link>.
- *
- * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
- */
- g_object_interface_install_property (iface,
- g_param_spec_string ("linux-md-home-host", "LinuxMdHomeHost", "LinuxMdHomeHost", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
- /**
- * OrgFreedesktopUDisksDevice:linux-md-name:
- *
- * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-UDisks-Device.LinuxMdName">"LinuxMdName"</link>.
- *
- * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
- */
- g_object_interface_install_property (iface,
- g_param_spec_string ("linux-md-name", "LinuxMdName", "LinuxMdName", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
- /**
- * OrgFreedesktopUDisksDevice:linux-md-num-raid-devices:
- *
- * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-UDisks-Device.LinuxMdNumRaidDevices">"LinuxMdNumRaidDevices"</link>.
- *
- * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
- */
- g_object_interface_install_property (iface,
- g_param_spec_int ("linux-md-num-raid-devices", "LinuxMdNumRaidDevices", "LinuxMdNumRaidDevices", G_MININT32, G_MAXINT32, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
- /**
- * OrgFreedesktopUDisksDevice:linux-md-version:
- *
- * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-UDisks-Device.LinuxMdVersion">"LinuxMdVersion"</link>.
- *
- * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
- */
- g_object_interface_install_property (iface,
- g_param_spec_string ("linux-md-version", "LinuxMdVersion", "LinuxMdVersion", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
- /**
- * OrgFreedesktopUDisksDevice:linux-md-slaves:
- *
- * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-UDisks-Device.LinuxMdSlaves">"LinuxMdSlaves"</link>.
- *
- * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
- */
- g_object_interface_install_property (iface,
- g_param_spec_boxed ("linux-md-slaves", "LinuxMdSlaves", "LinuxMdSlaves", G_TYPE_STRV, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
- /**
- * OrgFreedesktopUDisksDevice:linux-md-is-degraded:
- *
- * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-UDisks-Device.LinuxMdIsDegraded">"LinuxMdIsDegraded"</link>.
- *
- * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
- */
- g_object_interface_install_property (iface,
- g_param_spec_boolean ("linux-md-is-degraded", "LinuxMdIsDegraded", "LinuxMdIsDegraded", FALSE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
- /**
- * OrgFreedesktopUDisksDevice:linux-md-sync-action:
- *
- * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-UDisks-Device.LinuxMdSyncAction">"LinuxMdSyncAction"</link>.
- *
- * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
- */
- g_object_interface_install_property (iface,
- g_param_spec_string ("linux-md-sync-action", "LinuxMdSyncAction", "LinuxMdSyncAction", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
- /**
- * OrgFreedesktopUDisksDevice:linux-md-sync-percentage:
- *
- * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-UDisks-Device.LinuxMdSyncPercentage">"LinuxMdSyncPercentage"</link>.
- *
- * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
- */
- g_object_interface_install_property (iface,
- g_param_spec_double ("linux-md-sync-percentage", "LinuxMdSyncPercentage", "LinuxMdSyncPercentage", -G_MAXDOUBLE, G_MAXDOUBLE, 0.0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
- /**
- * OrgFreedesktopUDisksDevice:linux-md-sync-speed:
- *
- * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-UDisks-Device.LinuxMdSyncSpeed">"LinuxMdSyncSpeed"</link>.
- *
- * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
- */
- g_object_interface_install_property (iface,
- g_param_spec_uint64 ("linux-md-sync-speed", "LinuxMdSyncSpeed", "LinuxMdSyncSpeed", 0, G_MAXUINT64, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
- /**
- * OrgFreedesktopUDisksDevice:linux-lvm2-pvuuid:
- *
- * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-UDisks-Device.LinuxLvm2PVUuid">"LinuxLvm2PVUuid"</link>.
- *
- * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
- */
- g_object_interface_install_property (iface,
- g_param_spec_string ("linux-lvm2-pvuuid", "LinuxLvm2PVUuid", "LinuxLvm2PVUuid", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
- /**
- * OrgFreedesktopUDisksDevice:linux-lvm2-pvnum-metadata-areas:
- *
- * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-UDisks-Device.LinuxLvm2PVNumMetadataAreas">"LinuxLvm2PVNumMetadataAreas"</link>.
- *
- * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
- */
- g_object_interface_install_property (iface,
- g_param_spec_uint ("linux-lvm2-pvnum-metadata-areas", "LinuxLvm2PVNumMetadataAreas", "LinuxLvm2PVNumMetadataAreas", 0, G_MAXUINT32, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
- /**
- * OrgFreedesktopUDisksDevice:linux-lvm2-pvgroup-name:
- *
- * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-UDisks-Device.LinuxLvm2PVGroupName">"LinuxLvm2PVGroupName"</link>.
- *
- * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
- */
- g_object_interface_install_property (iface,
- g_param_spec_string ("linux-lvm2-pvgroup-name", "LinuxLvm2PVGroupName", "LinuxLvm2PVGroupName", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
- /**
- * OrgFreedesktopUDisksDevice:linux-lvm2-pvgroup-uuid:
- *
- * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-UDisks-Device.LinuxLvm2PVGroupUuid">"LinuxLvm2PVGroupUuid"</link>.
- *
- * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
- */
- g_object_interface_install_property (iface,
- g_param_spec_string ("linux-lvm2-pvgroup-uuid", "LinuxLvm2PVGroupUuid", "LinuxLvm2PVGroupUuid", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
- /**
- * OrgFreedesktopUDisksDevice:linux-lvm2-pvgroup-size:
- *
- * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-UDisks-Device.LinuxLvm2PVGroupSize">"LinuxLvm2PVGroupSize"</link>.
- *
- * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
- */
- g_object_interface_install_property (iface,
- g_param_spec_uint64 ("linux-lvm2-pvgroup-size", "LinuxLvm2PVGroupSize", "LinuxLvm2PVGroupSize", 0, G_MAXUINT64, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
- /**
- * OrgFreedesktopUDisksDevice:linux-lvm2-pvgroup-unallocated-size:
- *
- * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-UDisks-Device.LinuxLvm2PVGroupUnallocatedSize">"LinuxLvm2PVGroupUnallocatedSize"</link>.
- *
- * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
- */
- g_object_interface_install_property (iface,
- g_param_spec_uint64 ("linux-lvm2-pvgroup-unallocated-size", "LinuxLvm2PVGroupUnallocatedSize", "LinuxLvm2PVGroupUnallocatedSize", 0, G_MAXUINT64, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
- /**
- * OrgFreedesktopUDisksDevice:linux-lvm2-pvgroup-sequence-number:
- *
- * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-UDisks-Device.LinuxLvm2PVGroupSequenceNumber">"LinuxLvm2PVGroupSequenceNumber"</link>.
- *
- * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
- */
- g_object_interface_install_property (iface,
- g_param_spec_uint64 ("linux-lvm2-pvgroup-sequence-number", "LinuxLvm2PVGroupSequenceNumber", "LinuxLvm2PVGroupSequenceNumber", 0, G_MAXUINT64, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
- /**
- * OrgFreedesktopUDisksDevice:linux-lvm2-pvgroup-extent-size:
- *
- * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-UDisks-Device.LinuxLvm2PVGroupExtentSize">"LinuxLvm2PVGroupExtentSize"</link>.
- *
- * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
- */
- g_object_interface_install_property (iface,
- g_param_spec_uint64 ("linux-lvm2-pvgroup-extent-size", "LinuxLvm2PVGroupExtentSize", "LinuxLvm2PVGroupExtentSize", 0, G_MAXUINT64, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
- /**
- * OrgFreedesktopUDisksDevice:linux-lvm2-pvgroup-physical-volumes:
- *
- * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-UDisks-Device.LinuxLvm2PVGroupPhysicalVolumes">"LinuxLvm2PVGroupPhysicalVolumes"</link>.
- *
- * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
- */
- g_object_interface_install_property (iface,
- g_param_spec_boxed ("linux-lvm2-pvgroup-physical-volumes", "LinuxLvm2PVGroupPhysicalVolumes", "LinuxLvm2PVGroupPhysicalVolumes", G_TYPE_STRV, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
- /**
- * OrgFreedesktopUDisksDevice:linux-lvm2-pvgroup-logical-volumes:
- *
- * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-UDisks-Device.LinuxLvm2PVGroupLogicalVolumes">"LinuxLvm2PVGroupLogicalVolumes"</link>.
- *
- * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
- */
- g_object_interface_install_property (iface,
- g_param_spec_boxed ("linux-lvm2-pvgroup-logical-volumes", "LinuxLvm2PVGroupLogicalVolumes", "LinuxLvm2PVGroupLogicalVolumes", G_TYPE_STRV, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
- /**
- * OrgFreedesktopUDisksDevice:linux-lvm2-lvname:
- *
- * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-UDisks-Device.LinuxLvm2LVName">"LinuxLvm2LVName"</link>.
- *
- * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
- */
- g_object_interface_install_property (iface,
- g_param_spec_string ("linux-lvm2-lvname", "LinuxLvm2LVName", "LinuxLvm2LVName", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
- /**
- * OrgFreedesktopUDisksDevice:linux-lvm2-lvuuid:
- *
- * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-UDisks-Device.LinuxLvm2LVUuid">"LinuxLvm2LVUuid"</link>.
- *
- * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
- */
- g_object_interface_install_property (iface,
- g_param_spec_string ("linux-lvm2-lvuuid", "LinuxLvm2LVUuid", "LinuxLvm2LVUuid", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
- /**
- * OrgFreedesktopUDisksDevice:linux-lvm2-lvgroup-name:
- *
- * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-UDisks-Device.LinuxLvm2LVGroupName">"LinuxLvm2LVGroupName"</link>.
- *
- * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
- */
- g_object_interface_install_property (iface,
- g_param_spec_string ("linux-lvm2-lvgroup-name", "LinuxLvm2LVGroupName", "LinuxLvm2LVGroupName", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
- /**
- * OrgFreedesktopUDisksDevice:linux-lvm2-lvgroup-uuid:
- *
- * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-UDisks-Device.LinuxLvm2LVGroupUuid">"LinuxLvm2LVGroupUuid"</link>.
- *
- * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
- */
- g_object_interface_install_property (iface,
- g_param_spec_string ("linux-lvm2-lvgroup-uuid", "LinuxLvm2LVGroupUuid", "LinuxLvm2LVGroupUuid", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
- /**
- * OrgFreedesktopUDisksDevice:linux-dmmp-component-holder:
- *
- * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-UDisks-Device.LinuxDmmpComponentHolder">"LinuxDmmpComponentHolder"</link>.
- *
- * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
- */
- g_object_interface_install_property (iface,
- g_param_spec_string ("linux-dmmp-component-holder", "LinuxDmmpComponentHolder", "LinuxDmmpComponentHolder", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
- /**
- * OrgFreedesktopUDisksDevice:linux-dmmp-name:
- *
- * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-UDisks-Device.LinuxDmmpName">"LinuxDmmpName"</link>.
- *
- * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
- */
- g_object_interface_install_property (iface,
- g_param_spec_string ("linux-dmmp-name", "LinuxDmmpName", "LinuxDmmpName", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
- /**
- * OrgFreedesktopUDisksDevice:linux-dmmp-slaves:
- *
- * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-UDisks-Device.LinuxDmmpSlaves">"LinuxDmmpSlaves"</link>.
- *
- * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
- */
- g_object_interface_install_property (iface,
- g_param_spec_boxed ("linux-dmmp-slaves", "LinuxDmmpSlaves", "LinuxDmmpSlaves", G_TYPE_STRV, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
- /**
- * OrgFreedesktopUDisksDevice:linux-dmmp-parameters:
- *
- * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-UDisks-Device.LinuxDmmpParameters">"LinuxDmmpParameters"</link>.
- *
- * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
- */
- g_object_interface_install_property (iface,
- g_param_spec_string ("linux-dmmp-parameters", "LinuxDmmpParameters", "LinuxDmmpParameters", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
- /**
- * OrgFreedesktopUDisksDevice:linux-loop-filename:
- *
- * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-UDisks-Device.LinuxLoopFilename">"LinuxLoopFilename"</link>.
- *
- * Since the D-Bus property for this #GObject property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.
- */
- g_object_interface_install_property (iface,
- g_param_spec_string ("linux-loop-filename", "LinuxLoopFilename", "LinuxLoopFilename", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
-}
-
-typedef OrgFreedesktopUDisksDeviceIface OrgFreedesktopUDisksDeviceInterface;
-G_DEFINE_INTERFACE (OrgFreedesktopUDisksDevice, org_freedesktop_udisks_device, G_TYPE_OBJECT);
-
-/**
- * org_freedesktop_udisks_device_get_native_path: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets the value of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.NativePath">"NativePath"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * <warning>The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where @object was constructed. Use org_freedesktop_udisks_device_dup_native_path() if on another thread.</warning>
- *
- * Returns: (transfer none): The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object.
- */
-const gchar *
-org_freedesktop_udisks_device_get_native_path (OrgFreedesktopUDisksDevice *object)
-{
- return ORG_FREEDESKTOP_UDISKS_DEVICE_GET_IFACE (object)->get_native_path (object);
-}
-
-/**
- * org_freedesktop_udisks_device_dup_native_path: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets a copy of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.NativePath">"NativePath"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * Returns: (transfer full): The property value or %NULL if the property is not set. The returned value should be freed with g_free().
- */
-gchar *
-org_freedesktop_udisks_device_dup_native_path (OrgFreedesktopUDisksDevice *object)
-{
- gchar *value;
- g_object_get (G_OBJECT (object), "native-path", &value, NULL);
- return value;
-}
-
-/**
- * org_freedesktop_udisks_device_set_native_path: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- * @value: The value to set.
- *
- * Sets the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.NativePath">"NativePath"</link> D-Bus property to @value.
- *
- * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
- */
-void
-org_freedesktop_udisks_device_set_native_path (OrgFreedesktopUDisksDevice *object, const gchar *value)
-{
- g_object_set (G_OBJECT (object), "native-path", value, NULL);
-}
-
-/**
- * org_freedesktop_udisks_device_get_device_detection_time: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets the value of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DeviceDetectionTime">"DeviceDetectionTime"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * Returns: The property value.
- */
-guint64
-org_freedesktop_udisks_device_get_device_detection_time (OrgFreedesktopUDisksDevice *object)
-{
- return ORG_FREEDESKTOP_UDISKS_DEVICE_GET_IFACE (object)->get_device_detection_time (object);
-}
-
-/**
- * org_freedesktop_udisks_device_set_device_detection_time: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- * @value: The value to set.
- *
- * Sets the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DeviceDetectionTime">"DeviceDetectionTime"</link> D-Bus property to @value.
- *
- * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
- */
-void
-org_freedesktop_udisks_device_set_device_detection_time (OrgFreedesktopUDisksDevice *object, guint64 value)
-{
- g_object_set (G_OBJECT (object), "device-detection-time", value, NULL);
-}
-
-/**
- * org_freedesktop_udisks_device_get_device_media_detection_time: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets the value of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DeviceMediaDetectionTime">"DeviceMediaDetectionTime"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * Returns: The property value.
- */
-guint64
-org_freedesktop_udisks_device_get_device_media_detection_time (OrgFreedesktopUDisksDevice *object)
-{
- return ORG_FREEDESKTOP_UDISKS_DEVICE_GET_IFACE (object)->get_device_media_detection_time (object);
-}
-
-/**
- * org_freedesktop_udisks_device_set_device_media_detection_time: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- * @value: The value to set.
- *
- * Sets the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DeviceMediaDetectionTime">"DeviceMediaDetectionTime"</link> D-Bus property to @value.
- *
- * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
- */
-void
-org_freedesktop_udisks_device_set_device_media_detection_time (OrgFreedesktopUDisksDevice *object, guint64 value)
-{
- g_object_set (G_OBJECT (object), "device-media-detection-time", value, NULL);
-}
-
-/**
- * org_freedesktop_udisks_device_get_device_major: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets the value of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DeviceMajor">"DeviceMajor"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * Returns: The property value.
- */
-gint64
-org_freedesktop_udisks_device_get_device_major (OrgFreedesktopUDisksDevice *object)
-{
- return ORG_FREEDESKTOP_UDISKS_DEVICE_GET_IFACE (object)->get_device_major (object);
-}
-
-/**
- * org_freedesktop_udisks_device_set_device_major: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- * @value: The value to set.
- *
- * Sets the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DeviceMajor">"DeviceMajor"</link> D-Bus property to @value.
- *
- * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
- */
-void
-org_freedesktop_udisks_device_set_device_major (OrgFreedesktopUDisksDevice *object, gint64 value)
-{
- g_object_set (G_OBJECT (object), "device-major", value, NULL);
-}
-
-/**
- * org_freedesktop_udisks_device_get_device_minor: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets the value of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DeviceMinor">"DeviceMinor"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * Returns: The property value.
- */
-gint64
-org_freedesktop_udisks_device_get_device_minor (OrgFreedesktopUDisksDevice *object)
-{
- return ORG_FREEDESKTOP_UDISKS_DEVICE_GET_IFACE (object)->get_device_minor (object);
-}
-
-/**
- * org_freedesktop_udisks_device_set_device_minor: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- * @value: The value to set.
- *
- * Sets the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DeviceMinor">"DeviceMinor"</link> D-Bus property to @value.
- *
- * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
- */
-void
-org_freedesktop_udisks_device_set_device_minor (OrgFreedesktopUDisksDevice *object, gint64 value)
-{
- g_object_set (G_OBJECT (object), "device-minor", value, NULL);
-}
-
-/**
- * org_freedesktop_udisks_device_get_device_file: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets the value of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DeviceFile">"DeviceFile"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * <warning>The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where @object was constructed. Use org_freedesktop_udisks_device_dup_device_file() if on another thread.</warning>
- *
- * Returns: (transfer none): The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object.
- */
-const gchar *
-org_freedesktop_udisks_device_get_device_file (OrgFreedesktopUDisksDevice *object)
-{
- return ORG_FREEDESKTOP_UDISKS_DEVICE_GET_IFACE (object)->get_device_file (object);
-}
-
-/**
- * org_freedesktop_udisks_device_dup_device_file: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets a copy of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DeviceFile">"DeviceFile"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * Returns: (transfer full): The property value or %NULL if the property is not set. The returned value should be freed with g_free().
- */
-gchar *
-org_freedesktop_udisks_device_dup_device_file (OrgFreedesktopUDisksDevice *object)
-{
- gchar *value;
- g_object_get (G_OBJECT (object), "device-file", &value, NULL);
- return value;
-}
-
-/**
- * org_freedesktop_udisks_device_set_device_file: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- * @value: The value to set.
- *
- * Sets the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DeviceFile">"DeviceFile"</link> D-Bus property to @value.
- *
- * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
- */
-void
-org_freedesktop_udisks_device_set_device_file (OrgFreedesktopUDisksDevice *object, const gchar *value)
-{
- g_object_set (G_OBJECT (object), "device-file", value, NULL);
-}
-
-/**
- * org_freedesktop_udisks_device_get_device_file_presentation: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets the value of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DeviceFilePresentation">"DeviceFilePresentation"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * <warning>The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where @object was constructed. Use org_freedesktop_udisks_device_dup_device_file_presentation() if on another thread.</warning>
- *
- * Returns: (transfer none): The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object.
- */
-const gchar *
-org_freedesktop_udisks_device_get_device_file_presentation (OrgFreedesktopUDisksDevice *object)
-{
- return ORG_FREEDESKTOP_UDISKS_DEVICE_GET_IFACE (object)->get_device_file_presentation (object);
-}
-
-/**
- * org_freedesktop_udisks_device_dup_device_file_presentation: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets a copy of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DeviceFilePresentation">"DeviceFilePresentation"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * Returns: (transfer full): The property value or %NULL if the property is not set. The returned value should be freed with g_free().
- */
-gchar *
-org_freedesktop_udisks_device_dup_device_file_presentation (OrgFreedesktopUDisksDevice *object)
-{
- gchar *value;
- g_object_get (G_OBJECT (object), "device-file-presentation", &value, NULL);
- return value;
-}
-
-/**
- * org_freedesktop_udisks_device_set_device_file_presentation: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- * @value: The value to set.
- *
- * Sets the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DeviceFilePresentation">"DeviceFilePresentation"</link> D-Bus property to @value.
- *
- * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
- */
-void
-org_freedesktop_udisks_device_set_device_file_presentation (OrgFreedesktopUDisksDevice *object, const gchar *value)
-{
- g_object_set (G_OBJECT (object), "device-file-presentation", value, NULL);
-}
-
-/**
- * org_freedesktop_udisks_device_get_device_file_by_id: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets the value of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DeviceFileById">"DeviceFileById"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * <warning>The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where @object was constructed. Use org_freedesktop_udisks_device_dup_device_file_by_id() if on another thread.</warning>
- *
- * Returns: (transfer none): The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object.
- */
-const gchar *const *
-org_freedesktop_udisks_device_get_device_file_by_id (OrgFreedesktopUDisksDevice *object)
-{
- return ORG_FREEDESKTOP_UDISKS_DEVICE_GET_IFACE (object)->get_device_file_by_id (object);
-}
-
-/**
- * org_freedesktop_udisks_device_dup_device_file_by_id: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets a copy of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DeviceFileById">"DeviceFileById"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * Returns: (transfer full): The property value or %NULL if the property is not set. The returned value should be freed with g_strfreev().
- */
-gchar **
-org_freedesktop_udisks_device_dup_device_file_by_id (OrgFreedesktopUDisksDevice *object)
-{
- gchar **value;
- g_object_get (G_OBJECT (object), "device-file-by-id", &value, NULL);
- return value;
-}
-
-/**
- * org_freedesktop_udisks_device_set_device_file_by_id: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- * @value: The value to set.
- *
- * Sets the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DeviceFileById">"DeviceFileById"</link> D-Bus property to @value.
- *
- * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
- */
-void
-org_freedesktop_udisks_device_set_device_file_by_id (OrgFreedesktopUDisksDevice *object, const gchar *const *value)
-{
- g_object_set (G_OBJECT (object), "device-file-by-id", value, NULL);
-}
-
-/**
- * org_freedesktop_udisks_device_get_device_file_by_path: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets the value of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DeviceFileByPath">"DeviceFileByPath"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * <warning>The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where @object was constructed. Use org_freedesktop_udisks_device_dup_device_file_by_path() if on another thread.</warning>
- *
- * Returns: (transfer none): The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object.
- */
-const gchar *const *
-org_freedesktop_udisks_device_get_device_file_by_path (OrgFreedesktopUDisksDevice *object)
-{
- return ORG_FREEDESKTOP_UDISKS_DEVICE_GET_IFACE (object)->get_device_file_by_path (object);
-}
-
-/**
- * org_freedesktop_udisks_device_dup_device_file_by_path: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets a copy of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DeviceFileByPath">"DeviceFileByPath"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * Returns: (transfer full): The property value or %NULL if the property is not set. The returned value should be freed with g_strfreev().
- */
-gchar **
-org_freedesktop_udisks_device_dup_device_file_by_path (OrgFreedesktopUDisksDevice *object)
-{
- gchar **value;
- g_object_get (G_OBJECT (object), "device-file-by-path", &value, NULL);
- return value;
-}
-
-/**
- * org_freedesktop_udisks_device_set_device_file_by_path: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- * @value: The value to set.
- *
- * Sets the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DeviceFileByPath">"DeviceFileByPath"</link> D-Bus property to @value.
- *
- * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
- */
-void
-org_freedesktop_udisks_device_set_device_file_by_path (OrgFreedesktopUDisksDevice *object, const gchar *const *value)
-{
- g_object_set (G_OBJECT (object), "device-file-by-path", value, NULL);
-}
-
-/**
- * org_freedesktop_udisks_device_get_device_is_system_internal: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets the value of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DeviceIsSystemInternal">"DeviceIsSystemInternal"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * Returns: The property value.
- */
-gboolean
-org_freedesktop_udisks_device_get_device_is_system_internal (OrgFreedesktopUDisksDevice *object)
-{
- return ORG_FREEDESKTOP_UDISKS_DEVICE_GET_IFACE (object)->get_device_is_system_internal (object);
-}
-
-/**
- * org_freedesktop_udisks_device_set_device_is_system_internal: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- * @value: The value to set.
- *
- * Sets the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DeviceIsSystemInternal">"DeviceIsSystemInternal"</link> D-Bus property to @value.
- *
- * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
- */
-void
-org_freedesktop_udisks_device_set_device_is_system_internal (OrgFreedesktopUDisksDevice *object, gboolean value)
-{
- g_object_set (G_OBJECT (object), "device-is-system-internal", value, NULL);
-}
-
-/**
- * org_freedesktop_udisks_device_get_device_is_partition: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets the value of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DeviceIsPartition">"DeviceIsPartition"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * Returns: The property value.
- */
-gboolean
-org_freedesktop_udisks_device_get_device_is_partition (OrgFreedesktopUDisksDevice *object)
-{
- return ORG_FREEDESKTOP_UDISKS_DEVICE_GET_IFACE (object)->get_device_is_partition (object);
-}
-
-/**
- * org_freedesktop_udisks_device_set_device_is_partition: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- * @value: The value to set.
- *
- * Sets the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DeviceIsPartition">"DeviceIsPartition"</link> D-Bus property to @value.
- *
- * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
- */
-void
-org_freedesktop_udisks_device_set_device_is_partition (OrgFreedesktopUDisksDevice *object, gboolean value)
-{
- g_object_set (G_OBJECT (object), "device-is-partition", value, NULL);
-}
-
-/**
- * org_freedesktop_udisks_device_get_device_is_partition_table: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets the value of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DeviceIsPartitionTable">"DeviceIsPartitionTable"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * Returns: The property value.
- */
-gboolean
-org_freedesktop_udisks_device_get_device_is_partition_table (OrgFreedesktopUDisksDevice *object)
-{
- return ORG_FREEDESKTOP_UDISKS_DEVICE_GET_IFACE (object)->get_device_is_partition_table (object);
-}
-
-/**
- * org_freedesktop_udisks_device_set_device_is_partition_table: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- * @value: The value to set.
- *
- * Sets the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DeviceIsPartitionTable">"DeviceIsPartitionTable"</link> D-Bus property to @value.
- *
- * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
- */
-void
-org_freedesktop_udisks_device_set_device_is_partition_table (OrgFreedesktopUDisksDevice *object, gboolean value)
-{
- g_object_set (G_OBJECT (object), "device-is-partition-table", value, NULL);
-}
-
-/**
- * org_freedesktop_udisks_device_get_device_is_removable: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets the value of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DeviceIsRemovable">"DeviceIsRemovable"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * Returns: The property value.
- */
-gboolean
-org_freedesktop_udisks_device_get_device_is_removable (OrgFreedesktopUDisksDevice *object)
-{
- return ORG_FREEDESKTOP_UDISKS_DEVICE_GET_IFACE (object)->get_device_is_removable (object);
-}
-
-/**
- * org_freedesktop_udisks_device_set_device_is_removable: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- * @value: The value to set.
- *
- * Sets the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DeviceIsRemovable">"DeviceIsRemovable"</link> D-Bus property to @value.
- *
- * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
- */
-void
-org_freedesktop_udisks_device_set_device_is_removable (OrgFreedesktopUDisksDevice *object, gboolean value)
-{
- g_object_set (G_OBJECT (object), "device-is-removable", value, NULL);
-}
-
-/**
- * org_freedesktop_udisks_device_get_device_is_media_available: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets the value of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DeviceIsMediaAvailable">"DeviceIsMediaAvailable"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * Returns: The property value.
- */
-gboolean
-org_freedesktop_udisks_device_get_device_is_media_available (OrgFreedesktopUDisksDevice *object)
-{
- return ORG_FREEDESKTOP_UDISKS_DEVICE_GET_IFACE (object)->get_device_is_media_available (object);
-}
-
-/**
- * org_freedesktop_udisks_device_set_device_is_media_available: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- * @value: The value to set.
- *
- * Sets the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DeviceIsMediaAvailable">"DeviceIsMediaAvailable"</link> D-Bus property to @value.
- *
- * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
- */
-void
-org_freedesktop_udisks_device_set_device_is_media_available (OrgFreedesktopUDisksDevice *object, gboolean value)
-{
- g_object_set (G_OBJECT (object), "device-is-media-available", value, NULL);
-}
-
-/**
- * org_freedesktop_udisks_device_get_device_is_media_change_detected: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets the value of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DeviceIsMediaChangeDetected">"DeviceIsMediaChangeDetected"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * Returns: The property value.
- */
-gboolean
-org_freedesktop_udisks_device_get_device_is_media_change_detected (OrgFreedesktopUDisksDevice *object)
-{
- return ORG_FREEDESKTOP_UDISKS_DEVICE_GET_IFACE (object)->get_device_is_media_change_detected (object);
-}
-
-/**
- * org_freedesktop_udisks_device_set_device_is_media_change_detected: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- * @value: The value to set.
- *
- * Sets the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DeviceIsMediaChangeDetected">"DeviceIsMediaChangeDetected"</link> D-Bus property to @value.
- *
- * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
- */
-void
-org_freedesktop_udisks_device_set_device_is_media_change_detected (OrgFreedesktopUDisksDevice *object, gboolean value)
-{
- g_object_set (G_OBJECT (object), "device-is-media-change-detected", value, NULL);
-}
-
-/**
- * org_freedesktop_udisks_device_get_device_is_media_change_detection_polling: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets the value of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DeviceIsMediaChangeDetectionPolling">"DeviceIsMediaChangeDetectionPolling"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * Returns: The property value.
- */
-gboolean
-org_freedesktop_udisks_device_get_device_is_media_change_detection_polling (OrgFreedesktopUDisksDevice *object)
-{
- return ORG_FREEDESKTOP_UDISKS_DEVICE_GET_IFACE (object)->get_device_is_media_change_detection_polling (object);
-}
-
-/**
- * org_freedesktop_udisks_device_set_device_is_media_change_detection_polling: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- * @value: The value to set.
- *
- * Sets the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DeviceIsMediaChangeDetectionPolling">"DeviceIsMediaChangeDetectionPolling"</link> D-Bus property to @value.
- *
- * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
- */
-void
-org_freedesktop_udisks_device_set_device_is_media_change_detection_polling (OrgFreedesktopUDisksDevice *object, gboolean value)
-{
- g_object_set (G_OBJECT (object), "device-is-media-change-detection-polling", value, NULL);
-}
-
-/**
- * org_freedesktop_udisks_device_get_device_is_media_change_detection_inhibitable: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets the value of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DeviceIsMediaChangeDetectionInhibitable">"DeviceIsMediaChangeDetectionInhibitable"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * Returns: The property value.
- */
-gboolean
-org_freedesktop_udisks_device_get_device_is_media_change_detection_inhibitable (OrgFreedesktopUDisksDevice *object)
-{
- return ORG_FREEDESKTOP_UDISKS_DEVICE_GET_IFACE (object)->get_device_is_media_change_detection_inhibitable (object);
-}
-
-/**
- * org_freedesktop_udisks_device_set_device_is_media_change_detection_inhibitable: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- * @value: The value to set.
- *
- * Sets the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DeviceIsMediaChangeDetectionInhibitable">"DeviceIsMediaChangeDetectionInhibitable"</link> D-Bus property to @value.
- *
- * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
- */
-void
-org_freedesktop_udisks_device_set_device_is_media_change_detection_inhibitable (OrgFreedesktopUDisksDevice *object, gboolean value)
-{
- g_object_set (G_OBJECT (object), "device-is-media-change-detection-inhibitable", value, NULL);
-}
-
-/**
- * org_freedesktop_udisks_device_get_device_is_media_change_detection_inhibited: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets the value of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DeviceIsMediaChangeDetectionInhibited">"DeviceIsMediaChangeDetectionInhibited"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * Returns: The property value.
- */
-gboolean
-org_freedesktop_udisks_device_get_device_is_media_change_detection_inhibited (OrgFreedesktopUDisksDevice *object)
-{
- return ORG_FREEDESKTOP_UDISKS_DEVICE_GET_IFACE (object)->get_device_is_media_change_detection_inhibited (object);
-}
-
-/**
- * org_freedesktop_udisks_device_set_device_is_media_change_detection_inhibited: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- * @value: The value to set.
- *
- * Sets the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DeviceIsMediaChangeDetectionInhibited">"DeviceIsMediaChangeDetectionInhibited"</link> D-Bus property to @value.
- *
- * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
- */
-void
-org_freedesktop_udisks_device_set_device_is_media_change_detection_inhibited (OrgFreedesktopUDisksDevice *object, gboolean value)
-{
- g_object_set (G_OBJECT (object), "device-is-media-change-detection-inhibited", value, NULL);
-}
-
-/**
- * org_freedesktop_udisks_device_get_device_is_read_only: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets the value of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DeviceIsReadOnly">"DeviceIsReadOnly"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * Returns: The property value.
- */
-gboolean
-org_freedesktop_udisks_device_get_device_is_read_only (OrgFreedesktopUDisksDevice *object)
-{
- return ORG_FREEDESKTOP_UDISKS_DEVICE_GET_IFACE (object)->get_device_is_read_only (object);
-}
-
-/**
- * org_freedesktop_udisks_device_set_device_is_read_only: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- * @value: The value to set.
- *
- * Sets the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DeviceIsReadOnly">"DeviceIsReadOnly"</link> D-Bus property to @value.
- *
- * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
- */
-void
-org_freedesktop_udisks_device_set_device_is_read_only (OrgFreedesktopUDisksDevice *object, gboolean value)
-{
- g_object_set (G_OBJECT (object), "device-is-read-only", value, NULL);
-}
-
-/**
- * org_freedesktop_udisks_device_get_device_is_drive: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets the value of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DeviceIsDrive">"DeviceIsDrive"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * Returns: The property value.
- */
-gboolean
-org_freedesktop_udisks_device_get_device_is_drive (OrgFreedesktopUDisksDevice *object)
-{
- return ORG_FREEDESKTOP_UDISKS_DEVICE_GET_IFACE (object)->get_device_is_drive (object);
-}
-
-/**
- * org_freedesktop_udisks_device_set_device_is_drive: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- * @value: The value to set.
- *
- * Sets the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DeviceIsDrive">"DeviceIsDrive"</link> D-Bus property to @value.
- *
- * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
- */
-void
-org_freedesktop_udisks_device_set_device_is_drive (OrgFreedesktopUDisksDevice *object, gboolean value)
-{
- g_object_set (G_OBJECT (object), "device-is-drive", value, NULL);
-}
-
-/**
- * org_freedesktop_udisks_device_get_device_is_optical_disc: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets the value of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DeviceIsOpticalDisc">"DeviceIsOpticalDisc"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * Returns: The property value.
- */
-gboolean
-org_freedesktop_udisks_device_get_device_is_optical_disc (OrgFreedesktopUDisksDevice *object)
-{
- return ORG_FREEDESKTOP_UDISKS_DEVICE_GET_IFACE (object)->get_device_is_optical_disc (object);
-}
-
-/**
- * org_freedesktop_udisks_device_set_device_is_optical_disc: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- * @value: The value to set.
- *
- * Sets the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DeviceIsOpticalDisc">"DeviceIsOpticalDisc"</link> D-Bus property to @value.
- *
- * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
- */
-void
-org_freedesktop_udisks_device_set_device_is_optical_disc (OrgFreedesktopUDisksDevice *object, gboolean value)
-{
- g_object_set (G_OBJECT (object), "device-is-optical-disc", value, NULL);
-}
-
-/**
- * org_freedesktop_udisks_device_get_device_is_mounted: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets the value of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DeviceIsMounted">"DeviceIsMounted"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * Returns: The property value.
- */
-gboolean
-org_freedesktop_udisks_device_get_device_is_mounted (OrgFreedesktopUDisksDevice *object)
-{
- return ORG_FREEDESKTOP_UDISKS_DEVICE_GET_IFACE (object)->get_device_is_mounted (object);
-}
-
-/**
- * org_freedesktop_udisks_device_set_device_is_mounted: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- * @value: The value to set.
- *
- * Sets the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DeviceIsMounted">"DeviceIsMounted"</link> D-Bus property to @value.
- *
- * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
- */
-void
-org_freedesktop_udisks_device_set_device_is_mounted (OrgFreedesktopUDisksDevice *object, gboolean value)
-{
- g_object_set (G_OBJECT (object), "device-is-mounted", value, NULL);
-}
-
-/**
- * org_freedesktop_udisks_device_get_device_mount_paths: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets the value of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DeviceMountPaths">"DeviceMountPaths"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * <warning>The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where @object was constructed. Use org_freedesktop_udisks_device_dup_device_mount_paths() if on another thread.</warning>
- *
- * Returns: (transfer none): The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object.
- */
-const gchar *const *
-org_freedesktop_udisks_device_get_device_mount_paths (OrgFreedesktopUDisksDevice *object)
-{
- return ORG_FREEDESKTOP_UDISKS_DEVICE_GET_IFACE (object)->get_device_mount_paths (object);
-}
-
-/**
- * org_freedesktop_udisks_device_dup_device_mount_paths: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets a copy of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DeviceMountPaths">"DeviceMountPaths"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * Returns: (transfer full): The property value or %NULL if the property is not set. The returned value should be freed with g_strfreev().
- */
-gchar **
-org_freedesktop_udisks_device_dup_device_mount_paths (OrgFreedesktopUDisksDevice *object)
-{
- gchar **value;
- g_object_get (G_OBJECT (object), "device-mount-paths", &value, NULL);
- return value;
-}
-
-/**
- * org_freedesktop_udisks_device_set_device_mount_paths: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- * @value: The value to set.
- *
- * Sets the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DeviceMountPaths">"DeviceMountPaths"</link> D-Bus property to @value.
- *
- * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
- */
-void
-org_freedesktop_udisks_device_set_device_mount_paths (OrgFreedesktopUDisksDevice *object, const gchar *const *value)
-{
- g_object_set (G_OBJECT (object), "device-mount-paths", value, NULL);
-}
-
-/**
- * org_freedesktop_udisks_device_get_device_mounted_by_uid: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets the value of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DeviceMountedByUid">"DeviceMountedByUid"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * Returns: The property value.
- */
-guint
-org_freedesktop_udisks_device_get_device_mounted_by_uid (OrgFreedesktopUDisksDevice *object)
-{
- return ORG_FREEDESKTOP_UDISKS_DEVICE_GET_IFACE (object)->get_device_mounted_by_uid (object);
-}
-
-/**
- * org_freedesktop_udisks_device_set_device_mounted_by_uid: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- * @value: The value to set.
- *
- * Sets the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DeviceMountedByUid">"DeviceMountedByUid"</link> D-Bus property to @value.
- *
- * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
- */
-void
-org_freedesktop_udisks_device_set_device_mounted_by_uid (OrgFreedesktopUDisksDevice *object, guint value)
-{
- g_object_set (G_OBJECT (object), "device-mounted-by-uid", value, NULL);
-}
-
-/**
- * org_freedesktop_udisks_device_get_device_is_luks: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets the value of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DeviceIsLuks">"DeviceIsLuks"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * Returns: The property value.
- */
-gboolean
-org_freedesktop_udisks_device_get_device_is_luks (OrgFreedesktopUDisksDevice *object)
-{
- return ORG_FREEDESKTOP_UDISKS_DEVICE_GET_IFACE (object)->get_device_is_luks (object);
-}
-
-/**
- * org_freedesktop_udisks_device_set_device_is_luks: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- * @value: The value to set.
- *
- * Sets the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DeviceIsLuks">"DeviceIsLuks"</link> D-Bus property to @value.
- *
- * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
- */
-void
-org_freedesktop_udisks_device_set_device_is_luks (OrgFreedesktopUDisksDevice *object, gboolean value)
-{
- g_object_set (G_OBJECT (object), "device-is-luks", value, NULL);
-}
-
-/**
- * org_freedesktop_udisks_device_get_device_is_luks_cleartext: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets the value of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DeviceIsLuksCleartext">"DeviceIsLuksCleartext"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * Returns: The property value.
- */
-gboolean
-org_freedesktop_udisks_device_get_device_is_luks_cleartext (OrgFreedesktopUDisksDevice *object)
-{
- return ORG_FREEDESKTOP_UDISKS_DEVICE_GET_IFACE (object)->get_device_is_luks_cleartext (object);
-}
-
-/**
- * org_freedesktop_udisks_device_set_device_is_luks_cleartext: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- * @value: The value to set.
- *
- * Sets the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DeviceIsLuksCleartext">"DeviceIsLuksCleartext"</link> D-Bus property to @value.
- *
- * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
- */
-void
-org_freedesktop_udisks_device_set_device_is_luks_cleartext (OrgFreedesktopUDisksDevice *object, gboolean value)
-{
- g_object_set (G_OBJECT (object), "device-is-luks-cleartext", value, NULL);
-}
-
-/**
- * org_freedesktop_udisks_device_get_device_is_linux_md_component: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets the value of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DeviceIsLinuxMdComponent">"DeviceIsLinuxMdComponent"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * Returns: The property value.
- */
-gboolean
-org_freedesktop_udisks_device_get_device_is_linux_md_component (OrgFreedesktopUDisksDevice *object)
-{
- return ORG_FREEDESKTOP_UDISKS_DEVICE_GET_IFACE (object)->get_device_is_linux_md_component (object);
-}
-
-/**
- * org_freedesktop_udisks_device_set_device_is_linux_md_component: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- * @value: The value to set.
- *
- * Sets the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DeviceIsLinuxMdComponent">"DeviceIsLinuxMdComponent"</link> D-Bus property to @value.
- *
- * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
- */
-void
-org_freedesktop_udisks_device_set_device_is_linux_md_component (OrgFreedesktopUDisksDevice *object, gboolean value)
-{
- g_object_set (G_OBJECT (object), "device-is-linux-md-component", value, NULL);
-}
-
-/**
- * org_freedesktop_udisks_device_get_device_is_linux_md: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets the value of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DeviceIsLinuxMd">"DeviceIsLinuxMd"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * Returns: The property value.
- */
-gboolean
-org_freedesktop_udisks_device_get_device_is_linux_md (OrgFreedesktopUDisksDevice *object)
-{
- return ORG_FREEDESKTOP_UDISKS_DEVICE_GET_IFACE (object)->get_device_is_linux_md (object);
-}
-
-/**
- * org_freedesktop_udisks_device_set_device_is_linux_md: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- * @value: The value to set.
- *
- * Sets the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DeviceIsLinuxMd">"DeviceIsLinuxMd"</link> D-Bus property to @value.
- *
- * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
- */
-void
-org_freedesktop_udisks_device_set_device_is_linux_md (OrgFreedesktopUDisksDevice *object, gboolean value)
-{
- g_object_set (G_OBJECT (object), "device-is-linux-md", value, NULL);
-}
-
-/**
- * org_freedesktop_udisks_device_get_device_is_linux_lvm2_lv: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets the value of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DeviceIsLinuxLvm2LV">"DeviceIsLinuxLvm2LV"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * Returns: The property value.
- */
-gboolean
-org_freedesktop_udisks_device_get_device_is_linux_lvm2_lv (OrgFreedesktopUDisksDevice *object)
-{
- return ORG_FREEDESKTOP_UDISKS_DEVICE_GET_IFACE (object)->get_device_is_linux_lvm2_lv (object);
-}
-
-/**
- * org_freedesktop_udisks_device_set_device_is_linux_lvm2_lv: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- * @value: The value to set.
- *
- * Sets the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DeviceIsLinuxLvm2LV">"DeviceIsLinuxLvm2LV"</link> D-Bus property to @value.
- *
- * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
- */
-void
-org_freedesktop_udisks_device_set_device_is_linux_lvm2_lv (OrgFreedesktopUDisksDevice *object, gboolean value)
-{
- g_object_set (G_OBJECT (object), "device-is-linux-lvm2-lv", value, NULL);
-}
-
-/**
- * org_freedesktop_udisks_device_get_device_is_linux_lvm2_pv: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets the value of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DeviceIsLinuxLvm2PV">"DeviceIsLinuxLvm2PV"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * Returns: The property value.
- */
-gboolean
-org_freedesktop_udisks_device_get_device_is_linux_lvm2_pv (OrgFreedesktopUDisksDevice *object)
-{
- return ORG_FREEDESKTOP_UDISKS_DEVICE_GET_IFACE (object)->get_device_is_linux_lvm2_pv (object);
-}
-
-/**
- * org_freedesktop_udisks_device_set_device_is_linux_lvm2_pv: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- * @value: The value to set.
- *
- * Sets the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DeviceIsLinuxLvm2PV">"DeviceIsLinuxLvm2PV"</link> D-Bus property to @value.
- *
- * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
- */
-void
-org_freedesktop_udisks_device_set_device_is_linux_lvm2_pv (OrgFreedesktopUDisksDevice *object, gboolean value)
-{
- g_object_set (G_OBJECT (object), "device-is-linux-lvm2-pv", value, NULL);
-}
-
-/**
- * org_freedesktop_udisks_device_get_device_is_linux_dmmp_component: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets the value of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DeviceIsLinuxDmmpComponent">"DeviceIsLinuxDmmpComponent"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * Returns: The property value.
- */
-gboolean
-org_freedesktop_udisks_device_get_device_is_linux_dmmp_component (OrgFreedesktopUDisksDevice *object)
-{
- return ORG_FREEDESKTOP_UDISKS_DEVICE_GET_IFACE (object)->get_device_is_linux_dmmp_component (object);
-}
-
-/**
- * org_freedesktop_udisks_device_set_device_is_linux_dmmp_component: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- * @value: The value to set.
- *
- * Sets the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DeviceIsLinuxDmmpComponent">"DeviceIsLinuxDmmpComponent"</link> D-Bus property to @value.
- *
- * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
- */
-void
-org_freedesktop_udisks_device_set_device_is_linux_dmmp_component (OrgFreedesktopUDisksDevice *object, gboolean value)
-{
- g_object_set (G_OBJECT (object), "device-is-linux-dmmp-component", value, NULL);
-}
-
-/**
- * org_freedesktop_udisks_device_get_device_is_linux_dmmp: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets the value of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DeviceIsLinuxDmmp">"DeviceIsLinuxDmmp"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * Returns: The property value.
- */
-gboolean
-org_freedesktop_udisks_device_get_device_is_linux_dmmp (OrgFreedesktopUDisksDevice *object)
-{
- return ORG_FREEDESKTOP_UDISKS_DEVICE_GET_IFACE (object)->get_device_is_linux_dmmp (object);
-}
-
-/**
- * org_freedesktop_udisks_device_set_device_is_linux_dmmp: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- * @value: The value to set.
- *
- * Sets the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DeviceIsLinuxDmmp">"DeviceIsLinuxDmmp"</link> D-Bus property to @value.
- *
- * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
- */
-void
-org_freedesktop_udisks_device_set_device_is_linux_dmmp (OrgFreedesktopUDisksDevice *object, gboolean value)
-{
- g_object_set (G_OBJECT (object), "device-is-linux-dmmp", value, NULL);
-}
-
-/**
- * org_freedesktop_udisks_device_get_device_is_linux_loop: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets the value of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DeviceIsLinuxLoop">"DeviceIsLinuxLoop"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * Returns: The property value.
- */
-gboolean
-org_freedesktop_udisks_device_get_device_is_linux_loop (OrgFreedesktopUDisksDevice *object)
-{
- return ORG_FREEDESKTOP_UDISKS_DEVICE_GET_IFACE (object)->get_device_is_linux_loop (object);
-}
-
-/**
- * org_freedesktop_udisks_device_set_device_is_linux_loop: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- * @value: The value to set.
- *
- * Sets the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DeviceIsLinuxLoop">"DeviceIsLinuxLoop"</link> D-Bus property to @value.
- *
- * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
- */
-void
-org_freedesktop_udisks_device_set_device_is_linux_loop (OrgFreedesktopUDisksDevice *object, gboolean value)
-{
- g_object_set (G_OBJECT (object), "device-is-linux-loop", value, NULL);
-}
-
-/**
- * org_freedesktop_udisks_device_get_device_size: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets the value of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DeviceSize">"DeviceSize"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * Returns: The property value.
- */
-guint64
-org_freedesktop_udisks_device_get_device_size (OrgFreedesktopUDisksDevice *object)
-{
- return ORG_FREEDESKTOP_UDISKS_DEVICE_GET_IFACE (object)->get_device_size (object);
-}
-
-/**
- * org_freedesktop_udisks_device_set_device_size: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- * @value: The value to set.
- *
- * Sets the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DeviceSize">"DeviceSize"</link> D-Bus property to @value.
- *
- * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
- */
-void
-org_freedesktop_udisks_device_set_device_size (OrgFreedesktopUDisksDevice *object, guint64 value)
-{
- g_object_set (G_OBJECT (object), "device-size", value, NULL);
-}
-
-/**
- * org_freedesktop_udisks_device_get_device_block_size: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets the value of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DeviceBlockSize">"DeviceBlockSize"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * Returns: The property value.
- */
-guint64
-org_freedesktop_udisks_device_get_device_block_size (OrgFreedesktopUDisksDevice *object)
-{
- return ORG_FREEDESKTOP_UDISKS_DEVICE_GET_IFACE (object)->get_device_block_size (object);
-}
-
-/**
- * org_freedesktop_udisks_device_set_device_block_size: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- * @value: The value to set.
- *
- * Sets the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DeviceBlockSize">"DeviceBlockSize"</link> D-Bus property to @value.
- *
- * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
- */
-void
-org_freedesktop_udisks_device_set_device_block_size (OrgFreedesktopUDisksDevice *object, guint64 value)
-{
- g_object_set (G_OBJECT (object), "device-block-size", value, NULL);
-}
-
-/**
- * org_freedesktop_udisks_device_get_device_presentation_hide: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets the value of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DevicePresentationHide">"DevicePresentationHide"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * Returns: The property value.
- */
-gboolean
-org_freedesktop_udisks_device_get_device_presentation_hide (OrgFreedesktopUDisksDevice *object)
-{
- return ORG_FREEDESKTOP_UDISKS_DEVICE_GET_IFACE (object)->get_device_presentation_hide (object);
-}
-
-/**
- * org_freedesktop_udisks_device_set_device_presentation_hide: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- * @value: The value to set.
- *
- * Sets the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DevicePresentationHide">"DevicePresentationHide"</link> D-Bus property to @value.
- *
- * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
- */
-void
-org_freedesktop_udisks_device_set_device_presentation_hide (OrgFreedesktopUDisksDevice *object, gboolean value)
-{
- g_object_set (G_OBJECT (object), "device-presentation-hide", value, NULL);
-}
-
-/**
- * org_freedesktop_udisks_device_get_device_presentation_nopolicy: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets the value of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DevicePresentationNopolicy">"DevicePresentationNopolicy"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * Returns: The property value.
- */
-gboolean
-org_freedesktop_udisks_device_get_device_presentation_nopolicy (OrgFreedesktopUDisksDevice *object)
-{
- return ORG_FREEDESKTOP_UDISKS_DEVICE_GET_IFACE (object)->get_device_presentation_nopolicy (object);
-}
-
-/**
- * org_freedesktop_udisks_device_set_device_presentation_nopolicy: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- * @value: The value to set.
- *
- * Sets the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DevicePresentationNopolicy">"DevicePresentationNopolicy"</link> D-Bus property to @value.
- *
- * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
- */
-void
-org_freedesktop_udisks_device_set_device_presentation_nopolicy (OrgFreedesktopUDisksDevice *object, gboolean value)
-{
- g_object_set (G_OBJECT (object), "device-presentation-nopolicy", value, NULL);
-}
-
-/**
- * org_freedesktop_udisks_device_get_device_presentation_name: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets the value of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DevicePresentationName">"DevicePresentationName"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * <warning>The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where @object was constructed. Use org_freedesktop_udisks_device_dup_device_presentation_name() if on another thread.</warning>
- *
- * Returns: (transfer none): The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object.
- */
-const gchar *
-org_freedesktop_udisks_device_get_device_presentation_name (OrgFreedesktopUDisksDevice *object)
-{
- return ORG_FREEDESKTOP_UDISKS_DEVICE_GET_IFACE (object)->get_device_presentation_name (object);
-}
-
-/**
- * org_freedesktop_udisks_device_dup_device_presentation_name: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets a copy of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DevicePresentationName">"DevicePresentationName"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * Returns: (transfer full): The property value or %NULL if the property is not set. The returned value should be freed with g_free().
- */
-gchar *
-org_freedesktop_udisks_device_dup_device_presentation_name (OrgFreedesktopUDisksDevice *object)
-{
- gchar *value;
- g_object_get (G_OBJECT (object), "device-presentation-name", &value, NULL);
- return value;
-}
-
-/**
- * org_freedesktop_udisks_device_set_device_presentation_name: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- * @value: The value to set.
- *
- * Sets the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DevicePresentationName">"DevicePresentationName"</link> D-Bus property to @value.
- *
- * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
- */
-void
-org_freedesktop_udisks_device_set_device_presentation_name (OrgFreedesktopUDisksDevice *object, const gchar *value)
-{
- g_object_set (G_OBJECT (object), "device-presentation-name", value, NULL);
-}
-
-/**
- * org_freedesktop_udisks_device_get_device_presentation_icon_name: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets the value of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DevicePresentationIconName">"DevicePresentationIconName"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * <warning>The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where @object was constructed. Use org_freedesktop_udisks_device_dup_device_presentation_icon_name() if on another thread.</warning>
- *
- * Returns: (transfer none): The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object.
- */
-const gchar *
-org_freedesktop_udisks_device_get_device_presentation_icon_name (OrgFreedesktopUDisksDevice *object)
-{
- return ORG_FREEDESKTOP_UDISKS_DEVICE_GET_IFACE (object)->get_device_presentation_icon_name (object);
-}
-
-/**
- * org_freedesktop_udisks_device_dup_device_presentation_icon_name: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets a copy of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DevicePresentationIconName">"DevicePresentationIconName"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * Returns: (transfer full): The property value or %NULL if the property is not set. The returned value should be freed with g_free().
- */
-gchar *
-org_freedesktop_udisks_device_dup_device_presentation_icon_name (OrgFreedesktopUDisksDevice *object)
-{
- gchar *value;
- g_object_get (G_OBJECT (object), "device-presentation-icon-name", &value, NULL);
- return value;
-}
-
-/**
- * org_freedesktop_udisks_device_set_device_presentation_icon_name: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- * @value: The value to set.
- *
- * Sets the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DevicePresentationIconName">"DevicePresentationIconName"</link> D-Bus property to @value.
- *
- * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
- */
-void
-org_freedesktop_udisks_device_set_device_presentation_icon_name (OrgFreedesktopUDisksDevice *object, const gchar *value)
-{
- g_object_set (G_OBJECT (object), "device-presentation-icon-name", value, NULL);
-}
-
-/**
- * org_freedesktop_udisks_device_get_device_automount_hint: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets the value of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DeviceAutomountHint">"DeviceAutomountHint"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * <warning>The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where @object was constructed. Use org_freedesktop_udisks_device_dup_device_automount_hint() if on another thread.</warning>
- *
- * Returns: (transfer none): The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object.
- */
-const gchar *
-org_freedesktop_udisks_device_get_device_automount_hint (OrgFreedesktopUDisksDevice *object)
-{
- return ORG_FREEDESKTOP_UDISKS_DEVICE_GET_IFACE (object)->get_device_automount_hint (object);
-}
-
-/**
- * org_freedesktop_udisks_device_dup_device_automount_hint: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets a copy of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DeviceAutomountHint">"DeviceAutomountHint"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * Returns: (transfer full): The property value or %NULL if the property is not set. The returned value should be freed with g_free().
- */
-gchar *
-org_freedesktop_udisks_device_dup_device_automount_hint (OrgFreedesktopUDisksDevice *object)
-{
- gchar *value;
- g_object_get (G_OBJECT (object), "device-automount-hint", &value, NULL);
- return value;
-}
-
-/**
- * org_freedesktop_udisks_device_set_device_automount_hint: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- * @value: The value to set.
- *
- * Sets the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DeviceAutomountHint">"DeviceAutomountHint"</link> D-Bus property to @value.
- *
- * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
- */
-void
-org_freedesktop_udisks_device_set_device_automount_hint (OrgFreedesktopUDisksDevice *object, const gchar *value)
-{
- g_object_set (G_OBJECT (object), "device-automount-hint", value, NULL);
-}
-
-/**
- * org_freedesktop_udisks_device_get_job_in_progress: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets the value of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.JobInProgress">"JobInProgress"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * Returns: The property value.
- */
-gboolean
-org_freedesktop_udisks_device_get_job_in_progress (OrgFreedesktopUDisksDevice *object)
-{
- return ORG_FREEDESKTOP_UDISKS_DEVICE_GET_IFACE (object)->get_job_in_progress (object);
-}
-
-/**
- * org_freedesktop_udisks_device_set_job_in_progress: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- * @value: The value to set.
- *
- * Sets the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.JobInProgress">"JobInProgress"</link> D-Bus property to @value.
- *
- * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
- */
-void
-org_freedesktop_udisks_device_set_job_in_progress (OrgFreedesktopUDisksDevice *object, gboolean value)
-{
- g_object_set (G_OBJECT (object), "job-in-progress", value, NULL);
-}
-
-/**
- * org_freedesktop_udisks_device_get_job_id: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets the value of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.JobId">"JobId"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * <warning>The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where @object was constructed. Use org_freedesktop_udisks_device_dup_job_id() if on another thread.</warning>
- *
- * Returns: (transfer none): The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object.
- */
-const gchar *
-org_freedesktop_udisks_device_get_job_id (OrgFreedesktopUDisksDevice *object)
-{
- return ORG_FREEDESKTOP_UDISKS_DEVICE_GET_IFACE (object)->get_job_id (object);
-}
-
-/**
- * org_freedesktop_udisks_device_dup_job_id: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets a copy of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.JobId">"JobId"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * Returns: (transfer full): The property value or %NULL if the property is not set. The returned value should be freed with g_free().
- */
-gchar *
-org_freedesktop_udisks_device_dup_job_id (OrgFreedesktopUDisksDevice *object)
-{
- gchar *value;
- g_object_get (G_OBJECT (object), "job-id", &value, NULL);
- return value;
-}
-
-/**
- * org_freedesktop_udisks_device_set_job_id: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- * @value: The value to set.
- *
- * Sets the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.JobId">"JobId"</link> D-Bus property to @value.
- *
- * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
- */
-void
-org_freedesktop_udisks_device_set_job_id (OrgFreedesktopUDisksDevice *object, const gchar *value)
-{
- g_object_set (G_OBJECT (object), "job-id", value, NULL);
-}
-
-/**
- * org_freedesktop_udisks_device_get_job_initiated_by_uid: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets the value of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.JobInitiatedByUid">"JobInitiatedByUid"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * Returns: The property value.
- */
-guint
-org_freedesktop_udisks_device_get_job_initiated_by_uid (OrgFreedesktopUDisksDevice *object)
-{
- return ORG_FREEDESKTOP_UDISKS_DEVICE_GET_IFACE (object)->get_job_initiated_by_uid (object);
-}
-
-/**
- * org_freedesktop_udisks_device_set_job_initiated_by_uid: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- * @value: The value to set.
- *
- * Sets the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.JobInitiatedByUid">"JobInitiatedByUid"</link> D-Bus property to @value.
- *
- * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
- */
-void
-org_freedesktop_udisks_device_set_job_initiated_by_uid (OrgFreedesktopUDisksDevice *object, guint value)
-{
- g_object_set (G_OBJECT (object), "job-initiated-by-uid", value, NULL);
-}
-
-/**
- * org_freedesktop_udisks_device_get_job_is_cancellable: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets the value of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.JobIsCancellable">"JobIsCancellable"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * Returns: The property value.
- */
-gboolean
-org_freedesktop_udisks_device_get_job_is_cancellable (OrgFreedesktopUDisksDevice *object)
-{
- return ORG_FREEDESKTOP_UDISKS_DEVICE_GET_IFACE (object)->get_job_is_cancellable (object);
-}
-
-/**
- * org_freedesktop_udisks_device_set_job_is_cancellable: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- * @value: The value to set.
- *
- * Sets the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.JobIsCancellable">"JobIsCancellable"</link> D-Bus property to @value.
- *
- * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
- */
-void
-org_freedesktop_udisks_device_set_job_is_cancellable (OrgFreedesktopUDisksDevice *object, gboolean value)
-{
- g_object_set (G_OBJECT (object), "job-is-cancellable", value, NULL);
-}
-
-/**
- * org_freedesktop_udisks_device_get_job_percentage: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets the value of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.JobPercentage">"JobPercentage"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * Returns: The property value.
- */
-gdouble
-org_freedesktop_udisks_device_get_job_percentage (OrgFreedesktopUDisksDevice *object)
-{
- return ORG_FREEDESKTOP_UDISKS_DEVICE_GET_IFACE (object)->get_job_percentage (object);
-}
-
-/**
- * org_freedesktop_udisks_device_set_job_percentage: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- * @value: The value to set.
- *
- * Sets the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.JobPercentage">"JobPercentage"</link> D-Bus property to @value.
- *
- * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
- */
-void
-org_freedesktop_udisks_device_set_job_percentage (OrgFreedesktopUDisksDevice *object, gdouble value)
-{
- g_object_set (G_OBJECT (object), "job-percentage", value, NULL);
-}
-
-/**
- * org_freedesktop_udisks_device_get_id_usage: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets the value of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.IdUsage">"IdUsage"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * <warning>The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where @object was constructed. Use org_freedesktop_udisks_device_dup_id_usage() if on another thread.</warning>
- *
- * Returns: (transfer none): The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object.
- */
-const gchar *
-org_freedesktop_udisks_device_get_id_usage (OrgFreedesktopUDisksDevice *object)
-{
- return ORG_FREEDESKTOP_UDISKS_DEVICE_GET_IFACE (object)->get_id_usage (object);
-}
-
-/**
- * org_freedesktop_udisks_device_dup_id_usage: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets a copy of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.IdUsage">"IdUsage"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * Returns: (transfer full): The property value or %NULL if the property is not set. The returned value should be freed with g_free().
- */
-gchar *
-org_freedesktop_udisks_device_dup_id_usage (OrgFreedesktopUDisksDevice *object)
-{
- gchar *value;
- g_object_get (G_OBJECT (object), "id-usage", &value, NULL);
- return value;
-}
-
-/**
- * org_freedesktop_udisks_device_set_id_usage: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- * @value: The value to set.
- *
- * Sets the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.IdUsage">"IdUsage"</link> D-Bus property to @value.
- *
- * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
- */
-void
-org_freedesktop_udisks_device_set_id_usage (OrgFreedesktopUDisksDevice *object, const gchar *value)
-{
- g_object_set (G_OBJECT (object), "id-usage", value, NULL);
-}
-
-/**
- * org_freedesktop_udisks_device_get_id_type: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets the value of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.IdType">"IdType"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * <warning>The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where @object was constructed. Use org_freedesktop_udisks_device_dup_id_type() if on another thread.</warning>
- *
- * Returns: (transfer none): The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object.
- */
-const gchar *
-org_freedesktop_udisks_device_get_id_type (OrgFreedesktopUDisksDevice *object)
-{
- return ORG_FREEDESKTOP_UDISKS_DEVICE_GET_IFACE (object)->get_id_type (object);
-}
-
-/**
- * org_freedesktop_udisks_device_dup_id_type: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets a copy of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.IdType">"IdType"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * Returns: (transfer full): The property value or %NULL if the property is not set. The returned value should be freed with g_free().
- */
-gchar *
-org_freedesktop_udisks_device_dup_id_type (OrgFreedesktopUDisksDevice *object)
-{
- gchar *value;
- g_object_get (G_OBJECT (object), "id-type", &value, NULL);
- return value;
-}
-
-/**
- * org_freedesktop_udisks_device_set_id_type: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- * @value: The value to set.
- *
- * Sets the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.IdType">"IdType"</link> D-Bus property to @value.
- *
- * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
- */
-void
-org_freedesktop_udisks_device_set_id_type (OrgFreedesktopUDisksDevice *object, const gchar *value)
-{
- g_object_set (G_OBJECT (object), "id-type", value, NULL);
-}
-
-/**
- * org_freedesktop_udisks_device_get_id_version: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets the value of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.IdVersion">"IdVersion"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * <warning>The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where @object was constructed. Use org_freedesktop_udisks_device_dup_id_version() if on another thread.</warning>
- *
- * Returns: (transfer none): The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object.
- */
-const gchar *
-org_freedesktop_udisks_device_get_id_version (OrgFreedesktopUDisksDevice *object)
-{
- return ORG_FREEDESKTOP_UDISKS_DEVICE_GET_IFACE (object)->get_id_version (object);
-}
-
-/**
- * org_freedesktop_udisks_device_dup_id_version: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets a copy of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.IdVersion">"IdVersion"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * Returns: (transfer full): The property value or %NULL if the property is not set. The returned value should be freed with g_free().
- */
-gchar *
-org_freedesktop_udisks_device_dup_id_version (OrgFreedesktopUDisksDevice *object)
-{
- gchar *value;
- g_object_get (G_OBJECT (object), "id-version", &value, NULL);
- return value;
-}
-
-/**
- * org_freedesktop_udisks_device_set_id_version: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- * @value: The value to set.
- *
- * Sets the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.IdVersion">"IdVersion"</link> D-Bus property to @value.
- *
- * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
- */
-void
-org_freedesktop_udisks_device_set_id_version (OrgFreedesktopUDisksDevice *object, const gchar *value)
-{
- g_object_set (G_OBJECT (object), "id-version", value, NULL);
-}
-
-/**
- * org_freedesktop_udisks_device_get_id_uuid: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets the value of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.IdUuid">"IdUuid"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * <warning>The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where @object was constructed. Use org_freedesktop_udisks_device_dup_id_uuid() if on another thread.</warning>
- *
- * Returns: (transfer none): The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object.
- */
-const gchar *
-org_freedesktop_udisks_device_get_id_uuid (OrgFreedesktopUDisksDevice *object)
-{
- return ORG_FREEDESKTOP_UDISKS_DEVICE_GET_IFACE (object)->get_id_uuid (object);
-}
-
-/**
- * org_freedesktop_udisks_device_dup_id_uuid: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets a copy of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.IdUuid">"IdUuid"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * Returns: (transfer full): The property value or %NULL if the property is not set. The returned value should be freed with g_free().
- */
-gchar *
-org_freedesktop_udisks_device_dup_id_uuid (OrgFreedesktopUDisksDevice *object)
-{
- gchar *value;
- g_object_get (G_OBJECT (object), "id-uuid", &value, NULL);
- return value;
-}
-
-/**
- * org_freedesktop_udisks_device_set_id_uuid: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- * @value: The value to set.
- *
- * Sets the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.IdUuid">"IdUuid"</link> D-Bus property to @value.
- *
- * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
- */
-void
-org_freedesktop_udisks_device_set_id_uuid (OrgFreedesktopUDisksDevice *object, const gchar *value)
-{
- g_object_set (G_OBJECT (object), "id-uuid", value, NULL);
-}
-
-/**
- * org_freedesktop_udisks_device_get_id_label: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets the value of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.IdLabel">"IdLabel"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * <warning>The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where @object was constructed. Use org_freedesktop_udisks_device_dup_id_label() if on another thread.</warning>
- *
- * Returns: (transfer none): The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object.
- */
-const gchar *
-org_freedesktop_udisks_device_get_id_label (OrgFreedesktopUDisksDevice *object)
-{
- return ORG_FREEDESKTOP_UDISKS_DEVICE_GET_IFACE (object)->get_id_label (object);
-}
-
-/**
- * org_freedesktop_udisks_device_dup_id_label: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets a copy of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.IdLabel">"IdLabel"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * Returns: (transfer full): The property value or %NULL if the property is not set. The returned value should be freed with g_free().
- */
-gchar *
-org_freedesktop_udisks_device_dup_id_label (OrgFreedesktopUDisksDevice *object)
-{
- gchar *value;
- g_object_get (G_OBJECT (object), "id-label", &value, NULL);
- return value;
-}
-
-/**
- * org_freedesktop_udisks_device_set_id_label: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- * @value: The value to set.
- *
- * Sets the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.IdLabel">"IdLabel"</link> D-Bus property to @value.
- *
- * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
- */
-void
-org_freedesktop_udisks_device_set_id_label (OrgFreedesktopUDisksDevice *object, const gchar *value)
-{
- g_object_set (G_OBJECT (object), "id-label", value, NULL);
-}
-
-/**
- * org_freedesktop_udisks_device_get_luks_holder: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets the value of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.LuksHolder">"LuksHolder"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * <warning>The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where @object was constructed. Use org_freedesktop_udisks_device_dup_luks_holder() if on another thread.</warning>
- *
- * Returns: (transfer none): The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object.
- */
-const gchar *
-org_freedesktop_udisks_device_get_luks_holder (OrgFreedesktopUDisksDevice *object)
-{
- return ORG_FREEDESKTOP_UDISKS_DEVICE_GET_IFACE (object)->get_luks_holder (object);
-}
-
-/**
- * org_freedesktop_udisks_device_dup_luks_holder: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets a copy of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.LuksHolder">"LuksHolder"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * Returns: (transfer full): The property value or %NULL if the property is not set. The returned value should be freed with g_free().
- */
-gchar *
-org_freedesktop_udisks_device_dup_luks_holder (OrgFreedesktopUDisksDevice *object)
-{
- gchar *value;
- g_object_get (G_OBJECT (object), "luks-holder", &value, NULL);
- return value;
-}
-
-/**
- * org_freedesktop_udisks_device_set_luks_holder: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- * @value: The value to set.
- *
- * Sets the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.LuksHolder">"LuksHolder"</link> D-Bus property to @value.
- *
- * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
- */
-void
-org_freedesktop_udisks_device_set_luks_holder (OrgFreedesktopUDisksDevice *object, const gchar *value)
-{
- g_object_set (G_OBJECT (object), "luks-holder", value, NULL);
-}
-
-/**
- * org_freedesktop_udisks_device_get_luks_cleartext_slave: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets the value of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.LuksCleartextSlave">"LuksCleartextSlave"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * <warning>The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where @object was constructed. Use org_freedesktop_udisks_device_dup_luks_cleartext_slave() if on another thread.</warning>
- *
- * Returns: (transfer none): The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object.
- */
-const gchar *
-org_freedesktop_udisks_device_get_luks_cleartext_slave (OrgFreedesktopUDisksDevice *object)
-{
- return ORG_FREEDESKTOP_UDISKS_DEVICE_GET_IFACE (object)->get_luks_cleartext_slave (object);
-}
-
-/**
- * org_freedesktop_udisks_device_dup_luks_cleartext_slave: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets a copy of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.LuksCleartextSlave">"LuksCleartextSlave"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * Returns: (transfer full): The property value or %NULL if the property is not set. The returned value should be freed with g_free().
- */
-gchar *
-org_freedesktop_udisks_device_dup_luks_cleartext_slave (OrgFreedesktopUDisksDevice *object)
-{
- gchar *value;
- g_object_get (G_OBJECT (object), "luks-cleartext-slave", &value, NULL);
- return value;
-}
-
-/**
- * org_freedesktop_udisks_device_set_luks_cleartext_slave: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- * @value: The value to set.
- *
- * Sets the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.LuksCleartextSlave">"LuksCleartextSlave"</link> D-Bus property to @value.
- *
- * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
- */
-void
-org_freedesktop_udisks_device_set_luks_cleartext_slave (OrgFreedesktopUDisksDevice *object, const gchar *value)
-{
- g_object_set (G_OBJECT (object), "luks-cleartext-slave", value, NULL);
-}
-
-/**
- * org_freedesktop_udisks_device_get_luks_cleartext_unlocked_by_uid: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets the value of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.LuksCleartextUnlockedByUid">"LuksCleartextUnlockedByUid"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * Returns: The property value.
- */
-guint
-org_freedesktop_udisks_device_get_luks_cleartext_unlocked_by_uid (OrgFreedesktopUDisksDevice *object)
-{
- return ORG_FREEDESKTOP_UDISKS_DEVICE_GET_IFACE (object)->get_luks_cleartext_unlocked_by_uid (object);
-}
-
-/**
- * org_freedesktop_udisks_device_set_luks_cleartext_unlocked_by_uid: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- * @value: The value to set.
- *
- * Sets the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.LuksCleartextUnlockedByUid">"LuksCleartextUnlockedByUid"</link> D-Bus property to @value.
- *
- * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
- */
-void
-org_freedesktop_udisks_device_set_luks_cleartext_unlocked_by_uid (OrgFreedesktopUDisksDevice *object, guint value)
-{
- g_object_set (G_OBJECT (object), "luks-cleartext-unlocked-by-uid", value, NULL);
-}
-
-/**
- * org_freedesktop_udisks_device_get_partition_slave: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets the value of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.PartitionSlave">"PartitionSlave"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * <warning>The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where @object was constructed. Use org_freedesktop_udisks_device_dup_partition_slave() if on another thread.</warning>
- *
- * Returns: (transfer none): The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object.
- */
-const gchar *
-org_freedesktop_udisks_device_get_partition_slave (OrgFreedesktopUDisksDevice *object)
-{
- return ORG_FREEDESKTOP_UDISKS_DEVICE_GET_IFACE (object)->get_partition_slave (object);
-}
-
-/**
- * org_freedesktop_udisks_device_dup_partition_slave: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets a copy of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.PartitionSlave">"PartitionSlave"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * Returns: (transfer full): The property value or %NULL if the property is not set. The returned value should be freed with g_free().
- */
-gchar *
-org_freedesktop_udisks_device_dup_partition_slave (OrgFreedesktopUDisksDevice *object)
-{
- gchar *value;
- g_object_get (G_OBJECT (object), "partition-slave", &value, NULL);
- return value;
-}
-
-/**
- * org_freedesktop_udisks_device_set_partition_slave: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- * @value: The value to set.
- *
- * Sets the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.PartitionSlave">"PartitionSlave"</link> D-Bus property to @value.
- *
- * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
- */
-void
-org_freedesktop_udisks_device_set_partition_slave (OrgFreedesktopUDisksDevice *object, const gchar *value)
-{
- g_object_set (G_OBJECT (object), "partition-slave", value, NULL);
-}
-
-/**
- * org_freedesktop_udisks_device_get_partition_scheme: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets the value of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.PartitionScheme">"PartitionScheme"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * <warning>The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where @object was constructed. Use org_freedesktop_udisks_device_dup_partition_scheme() if on another thread.</warning>
- *
- * Returns: (transfer none): The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object.
- */
-const gchar *
-org_freedesktop_udisks_device_get_partition_scheme (OrgFreedesktopUDisksDevice *object)
-{
- return ORG_FREEDESKTOP_UDISKS_DEVICE_GET_IFACE (object)->get_partition_scheme (object);
-}
-
-/**
- * org_freedesktop_udisks_device_dup_partition_scheme: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets a copy of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.PartitionScheme">"PartitionScheme"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * Returns: (transfer full): The property value or %NULL if the property is not set. The returned value should be freed with g_free().
- */
-gchar *
-org_freedesktop_udisks_device_dup_partition_scheme (OrgFreedesktopUDisksDevice *object)
-{
- gchar *value;
- g_object_get (G_OBJECT (object), "partition-scheme", &value, NULL);
- return value;
-}
-
-/**
- * org_freedesktop_udisks_device_set_partition_scheme: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- * @value: The value to set.
- *
- * Sets the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.PartitionScheme">"PartitionScheme"</link> D-Bus property to @value.
- *
- * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
- */
-void
-org_freedesktop_udisks_device_set_partition_scheme (OrgFreedesktopUDisksDevice *object, const gchar *value)
-{
- g_object_set (G_OBJECT (object), "partition-scheme", value, NULL);
-}
-
-/**
- * org_freedesktop_udisks_device_get_partition_type: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets the value of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.PartitionType">"PartitionType"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * <warning>The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where @object was constructed. Use org_freedesktop_udisks_device_dup_partition_type() if on another thread.</warning>
- *
- * Returns: (transfer none): The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object.
- */
-const gchar *
-org_freedesktop_udisks_device_get_partition_type (OrgFreedesktopUDisksDevice *object)
-{
- return ORG_FREEDESKTOP_UDISKS_DEVICE_GET_IFACE (object)->get_partition_type (object);
-}
-
-/**
- * org_freedesktop_udisks_device_dup_partition_type: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets a copy of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.PartitionType">"PartitionType"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * Returns: (transfer full): The property value or %NULL if the property is not set. The returned value should be freed with g_free().
- */
-gchar *
-org_freedesktop_udisks_device_dup_partition_type (OrgFreedesktopUDisksDevice *object)
-{
- gchar *value;
- g_object_get (G_OBJECT (object), "partition-type", &value, NULL);
- return value;
-}
-
-/**
- * org_freedesktop_udisks_device_set_partition_type: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- * @value: The value to set.
- *
- * Sets the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.PartitionType">"PartitionType"</link> D-Bus property to @value.
- *
- * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
- */
-void
-org_freedesktop_udisks_device_set_partition_type (OrgFreedesktopUDisksDevice *object, const gchar *value)
-{
- g_object_set (G_OBJECT (object), "partition-type", value, NULL);
-}
-
-/**
- * org_freedesktop_udisks_device_get_partition_label: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets the value of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.PartitionLabel">"PartitionLabel"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * <warning>The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where @object was constructed. Use org_freedesktop_udisks_device_dup_partition_label() if on another thread.</warning>
- *
- * Returns: (transfer none): The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object.
- */
-const gchar *
-org_freedesktop_udisks_device_get_partition_label (OrgFreedesktopUDisksDevice *object)
-{
- return ORG_FREEDESKTOP_UDISKS_DEVICE_GET_IFACE (object)->get_partition_label (object);
-}
-
-/**
- * org_freedesktop_udisks_device_dup_partition_label: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets a copy of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.PartitionLabel">"PartitionLabel"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * Returns: (transfer full): The property value or %NULL if the property is not set. The returned value should be freed with g_free().
- */
-gchar *
-org_freedesktop_udisks_device_dup_partition_label (OrgFreedesktopUDisksDevice *object)
-{
- gchar *value;
- g_object_get (G_OBJECT (object), "partition-label", &value, NULL);
- return value;
-}
-
-/**
- * org_freedesktop_udisks_device_set_partition_label: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- * @value: The value to set.
- *
- * Sets the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.PartitionLabel">"PartitionLabel"</link> D-Bus property to @value.
- *
- * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
- */
-void
-org_freedesktop_udisks_device_set_partition_label (OrgFreedesktopUDisksDevice *object, const gchar *value)
-{
- g_object_set (G_OBJECT (object), "partition-label", value, NULL);
-}
-
-/**
- * org_freedesktop_udisks_device_get_partition_uuid: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets the value of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.PartitionUuid">"PartitionUuid"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * <warning>The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where @object was constructed. Use org_freedesktop_udisks_device_dup_partition_uuid() if on another thread.</warning>
- *
- * Returns: (transfer none): The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object.
- */
-const gchar *
-org_freedesktop_udisks_device_get_partition_uuid (OrgFreedesktopUDisksDevice *object)
-{
- return ORG_FREEDESKTOP_UDISKS_DEVICE_GET_IFACE (object)->get_partition_uuid (object);
-}
-
-/**
- * org_freedesktop_udisks_device_dup_partition_uuid: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets a copy of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.PartitionUuid">"PartitionUuid"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * Returns: (transfer full): The property value or %NULL if the property is not set. The returned value should be freed with g_free().
- */
-gchar *
-org_freedesktop_udisks_device_dup_partition_uuid (OrgFreedesktopUDisksDevice *object)
-{
- gchar *value;
- g_object_get (G_OBJECT (object), "partition-uuid", &value, NULL);
- return value;
-}
-
-/**
- * org_freedesktop_udisks_device_set_partition_uuid: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- * @value: The value to set.
- *
- * Sets the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.PartitionUuid">"PartitionUuid"</link> D-Bus property to @value.
- *
- * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
- */
-void
-org_freedesktop_udisks_device_set_partition_uuid (OrgFreedesktopUDisksDevice *object, const gchar *value)
-{
- g_object_set (G_OBJECT (object), "partition-uuid", value, NULL);
-}
-
-/**
- * org_freedesktop_udisks_device_get_partition_flags: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets the value of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.PartitionFlags">"PartitionFlags"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * <warning>The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where @object was constructed. Use org_freedesktop_udisks_device_dup_partition_flags() if on another thread.</warning>
- *
- * Returns: (transfer none): The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object.
- */
-const gchar *const *
-org_freedesktop_udisks_device_get_partition_flags (OrgFreedesktopUDisksDevice *object)
-{
- return ORG_FREEDESKTOP_UDISKS_DEVICE_GET_IFACE (object)->get_partition_flags (object);
-}
-
-/**
- * org_freedesktop_udisks_device_dup_partition_flags: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets a copy of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.PartitionFlags">"PartitionFlags"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * Returns: (transfer full): The property value or %NULL if the property is not set. The returned value should be freed with g_strfreev().
- */
-gchar **
-org_freedesktop_udisks_device_dup_partition_flags (OrgFreedesktopUDisksDevice *object)
-{
- gchar **value;
- g_object_get (G_OBJECT (object), "partition-flags", &value, NULL);
- return value;
-}
-
-/**
- * org_freedesktop_udisks_device_set_partition_flags: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- * @value: The value to set.
- *
- * Sets the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.PartitionFlags">"PartitionFlags"</link> D-Bus property to @value.
- *
- * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
- */
-void
-org_freedesktop_udisks_device_set_partition_flags (OrgFreedesktopUDisksDevice *object, const gchar *const *value)
-{
- g_object_set (G_OBJECT (object), "partition-flags", value, NULL);
-}
-
-/**
- * org_freedesktop_udisks_device_get_partition_number: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets the value of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.PartitionNumber">"PartitionNumber"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * Returns: The property value.
- */
-gint
-org_freedesktop_udisks_device_get_partition_number (OrgFreedesktopUDisksDevice *object)
-{
- return ORG_FREEDESKTOP_UDISKS_DEVICE_GET_IFACE (object)->get_partition_number (object);
-}
-
-/**
- * org_freedesktop_udisks_device_set_partition_number: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- * @value: The value to set.
- *
- * Sets the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.PartitionNumber">"PartitionNumber"</link> D-Bus property to @value.
- *
- * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
- */
-void
-org_freedesktop_udisks_device_set_partition_number (OrgFreedesktopUDisksDevice *object, gint value)
-{
- g_object_set (G_OBJECT (object), "partition-number", value, NULL);
-}
-
-/**
- * org_freedesktop_udisks_device_get_partition_offset: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets the value of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.PartitionOffset">"PartitionOffset"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * Returns: The property value.
- */
-guint64
-org_freedesktop_udisks_device_get_partition_offset (OrgFreedesktopUDisksDevice *object)
-{
- return ORG_FREEDESKTOP_UDISKS_DEVICE_GET_IFACE (object)->get_partition_offset (object);
-}
-
-/**
- * org_freedesktop_udisks_device_set_partition_offset: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- * @value: The value to set.
- *
- * Sets the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.PartitionOffset">"PartitionOffset"</link> D-Bus property to @value.
- *
- * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
- */
-void
-org_freedesktop_udisks_device_set_partition_offset (OrgFreedesktopUDisksDevice *object, guint64 value)
-{
- g_object_set (G_OBJECT (object), "partition-offset", value, NULL);
-}
-
-/**
- * org_freedesktop_udisks_device_get_partition_size: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets the value of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.PartitionSize">"PartitionSize"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * Returns: The property value.
- */
-guint64
-org_freedesktop_udisks_device_get_partition_size (OrgFreedesktopUDisksDevice *object)
-{
- return ORG_FREEDESKTOP_UDISKS_DEVICE_GET_IFACE (object)->get_partition_size (object);
-}
-
-/**
- * org_freedesktop_udisks_device_set_partition_size: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- * @value: The value to set.
- *
- * Sets the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.PartitionSize">"PartitionSize"</link> D-Bus property to @value.
- *
- * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
- */
-void
-org_freedesktop_udisks_device_set_partition_size (OrgFreedesktopUDisksDevice *object, guint64 value)
-{
- g_object_set (G_OBJECT (object), "partition-size", value, NULL);
-}
-
-/**
- * org_freedesktop_udisks_device_get_partition_alignment_offset: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets the value of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.PartitionAlignmentOffset">"PartitionAlignmentOffset"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * Returns: The property value.
- */
-guint64
-org_freedesktop_udisks_device_get_partition_alignment_offset (OrgFreedesktopUDisksDevice *object)
-{
- return ORG_FREEDESKTOP_UDISKS_DEVICE_GET_IFACE (object)->get_partition_alignment_offset (object);
-}
-
-/**
- * org_freedesktop_udisks_device_set_partition_alignment_offset: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- * @value: The value to set.
- *
- * Sets the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.PartitionAlignmentOffset">"PartitionAlignmentOffset"</link> D-Bus property to @value.
- *
- * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
- */
-void
-org_freedesktop_udisks_device_set_partition_alignment_offset (OrgFreedesktopUDisksDevice *object, guint64 value)
-{
- g_object_set (G_OBJECT (object), "partition-alignment-offset", value, NULL);
-}
-
-/**
- * org_freedesktop_udisks_device_get_partition_table_scheme: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets the value of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.PartitionTableScheme">"PartitionTableScheme"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * <warning>The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where @object was constructed. Use org_freedesktop_udisks_device_dup_partition_table_scheme() if on another thread.</warning>
- *
- * Returns: (transfer none): The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object.
- */
-const gchar *
-org_freedesktop_udisks_device_get_partition_table_scheme (OrgFreedesktopUDisksDevice *object)
-{
- return ORG_FREEDESKTOP_UDISKS_DEVICE_GET_IFACE (object)->get_partition_table_scheme (object);
-}
-
-/**
- * org_freedesktop_udisks_device_dup_partition_table_scheme: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets a copy of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.PartitionTableScheme">"PartitionTableScheme"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * Returns: (transfer full): The property value or %NULL if the property is not set. The returned value should be freed with g_free().
- */
-gchar *
-org_freedesktop_udisks_device_dup_partition_table_scheme (OrgFreedesktopUDisksDevice *object)
-{
- gchar *value;
- g_object_get (G_OBJECT (object), "partition-table-scheme", &value, NULL);
- return value;
-}
-
-/**
- * org_freedesktop_udisks_device_set_partition_table_scheme: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- * @value: The value to set.
- *
- * Sets the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.PartitionTableScheme">"PartitionTableScheme"</link> D-Bus property to @value.
- *
- * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
- */
-void
-org_freedesktop_udisks_device_set_partition_table_scheme (OrgFreedesktopUDisksDevice *object, const gchar *value)
-{
- g_object_set (G_OBJECT (object), "partition-table-scheme", value, NULL);
-}
-
-/**
- * org_freedesktop_udisks_device_get_partition_table_count: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets the value of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.PartitionTableCount">"PartitionTableCount"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * Returns: The property value.
- */
-gint
-org_freedesktop_udisks_device_get_partition_table_count (OrgFreedesktopUDisksDevice *object)
-{
- return ORG_FREEDESKTOP_UDISKS_DEVICE_GET_IFACE (object)->get_partition_table_count (object);
-}
-
-/**
- * org_freedesktop_udisks_device_set_partition_table_count: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- * @value: The value to set.
- *
- * Sets the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.PartitionTableCount">"PartitionTableCount"</link> D-Bus property to @value.
- *
- * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
- */
-void
-org_freedesktop_udisks_device_set_partition_table_count (OrgFreedesktopUDisksDevice *object, gint value)
-{
- g_object_set (G_OBJECT (object), "partition-table-count", value, NULL);
-}
-
-/**
- * org_freedesktop_udisks_device_get_drive_vendor: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets the value of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DriveVendor">"DriveVendor"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * <warning>The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where @object was constructed. Use org_freedesktop_udisks_device_dup_drive_vendor() if on another thread.</warning>
- *
- * Returns: (transfer none): The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object.
- */
-const gchar *
-org_freedesktop_udisks_device_get_drive_vendor (OrgFreedesktopUDisksDevice *object)
-{
- return ORG_FREEDESKTOP_UDISKS_DEVICE_GET_IFACE (object)->get_drive_vendor (object);
-}
-
-/**
- * org_freedesktop_udisks_device_dup_drive_vendor: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets a copy of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DriveVendor">"DriveVendor"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * Returns: (transfer full): The property value or %NULL if the property is not set. The returned value should be freed with g_free().
- */
-gchar *
-org_freedesktop_udisks_device_dup_drive_vendor (OrgFreedesktopUDisksDevice *object)
-{
- gchar *value;
- g_object_get (G_OBJECT (object), "drive-vendor", &value, NULL);
- return value;
-}
-
-/**
- * org_freedesktop_udisks_device_set_drive_vendor: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- * @value: The value to set.
- *
- * Sets the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DriveVendor">"DriveVendor"</link> D-Bus property to @value.
- *
- * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
- */
-void
-org_freedesktop_udisks_device_set_drive_vendor (OrgFreedesktopUDisksDevice *object, const gchar *value)
-{
- g_object_set (G_OBJECT (object), "drive-vendor", value, NULL);
-}
-
-/**
- * org_freedesktop_udisks_device_get_drive_model: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets the value of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DriveModel">"DriveModel"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * <warning>The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where @object was constructed. Use org_freedesktop_udisks_device_dup_drive_model() if on another thread.</warning>
- *
- * Returns: (transfer none): The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object.
- */
-const gchar *
-org_freedesktop_udisks_device_get_drive_model (OrgFreedesktopUDisksDevice *object)
-{
- return ORG_FREEDESKTOP_UDISKS_DEVICE_GET_IFACE (object)->get_drive_model (object);
-}
-
-/**
- * org_freedesktop_udisks_device_dup_drive_model: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets a copy of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DriveModel">"DriveModel"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * Returns: (transfer full): The property value or %NULL if the property is not set. The returned value should be freed with g_free().
- */
-gchar *
-org_freedesktop_udisks_device_dup_drive_model (OrgFreedesktopUDisksDevice *object)
-{
- gchar *value;
- g_object_get (G_OBJECT (object), "drive-model", &value, NULL);
- return value;
-}
-
-/**
- * org_freedesktop_udisks_device_set_drive_model: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- * @value: The value to set.
- *
- * Sets the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DriveModel">"DriveModel"</link> D-Bus property to @value.
- *
- * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
- */
-void
-org_freedesktop_udisks_device_set_drive_model (OrgFreedesktopUDisksDevice *object, const gchar *value)
-{
- g_object_set (G_OBJECT (object), "drive-model", value, NULL);
-}
-
-/**
- * org_freedesktop_udisks_device_get_drive_revision: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets the value of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DriveRevision">"DriveRevision"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * <warning>The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where @object was constructed. Use org_freedesktop_udisks_device_dup_drive_revision() if on another thread.</warning>
- *
- * Returns: (transfer none): The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object.
- */
-const gchar *
-org_freedesktop_udisks_device_get_drive_revision (OrgFreedesktopUDisksDevice *object)
-{
- return ORG_FREEDESKTOP_UDISKS_DEVICE_GET_IFACE (object)->get_drive_revision (object);
-}
-
-/**
- * org_freedesktop_udisks_device_dup_drive_revision: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets a copy of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DriveRevision">"DriveRevision"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * Returns: (transfer full): The property value or %NULL if the property is not set. The returned value should be freed with g_free().
- */
-gchar *
-org_freedesktop_udisks_device_dup_drive_revision (OrgFreedesktopUDisksDevice *object)
-{
- gchar *value;
- g_object_get (G_OBJECT (object), "drive-revision", &value, NULL);
- return value;
-}
-
-/**
- * org_freedesktop_udisks_device_set_drive_revision: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- * @value: The value to set.
- *
- * Sets the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DriveRevision">"DriveRevision"</link> D-Bus property to @value.
- *
- * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
- */
-void
-org_freedesktop_udisks_device_set_drive_revision (OrgFreedesktopUDisksDevice *object, const gchar *value)
-{
- g_object_set (G_OBJECT (object), "drive-revision", value, NULL);
-}
-
-/**
- * org_freedesktop_udisks_device_get_drive_serial: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets the value of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DriveSerial">"DriveSerial"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * <warning>The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where @object was constructed. Use org_freedesktop_udisks_device_dup_drive_serial() if on another thread.</warning>
- *
- * Returns: (transfer none): The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object.
- */
-const gchar *
-org_freedesktop_udisks_device_get_drive_serial (OrgFreedesktopUDisksDevice *object)
-{
- return ORG_FREEDESKTOP_UDISKS_DEVICE_GET_IFACE (object)->get_drive_serial (object);
-}
-
-/**
- * org_freedesktop_udisks_device_dup_drive_serial: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets a copy of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DriveSerial">"DriveSerial"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * Returns: (transfer full): The property value or %NULL if the property is not set. The returned value should be freed with g_free().
- */
-gchar *
-org_freedesktop_udisks_device_dup_drive_serial (OrgFreedesktopUDisksDevice *object)
-{
- gchar *value;
- g_object_get (G_OBJECT (object), "drive-serial", &value, NULL);
- return value;
-}
-
-/**
- * org_freedesktop_udisks_device_set_drive_serial: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- * @value: The value to set.
- *
- * Sets the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DriveSerial">"DriveSerial"</link> D-Bus property to @value.
- *
- * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
- */
-void
-org_freedesktop_udisks_device_set_drive_serial (OrgFreedesktopUDisksDevice *object, const gchar *value)
-{
- g_object_set (G_OBJECT (object), "drive-serial", value, NULL);
-}
-
-/**
- * org_freedesktop_udisks_device_get_drive_wwn: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets the value of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DriveWwn">"DriveWwn"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * <warning>The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where @object was constructed. Use org_freedesktop_udisks_device_dup_drive_wwn() if on another thread.</warning>
- *
- * Returns: (transfer none): The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object.
- */
-const gchar *
-org_freedesktop_udisks_device_get_drive_wwn (OrgFreedesktopUDisksDevice *object)
-{
- return ORG_FREEDESKTOP_UDISKS_DEVICE_GET_IFACE (object)->get_drive_wwn (object);
-}
-
-/**
- * org_freedesktop_udisks_device_dup_drive_wwn: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets a copy of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DriveWwn">"DriveWwn"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * Returns: (transfer full): The property value or %NULL if the property is not set. The returned value should be freed with g_free().
- */
-gchar *
-org_freedesktop_udisks_device_dup_drive_wwn (OrgFreedesktopUDisksDevice *object)
-{
- gchar *value;
- g_object_get (G_OBJECT (object), "drive-wwn", &value, NULL);
- return value;
-}
-
-/**
- * org_freedesktop_udisks_device_set_drive_wwn: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- * @value: The value to set.
- *
- * Sets the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DriveWwn">"DriveWwn"</link> D-Bus property to @value.
- *
- * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
- */
-void
-org_freedesktop_udisks_device_set_drive_wwn (OrgFreedesktopUDisksDevice *object, const gchar *value)
-{
- g_object_set (G_OBJECT (object), "drive-wwn", value, NULL);
-}
-
-/**
- * org_freedesktop_udisks_device_get_drive_rotation_rate: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets the value of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DriveRotationRate">"DriveRotationRate"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * Returns: The property value.
- */
-guint
-org_freedesktop_udisks_device_get_drive_rotation_rate (OrgFreedesktopUDisksDevice *object)
-{
- return ORG_FREEDESKTOP_UDISKS_DEVICE_GET_IFACE (object)->get_drive_rotation_rate (object);
-}
-
-/**
- * org_freedesktop_udisks_device_set_drive_rotation_rate: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- * @value: The value to set.
- *
- * Sets the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DriveRotationRate">"DriveRotationRate"</link> D-Bus property to @value.
- *
- * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
- */
-void
-org_freedesktop_udisks_device_set_drive_rotation_rate (OrgFreedesktopUDisksDevice *object, guint value)
-{
- g_object_set (G_OBJECT (object), "drive-rotation-rate", value, NULL);
-}
-
-/**
- * org_freedesktop_udisks_device_get_drive_write_cache: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets the value of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DriveWriteCache">"DriveWriteCache"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * <warning>The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where @object was constructed. Use org_freedesktop_udisks_device_dup_drive_write_cache() if on another thread.</warning>
- *
- * Returns: (transfer none): The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object.
- */
-const gchar *
-org_freedesktop_udisks_device_get_drive_write_cache (OrgFreedesktopUDisksDevice *object)
-{
- return ORG_FREEDESKTOP_UDISKS_DEVICE_GET_IFACE (object)->get_drive_write_cache (object);
-}
-
-/**
- * org_freedesktop_udisks_device_dup_drive_write_cache: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets a copy of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DriveWriteCache">"DriveWriteCache"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * Returns: (transfer full): The property value or %NULL if the property is not set. The returned value should be freed with g_free().
- */
-gchar *
-org_freedesktop_udisks_device_dup_drive_write_cache (OrgFreedesktopUDisksDevice *object)
-{
- gchar *value;
- g_object_get (G_OBJECT (object), "drive-write-cache", &value, NULL);
- return value;
-}
-
-/**
- * org_freedesktop_udisks_device_set_drive_write_cache: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- * @value: The value to set.
- *
- * Sets the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DriveWriteCache">"DriveWriteCache"</link> D-Bus property to @value.
- *
- * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
- */
-void
-org_freedesktop_udisks_device_set_drive_write_cache (OrgFreedesktopUDisksDevice *object, const gchar *value)
-{
- g_object_set (G_OBJECT (object), "drive-write-cache", value, NULL);
-}
-
-/**
- * org_freedesktop_udisks_device_get_drive_connection_interface: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets the value of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DriveConnectionInterface">"DriveConnectionInterface"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * <warning>The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where @object was constructed. Use org_freedesktop_udisks_device_dup_drive_connection_interface() if on another thread.</warning>
- *
- * Returns: (transfer none): The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object.
- */
-const gchar *
-org_freedesktop_udisks_device_get_drive_connection_interface (OrgFreedesktopUDisksDevice *object)
-{
- return ORG_FREEDESKTOP_UDISKS_DEVICE_GET_IFACE (object)->get_drive_connection_interface (object);
-}
-
-/**
- * org_freedesktop_udisks_device_dup_drive_connection_interface: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets a copy of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DriveConnectionInterface">"DriveConnectionInterface"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * Returns: (transfer full): The property value or %NULL if the property is not set. The returned value should be freed with g_free().
- */
-gchar *
-org_freedesktop_udisks_device_dup_drive_connection_interface (OrgFreedesktopUDisksDevice *object)
-{
- gchar *value;
- g_object_get (G_OBJECT (object), "drive-connection-interface", &value, NULL);
- return value;
-}
-
-/**
- * org_freedesktop_udisks_device_set_drive_connection_interface: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- * @value: The value to set.
- *
- * Sets the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DriveConnectionInterface">"DriveConnectionInterface"</link> D-Bus property to @value.
- *
- * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
- */
-void
-org_freedesktop_udisks_device_set_drive_connection_interface (OrgFreedesktopUDisksDevice *object, const gchar *value)
-{
- g_object_set (G_OBJECT (object), "drive-connection-interface", value, NULL);
-}
-
-/**
- * org_freedesktop_udisks_device_get_drive_connection_speed: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets the value of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DriveConnectionSpeed">"DriveConnectionSpeed"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * Returns: The property value.
- */
-guint64
-org_freedesktop_udisks_device_get_drive_connection_speed (OrgFreedesktopUDisksDevice *object)
-{
- return ORG_FREEDESKTOP_UDISKS_DEVICE_GET_IFACE (object)->get_drive_connection_speed (object);
-}
-
-/**
- * org_freedesktop_udisks_device_set_drive_connection_speed: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- * @value: The value to set.
- *
- * Sets the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DriveConnectionSpeed">"DriveConnectionSpeed"</link> D-Bus property to @value.
- *
- * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
- */
-void
-org_freedesktop_udisks_device_set_drive_connection_speed (OrgFreedesktopUDisksDevice *object, guint64 value)
-{
- g_object_set (G_OBJECT (object), "drive-connection-speed", value, NULL);
-}
-
-/**
- * org_freedesktop_udisks_device_get_drive_media_compatibility: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets the value of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DriveMediaCompatibility">"DriveMediaCompatibility"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * <warning>The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where @object was constructed. Use org_freedesktop_udisks_device_dup_drive_media_compatibility() if on another thread.</warning>
- *
- * Returns: (transfer none): The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object.
- */
-const gchar *const *
-org_freedesktop_udisks_device_get_drive_media_compatibility (OrgFreedesktopUDisksDevice *object)
-{
- return ORG_FREEDESKTOP_UDISKS_DEVICE_GET_IFACE (object)->get_drive_media_compatibility (object);
-}
-
-/**
- * org_freedesktop_udisks_device_dup_drive_media_compatibility: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets a copy of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DriveMediaCompatibility">"DriveMediaCompatibility"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * Returns: (transfer full): The property value or %NULL if the property is not set. The returned value should be freed with g_strfreev().
- */
-gchar **
-org_freedesktop_udisks_device_dup_drive_media_compatibility (OrgFreedesktopUDisksDevice *object)
-{
- gchar **value;
- g_object_get (G_OBJECT (object), "drive-media-compatibility", &value, NULL);
- return value;
-}
-
-/**
- * org_freedesktop_udisks_device_set_drive_media_compatibility: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- * @value: The value to set.
- *
- * Sets the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DriveMediaCompatibility">"DriveMediaCompatibility"</link> D-Bus property to @value.
- *
- * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
- */
-void
-org_freedesktop_udisks_device_set_drive_media_compatibility (OrgFreedesktopUDisksDevice *object, const gchar *const *value)
-{
- g_object_set (G_OBJECT (object), "drive-media-compatibility", value, NULL);
-}
-
-/**
- * org_freedesktop_udisks_device_get_drive_media: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets the value of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DriveMedia">"DriveMedia"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * <warning>The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where @object was constructed. Use org_freedesktop_udisks_device_dup_drive_media() if on another thread.</warning>
- *
- * Returns: (transfer none): The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object.
- */
-const gchar *
-org_freedesktop_udisks_device_get_drive_media (OrgFreedesktopUDisksDevice *object)
-{
- return ORG_FREEDESKTOP_UDISKS_DEVICE_GET_IFACE (object)->get_drive_media (object);
-}
-
-/**
- * org_freedesktop_udisks_device_dup_drive_media: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets a copy of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DriveMedia">"DriveMedia"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * Returns: (transfer full): The property value or %NULL if the property is not set. The returned value should be freed with g_free().
- */
-gchar *
-org_freedesktop_udisks_device_dup_drive_media (OrgFreedesktopUDisksDevice *object)
-{
- gchar *value;
- g_object_get (G_OBJECT (object), "drive-media", &value, NULL);
- return value;
-}
-
-/**
- * org_freedesktop_udisks_device_set_drive_media: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- * @value: The value to set.
- *
- * Sets the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DriveMedia">"DriveMedia"</link> D-Bus property to @value.
- *
- * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
- */
-void
-org_freedesktop_udisks_device_set_drive_media (OrgFreedesktopUDisksDevice *object, const gchar *value)
-{
- g_object_set (G_OBJECT (object), "drive-media", value, NULL);
-}
-
-/**
- * org_freedesktop_udisks_device_get_drive_is_media_ejectable: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets the value of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DriveIsMediaEjectable">"DriveIsMediaEjectable"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * Returns: The property value.
- */
-gboolean
-org_freedesktop_udisks_device_get_drive_is_media_ejectable (OrgFreedesktopUDisksDevice *object)
-{
- return ORG_FREEDESKTOP_UDISKS_DEVICE_GET_IFACE (object)->get_drive_is_media_ejectable (object);
-}
-
-/**
- * org_freedesktop_udisks_device_set_drive_is_media_ejectable: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- * @value: The value to set.
- *
- * Sets the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DriveIsMediaEjectable">"DriveIsMediaEjectable"</link> D-Bus property to @value.
- *
- * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
- */
-void
-org_freedesktop_udisks_device_set_drive_is_media_ejectable (OrgFreedesktopUDisksDevice *object, gboolean value)
-{
- g_object_set (G_OBJECT (object), "drive-is-media-ejectable", value, NULL);
-}
-
-/**
- * org_freedesktop_udisks_device_get_drive_can_detach: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets the value of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DriveCanDetach">"DriveCanDetach"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * Returns: The property value.
- */
-gboolean
-org_freedesktop_udisks_device_get_drive_can_detach (OrgFreedesktopUDisksDevice *object)
-{
- return ORG_FREEDESKTOP_UDISKS_DEVICE_GET_IFACE (object)->get_drive_can_detach (object);
-}
-
-/**
- * org_freedesktop_udisks_device_set_drive_can_detach: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- * @value: The value to set.
- *
- * Sets the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DriveCanDetach">"DriveCanDetach"</link> D-Bus property to @value.
- *
- * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
- */
-void
-org_freedesktop_udisks_device_set_drive_can_detach (OrgFreedesktopUDisksDevice *object, gboolean value)
-{
- g_object_set (G_OBJECT (object), "drive-can-detach", value, NULL);
-}
-
-/**
- * org_freedesktop_udisks_device_get_drive_can_spindown: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets the value of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DriveCanSpindown">"DriveCanSpindown"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * Returns: The property value.
- */
-gboolean
-org_freedesktop_udisks_device_get_drive_can_spindown (OrgFreedesktopUDisksDevice *object)
-{
- return ORG_FREEDESKTOP_UDISKS_DEVICE_GET_IFACE (object)->get_drive_can_spindown (object);
-}
-
-/**
- * org_freedesktop_udisks_device_set_drive_can_spindown: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- * @value: The value to set.
- *
- * Sets the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DriveCanSpindown">"DriveCanSpindown"</link> D-Bus property to @value.
- *
- * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
- */
-void
-org_freedesktop_udisks_device_set_drive_can_spindown (OrgFreedesktopUDisksDevice *object, gboolean value)
-{
- g_object_set (G_OBJECT (object), "drive-can-spindown", value, NULL);
-}
-
-/**
- * org_freedesktop_udisks_device_get_drive_is_rotational: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets the value of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DriveIsRotational">"DriveIsRotational"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * Returns: The property value.
- */
-gboolean
-org_freedesktop_udisks_device_get_drive_is_rotational (OrgFreedesktopUDisksDevice *object)
-{
- return ORG_FREEDESKTOP_UDISKS_DEVICE_GET_IFACE (object)->get_drive_is_rotational (object);
-}
-
-/**
- * org_freedesktop_udisks_device_set_drive_is_rotational: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- * @value: The value to set.
- *
- * Sets the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DriveIsRotational">"DriveIsRotational"</link> D-Bus property to @value.
- *
- * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
- */
-void
-org_freedesktop_udisks_device_set_drive_is_rotational (OrgFreedesktopUDisksDevice *object, gboolean value)
-{
- g_object_set (G_OBJECT (object), "drive-is-rotational", value, NULL);
-}
-
-/**
- * org_freedesktop_udisks_device_get_drive_adapter: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets the value of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DriveAdapter">"DriveAdapter"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * <warning>The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where @object was constructed. Use org_freedesktop_udisks_device_dup_drive_adapter() if on another thread.</warning>
- *
- * Returns: (transfer none): The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object.
- */
-const gchar *
-org_freedesktop_udisks_device_get_drive_adapter (OrgFreedesktopUDisksDevice *object)
-{
- return ORG_FREEDESKTOP_UDISKS_DEVICE_GET_IFACE (object)->get_drive_adapter (object);
-}
-
-/**
- * org_freedesktop_udisks_device_dup_drive_adapter: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets a copy of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DriveAdapter">"DriveAdapter"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * Returns: (transfer full): The property value or %NULL if the property is not set. The returned value should be freed with g_free().
- */
-gchar *
-org_freedesktop_udisks_device_dup_drive_adapter (OrgFreedesktopUDisksDevice *object)
-{
- gchar *value;
- g_object_get (G_OBJECT (object), "drive-adapter", &value, NULL);
- return value;
-}
-
-/**
- * org_freedesktop_udisks_device_set_drive_adapter: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- * @value: The value to set.
- *
- * Sets the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DriveAdapter">"DriveAdapter"</link> D-Bus property to @value.
- *
- * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
- */
-void
-org_freedesktop_udisks_device_set_drive_adapter (OrgFreedesktopUDisksDevice *object, const gchar *value)
-{
- g_object_set (G_OBJECT (object), "drive-adapter", value, NULL);
-}
-
-/**
- * org_freedesktop_udisks_device_get_drive_ports: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets the value of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DrivePorts">"DrivePorts"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * <warning>The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where @object was constructed. Use org_freedesktop_udisks_device_dup_drive_ports() if on another thread.</warning>
- *
- * Returns: (transfer none): The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object.
- */
-const gchar *const *
-org_freedesktop_udisks_device_get_drive_ports (OrgFreedesktopUDisksDevice *object)
-{
- return ORG_FREEDESKTOP_UDISKS_DEVICE_GET_IFACE (object)->get_drive_ports (object);
-}
-
-/**
- * org_freedesktop_udisks_device_dup_drive_ports: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets a copy of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DrivePorts">"DrivePorts"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * Returns: (transfer full): The property value or %NULL if the property is not set. The returned value should be freed with g_strfreev().
- */
-gchar **
-org_freedesktop_udisks_device_dup_drive_ports (OrgFreedesktopUDisksDevice *object)
-{
- gchar **value;
- g_object_get (G_OBJECT (object), "drive-ports", &value, NULL);
- return value;
-}
-
-/**
- * org_freedesktop_udisks_device_set_drive_ports: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- * @value: The value to set.
- *
- * Sets the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DrivePorts">"DrivePorts"</link> D-Bus property to @value.
- *
- * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
- */
-void
-org_freedesktop_udisks_device_set_drive_ports (OrgFreedesktopUDisksDevice *object, const gchar *const *value)
-{
- g_object_set (G_OBJECT (object), "drive-ports", value, NULL);
-}
-
-/**
- * org_freedesktop_udisks_device_get_drive_similar_devices: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets the value of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DriveSimilarDevices">"DriveSimilarDevices"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * <warning>The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where @object was constructed. Use org_freedesktop_udisks_device_dup_drive_similar_devices() if on another thread.</warning>
- *
- * Returns: (transfer none): The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object.
- */
-const gchar *const *
-org_freedesktop_udisks_device_get_drive_similar_devices (OrgFreedesktopUDisksDevice *object)
-{
- return ORG_FREEDESKTOP_UDISKS_DEVICE_GET_IFACE (object)->get_drive_similar_devices (object);
-}
-
-/**
- * org_freedesktop_udisks_device_dup_drive_similar_devices: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets a copy of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DriveSimilarDevices">"DriveSimilarDevices"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * Returns: (transfer full): The property value or %NULL if the property is not set. The returned value should be freed with g_strfreev().
- */
-gchar **
-org_freedesktop_udisks_device_dup_drive_similar_devices (OrgFreedesktopUDisksDevice *object)
-{
- gchar **value;
- g_object_get (G_OBJECT (object), "drive-similar-devices", &value, NULL);
- return value;
-}
-
-/**
- * org_freedesktop_udisks_device_set_drive_similar_devices: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- * @value: The value to set.
- *
- * Sets the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DriveSimilarDevices">"DriveSimilarDevices"</link> D-Bus property to @value.
- *
- * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
- */
-void
-org_freedesktop_udisks_device_set_drive_similar_devices (OrgFreedesktopUDisksDevice *object, const gchar *const *value)
-{
- g_object_set (G_OBJECT (object), "drive-similar-devices", value, NULL);
-}
-
-/**
- * org_freedesktop_udisks_device_get_optical_disc_is_blank: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets the value of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.OpticalDiscIsBlank">"OpticalDiscIsBlank"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * Returns: The property value.
- */
-gboolean
-org_freedesktop_udisks_device_get_optical_disc_is_blank (OrgFreedesktopUDisksDevice *object)
-{
- return ORG_FREEDESKTOP_UDISKS_DEVICE_GET_IFACE (object)->get_optical_disc_is_blank (object);
-}
-
-/**
- * org_freedesktop_udisks_device_set_optical_disc_is_blank: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- * @value: The value to set.
- *
- * Sets the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.OpticalDiscIsBlank">"OpticalDiscIsBlank"</link> D-Bus property to @value.
- *
- * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
- */
-void
-org_freedesktop_udisks_device_set_optical_disc_is_blank (OrgFreedesktopUDisksDevice *object, gboolean value)
-{
- g_object_set (G_OBJECT (object), "optical-disc-is-blank", value, NULL);
-}
-
-/**
- * org_freedesktop_udisks_device_get_optical_disc_is_appendable: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets the value of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.OpticalDiscIsAppendable">"OpticalDiscIsAppendable"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * Returns: The property value.
- */
-gboolean
-org_freedesktop_udisks_device_get_optical_disc_is_appendable (OrgFreedesktopUDisksDevice *object)
-{
- return ORG_FREEDESKTOP_UDISKS_DEVICE_GET_IFACE (object)->get_optical_disc_is_appendable (object);
-}
-
-/**
- * org_freedesktop_udisks_device_set_optical_disc_is_appendable: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- * @value: The value to set.
- *
- * Sets the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.OpticalDiscIsAppendable">"OpticalDiscIsAppendable"</link> D-Bus property to @value.
- *
- * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
- */
-void
-org_freedesktop_udisks_device_set_optical_disc_is_appendable (OrgFreedesktopUDisksDevice *object, gboolean value)
-{
- g_object_set (G_OBJECT (object), "optical-disc-is-appendable", value, NULL);
-}
-
-/**
- * org_freedesktop_udisks_device_get_optical_disc_is_closed: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets the value of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.OpticalDiscIsClosed">"OpticalDiscIsClosed"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * Returns: The property value.
- */
-gboolean
-org_freedesktop_udisks_device_get_optical_disc_is_closed (OrgFreedesktopUDisksDevice *object)
-{
- return ORG_FREEDESKTOP_UDISKS_DEVICE_GET_IFACE (object)->get_optical_disc_is_closed (object);
-}
-
-/**
- * org_freedesktop_udisks_device_set_optical_disc_is_closed: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- * @value: The value to set.
- *
- * Sets the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.OpticalDiscIsClosed">"OpticalDiscIsClosed"</link> D-Bus property to @value.
- *
- * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
- */
-void
-org_freedesktop_udisks_device_set_optical_disc_is_closed (OrgFreedesktopUDisksDevice *object, gboolean value)
-{
- g_object_set (G_OBJECT (object), "optical-disc-is-closed", value, NULL);
-}
-
-/**
- * org_freedesktop_udisks_device_get_optical_disc_num_tracks: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets the value of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.OpticalDiscNumTracks">"OpticalDiscNumTracks"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * Returns: The property value.
- */
-guint
-org_freedesktop_udisks_device_get_optical_disc_num_tracks (OrgFreedesktopUDisksDevice *object)
-{
- return ORG_FREEDESKTOP_UDISKS_DEVICE_GET_IFACE (object)->get_optical_disc_num_tracks (object);
-}
-
-/**
- * org_freedesktop_udisks_device_set_optical_disc_num_tracks: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- * @value: The value to set.
- *
- * Sets the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.OpticalDiscNumTracks">"OpticalDiscNumTracks"</link> D-Bus property to @value.
- *
- * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
- */
-void
-org_freedesktop_udisks_device_set_optical_disc_num_tracks (OrgFreedesktopUDisksDevice *object, guint value)
-{
- g_object_set (G_OBJECT (object), "optical-disc-num-tracks", value, NULL);
-}
-
-/**
- * org_freedesktop_udisks_device_get_optical_disc_num_audio_tracks: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets the value of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.OpticalDiscNumAudioTracks">"OpticalDiscNumAudioTracks"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * Returns: The property value.
- */
-guint
-org_freedesktop_udisks_device_get_optical_disc_num_audio_tracks (OrgFreedesktopUDisksDevice *object)
-{
- return ORG_FREEDESKTOP_UDISKS_DEVICE_GET_IFACE (object)->get_optical_disc_num_audio_tracks (object);
-}
-
-/**
- * org_freedesktop_udisks_device_set_optical_disc_num_audio_tracks: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- * @value: The value to set.
- *
- * Sets the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.OpticalDiscNumAudioTracks">"OpticalDiscNumAudioTracks"</link> D-Bus property to @value.
- *
- * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
- */
-void
-org_freedesktop_udisks_device_set_optical_disc_num_audio_tracks (OrgFreedesktopUDisksDevice *object, guint value)
-{
- g_object_set (G_OBJECT (object), "optical-disc-num-audio-tracks", value, NULL);
-}
-
-/**
- * org_freedesktop_udisks_device_get_optical_disc_num_sessions: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets the value of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.OpticalDiscNumSessions">"OpticalDiscNumSessions"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * Returns: The property value.
- */
-guint
-org_freedesktop_udisks_device_get_optical_disc_num_sessions (OrgFreedesktopUDisksDevice *object)
-{
- return ORG_FREEDESKTOP_UDISKS_DEVICE_GET_IFACE (object)->get_optical_disc_num_sessions (object);
-}
-
-/**
- * org_freedesktop_udisks_device_set_optical_disc_num_sessions: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- * @value: The value to set.
- *
- * Sets the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.OpticalDiscNumSessions">"OpticalDiscNumSessions"</link> D-Bus property to @value.
- *
- * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
- */
-void
-org_freedesktop_udisks_device_set_optical_disc_num_sessions (OrgFreedesktopUDisksDevice *object, guint value)
-{
- g_object_set (G_OBJECT (object), "optical-disc-num-sessions", value, NULL);
-}
-
-/**
- * org_freedesktop_udisks_device_get_drive_ata_smart_is_available: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets the value of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DriveAtaSmartIsAvailable">"DriveAtaSmartIsAvailable"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * Returns: The property value.
- */
-gboolean
-org_freedesktop_udisks_device_get_drive_ata_smart_is_available (OrgFreedesktopUDisksDevice *object)
-{
- return ORG_FREEDESKTOP_UDISKS_DEVICE_GET_IFACE (object)->get_drive_ata_smart_is_available (object);
-}
-
-/**
- * org_freedesktop_udisks_device_set_drive_ata_smart_is_available: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- * @value: The value to set.
- *
- * Sets the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DriveAtaSmartIsAvailable">"DriveAtaSmartIsAvailable"</link> D-Bus property to @value.
- *
- * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
- */
-void
-org_freedesktop_udisks_device_set_drive_ata_smart_is_available (OrgFreedesktopUDisksDevice *object, gboolean value)
-{
- g_object_set (G_OBJECT (object), "drive-ata-smart-is-available", value, NULL);
-}
-
-/**
- * org_freedesktop_udisks_device_get_drive_ata_smart_time_collected: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets the value of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DriveAtaSmartTimeCollected">"DriveAtaSmartTimeCollected"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * Returns: The property value.
- */
-guint64
-org_freedesktop_udisks_device_get_drive_ata_smart_time_collected (OrgFreedesktopUDisksDevice *object)
-{
- return ORG_FREEDESKTOP_UDISKS_DEVICE_GET_IFACE (object)->get_drive_ata_smart_time_collected (object);
-}
-
-/**
- * org_freedesktop_udisks_device_set_drive_ata_smart_time_collected: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- * @value: The value to set.
- *
- * Sets the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DriveAtaSmartTimeCollected">"DriveAtaSmartTimeCollected"</link> D-Bus property to @value.
- *
- * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
- */
-void
-org_freedesktop_udisks_device_set_drive_ata_smart_time_collected (OrgFreedesktopUDisksDevice *object, guint64 value)
-{
- g_object_set (G_OBJECT (object), "drive-ata-smart-time-collected", value, NULL);
-}
-
-/**
- * org_freedesktop_udisks_device_get_drive_ata_smart_status: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets the value of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DriveAtaSmartStatus">"DriveAtaSmartStatus"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * <warning>The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where @object was constructed. Use org_freedesktop_udisks_device_dup_drive_ata_smart_status() if on another thread.</warning>
- *
- * Returns: (transfer none): The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object.
- */
-const gchar *
-org_freedesktop_udisks_device_get_drive_ata_smart_status (OrgFreedesktopUDisksDevice *object)
-{
- return ORG_FREEDESKTOP_UDISKS_DEVICE_GET_IFACE (object)->get_drive_ata_smart_status (object);
-}
-
-/**
- * org_freedesktop_udisks_device_dup_drive_ata_smart_status: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets a copy of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DriveAtaSmartStatus">"DriveAtaSmartStatus"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * Returns: (transfer full): The property value or %NULL if the property is not set. The returned value should be freed with g_free().
- */
-gchar *
-org_freedesktop_udisks_device_dup_drive_ata_smart_status (OrgFreedesktopUDisksDevice *object)
-{
- gchar *value;
- g_object_get (G_OBJECT (object), "drive-ata-smart-status", &value, NULL);
- return value;
-}
-
-/**
- * org_freedesktop_udisks_device_set_drive_ata_smart_status: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- * @value: The value to set.
- *
- * Sets the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DriveAtaSmartStatus">"DriveAtaSmartStatus"</link> D-Bus property to @value.
- *
- * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
- */
-void
-org_freedesktop_udisks_device_set_drive_ata_smart_status (OrgFreedesktopUDisksDevice *object, const gchar *value)
-{
- g_object_set (G_OBJECT (object), "drive-ata-smart-status", value, NULL);
-}
-
-/**
- * org_freedesktop_udisks_device_get_drive_ata_smart_blob: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets the value of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DriveAtaSmartBlob">"DriveAtaSmartBlob"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * <warning>The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where @object was constructed. Use org_freedesktop_udisks_device_dup_drive_ata_smart_blob() if on another thread.</warning>
- *
- * Returns: (transfer none): The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object.
- */
-const gchar *
-org_freedesktop_udisks_device_get_drive_ata_smart_blob (OrgFreedesktopUDisksDevice *object)
-{
- return ORG_FREEDESKTOP_UDISKS_DEVICE_GET_IFACE (object)->get_drive_ata_smart_blob (object);
-}
-
-/**
- * org_freedesktop_udisks_device_dup_drive_ata_smart_blob: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets a copy of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DriveAtaSmartBlob">"DriveAtaSmartBlob"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * Returns: (transfer full): The property value or %NULL if the property is not set. The returned value should be freed with g_free().
- */
-gchar *
-org_freedesktop_udisks_device_dup_drive_ata_smart_blob (OrgFreedesktopUDisksDevice *object)
-{
- gchar *value;
- g_object_get (G_OBJECT (object), "drive-ata-smart-blob", &value, NULL);
- return value;
-}
-
-/**
- * org_freedesktop_udisks_device_set_drive_ata_smart_blob: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- * @value: The value to set.
- *
- * Sets the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.DriveAtaSmartBlob">"DriveAtaSmartBlob"</link> D-Bus property to @value.
- *
- * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
- */
-void
-org_freedesktop_udisks_device_set_drive_ata_smart_blob (OrgFreedesktopUDisksDevice *object, const gchar *value)
-{
- g_object_set (G_OBJECT (object), "drive-ata-smart-blob", value, NULL);
-}
-
-/**
- * org_freedesktop_udisks_device_get_linux_md_component_level: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets the value of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.LinuxMdComponentLevel">"LinuxMdComponentLevel"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * <warning>The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where @object was constructed. Use org_freedesktop_udisks_device_dup_linux_md_component_level() if on another thread.</warning>
- *
- * Returns: (transfer none): The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object.
- */
-const gchar *
-org_freedesktop_udisks_device_get_linux_md_component_level (OrgFreedesktopUDisksDevice *object)
-{
- return ORG_FREEDESKTOP_UDISKS_DEVICE_GET_IFACE (object)->get_linux_md_component_level (object);
-}
-
-/**
- * org_freedesktop_udisks_device_dup_linux_md_component_level: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets a copy of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.LinuxMdComponentLevel">"LinuxMdComponentLevel"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * Returns: (transfer full): The property value or %NULL if the property is not set. The returned value should be freed with g_free().
- */
-gchar *
-org_freedesktop_udisks_device_dup_linux_md_component_level (OrgFreedesktopUDisksDevice *object)
-{
- gchar *value;
- g_object_get (G_OBJECT (object), "linux-md-component-level", &value, NULL);
- return value;
-}
-
-/**
- * org_freedesktop_udisks_device_set_linux_md_component_level: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- * @value: The value to set.
- *
- * Sets the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.LinuxMdComponentLevel">"LinuxMdComponentLevel"</link> D-Bus property to @value.
- *
- * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
- */
-void
-org_freedesktop_udisks_device_set_linux_md_component_level (OrgFreedesktopUDisksDevice *object, const gchar *value)
-{
- g_object_set (G_OBJECT (object), "linux-md-component-level", value, NULL);
-}
-
-/**
- * org_freedesktop_udisks_device_get_linux_md_component_position: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets the value of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.LinuxMdComponentPosition">"LinuxMdComponentPosition"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * Returns: The property value.
- */
-gint
-org_freedesktop_udisks_device_get_linux_md_component_position (OrgFreedesktopUDisksDevice *object)
-{
- return ORG_FREEDESKTOP_UDISKS_DEVICE_GET_IFACE (object)->get_linux_md_component_position (object);
-}
-
-/**
- * org_freedesktop_udisks_device_set_linux_md_component_position: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- * @value: The value to set.
- *
- * Sets the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.LinuxMdComponentPosition">"LinuxMdComponentPosition"</link> D-Bus property to @value.
- *
- * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
- */
-void
-org_freedesktop_udisks_device_set_linux_md_component_position (OrgFreedesktopUDisksDevice *object, gint value)
-{
- g_object_set (G_OBJECT (object), "linux-md-component-position", value, NULL);
-}
-
-/**
- * org_freedesktop_udisks_device_get_linux_md_component_num_raid_devices: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets the value of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.LinuxMdComponentNumRaidDevices">"LinuxMdComponentNumRaidDevices"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * Returns: The property value.
- */
-gint
-org_freedesktop_udisks_device_get_linux_md_component_num_raid_devices (OrgFreedesktopUDisksDevice *object)
-{
- return ORG_FREEDESKTOP_UDISKS_DEVICE_GET_IFACE (object)->get_linux_md_component_num_raid_devices (object);
-}
-
-/**
- * org_freedesktop_udisks_device_set_linux_md_component_num_raid_devices: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- * @value: The value to set.
- *
- * Sets the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.LinuxMdComponentNumRaidDevices">"LinuxMdComponentNumRaidDevices"</link> D-Bus property to @value.
- *
- * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
- */
-void
-org_freedesktop_udisks_device_set_linux_md_component_num_raid_devices (OrgFreedesktopUDisksDevice *object, gint value)
-{
- g_object_set (G_OBJECT (object), "linux-md-component-num-raid-devices", value, NULL);
-}
-
-/**
- * org_freedesktop_udisks_device_get_linux_md_component_uuid: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets the value of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.LinuxMdComponentUuid">"LinuxMdComponentUuid"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * <warning>The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where @object was constructed. Use org_freedesktop_udisks_device_dup_linux_md_component_uuid() if on another thread.</warning>
- *
- * Returns: (transfer none): The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object.
- */
-const gchar *
-org_freedesktop_udisks_device_get_linux_md_component_uuid (OrgFreedesktopUDisksDevice *object)
-{
- return ORG_FREEDESKTOP_UDISKS_DEVICE_GET_IFACE (object)->get_linux_md_component_uuid (object);
-}
-
-/**
- * org_freedesktop_udisks_device_dup_linux_md_component_uuid: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets a copy of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.LinuxMdComponentUuid">"LinuxMdComponentUuid"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * Returns: (transfer full): The property value or %NULL if the property is not set. The returned value should be freed with g_free().
- */
-gchar *
-org_freedesktop_udisks_device_dup_linux_md_component_uuid (OrgFreedesktopUDisksDevice *object)
-{
- gchar *value;
- g_object_get (G_OBJECT (object), "linux-md-component-uuid", &value, NULL);
- return value;
-}
-
-/**
- * org_freedesktop_udisks_device_set_linux_md_component_uuid: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- * @value: The value to set.
- *
- * Sets the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.LinuxMdComponentUuid">"LinuxMdComponentUuid"</link> D-Bus property to @value.
- *
- * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
- */
-void
-org_freedesktop_udisks_device_set_linux_md_component_uuid (OrgFreedesktopUDisksDevice *object, const gchar *value)
-{
- g_object_set (G_OBJECT (object), "linux-md-component-uuid", value, NULL);
-}
-
-/**
- * org_freedesktop_udisks_device_get_linux_md_component_name: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets the value of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.LinuxMdComponentName">"LinuxMdComponentName"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * <warning>The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where @object was constructed. Use org_freedesktop_udisks_device_dup_linux_md_component_name() if on another thread.</warning>
- *
- * Returns: (transfer none): The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object.
- */
-const gchar *
-org_freedesktop_udisks_device_get_linux_md_component_name (OrgFreedesktopUDisksDevice *object)
-{
- return ORG_FREEDESKTOP_UDISKS_DEVICE_GET_IFACE (object)->get_linux_md_component_name (object);
-}
-
-/**
- * org_freedesktop_udisks_device_dup_linux_md_component_name: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets a copy of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.LinuxMdComponentName">"LinuxMdComponentName"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * Returns: (transfer full): The property value or %NULL if the property is not set. The returned value should be freed with g_free().
- */
-gchar *
-org_freedesktop_udisks_device_dup_linux_md_component_name (OrgFreedesktopUDisksDevice *object)
-{
- gchar *value;
- g_object_get (G_OBJECT (object), "linux-md-component-name", &value, NULL);
- return value;
-}
-
-/**
- * org_freedesktop_udisks_device_set_linux_md_component_name: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- * @value: The value to set.
- *
- * Sets the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.LinuxMdComponentName">"LinuxMdComponentName"</link> D-Bus property to @value.
- *
- * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
- */
-void
-org_freedesktop_udisks_device_set_linux_md_component_name (OrgFreedesktopUDisksDevice *object, const gchar *value)
-{
- g_object_set (G_OBJECT (object), "linux-md-component-name", value, NULL);
-}
-
-/**
- * org_freedesktop_udisks_device_get_linux_md_component_home_host: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets the value of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.LinuxMdComponentHomeHost">"LinuxMdComponentHomeHost"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * <warning>The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where @object was constructed. Use org_freedesktop_udisks_device_dup_linux_md_component_home_host() if on another thread.</warning>
- *
- * Returns: (transfer none): The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object.
- */
-const gchar *
-org_freedesktop_udisks_device_get_linux_md_component_home_host (OrgFreedesktopUDisksDevice *object)
-{
- return ORG_FREEDESKTOP_UDISKS_DEVICE_GET_IFACE (object)->get_linux_md_component_home_host (object);
-}
-
-/**
- * org_freedesktop_udisks_device_dup_linux_md_component_home_host: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets a copy of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.LinuxMdComponentHomeHost">"LinuxMdComponentHomeHost"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * Returns: (transfer full): The property value or %NULL if the property is not set. The returned value should be freed with g_free().
- */
-gchar *
-org_freedesktop_udisks_device_dup_linux_md_component_home_host (OrgFreedesktopUDisksDevice *object)
-{
- gchar *value;
- g_object_get (G_OBJECT (object), "linux-md-component-home-host", &value, NULL);
- return value;
-}
-
-/**
- * org_freedesktop_udisks_device_set_linux_md_component_home_host: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- * @value: The value to set.
- *
- * Sets the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.LinuxMdComponentHomeHost">"LinuxMdComponentHomeHost"</link> D-Bus property to @value.
- *
- * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
- */
-void
-org_freedesktop_udisks_device_set_linux_md_component_home_host (OrgFreedesktopUDisksDevice *object, const gchar *value)
-{
- g_object_set (G_OBJECT (object), "linux-md-component-home-host", value, NULL);
-}
-
-/**
- * org_freedesktop_udisks_device_get_linux_md_component_version: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets the value of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.LinuxMdComponentVersion">"LinuxMdComponentVersion"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * <warning>The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where @object was constructed. Use org_freedesktop_udisks_device_dup_linux_md_component_version() if on another thread.</warning>
- *
- * Returns: (transfer none): The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object.
- */
-const gchar *
-org_freedesktop_udisks_device_get_linux_md_component_version (OrgFreedesktopUDisksDevice *object)
-{
- return ORG_FREEDESKTOP_UDISKS_DEVICE_GET_IFACE (object)->get_linux_md_component_version (object);
-}
-
-/**
- * org_freedesktop_udisks_device_dup_linux_md_component_version: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets a copy of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.LinuxMdComponentVersion">"LinuxMdComponentVersion"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * Returns: (transfer full): The property value or %NULL if the property is not set. The returned value should be freed with g_free().
- */
-gchar *
-org_freedesktop_udisks_device_dup_linux_md_component_version (OrgFreedesktopUDisksDevice *object)
-{
- gchar *value;
- g_object_get (G_OBJECT (object), "linux-md-component-version", &value, NULL);
- return value;
-}
-
-/**
- * org_freedesktop_udisks_device_set_linux_md_component_version: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- * @value: The value to set.
- *
- * Sets the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.LinuxMdComponentVersion">"LinuxMdComponentVersion"</link> D-Bus property to @value.
- *
- * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
- */
-void
-org_freedesktop_udisks_device_set_linux_md_component_version (OrgFreedesktopUDisksDevice *object, const gchar *value)
-{
- g_object_set (G_OBJECT (object), "linux-md-component-version", value, NULL);
-}
-
-/**
- * org_freedesktop_udisks_device_get_linux_md_component_holder: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets the value of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.LinuxMdComponentHolder">"LinuxMdComponentHolder"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * <warning>The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where @object was constructed. Use org_freedesktop_udisks_device_dup_linux_md_component_holder() if on another thread.</warning>
- *
- * Returns: (transfer none): The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object.
- */
-const gchar *
-org_freedesktop_udisks_device_get_linux_md_component_holder (OrgFreedesktopUDisksDevice *object)
-{
- return ORG_FREEDESKTOP_UDISKS_DEVICE_GET_IFACE (object)->get_linux_md_component_holder (object);
-}
-
-/**
- * org_freedesktop_udisks_device_dup_linux_md_component_holder: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets a copy of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.LinuxMdComponentHolder">"LinuxMdComponentHolder"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * Returns: (transfer full): The property value or %NULL if the property is not set. The returned value should be freed with g_free().
- */
-gchar *
-org_freedesktop_udisks_device_dup_linux_md_component_holder (OrgFreedesktopUDisksDevice *object)
-{
- gchar *value;
- g_object_get (G_OBJECT (object), "linux-md-component-holder", &value, NULL);
- return value;
-}
-
-/**
- * org_freedesktop_udisks_device_set_linux_md_component_holder: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- * @value: The value to set.
- *
- * Sets the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.LinuxMdComponentHolder">"LinuxMdComponentHolder"</link> D-Bus property to @value.
- *
- * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
- */
-void
-org_freedesktop_udisks_device_set_linux_md_component_holder (OrgFreedesktopUDisksDevice *object, const gchar *value)
-{
- g_object_set (G_OBJECT (object), "linux-md-component-holder", value, NULL);
-}
-
-/**
- * org_freedesktop_udisks_device_get_linux_md_component_state: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets the value of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.LinuxMdComponentState">"LinuxMdComponentState"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * <warning>The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where @object was constructed. Use org_freedesktop_udisks_device_dup_linux_md_component_state() if on another thread.</warning>
- *
- * Returns: (transfer none): The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object.
- */
-const gchar *const *
-org_freedesktop_udisks_device_get_linux_md_component_state (OrgFreedesktopUDisksDevice *object)
-{
- return ORG_FREEDESKTOP_UDISKS_DEVICE_GET_IFACE (object)->get_linux_md_component_state (object);
-}
-
-/**
- * org_freedesktop_udisks_device_dup_linux_md_component_state: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets a copy of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.LinuxMdComponentState">"LinuxMdComponentState"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * Returns: (transfer full): The property value or %NULL if the property is not set. The returned value should be freed with g_strfreev().
- */
-gchar **
-org_freedesktop_udisks_device_dup_linux_md_component_state (OrgFreedesktopUDisksDevice *object)
-{
- gchar **value;
- g_object_get (G_OBJECT (object), "linux-md-component-state", &value, NULL);
- return value;
-}
-
-/**
- * org_freedesktop_udisks_device_set_linux_md_component_state: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- * @value: The value to set.
- *
- * Sets the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.LinuxMdComponentState">"LinuxMdComponentState"</link> D-Bus property to @value.
- *
- * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
- */
-void
-org_freedesktop_udisks_device_set_linux_md_component_state (OrgFreedesktopUDisksDevice *object, const gchar *const *value)
-{
- g_object_set (G_OBJECT (object), "linux-md-component-state", value, NULL);
-}
-
-/**
- * org_freedesktop_udisks_device_get_linux_md_state: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets the value of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.LinuxMdState">"LinuxMdState"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * <warning>The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where @object was constructed. Use org_freedesktop_udisks_device_dup_linux_md_state() if on another thread.</warning>
- *
- * Returns: (transfer none): The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object.
- */
-const gchar *
-org_freedesktop_udisks_device_get_linux_md_state (OrgFreedesktopUDisksDevice *object)
-{
- return ORG_FREEDESKTOP_UDISKS_DEVICE_GET_IFACE (object)->get_linux_md_state (object);
-}
-
-/**
- * org_freedesktop_udisks_device_dup_linux_md_state: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets a copy of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.LinuxMdState">"LinuxMdState"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * Returns: (transfer full): The property value or %NULL if the property is not set. The returned value should be freed with g_free().
- */
-gchar *
-org_freedesktop_udisks_device_dup_linux_md_state (OrgFreedesktopUDisksDevice *object)
-{
- gchar *value;
- g_object_get (G_OBJECT (object), "linux-md-state", &value, NULL);
- return value;
-}
-
-/**
- * org_freedesktop_udisks_device_set_linux_md_state: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- * @value: The value to set.
- *
- * Sets the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.LinuxMdState">"LinuxMdState"</link> D-Bus property to @value.
- *
- * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
- */
-void
-org_freedesktop_udisks_device_set_linux_md_state (OrgFreedesktopUDisksDevice *object, const gchar *value)
-{
- g_object_set (G_OBJECT (object), "linux-md-state", value, NULL);
-}
-
-/**
- * org_freedesktop_udisks_device_get_linux_md_level: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets the value of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.LinuxMdLevel">"LinuxMdLevel"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * <warning>The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where @object was constructed. Use org_freedesktop_udisks_device_dup_linux_md_level() if on another thread.</warning>
- *
- * Returns: (transfer none): The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object.
- */
-const gchar *
-org_freedesktop_udisks_device_get_linux_md_level (OrgFreedesktopUDisksDevice *object)
-{
- return ORG_FREEDESKTOP_UDISKS_DEVICE_GET_IFACE (object)->get_linux_md_level (object);
-}
-
-/**
- * org_freedesktop_udisks_device_dup_linux_md_level: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets a copy of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.LinuxMdLevel">"LinuxMdLevel"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * Returns: (transfer full): The property value or %NULL if the property is not set. The returned value should be freed with g_free().
- */
-gchar *
-org_freedesktop_udisks_device_dup_linux_md_level (OrgFreedesktopUDisksDevice *object)
-{
- gchar *value;
- g_object_get (G_OBJECT (object), "linux-md-level", &value, NULL);
- return value;
-}
-
-/**
- * org_freedesktop_udisks_device_set_linux_md_level: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- * @value: The value to set.
- *
- * Sets the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.LinuxMdLevel">"LinuxMdLevel"</link> D-Bus property to @value.
- *
- * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
- */
-void
-org_freedesktop_udisks_device_set_linux_md_level (OrgFreedesktopUDisksDevice *object, const gchar *value)
-{
- g_object_set (G_OBJECT (object), "linux-md-level", value, NULL);
-}
-
-/**
- * org_freedesktop_udisks_device_get_linux_md_uuid: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets the value of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.LinuxMdUuid">"LinuxMdUuid"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * <warning>The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where @object was constructed. Use org_freedesktop_udisks_device_dup_linux_md_uuid() if on another thread.</warning>
- *
- * Returns: (transfer none): The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object.
- */
-const gchar *
-org_freedesktop_udisks_device_get_linux_md_uuid (OrgFreedesktopUDisksDevice *object)
-{
- return ORG_FREEDESKTOP_UDISKS_DEVICE_GET_IFACE (object)->get_linux_md_uuid (object);
-}
-
-/**
- * org_freedesktop_udisks_device_dup_linux_md_uuid: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets a copy of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.LinuxMdUuid">"LinuxMdUuid"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * Returns: (transfer full): The property value or %NULL if the property is not set. The returned value should be freed with g_free().
- */
-gchar *
-org_freedesktop_udisks_device_dup_linux_md_uuid (OrgFreedesktopUDisksDevice *object)
-{
- gchar *value;
- g_object_get (G_OBJECT (object), "linux-md-uuid", &value, NULL);
- return value;
-}
-
-/**
- * org_freedesktop_udisks_device_set_linux_md_uuid: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- * @value: The value to set.
- *
- * Sets the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.LinuxMdUuid">"LinuxMdUuid"</link> D-Bus property to @value.
- *
- * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
- */
-void
-org_freedesktop_udisks_device_set_linux_md_uuid (OrgFreedesktopUDisksDevice *object, const gchar *value)
-{
- g_object_set (G_OBJECT (object), "linux-md-uuid", value, NULL);
-}
-
-/**
- * org_freedesktop_udisks_device_get_linux_md_home_host: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets the value of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.LinuxMdHomeHost">"LinuxMdHomeHost"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * <warning>The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where @object was constructed. Use org_freedesktop_udisks_device_dup_linux_md_home_host() if on another thread.</warning>
- *
- * Returns: (transfer none): The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object.
- */
-const gchar *
-org_freedesktop_udisks_device_get_linux_md_home_host (OrgFreedesktopUDisksDevice *object)
-{
- return ORG_FREEDESKTOP_UDISKS_DEVICE_GET_IFACE (object)->get_linux_md_home_host (object);
-}
-
-/**
- * org_freedesktop_udisks_device_dup_linux_md_home_host: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets a copy of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.LinuxMdHomeHost">"LinuxMdHomeHost"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * Returns: (transfer full): The property value or %NULL if the property is not set. The returned value should be freed with g_free().
- */
-gchar *
-org_freedesktop_udisks_device_dup_linux_md_home_host (OrgFreedesktopUDisksDevice *object)
-{
- gchar *value;
- g_object_get (G_OBJECT (object), "linux-md-home-host", &value, NULL);
- return value;
-}
-
-/**
- * org_freedesktop_udisks_device_set_linux_md_home_host: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- * @value: The value to set.
- *
- * Sets the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.LinuxMdHomeHost">"LinuxMdHomeHost"</link> D-Bus property to @value.
- *
- * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
- */
-void
-org_freedesktop_udisks_device_set_linux_md_home_host (OrgFreedesktopUDisksDevice *object, const gchar *value)
-{
- g_object_set (G_OBJECT (object), "linux-md-home-host", value, NULL);
-}
-
-/**
- * org_freedesktop_udisks_device_get_linux_md_name: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets the value of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.LinuxMdName">"LinuxMdName"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * <warning>The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where @object was constructed. Use org_freedesktop_udisks_device_dup_linux_md_name() if on another thread.</warning>
- *
- * Returns: (transfer none): The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object.
- */
-const gchar *
-org_freedesktop_udisks_device_get_linux_md_name (OrgFreedesktopUDisksDevice *object)
-{
- return ORG_FREEDESKTOP_UDISKS_DEVICE_GET_IFACE (object)->get_linux_md_name (object);
-}
-
-/**
- * org_freedesktop_udisks_device_dup_linux_md_name: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets a copy of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.LinuxMdName">"LinuxMdName"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * Returns: (transfer full): The property value or %NULL if the property is not set. The returned value should be freed with g_free().
- */
-gchar *
-org_freedesktop_udisks_device_dup_linux_md_name (OrgFreedesktopUDisksDevice *object)
-{
- gchar *value;
- g_object_get (G_OBJECT (object), "linux-md-name", &value, NULL);
- return value;
-}
-
-/**
- * org_freedesktop_udisks_device_set_linux_md_name: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- * @value: The value to set.
- *
- * Sets the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.LinuxMdName">"LinuxMdName"</link> D-Bus property to @value.
- *
- * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
- */
-void
-org_freedesktop_udisks_device_set_linux_md_name (OrgFreedesktopUDisksDevice *object, const gchar *value)
-{
- g_object_set (G_OBJECT (object), "linux-md-name", value, NULL);
-}
-
-/**
- * org_freedesktop_udisks_device_get_linux_md_num_raid_devices: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets the value of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.LinuxMdNumRaidDevices">"LinuxMdNumRaidDevices"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * Returns: The property value.
- */
-gint
-org_freedesktop_udisks_device_get_linux_md_num_raid_devices (OrgFreedesktopUDisksDevice *object)
-{
- return ORG_FREEDESKTOP_UDISKS_DEVICE_GET_IFACE (object)->get_linux_md_num_raid_devices (object);
-}
-
-/**
- * org_freedesktop_udisks_device_set_linux_md_num_raid_devices: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- * @value: The value to set.
- *
- * Sets the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.LinuxMdNumRaidDevices">"LinuxMdNumRaidDevices"</link> D-Bus property to @value.
- *
- * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
- */
-void
-org_freedesktop_udisks_device_set_linux_md_num_raid_devices (OrgFreedesktopUDisksDevice *object, gint value)
-{
- g_object_set (G_OBJECT (object), "linux-md-num-raid-devices", value, NULL);
-}
-
-/**
- * org_freedesktop_udisks_device_get_linux_md_version: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets the value of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.LinuxMdVersion">"LinuxMdVersion"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * <warning>The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where @object was constructed. Use org_freedesktop_udisks_device_dup_linux_md_version() if on another thread.</warning>
- *
- * Returns: (transfer none): The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object.
- */
-const gchar *
-org_freedesktop_udisks_device_get_linux_md_version (OrgFreedesktopUDisksDevice *object)
-{
- return ORG_FREEDESKTOP_UDISKS_DEVICE_GET_IFACE (object)->get_linux_md_version (object);
-}
-
-/**
- * org_freedesktop_udisks_device_dup_linux_md_version: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets a copy of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.LinuxMdVersion">"LinuxMdVersion"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * Returns: (transfer full): The property value or %NULL if the property is not set. The returned value should be freed with g_free().
- */
-gchar *
-org_freedesktop_udisks_device_dup_linux_md_version (OrgFreedesktopUDisksDevice *object)
-{
- gchar *value;
- g_object_get (G_OBJECT (object), "linux-md-version", &value, NULL);
- return value;
-}
-
-/**
- * org_freedesktop_udisks_device_set_linux_md_version: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- * @value: The value to set.
- *
- * Sets the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.LinuxMdVersion">"LinuxMdVersion"</link> D-Bus property to @value.
- *
- * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
- */
-void
-org_freedesktop_udisks_device_set_linux_md_version (OrgFreedesktopUDisksDevice *object, const gchar *value)
-{
- g_object_set (G_OBJECT (object), "linux-md-version", value, NULL);
-}
-
-/**
- * org_freedesktop_udisks_device_get_linux_md_slaves: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets the value of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.LinuxMdSlaves">"LinuxMdSlaves"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * <warning>The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where @object was constructed. Use org_freedesktop_udisks_device_dup_linux_md_slaves() if on another thread.</warning>
- *
- * Returns: (transfer none): The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object.
- */
-const gchar *const *
-org_freedesktop_udisks_device_get_linux_md_slaves (OrgFreedesktopUDisksDevice *object)
-{
- return ORG_FREEDESKTOP_UDISKS_DEVICE_GET_IFACE (object)->get_linux_md_slaves (object);
-}
-
-/**
- * org_freedesktop_udisks_device_dup_linux_md_slaves: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets a copy of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.LinuxMdSlaves">"LinuxMdSlaves"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * Returns: (transfer full): The property value or %NULL if the property is not set. The returned value should be freed with g_strfreev().
- */
-gchar **
-org_freedesktop_udisks_device_dup_linux_md_slaves (OrgFreedesktopUDisksDevice *object)
-{
- gchar **value;
- g_object_get (G_OBJECT (object), "linux-md-slaves", &value, NULL);
- return value;
-}
-
-/**
- * org_freedesktop_udisks_device_set_linux_md_slaves: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- * @value: The value to set.
- *
- * Sets the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.LinuxMdSlaves">"LinuxMdSlaves"</link> D-Bus property to @value.
- *
- * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
- */
-void
-org_freedesktop_udisks_device_set_linux_md_slaves (OrgFreedesktopUDisksDevice *object, const gchar *const *value)
-{
- g_object_set (G_OBJECT (object), "linux-md-slaves", value, NULL);
-}
-
-/**
- * org_freedesktop_udisks_device_get_linux_md_is_degraded: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets the value of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.LinuxMdIsDegraded">"LinuxMdIsDegraded"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * Returns: The property value.
- */
-gboolean
-org_freedesktop_udisks_device_get_linux_md_is_degraded (OrgFreedesktopUDisksDevice *object)
-{
- return ORG_FREEDESKTOP_UDISKS_DEVICE_GET_IFACE (object)->get_linux_md_is_degraded (object);
-}
-
-/**
- * org_freedesktop_udisks_device_set_linux_md_is_degraded: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- * @value: The value to set.
- *
- * Sets the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.LinuxMdIsDegraded">"LinuxMdIsDegraded"</link> D-Bus property to @value.
- *
- * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
- */
-void
-org_freedesktop_udisks_device_set_linux_md_is_degraded (OrgFreedesktopUDisksDevice *object, gboolean value)
-{
- g_object_set (G_OBJECT (object), "linux-md-is-degraded", value, NULL);
-}
-
-/**
- * org_freedesktop_udisks_device_get_linux_md_sync_action: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets the value of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.LinuxMdSyncAction">"LinuxMdSyncAction"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * <warning>The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where @object was constructed. Use org_freedesktop_udisks_device_dup_linux_md_sync_action() if on another thread.</warning>
- *
- * Returns: (transfer none): The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object.
- */
-const gchar *
-org_freedesktop_udisks_device_get_linux_md_sync_action (OrgFreedesktopUDisksDevice *object)
-{
- return ORG_FREEDESKTOP_UDISKS_DEVICE_GET_IFACE (object)->get_linux_md_sync_action (object);
-}
-
-/**
- * org_freedesktop_udisks_device_dup_linux_md_sync_action: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets a copy of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.LinuxMdSyncAction">"LinuxMdSyncAction"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * Returns: (transfer full): The property value or %NULL if the property is not set. The returned value should be freed with g_free().
- */
-gchar *
-org_freedesktop_udisks_device_dup_linux_md_sync_action (OrgFreedesktopUDisksDevice *object)
-{
- gchar *value;
- g_object_get (G_OBJECT (object), "linux-md-sync-action", &value, NULL);
- return value;
-}
-
-/**
- * org_freedesktop_udisks_device_set_linux_md_sync_action: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- * @value: The value to set.
- *
- * Sets the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.LinuxMdSyncAction">"LinuxMdSyncAction"</link> D-Bus property to @value.
- *
- * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
- */
-void
-org_freedesktop_udisks_device_set_linux_md_sync_action (OrgFreedesktopUDisksDevice *object, const gchar *value)
-{
- g_object_set (G_OBJECT (object), "linux-md-sync-action", value, NULL);
-}
-
-/**
- * org_freedesktop_udisks_device_get_linux_md_sync_percentage: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets the value of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.LinuxMdSyncPercentage">"LinuxMdSyncPercentage"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * Returns: The property value.
- */
-gdouble
-org_freedesktop_udisks_device_get_linux_md_sync_percentage (OrgFreedesktopUDisksDevice *object)
-{
- return ORG_FREEDESKTOP_UDISKS_DEVICE_GET_IFACE (object)->get_linux_md_sync_percentage (object);
-}
-
-/**
- * org_freedesktop_udisks_device_set_linux_md_sync_percentage: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- * @value: The value to set.
- *
- * Sets the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.LinuxMdSyncPercentage">"LinuxMdSyncPercentage"</link> D-Bus property to @value.
- *
- * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
- */
-void
-org_freedesktop_udisks_device_set_linux_md_sync_percentage (OrgFreedesktopUDisksDevice *object, gdouble value)
-{
- g_object_set (G_OBJECT (object), "linux-md-sync-percentage", value, NULL);
-}
-
-/**
- * org_freedesktop_udisks_device_get_linux_md_sync_speed: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets the value of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.LinuxMdSyncSpeed">"LinuxMdSyncSpeed"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * Returns: The property value.
- */
-guint64
-org_freedesktop_udisks_device_get_linux_md_sync_speed (OrgFreedesktopUDisksDevice *object)
-{
- return ORG_FREEDESKTOP_UDISKS_DEVICE_GET_IFACE (object)->get_linux_md_sync_speed (object);
-}
-
-/**
- * org_freedesktop_udisks_device_set_linux_md_sync_speed: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- * @value: The value to set.
- *
- * Sets the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.LinuxMdSyncSpeed">"LinuxMdSyncSpeed"</link> D-Bus property to @value.
- *
- * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
- */
-void
-org_freedesktop_udisks_device_set_linux_md_sync_speed (OrgFreedesktopUDisksDevice *object, guint64 value)
-{
- g_object_set (G_OBJECT (object), "linux-md-sync-speed", value, NULL);
-}
-
-/**
- * org_freedesktop_udisks_device_get_linux_lvm2_pvuuid: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets the value of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.LinuxLvm2PVUuid">"LinuxLvm2PVUuid"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * <warning>The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where @object was constructed. Use org_freedesktop_udisks_device_dup_linux_lvm2_pvuuid() if on another thread.</warning>
- *
- * Returns: (transfer none): The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object.
- */
-const gchar *
-org_freedesktop_udisks_device_get_linux_lvm2_pvuuid (OrgFreedesktopUDisksDevice *object)
-{
- return ORG_FREEDESKTOP_UDISKS_DEVICE_GET_IFACE (object)->get_linux_lvm2_pvuuid (object);
-}
-
-/**
- * org_freedesktop_udisks_device_dup_linux_lvm2_pvuuid: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets a copy of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.LinuxLvm2PVUuid">"LinuxLvm2PVUuid"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * Returns: (transfer full): The property value or %NULL if the property is not set. The returned value should be freed with g_free().
- */
-gchar *
-org_freedesktop_udisks_device_dup_linux_lvm2_pvuuid (OrgFreedesktopUDisksDevice *object)
-{
- gchar *value;
- g_object_get (G_OBJECT (object), "linux-lvm2-pvuuid", &value, NULL);
- return value;
-}
-
-/**
- * org_freedesktop_udisks_device_set_linux_lvm2_pvuuid: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- * @value: The value to set.
- *
- * Sets the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.LinuxLvm2PVUuid">"LinuxLvm2PVUuid"</link> D-Bus property to @value.
- *
- * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
- */
-void
-org_freedesktop_udisks_device_set_linux_lvm2_pvuuid (OrgFreedesktopUDisksDevice *object, const gchar *value)
-{
- g_object_set (G_OBJECT (object), "linux-lvm2-pvuuid", value, NULL);
-}
-
-/**
- * org_freedesktop_udisks_device_get_linux_lvm2_pvnum_metadata_areas: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets the value of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.LinuxLvm2PVNumMetadataAreas">"LinuxLvm2PVNumMetadataAreas"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * Returns: The property value.
- */
-guint
-org_freedesktop_udisks_device_get_linux_lvm2_pvnum_metadata_areas (OrgFreedesktopUDisksDevice *object)
-{
- return ORG_FREEDESKTOP_UDISKS_DEVICE_GET_IFACE (object)->get_linux_lvm2_pvnum_metadata_areas (object);
-}
-
-/**
- * org_freedesktop_udisks_device_set_linux_lvm2_pvnum_metadata_areas: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- * @value: The value to set.
- *
- * Sets the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.LinuxLvm2PVNumMetadataAreas">"LinuxLvm2PVNumMetadataAreas"</link> D-Bus property to @value.
- *
- * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
- */
-void
-org_freedesktop_udisks_device_set_linux_lvm2_pvnum_metadata_areas (OrgFreedesktopUDisksDevice *object, guint value)
-{
- g_object_set (G_OBJECT (object), "linux-lvm2-pvnum-metadata-areas", value, NULL);
-}
-
-/**
- * org_freedesktop_udisks_device_get_linux_lvm2_pvgroup_name: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets the value of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.LinuxLvm2PVGroupName">"LinuxLvm2PVGroupName"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * <warning>The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where @object was constructed. Use org_freedesktop_udisks_device_dup_linux_lvm2_pvgroup_name() if on another thread.</warning>
- *
- * Returns: (transfer none): The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object.
- */
-const gchar *
-org_freedesktop_udisks_device_get_linux_lvm2_pvgroup_name (OrgFreedesktopUDisksDevice *object)
-{
- return ORG_FREEDESKTOP_UDISKS_DEVICE_GET_IFACE (object)->get_linux_lvm2_pvgroup_name (object);
-}
-
-/**
- * org_freedesktop_udisks_device_dup_linux_lvm2_pvgroup_name: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets a copy of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.LinuxLvm2PVGroupName">"LinuxLvm2PVGroupName"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * Returns: (transfer full): The property value or %NULL if the property is not set. The returned value should be freed with g_free().
- */
-gchar *
-org_freedesktop_udisks_device_dup_linux_lvm2_pvgroup_name (OrgFreedesktopUDisksDevice *object)
-{
- gchar *value;
- g_object_get (G_OBJECT (object), "linux-lvm2-pvgroup-name", &value, NULL);
- return value;
-}
-
-/**
- * org_freedesktop_udisks_device_set_linux_lvm2_pvgroup_name: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- * @value: The value to set.
- *
- * Sets the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.LinuxLvm2PVGroupName">"LinuxLvm2PVGroupName"</link> D-Bus property to @value.
- *
- * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
- */
-void
-org_freedesktop_udisks_device_set_linux_lvm2_pvgroup_name (OrgFreedesktopUDisksDevice *object, const gchar *value)
-{
- g_object_set (G_OBJECT (object), "linux-lvm2-pvgroup-name", value, NULL);
-}
-
-/**
- * org_freedesktop_udisks_device_get_linux_lvm2_pvgroup_uuid: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets the value of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.LinuxLvm2PVGroupUuid">"LinuxLvm2PVGroupUuid"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * <warning>The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where @object was constructed. Use org_freedesktop_udisks_device_dup_linux_lvm2_pvgroup_uuid() if on another thread.</warning>
- *
- * Returns: (transfer none): The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object.
- */
-const gchar *
-org_freedesktop_udisks_device_get_linux_lvm2_pvgroup_uuid (OrgFreedesktopUDisksDevice *object)
-{
- return ORG_FREEDESKTOP_UDISKS_DEVICE_GET_IFACE (object)->get_linux_lvm2_pvgroup_uuid (object);
-}
-
-/**
- * org_freedesktop_udisks_device_dup_linux_lvm2_pvgroup_uuid: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets a copy of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.LinuxLvm2PVGroupUuid">"LinuxLvm2PVGroupUuid"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * Returns: (transfer full): The property value or %NULL if the property is not set. The returned value should be freed with g_free().
- */
-gchar *
-org_freedesktop_udisks_device_dup_linux_lvm2_pvgroup_uuid (OrgFreedesktopUDisksDevice *object)
-{
- gchar *value;
- g_object_get (G_OBJECT (object), "linux-lvm2-pvgroup-uuid", &value, NULL);
- return value;
-}
-
-/**
- * org_freedesktop_udisks_device_set_linux_lvm2_pvgroup_uuid: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- * @value: The value to set.
- *
- * Sets the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.LinuxLvm2PVGroupUuid">"LinuxLvm2PVGroupUuid"</link> D-Bus property to @value.
- *
- * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
- */
-void
-org_freedesktop_udisks_device_set_linux_lvm2_pvgroup_uuid (OrgFreedesktopUDisksDevice *object, const gchar *value)
-{
- g_object_set (G_OBJECT (object), "linux-lvm2-pvgroup-uuid", value, NULL);
-}
-
-/**
- * org_freedesktop_udisks_device_get_linux_lvm2_pvgroup_size: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets the value of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.LinuxLvm2PVGroupSize">"LinuxLvm2PVGroupSize"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * Returns: The property value.
- */
-guint64
-org_freedesktop_udisks_device_get_linux_lvm2_pvgroup_size (OrgFreedesktopUDisksDevice *object)
-{
- return ORG_FREEDESKTOP_UDISKS_DEVICE_GET_IFACE (object)->get_linux_lvm2_pvgroup_size (object);
-}
-
-/**
- * org_freedesktop_udisks_device_set_linux_lvm2_pvgroup_size: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- * @value: The value to set.
- *
- * Sets the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.LinuxLvm2PVGroupSize">"LinuxLvm2PVGroupSize"</link> D-Bus property to @value.
- *
- * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
- */
-void
-org_freedesktop_udisks_device_set_linux_lvm2_pvgroup_size (OrgFreedesktopUDisksDevice *object, guint64 value)
-{
- g_object_set (G_OBJECT (object), "linux-lvm2-pvgroup-size", value, NULL);
-}
-
-/**
- * org_freedesktop_udisks_device_get_linux_lvm2_pvgroup_unallocated_size: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets the value of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.LinuxLvm2PVGroupUnallocatedSize">"LinuxLvm2PVGroupUnallocatedSize"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * Returns: The property value.
- */
-guint64
-org_freedesktop_udisks_device_get_linux_lvm2_pvgroup_unallocated_size (OrgFreedesktopUDisksDevice *object)
-{
- return ORG_FREEDESKTOP_UDISKS_DEVICE_GET_IFACE (object)->get_linux_lvm2_pvgroup_unallocated_size (object);
-}
-
-/**
- * org_freedesktop_udisks_device_set_linux_lvm2_pvgroup_unallocated_size: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- * @value: The value to set.
- *
- * Sets the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.LinuxLvm2PVGroupUnallocatedSize">"LinuxLvm2PVGroupUnallocatedSize"</link> D-Bus property to @value.
- *
- * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
- */
-void
-org_freedesktop_udisks_device_set_linux_lvm2_pvgroup_unallocated_size (OrgFreedesktopUDisksDevice *object, guint64 value)
-{
- g_object_set (G_OBJECT (object), "linux-lvm2-pvgroup-unallocated-size", value, NULL);
-}
-
-/**
- * org_freedesktop_udisks_device_get_linux_lvm2_pvgroup_sequence_number: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets the value of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.LinuxLvm2PVGroupSequenceNumber">"LinuxLvm2PVGroupSequenceNumber"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * Returns: The property value.
- */
-guint64
-org_freedesktop_udisks_device_get_linux_lvm2_pvgroup_sequence_number (OrgFreedesktopUDisksDevice *object)
-{
- return ORG_FREEDESKTOP_UDISKS_DEVICE_GET_IFACE (object)->get_linux_lvm2_pvgroup_sequence_number (object);
-}
-
-/**
- * org_freedesktop_udisks_device_set_linux_lvm2_pvgroup_sequence_number: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- * @value: The value to set.
- *
- * Sets the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.LinuxLvm2PVGroupSequenceNumber">"LinuxLvm2PVGroupSequenceNumber"</link> D-Bus property to @value.
- *
- * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
- */
-void
-org_freedesktop_udisks_device_set_linux_lvm2_pvgroup_sequence_number (OrgFreedesktopUDisksDevice *object, guint64 value)
-{
- g_object_set (G_OBJECT (object), "linux-lvm2-pvgroup-sequence-number", value, NULL);
-}
-
-/**
- * org_freedesktop_udisks_device_get_linux_lvm2_pvgroup_extent_size: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets the value of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.LinuxLvm2PVGroupExtentSize">"LinuxLvm2PVGroupExtentSize"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * Returns: The property value.
- */
-guint64
-org_freedesktop_udisks_device_get_linux_lvm2_pvgroup_extent_size (OrgFreedesktopUDisksDevice *object)
-{
- return ORG_FREEDESKTOP_UDISKS_DEVICE_GET_IFACE (object)->get_linux_lvm2_pvgroup_extent_size (object);
-}
-
-/**
- * org_freedesktop_udisks_device_set_linux_lvm2_pvgroup_extent_size: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- * @value: The value to set.
- *
- * Sets the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.LinuxLvm2PVGroupExtentSize">"LinuxLvm2PVGroupExtentSize"</link> D-Bus property to @value.
- *
- * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
- */
-void
-org_freedesktop_udisks_device_set_linux_lvm2_pvgroup_extent_size (OrgFreedesktopUDisksDevice *object, guint64 value)
-{
- g_object_set (G_OBJECT (object), "linux-lvm2-pvgroup-extent-size", value, NULL);
-}
-
-/**
- * org_freedesktop_udisks_device_get_linux_lvm2_pvgroup_physical_volumes: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets the value of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.LinuxLvm2PVGroupPhysicalVolumes">"LinuxLvm2PVGroupPhysicalVolumes"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * <warning>The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where @object was constructed. Use org_freedesktop_udisks_device_dup_linux_lvm2_pvgroup_physical_volumes() if on another thread.</warning>
- *
- * Returns: (transfer none): The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object.
- */
-const gchar *const *
-org_freedesktop_udisks_device_get_linux_lvm2_pvgroup_physical_volumes (OrgFreedesktopUDisksDevice *object)
-{
- return ORG_FREEDESKTOP_UDISKS_DEVICE_GET_IFACE (object)->get_linux_lvm2_pvgroup_physical_volumes (object);
-}
-
-/**
- * org_freedesktop_udisks_device_dup_linux_lvm2_pvgroup_physical_volumes: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets a copy of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.LinuxLvm2PVGroupPhysicalVolumes">"LinuxLvm2PVGroupPhysicalVolumes"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * Returns: (transfer full): The property value or %NULL if the property is not set. The returned value should be freed with g_strfreev().
- */
-gchar **
-org_freedesktop_udisks_device_dup_linux_lvm2_pvgroup_physical_volumes (OrgFreedesktopUDisksDevice *object)
-{
- gchar **value;
- g_object_get (G_OBJECT (object), "linux-lvm2-pvgroup-physical-volumes", &value, NULL);
- return value;
-}
-
-/**
- * org_freedesktop_udisks_device_set_linux_lvm2_pvgroup_physical_volumes: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- * @value: The value to set.
- *
- * Sets the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.LinuxLvm2PVGroupPhysicalVolumes">"LinuxLvm2PVGroupPhysicalVolumes"</link> D-Bus property to @value.
- *
- * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
- */
-void
-org_freedesktop_udisks_device_set_linux_lvm2_pvgroup_physical_volumes (OrgFreedesktopUDisksDevice *object, const gchar *const *value)
-{
- g_object_set (G_OBJECT (object), "linux-lvm2-pvgroup-physical-volumes", value, NULL);
-}
-
-/**
- * org_freedesktop_udisks_device_get_linux_lvm2_pvgroup_logical_volumes: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets the value of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.LinuxLvm2PVGroupLogicalVolumes">"LinuxLvm2PVGroupLogicalVolumes"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * <warning>The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where @object was constructed. Use org_freedesktop_udisks_device_dup_linux_lvm2_pvgroup_logical_volumes() if on another thread.</warning>
- *
- * Returns: (transfer none): The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object.
- */
-const gchar *const *
-org_freedesktop_udisks_device_get_linux_lvm2_pvgroup_logical_volumes (OrgFreedesktopUDisksDevice *object)
-{
- return ORG_FREEDESKTOP_UDISKS_DEVICE_GET_IFACE (object)->get_linux_lvm2_pvgroup_logical_volumes (object);
-}
-
-/**
- * org_freedesktop_udisks_device_dup_linux_lvm2_pvgroup_logical_volumes: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets a copy of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.LinuxLvm2PVGroupLogicalVolumes">"LinuxLvm2PVGroupLogicalVolumes"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * Returns: (transfer full): The property value or %NULL if the property is not set. The returned value should be freed with g_strfreev().
- */
-gchar **
-org_freedesktop_udisks_device_dup_linux_lvm2_pvgroup_logical_volumes (OrgFreedesktopUDisksDevice *object)
-{
- gchar **value;
- g_object_get (G_OBJECT (object), "linux-lvm2-pvgroup-logical-volumes", &value, NULL);
- return value;
-}
-
-/**
- * org_freedesktop_udisks_device_set_linux_lvm2_pvgroup_logical_volumes: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- * @value: The value to set.
- *
- * Sets the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.LinuxLvm2PVGroupLogicalVolumes">"LinuxLvm2PVGroupLogicalVolumes"</link> D-Bus property to @value.
- *
- * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
- */
-void
-org_freedesktop_udisks_device_set_linux_lvm2_pvgroup_logical_volumes (OrgFreedesktopUDisksDevice *object, const gchar *const *value)
-{
- g_object_set (G_OBJECT (object), "linux-lvm2-pvgroup-logical-volumes", value, NULL);
-}
-
-/**
- * org_freedesktop_udisks_device_get_linux_lvm2_lvname: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets the value of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.LinuxLvm2LVName">"LinuxLvm2LVName"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * <warning>The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where @object was constructed. Use org_freedesktop_udisks_device_dup_linux_lvm2_lvname() if on another thread.</warning>
- *
- * Returns: (transfer none): The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object.
- */
-const gchar *
-org_freedesktop_udisks_device_get_linux_lvm2_lvname (OrgFreedesktopUDisksDevice *object)
-{
- return ORG_FREEDESKTOP_UDISKS_DEVICE_GET_IFACE (object)->get_linux_lvm2_lvname (object);
-}
-
-/**
- * org_freedesktop_udisks_device_dup_linux_lvm2_lvname: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets a copy of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.LinuxLvm2LVName">"LinuxLvm2LVName"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * Returns: (transfer full): The property value or %NULL if the property is not set. The returned value should be freed with g_free().
- */
-gchar *
-org_freedesktop_udisks_device_dup_linux_lvm2_lvname (OrgFreedesktopUDisksDevice *object)
-{
- gchar *value;
- g_object_get (G_OBJECT (object), "linux-lvm2-lvname", &value, NULL);
- return value;
-}
-
-/**
- * org_freedesktop_udisks_device_set_linux_lvm2_lvname: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- * @value: The value to set.
- *
- * Sets the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.LinuxLvm2LVName">"LinuxLvm2LVName"</link> D-Bus property to @value.
- *
- * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
- */
-void
-org_freedesktop_udisks_device_set_linux_lvm2_lvname (OrgFreedesktopUDisksDevice *object, const gchar *value)
-{
- g_object_set (G_OBJECT (object), "linux-lvm2-lvname", value, NULL);
-}
-
-/**
- * org_freedesktop_udisks_device_get_linux_lvm2_lvuuid: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets the value of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.LinuxLvm2LVUuid">"LinuxLvm2LVUuid"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * <warning>The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where @object was constructed. Use org_freedesktop_udisks_device_dup_linux_lvm2_lvuuid() if on another thread.</warning>
- *
- * Returns: (transfer none): The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object.
- */
-const gchar *
-org_freedesktop_udisks_device_get_linux_lvm2_lvuuid (OrgFreedesktopUDisksDevice *object)
-{
- return ORG_FREEDESKTOP_UDISKS_DEVICE_GET_IFACE (object)->get_linux_lvm2_lvuuid (object);
-}
-
-/**
- * org_freedesktop_udisks_device_dup_linux_lvm2_lvuuid: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets a copy of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.LinuxLvm2LVUuid">"LinuxLvm2LVUuid"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * Returns: (transfer full): The property value or %NULL if the property is not set. The returned value should be freed with g_free().
- */
-gchar *
-org_freedesktop_udisks_device_dup_linux_lvm2_lvuuid (OrgFreedesktopUDisksDevice *object)
-{
- gchar *value;
- g_object_get (G_OBJECT (object), "linux-lvm2-lvuuid", &value, NULL);
- return value;
-}
-
-/**
- * org_freedesktop_udisks_device_set_linux_lvm2_lvuuid: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- * @value: The value to set.
- *
- * Sets the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.LinuxLvm2LVUuid">"LinuxLvm2LVUuid"</link> D-Bus property to @value.
- *
- * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
- */
-void
-org_freedesktop_udisks_device_set_linux_lvm2_lvuuid (OrgFreedesktopUDisksDevice *object, const gchar *value)
-{
- g_object_set (G_OBJECT (object), "linux-lvm2-lvuuid", value, NULL);
-}
-
-/**
- * org_freedesktop_udisks_device_get_linux_lvm2_lvgroup_name: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets the value of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.LinuxLvm2LVGroupName">"LinuxLvm2LVGroupName"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * <warning>The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where @object was constructed. Use org_freedesktop_udisks_device_dup_linux_lvm2_lvgroup_name() if on another thread.</warning>
- *
- * Returns: (transfer none): The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object.
- */
-const gchar *
-org_freedesktop_udisks_device_get_linux_lvm2_lvgroup_name (OrgFreedesktopUDisksDevice *object)
-{
- return ORG_FREEDESKTOP_UDISKS_DEVICE_GET_IFACE (object)->get_linux_lvm2_lvgroup_name (object);
-}
-
-/**
- * org_freedesktop_udisks_device_dup_linux_lvm2_lvgroup_name: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets a copy of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.LinuxLvm2LVGroupName">"LinuxLvm2LVGroupName"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * Returns: (transfer full): The property value or %NULL if the property is not set. The returned value should be freed with g_free().
- */
-gchar *
-org_freedesktop_udisks_device_dup_linux_lvm2_lvgroup_name (OrgFreedesktopUDisksDevice *object)
-{
- gchar *value;
- g_object_get (G_OBJECT (object), "linux-lvm2-lvgroup-name", &value, NULL);
- return value;
-}
-
-/**
- * org_freedesktop_udisks_device_set_linux_lvm2_lvgroup_name: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- * @value: The value to set.
- *
- * Sets the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.LinuxLvm2LVGroupName">"LinuxLvm2LVGroupName"</link> D-Bus property to @value.
- *
- * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
- */
-void
-org_freedesktop_udisks_device_set_linux_lvm2_lvgroup_name (OrgFreedesktopUDisksDevice *object, const gchar *value)
-{
- g_object_set (G_OBJECT (object), "linux-lvm2-lvgroup-name", value, NULL);
-}
-
-/**
- * org_freedesktop_udisks_device_get_linux_lvm2_lvgroup_uuid: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets the value of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.LinuxLvm2LVGroupUuid">"LinuxLvm2LVGroupUuid"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * <warning>The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where @object was constructed. Use org_freedesktop_udisks_device_dup_linux_lvm2_lvgroup_uuid() if on another thread.</warning>
- *
- * Returns: (transfer none): The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object.
- */
-const gchar *
-org_freedesktop_udisks_device_get_linux_lvm2_lvgroup_uuid (OrgFreedesktopUDisksDevice *object)
-{
- return ORG_FREEDESKTOP_UDISKS_DEVICE_GET_IFACE (object)->get_linux_lvm2_lvgroup_uuid (object);
-}
-
-/**
- * org_freedesktop_udisks_device_dup_linux_lvm2_lvgroup_uuid: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets a copy of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.LinuxLvm2LVGroupUuid">"LinuxLvm2LVGroupUuid"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * Returns: (transfer full): The property value or %NULL if the property is not set. The returned value should be freed with g_free().
- */
-gchar *
-org_freedesktop_udisks_device_dup_linux_lvm2_lvgroup_uuid (OrgFreedesktopUDisksDevice *object)
-{
- gchar *value;
- g_object_get (G_OBJECT (object), "linux-lvm2-lvgroup-uuid", &value, NULL);
- return value;
-}
-
-/**
- * org_freedesktop_udisks_device_set_linux_lvm2_lvgroup_uuid: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- * @value: The value to set.
- *
- * Sets the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.LinuxLvm2LVGroupUuid">"LinuxLvm2LVGroupUuid"</link> D-Bus property to @value.
- *
- * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
- */
-void
-org_freedesktop_udisks_device_set_linux_lvm2_lvgroup_uuid (OrgFreedesktopUDisksDevice *object, const gchar *value)
-{
- g_object_set (G_OBJECT (object), "linux-lvm2-lvgroup-uuid", value, NULL);
-}
-
-/**
- * org_freedesktop_udisks_device_get_linux_dmmp_component_holder: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets the value of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.LinuxDmmpComponentHolder">"LinuxDmmpComponentHolder"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * <warning>The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where @object was constructed. Use org_freedesktop_udisks_device_dup_linux_dmmp_component_holder() if on another thread.</warning>
- *
- * Returns: (transfer none): The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object.
- */
-const gchar *
-org_freedesktop_udisks_device_get_linux_dmmp_component_holder (OrgFreedesktopUDisksDevice *object)
-{
- return ORG_FREEDESKTOP_UDISKS_DEVICE_GET_IFACE (object)->get_linux_dmmp_component_holder (object);
-}
-
-/**
- * org_freedesktop_udisks_device_dup_linux_dmmp_component_holder: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets a copy of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.LinuxDmmpComponentHolder">"LinuxDmmpComponentHolder"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * Returns: (transfer full): The property value or %NULL if the property is not set. The returned value should be freed with g_free().
- */
-gchar *
-org_freedesktop_udisks_device_dup_linux_dmmp_component_holder (OrgFreedesktopUDisksDevice *object)
-{
- gchar *value;
- g_object_get (G_OBJECT (object), "linux-dmmp-component-holder", &value, NULL);
- return value;
-}
-
-/**
- * org_freedesktop_udisks_device_set_linux_dmmp_component_holder: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- * @value: The value to set.
- *
- * Sets the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.LinuxDmmpComponentHolder">"LinuxDmmpComponentHolder"</link> D-Bus property to @value.
- *
- * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
- */
-void
-org_freedesktop_udisks_device_set_linux_dmmp_component_holder (OrgFreedesktopUDisksDevice *object, const gchar *value)
-{
- g_object_set (G_OBJECT (object), "linux-dmmp-component-holder", value, NULL);
-}
-
-/**
- * org_freedesktop_udisks_device_get_linux_dmmp_name: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets the value of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.LinuxDmmpName">"LinuxDmmpName"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * <warning>The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where @object was constructed. Use org_freedesktop_udisks_device_dup_linux_dmmp_name() if on another thread.</warning>
- *
- * Returns: (transfer none): The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object.
- */
-const gchar *
-org_freedesktop_udisks_device_get_linux_dmmp_name (OrgFreedesktopUDisksDevice *object)
-{
- return ORG_FREEDESKTOP_UDISKS_DEVICE_GET_IFACE (object)->get_linux_dmmp_name (object);
-}
-
-/**
- * org_freedesktop_udisks_device_dup_linux_dmmp_name: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets a copy of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.LinuxDmmpName">"LinuxDmmpName"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * Returns: (transfer full): The property value or %NULL if the property is not set. The returned value should be freed with g_free().
- */
-gchar *
-org_freedesktop_udisks_device_dup_linux_dmmp_name (OrgFreedesktopUDisksDevice *object)
-{
- gchar *value;
- g_object_get (G_OBJECT (object), "linux-dmmp-name", &value, NULL);
- return value;
-}
-
-/**
- * org_freedesktop_udisks_device_set_linux_dmmp_name: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- * @value: The value to set.
- *
- * Sets the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.LinuxDmmpName">"LinuxDmmpName"</link> D-Bus property to @value.
- *
- * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
- */
-void
-org_freedesktop_udisks_device_set_linux_dmmp_name (OrgFreedesktopUDisksDevice *object, const gchar *value)
-{
- g_object_set (G_OBJECT (object), "linux-dmmp-name", value, NULL);
-}
-
-/**
- * org_freedesktop_udisks_device_get_linux_dmmp_slaves: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets the value of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.LinuxDmmpSlaves">"LinuxDmmpSlaves"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * <warning>The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where @object was constructed. Use org_freedesktop_udisks_device_dup_linux_dmmp_slaves() if on another thread.</warning>
- *
- * Returns: (transfer none): The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object.
- */
-const gchar *const *
-org_freedesktop_udisks_device_get_linux_dmmp_slaves (OrgFreedesktopUDisksDevice *object)
-{
- return ORG_FREEDESKTOP_UDISKS_DEVICE_GET_IFACE (object)->get_linux_dmmp_slaves (object);
-}
-
-/**
- * org_freedesktop_udisks_device_dup_linux_dmmp_slaves: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets a copy of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.LinuxDmmpSlaves">"LinuxDmmpSlaves"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * Returns: (transfer full): The property value or %NULL if the property is not set. The returned value should be freed with g_strfreev().
- */
-gchar **
-org_freedesktop_udisks_device_dup_linux_dmmp_slaves (OrgFreedesktopUDisksDevice *object)
-{
- gchar **value;
- g_object_get (G_OBJECT (object), "linux-dmmp-slaves", &value, NULL);
- return value;
-}
-
-/**
- * org_freedesktop_udisks_device_set_linux_dmmp_slaves: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- * @value: The value to set.
- *
- * Sets the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.LinuxDmmpSlaves">"LinuxDmmpSlaves"</link> D-Bus property to @value.
- *
- * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
- */
-void
-org_freedesktop_udisks_device_set_linux_dmmp_slaves (OrgFreedesktopUDisksDevice *object, const gchar *const *value)
-{
- g_object_set (G_OBJECT (object), "linux-dmmp-slaves", value, NULL);
-}
-
-/**
- * org_freedesktop_udisks_device_get_linux_dmmp_parameters: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets the value of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.LinuxDmmpParameters">"LinuxDmmpParameters"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * <warning>The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where @object was constructed. Use org_freedesktop_udisks_device_dup_linux_dmmp_parameters() if on another thread.</warning>
- *
- * Returns: (transfer none): The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object.
- */
-const gchar *
-org_freedesktop_udisks_device_get_linux_dmmp_parameters (OrgFreedesktopUDisksDevice *object)
-{
- return ORG_FREEDESKTOP_UDISKS_DEVICE_GET_IFACE (object)->get_linux_dmmp_parameters (object);
-}
-
-/**
- * org_freedesktop_udisks_device_dup_linux_dmmp_parameters: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets a copy of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.LinuxDmmpParameters">"LinuxDmmpParameters"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * Returns: (transfer full): The property value or %NULL if the property is not set. The returned value should be freed with g_free().
- */
-gchar *
-org_freedesktop_udisks_device_dup_linux_dmmp_parameters (OrgFreedesktopUDisksDevice *object)
-{
- gchar *value;
- g_object_get (G_OBJECT (object), "linux-dmmp-parameters", &value, NULL);
- return value;
-}
-
-/**
- * org_freedesktop_udisks_device_set_linux_dmmp_parameters: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- * @value: The value to set.
- *
- * Sets the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.LinuxDmmpParameters">"LinuxDmmpParameters"</link> D-Bus property to @value.
- *
- * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
- */
-void
-org_freedesktop_udisks_device_set_linux_dmmp_parameters (OrgFreedesktopUDisksDevice *object, const gchar *value)
-{
- g_object_set (G_OBJECT (object), "linux-dmmp-parameters", value, NULL);
-}
-
-/**
- * org_freedesktop_udisks_device_get_linux_loop_filename: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets the value of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.LinuxLoopFilename">"LinuxLoopFilename"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * <warning>The returned value is only valid until the property changes so on the client-side it is only safe to use this function on the thread where @object was constructed. Use org_freedesktop_udisks_device_dup_linux_loop_filename() if on another thread.</warning>
- *
- * Returns: (transfer none): The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object.
- */
-const gchar *
-org_freedesktop_udisks_device_get_linux_loop_filename (OrgFreedesktopUDisksDevice *object)
-{
- return ORG_FREEDESKTOP_UDISKS_DEVICE_GET_IFACE (object)->get_linux_loop_filename (object);
-}
-
-/**
- * org_freedesktop_udisks_device_dup_linux_loop_filename: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Gets a copy of the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.LinuxLoopFilename">"LinuxLoopFilename"</link> D-Bus property.
- *
- * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
- *
- * Returns: (transfer full): The property value or %NULL if the property is not set. The returned value should be freed with g_free().
- */
-gchar *
-org_freedesktop_udisks_device_dup_linux_loop_filename (OrgFreedesktopUDisksDevice *object)
-{
- gchar *value;
- g_object_get (G_OBJECT (object), "linux-loop-filename", &value, NULL);
- return value;
-}
-
-/**
- * org_freedesktop_udisks_device_set_linux_loop_filename: (skip)
- * @object: A #OrgFreedesktopUDisksDevice.
- * @value: The value to set.
- *
- * Sets the <link linkend="gdbus-property-org-freedesktop-UDisks-Device.LinuxLoopFilename">"LinuxLoopFilename"</link> D-Bus property to @value.
- *
- * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
- */
-void
-org_freedesktop_udisks_device_set_linux_loop_filename (OrgFreedesktopUDisksDevice *object, const gchar *value)
-{
- g_object_set (G_OBJECT (object), "linux-loop-filename", value, NULL);
-}
-
-/**
- * org_freedesktop_udisks_device_emit_changed:
- * @object: A #OrgFreedesktopUDisksDevice.
- *
- * Emits the <link linkend="gdbus-signal-org-freedesktop-UDisks-Device.Changed">"Changed"</link> D-Bus signal.
- */
-void
-org_freedesktop_udisks_device_emit_changed (
- OrgFreedesktopUDisksDevice *object)
-{
- g_signal_emit_by_name (object, "changed");
-}
-
-/**
- * org_freedesktop_udisks_device_emit_job_changed:
- * @object: A #OrgFreedesktopUDisksDevice.
- * @arg_job_in_progress: Argument to pass with the signal.
- * @arg_job_is_cancellable: Argument to pass with the signal.
- * @arg_job_id: Argument to pass with the signal.
- * @arg_job_initiated_by_uid: Argument to pass with the signal.
- * @arg_job_percentage: Argument to pass with the signal.
- *
- * Emits the <link linkend="gdbus-signal-org-freedesktop-UDisks-Device.JobChanged">"JobChanged"</link> D-Bus signal.
- */
-void
-org_freedesktop_udisks_device_emit_job_changed (
- OrgFreedesktopUDisksDevice *object,
- gboolean arg_job_in_progress,
- gboolean arg_job_is_cancellable,
- const gchar *arg_job_id,
- guint arg_job_initiated_by_uid,
- gdouble arg_job_percentage)
-{
- g_signal_emit_by_name (object, "job-changed", arg_job_in_progress, arg_job_is_cancellable, arg_job_id, arg_job_initiated_by_uid, arg_job_percentage);
-}
-
-/**
- * org_freedesktop_udisks_device_call_job_cancel:
- * @proxy: A #OrgFreedesktopUDisksDeviceProxy.
- * @cancellable: (allow-none): A #GCancellable or %NULL.
- * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
- * @user_data: User data to pass to @callback.
- *
- * Asynchronously invokes the <link linkend="gdbus-method-org-freedesktop-UDisks-Device.JobCancel">JobCancel()</link> D-Bus method on @proxy.
- * When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from.
- * You can then call org_freedesktop_udisks_device_call_job_cancel_finish() to get the result of the operation.
- *
- * See org_freedesktop_udisks_device_call_job_cancel_sync() for the synchronous, blocking version of this method.
- */
-void
-org_freedesktop_udisks_device_call_job_cancel (
- OrgFreedesktopUDisksDevice *proxy,
- GCancellable *cancellable,
- GAsyncReadyCallback callback,
- gpointer user_data)
-{
- g_dbus_proxy_call (G_DBUS_PROXY (proxy),
- "JobCancel",
- g_variant_new ("()"),
- G_DBUS_CALL_FLAGS_NONE,
- -1,
- cancellable,
- callback,
- user_data);
-}
-
-/**
- * org_freedesktop_udisks_device_call_job_cancel_finish:
- * @proxy: A #OrgFreedesktopUDisksDeviceProxy.
- * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_freedesktop_udisks_device_call_job_cancel().
- * @error: Return location for error or %NULL.
- *
- * Finishes an operation started with org_freedesktop_udisks_device_call_job_cancel().
- *
- * Returns: (skip): %TRUE if the call succeded, %FALSE if @error is set.
- */
-gboolean
-org_freedesktop_udisks_device_call_job_cancel_finish (
- OrgFreedesktopUDisksDevice *proxy,
- GAsyncResult *res,
- GError **error)
-{
- GVariant *_ret;
- _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
- if (_ret == NULL)
- goto _out;
- g_variant_get (_ret,
- "()");
- g_variant_unref (_ret);
-_out:
- return _ret != NULL;
-}
-
-/**
- * org_freedesktop_udisks_device_call_job_cancel_sync:
- * @proxy: A #OrgFreedesktopUDisksDeviceProxy.
- * @cancellable: (allow-none): A #GCancellable or %NULL.
- * @error: Return location for error or %NULL.
- *
- * Synchronously invokes the <link linkend="gdbus-method-org-freedesktop-UDisks-Device.JobCancel">JobCancel()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received.
- *
- * See org_freedesktop_udisks_device_call_job_cancel() for the asynchronous version of this method.
- *
- * Returns: (skip): %TRUE if the call succeded, %FALSE if @error is set.
- */
-gboolean
-org_freedesktop_udisks_device_call_job_cancel_sync (
- OrgFreedesktopUDisksDevice *proxy,
- GCancellable *cancellable,
- GError **error)
-{
- GVariant *_ret;
- _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
- "JobCancel",
- g_variant_new ("()"),
- G_DBUS_CALL_FLAGS_NONE,
- -1,
- cancellable,
- error);
- if (_ret == NULL)
- goto _out;
- g_variant_get (_ret,
- "()");
- g_variant_unref (_ret);
-_out:
- return _ret != NULL;
-}
-
-/**
- * org_freedesktop_udisks_device_call_partition_table_create:
- * @proxy: A #OrgFreedesktopUDisksDeviceProxy.
- * @arg_scheme: Argument to pass with the method invocation.
- * @arg_options: Argument to pass with the method invocation.
- * @cancellable: (allow-none): A #GCancellable or %NULL.
- * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
- * @user_data: User data to pass to @callback.
- *
- * Asynchronously invokes the <link linkend="gdbus-method-org-freedesktop-UDisks-Device.PartitionTableCreate">PartitionTableCreate()</link> D-Bus method on @proxy.
- * When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from.
- * You can then call org_freedesktop_udisks_device_call_partition_table_create_finish() to get the result of the operation.
- *
- * See org_freedesktop_udisks_device_call_partition_table_create_sync() for the synchronous, blocking version of this method.
- */
-void
-org_freedesktop_udisks_device_call_partition_table_create (
- OrgFreedesktopUDisksDevice *proxy,
- const gchar *arg_scheme,
- const gchar *const *arg_options,
- GCancellable *cancellable,
- GAsyncReadyCallback callback,
- gpointer user_data)
-{
- g_dbus_proxy_call (G_DBUS_PROXY (proxy),
- "PartitionTableCreate",
- g_variant_new ("(s^as)",
- arg_scheme,
- arg_options),
- G_DBUS_CALL_FLAGS_NONE,
- -1,
- cancellable,
- callback,
- user_data);
-}
-
-/**
- * org_freedesktop_udisks_device_call_partition_table_create_finish:
- * @proxy: A #OrgFreedesktopUDisksDeviceProxy.
- * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_freedesktop_udisks_device_call_partition_table_create().
- * @error: Return location for error or %NULL.
- *
- * Finishes an operation started with org_freedesktop_udisks_device_call_partition_table_create().
- *
- * Returns: (skip): %TRUE if the call succeded, %FALSE if @error is set.
- */
-gboolean
-org_freedesktop_udisks_device_call_partition_table_create_finish (
- OrgFreedesktopUDisksDevice *proxy,
- GAsyncResult *res,
- GError **error)
-{
- GVariant *_ret;
- _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
- if (_ret == NULL)
- goto _out;
- g_variant_get (_ret,
- "()");
- g_variant_unref (_ret);
-_out:
- return _ret != NULL;
-}
-
-/**
- * org_freedesktop_udisks_device_call_partition_table_create_sync:
- * @proxy: A #OrgFreedesktopUDisksDeviceProxy.
- * @arg_scheme: Argument to pass with the method invocation.
- * @arg_options: Argument to pass with the method invocation.
- * @cancellable: (allow-none): A #GCancellable or %NULL.
- * @error: Return location for error or %NULL.
- *
- * Synchronously invokes the <link linkend="gdbus-method-org-freedesktop-UDisks-Device.PartitionTableCreate">PartitionTableCreate()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received.
- *
- * See org_freedesktop_udisks_device_call_partition_table_create() for the asynchronous version of this method.
- *
- * Returns: (skip): %TRUE if the call succeded, %FALSE if @error is set.
- */
-gboolean
-org_freedesktop_udisks_device_call_partition_table_create_sync (
- OrgFreedesktopUDisksDevice *proxy,
- const gchar *arg_scheme,
- const gchar *const *arg_options,
- GCancellable *cancellable,
- GError **error)
-{
- GVariant *_ret;
- _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
- "PartitionTableCreate",
- g_variant_new ("(s^as)",
- arg_scheme,
- arg_options),
- G_DBUS_CALL_FLAGS_NONE,
- -1,
- cancellable,
- error);
- if (_ret == NULL)
- goto _out;
- g_variant_get (_ret,
- "()");
- g_variant_unref (_ret);
-_out:
- return _ret != NULL;
-}
-
-/**
- * org_freedesktop_udisks_device_call_partition_delete:
- * @proxy: A #OrgFreedesktopUDisksDeviceProxy.
- * @arg_options: Argument to pass with the method invocation.
- * @cancellable: (allow-none): A #GCancellable or %NULL.
- * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
- * @user_data: User data to pass to @callback.
- *
- * Asynchronously invokes the <link linkend="gdbus-method-org-freedesktop-UDisks-Device.PartitionDelete">PartitionDelete()</link> D-Bus method on @proxy.
- * When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from.
- * You can then call org_freedesktop_udisks_device_call_partition_delete_finish() to get the result of the operation.
- *
- * See org_freedesktop_udisks_device_call_partition_delete_sync() for the synchronous, blocking version of this method.
- */
-void
-org_freedesktop_udisks_device_call_partition_delete (
- OrgFreedesktopUDisksDevice *proxy,
- const gchar *const *arg_options,
- GCancellable *cancellable,
- GAsyncReadyCallback callback,
- gpointer user_data)
-{
- g_dbus_proxy_call (G_DBUS_PROXY (proxy),
- "PartitionDelete",
- g_variant_new ("(^as)",
- arg_options),
- G_DBUS_CALL_FLAGS_NONE,
- -1,
- cancellable,
- callback,
- user_data);
-}
-
-/**
- * org_freedesktop_udisks_device_call_partition_delete_finish:
- * @proxy: A #OrgFreedesktopUDisksDeviceProxy.
- * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_freedesktop_udisks_device_call_partition_delete().
- * @error: Return location for error or %NULL.
- *
- * Finishes an operation started with org_freedesktop_udisks_device_call_partition_delete().
- *
- * Returns: (skip): %TRUE if the call succeded, %FALSE if @error is set.
- */
-gboolean
-org_freedesktop_udisks_device_call_partition_delete_finish (
- OrgFreedesktopUDisksDevice *proxy,
- GAsyncResult *res,
- GError **error)
-{
- GVariant *_ret;
- _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
- if (_ret == NULL)
- goto _out;
- g_variant_get (_ret,
- "()");
- g_variant_unref (_ret);
-_out:
- return _ret != NULL;
-}
-
-/**
- * org_freedesktop_udisks_device_call_partition_delete_sync:
- * @proxy: A #OrgFreedesktopUDisksDeviceProxy.
- * @arg_options: Argument to pass with the method invocation.
- * @cancellable: (allow-none): A #GCancellable or %NULL.
- * @error: Return location for error or %NULL.
- *
- * Synchronously invokes the <link linkend="gdbus-method-org-freedesktop-UDisks-Device.PartitionDelete">PartitionDelete()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received.
- *
- * See org_freedesktop_udisks_device_call_partition_delete() for the asynchronous version of this method.
- *
- * Returns: (skip): %TRUE if the call succeded, %FALSE if @error is set.
- */
-gboolean
-org_freedesktop_udisks_device_call_partition_delete_sync (
- OrgFreedesktopUDisksDevice *proxy,
- const gchar *const *arg_options,
- GCancellable *cancellable,
- GError **error)
-{
- GVariant *_ret;
- _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
- "PartitionDelete",
- g_variant_new ("(^as)",
- arg_options),
- G_DBUS_CALL_FLAGS_NONE,
- -1,
- cancellable,
- error);
- if (_ret == NULL)
- goto _out;
- g_variant_get (_ret,
- "()");
- g_variant_unref (_ret);
-_out:
- return _ret != NULL;
-}
-
-/**
- * org_freedesktop_udisks_device_call_partition_create:
- * @proxy: A #OrgFreedesktopUDisksDeviceProxy.
- * @arg_offset: Argument to pass with the method invocation.
- * @arg_size: Argument to pass with the method invocation.
- * @arg_type: Argument to pass with the method invocation.
- * @arg_label: Argument to pass with the method invocation.
- * @arg_flags: Argument to pass with the method invocation.
- * @arg_options: Argument to pass with the method invocation.
- * @arg_fstype: Argument to pass with the method invocation.
- * @arg_fsoptions: Argument to pass with the method invocation.
- * @cancellable: (allow-none): A #GCancellable or %NULL.
- * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
- * @user_data: User data to pass to @callback.
- *
- * Asynchronously invokes the <link linkend="gdbus-method-org-freedesktop-UDisks-Device.PartitionCreate">PartitionCreate()</link> D-Bus method on @proxy.
- * When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from.
- * You can then call org_freedesktop_udisks_device_call_partition_create_finish() to get the result of the operation.
- *
- * See org_freedesktop_udisks_device_call_partition_create_sync() for the synchronous, blocking version of this method.
- */
-void
-org_freedesktop_udisks_device_call_partition_create (
- OrgFreedesktopUDisksDevice *proxy,
- guint64 arg_offset,
- guint64 arg_size,
- const gchar *arg_type,
- const gchar *arg_label,
- const gchar *const *arg_flags,
- const gchar *const *arg_options,
- const gchar *arg_fstype,
- const gchar *const *arg_fsoptions,
- GCancellable *cancellable,
- GAsyncReadyCallback callback,
- gpointer user_data)
-{
- g_dbus_proxy_call (G_DBUS_PROXY (proxy),
- "PartitionCreate",
- g_variant_new ("(ttss^as^ass^as)",
- arg_offset,
- arg_size,
- arg_type,
- arg_label,
- arg_flags,
- arg_options,
- arg_fstype,
- arg_fsoptions),
- G_DBUS_CALL_FLAGS_NONE,
- -1,
- cancellable,
- callback,
- user_data);
-}
-
-/**
- * org_freedesktop_udisks_device_call_partition_create_finish:
- * @proxy: A #OrgFreedesktopUDisksDeviceProxy.
- * @out_created_device: (out): Return location for return parameter or %NULL to ignore.
- * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_freedesktop_udisks_device_call_partition_create().
- * @error: Return location for error or %NULL.
- *
- * Finishes an operation started with org_freedesktop_udisks_device_call_partition_create().
- *
- * Returns: (skip): %TRUE if the call succeded, %FALSE if @error is set.
- */
-gboolean
-org_freedesktop_udisks_device_call_partition_create_finish (
- OrgFreedesktopUDisksDevice *proxy,
- gchar **out_created_device,
- GAsyncResult *res,
- GError **error)
-{
- GVariant *_ret;
- _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
- if (_ret == NULL)
- goto _out;
- g_variant_get (_ret,
- "(o)",
- out_created_device);
- g_variant_unref (_ret);
-_out:
- return _ret != NULL;
-}
-
-/**
- * org_freedesktop_udisks_device_call_partition_create_sync:
- * @proxy: A #OrgFreedesktopUDisksDeviceProxy.
- * @arg_offset: Argument to pass with the method invocation.
- * @arg_size: Argument to pass with the method invocation.
- * @arg_type: Argument to pass with the method invocation.
- * @arg_label: Argument to pass with the method invocation.
- * @arg_flags: Argument to pass with the method invocation.
- * @arg_options: Argument to pass with the method invocation.
- * @arg_fstype: Argument to pass with the method invocation.
- * @arg_fsoptions: Argument to pass with the method invocation.
- * @out_created_device: (out): Return location for return parameter or %NULL to ignore.
- * @cancellable: (allow-none): A #GCancellable or %NULL.
- * @error: Return location for error or %NULL.
- *
- * Synchronously invokes the <link linkend="gdbus-method-org-freedesktop-UDisks-Device.PartitionCreate">PartitionCreate()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received.
- *
- * See org_freedesktop_udisks_device_call_partition_create() for the asynchronous version of this method.
- *
- * Returns: (skip): %TRUE if the call succeded, %FALSE if @error is set.
- */
-gboolean
-org_freedesktop_udisks_device_call_partition_create_sync (
- OrgFreedesktopUDisksDevice *proxy,
- guint64 arg_offset,
- guint64 arg_size,
- const gchar *arg_type,
- const gchar *arg_label,
- const gchar *const *arg_flags,
- const gchar *const *arg_options,
- const gchar *arg_fstype,
- const gchar *const *arg_fsoptions,
- gchar **out_created_device,
- GCancellable *cancellable,
- GError **error)
-{
- GVariant *_ret;
- _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
- "PartitionCreate",
- g_variant_new ("(ttss^as^ass^as)",
- arg_offset,
- arg_size,
- arg_type,
- arg_label,
- arg_flags,
- arg_options,
- arg_fstype,
- arg_fsoptions),
- G_DBUS_CALL_FLAGS_NONE,
- -1,
- cancellable,
- error);
- if (_ret == NULL)
- goto _out;
- g_variant_get (_ret,
- "(o)",
- out_created_device);
- g_variant_unref (_ret);
-_out:
- return _ret != NULL;
-}
-
-/**
- * org_freedesktop_udisks_device_call_partition_modify:
- * @proxy: A #OrgFreedesktopUDisksDeviceProxy.
- * @arg_type: Argument to pass with the method invocation.
- * @arg_label: Argument to pass with the method invocation.
- * @arg_flags: Argument to pass with the method invocation.
- * @cancellable: (allow-none): A #GCancellable or %NULL.
- * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
- * @user_data: User data to pass to @callback.
- *
- * Asynchronously invokes the <link linkend="gdbus-method-org-freedesktop-UDisks-Device.PartitionModify">PartitionModify()</link> D-Bus method on @proxy.
- * When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from.
- * You can then call org_freedesktop_udisks_device_call_partition_modify_finish() to get the result of the operation.
- *
- * See org_freedesktop_udisks_device_call_partition_modify_sync() for the synchronous, blocking version of this method.
- */
-void
-org_freedesktop_udisks_device_call_partition_modify (
- OrgFreedesktopUDisksDevice *proxy,
- const gchar *arg_type,
- const gchar *arg_label,
- const gchar *const *arg_flags,
- GCancellable *cancellable,
- GAsyncReadyCallback callback,
- gpointer user_data)
-{
- g_dbus_proxy_call (G_DBUS_PROXY (proxy),
- "PartitionModify",
- g_variant_new ("(ss^as)",
- arg_type,
- arg_label,
- arg_flags),
- G_DBUS_CALL_FLAGS_NONE,
- -1,
- cancellable,
- callback,
- user_data);
-}
-
-/**
- * org_freedesktop_udisks_device_call_partition_modify_finish:
- * @proxy: A #OrgFreedesktopUDisksDeviceProxy.
- * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_freedesktop_udisks_device_call_partition_modify().
- * @error: Return location for error or %NULL.
- *
- * Finishes an operation started with org_freedesktop_udisks_device_call_partition_modify().
- *
- * Returns: (skip): %TRUE if the call succeded, %FALSE if @error is set.
- */
-gboolean
-org_freedesktop_udisks_device_call_partition_modify_finish (
- OrgFreedesktopUDisksDevice *proxy,
- GAsyncResult *res,
- GError **error)
-{
- GVariant *_ret;
- _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
- if (_ret == NULL)
- goto _out;
- g_variant_get (_ret,
- "()");
- g_variant_unref (_ret);
-_out:
- return _ret != NULL;
-}
-
-/**
- * org_freedesktop_udisks_device_call_partition_modify_sync:
- * @proxy: A #OrgFreedesktopUDisksDeviceProxy.
- * @arg_type: Argument to pass with the method invocation.
- * @arg_label: Argument to pass with the method invocation.
- * @arg_flags: Argument to pass with the method invocation.
- * @cancellable: (allow-none): A #GCancellable or %NULL.
- * @error: Return location for error or %NULL.
- *
- * Synchronously invokes the <link linkend="gdbus-method-org-freedesktop-UDisks-Device.PartitionModify">PartitionModify()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received.
- *
- * See org_freedesktop_udisks_device_call_partition_modify() for the asynchronous version of this method.
- *
- * Returns: (skip): %TRUE if the call succeded, %FALSE if @error is set.
- */
-gboolean
-org_freedesktop_udisks_device_call_partition_modify_sync (
- OrgFreedesktopUDisksDevice *proxy,
- const gchar *arg_type,
- const gchar *arg_label,
- const gchar *const *arg_flags,
- GCancellable *cancellable,
- GError **error)
-{
- GVariant *_ret;
- _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
- "PartitionModify",
- g_variant_new ("(ss^as)",
- arg_type,
- arg_label,
- arg_flags),
- G_DBUS_CALL_FLAGS_NONE,
- -1,
- cancellable,
- error);
- if (_ret == NULL)
- goto _out;
- g_variant_get (_ret,
- "()");
- g_variant_unref (_ret);
-_out:
- return _ret != NULL;
-}
-
-/**
- * org_freedesktop_udisks_device_call_filesystem_create:
- * @proxy: A #OrgFreedesktopUDisksDeviceProxy.
- * @arg_fstype: Argument to pass with the method invocation.
- * @arg_options: Argument to pass with the method invocation.
- * @cancellable: (allow-none): A #GCancellable or %NULL.
- * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
- * @user_data: User data to pass to @callback.
- *
- * Asynchronously invokes the <link linkend="gdbus-method-org-freedesktop-UDisks-Device.FilesystemCreate">FilesystemCreate()</link> D-Bus method on @proxy.
- * When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from.
- * You can then call org_freedesktop_udisks_device_call_filesystem_create_finish() to get the result of the operation.
- *
- * See org_freedesktop_udisks_device_call_filesystem_create_sync() for the synchronous, blocking version of this method.
- */
-void
-org_freedesktop_udisks_device_call_filesystem_create (
- OrgFreedesktopUDisksDevice *proxy,
- const gchar *arg_fstype,
- const gchar *const *arg_options,
- GCancellable *cancellable,
- GAsyncReadyCallback callback,
- gpointer user_data)
-{
- g_dbus_proxy_call (G_DBUS_PROXY (proxy),
- "FilesystemCreate",
- g_variant_new ("(s^as)",
- arg_fstype,
- arg_options),
- G_DBUS_CALL_FLAGS_NONE,
- -1,
- cancellable,
- callback,
- user_data);
-}
-
-/**
- * org_freedesktop_udisks_device_call_filesystem_create_finish:
- * @proxy: A #OrgFreedesktopUDisksDeviceProxy.
- * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_freedesktop_udisks_device_call_filesystem_create().
- * @error: Return location for error or %NULL.
- *
- * Finishes an operation started with org_freedesktop_udisks_device_call_filesystem_create().
- *
- * Returns: (skip): %TRUE if the call succeded, %FALSE if @error is set.
- */
-gboolean
-org_freedesktop_udisks_device_call_filesystem_create_finish (
- OrgFreedesktopUDisksDevice *proxy,
- GAsyncResult *res,
- GError **error)
-{
- GVariant *_ret;
- _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
- if (_ret == NULL)
- goto _out;
- g_variant_get (_ret,
- "()");
- g_variant_unref (_ret);
-_out:
- return _ret != NULL;
-}
-
-/**
- * org_freedesktop_udisks_device_call_filesystem_create_sync:
- * @proxy: A #OrgFreedesktopUDisksDeviceProxy.
- * @arg_fstype: Argument to pass with the method invocation.
- * @arg_options: Argument to pass with the method invocation.
- * @cancellable: (allow-none): A #GCancellable or %NULL.
- * @error: Return location for error or %NULL.
- *
- * Synchronously invokes the <link linkend="gdbus-method-org-freedesktop-UDisks-Device.FilesystemCreate">FilesystemCreate()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received.
- *
- * See org_freedesktop_udisks_device_call_filesystem_create() for the asynchronous version of this method.
- *
- * Returns: (skip): %TRUE if the call succeded, %FALSE if @error is set.
- */
-gboolean
-org_freedesktop_udisks_device_call_filesystem_create_sync (
- OrgFreedesktopUDisksDevice *proxy,
- const gchar *arg_fstype,
- const gchar *const *arg_options,
- GCancellable *cancellable,
- GError **error)
-{
- GVariant *_ret;
- _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
- "FilesystemCreate",
- g_variant_new ("(s^as)",
- arg_fstype,
- arg_options),
- G_DBUS_CALL_FLAGS_NONE,
- -1,
- cancellable,
- error);
- if (_ret == NULL)
- goto _out;
- g_variant_get (_ret,
- "()");
- g_variant_unref (_ret);
-_out:
- return _ret != NULL;
-}
-
-/**
- * org_freedesktop_udisks_device_call_filesystem_set_label:
- * @proxy: A #OrgFreedesktopUDisksDeviceProxy.
- * @arg_new_label: Argument to pass with the method invocation.
- * @cancellable: (allow-none): A #GCancellable or %NULL.
- * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
- * @user_data: User data to pass to @callback.
- *
- * Asynchronously invokes the <link linkend="gdbus-method-org-freedesktop-UDisks-Device.FilesystemSetLabel">FilesystemSetLabel()</link> D-Bus method on @proxy.
- * When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from.
- * You can then call org_freedesktop_udisks_device_call_filesystem_set_label_finish() to get the result of the operation.
- *
- * See org_freedesktop_udisks_device_call_filesystem_set_label_sync() for the synchronous, blocking version of this method.
- */
-void
-org_freedesktop_udisks_device_call_filesystem_set_label (
- OrgFreedesktopUDisksDevice *proxy,
- const gchar *arg_new_label,
- GCancellable *cancellable,
- GAsyncReadyCallback callback,
- gpointer user_data)
-{
- g_dbus_proxy_call (G_DBUS_PROXY (proxy),
- "FilesystemSetLabel",
- g_variant_new ("(s)",
- arg_new_label),
- G_DBUS_CALL_FLAGS_NONE,
- -1,
- cancellable,
- callback,
- user_data);
-}
-
-/**
- * org_freedesktop_udisks_device_call_filesystem_set_label_finish:
- * @proxy: A #OrgFreedesktopUDisksDeviceProxy.
- * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_freedesktop_udisks_device_call_filesystem_set_label().
- * @error: Return location for error or %NULL.
- *
- * Finishes an operation started with org_freedesktop_udisks_device_call_filesystem_set_label().
- *
- * Returns: (skip): %TRUE if the call succeded, %FALSE if @error is set.
- */
-gboolean
-org_freedesktop_udisks_device_call_filesystem_set_label_finish (
- OrgFreedesktopUDisksDevice *proxy,
- GAsyncResult *res,
- GError **error)
-{
- GVariant *_ret;
- _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
- if (_ret == NULL)
- goto _out;
- g_variant_get (_ret,
- "()");
- g_variant_unref (_ret);
-_out:
- return _ret != NULL;
-}
-
-/**
- * org_freedesktop_udisks_device_call_filesystem_set_label_sync:
- * @proxy: A #OrgFreedesktopUDisksDeviceProxy.
- * @arg_new_label: Argument to pass with the method invocation.
- * @cancellable: (allow-none): A #GCancellable or %NULL.
- * @error: Return location for error or %NULL.
- *
- * Synchronously invokes the <link linkend="gdbus-method-org-freedesktop-UDisks-Device.FilesystemSetLabel">FilesystemSetLabel()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received.
- *
- * See org_freedesktop_udisks_device_call_filesystem_set_label() for the asynchronous version of this method.
- *
- * Returns: (skip): %TRUE if the call succeded, %FALSE if @error is set.
- */
-gboolean
-org_freedesktop_udisks_device_call_filesystem_set_label_sync (
- OrgFreedesktopUDisksDevice *proxy,
- const gchar *arg_new_label,
- GCancellable *cancellable,
- GError **error)
-{
- GVariant *_ret;
- _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
- "FilesystemSetLabel",
- g_variant_new ("(s)",
- arg_new_label),
- G_DBUS_CALL_FLAGS_NONE,
- -1,
- cancellable,
- error);
- if (_ret == NULL)
- goto _out;
- g_variant_get (_ret,
- "()");
- g_variant_unref (_ret);
-_out:
- return _ret != NULL;
-}
-
-/**
- * org_freedesktop_udisks_device_call_filesystem_mount:
- * @proxy: A #OrgFreedesktopUDisksDeviceProxy.
- * @arg_filesystem_type: Argument to pass with the method invocation.
- * @arg_options: Argument to pass with the method invocation.
- * @cancellable: (allow-none): A #GCancellable or %NULL.
- * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
- * @user_data: User data to pass to @callback.
- *
- * Asynchronously invokes the <link linkend="gdbus-method-org-freedesktop-UDisks-Device.FilesystemMount">FilesystemMount()</link> D-Bus method on @proxy.
- * When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from.
- * You can then call org_freedesktop_udisks_device_call_filesystem_mount_finish() to get the result of the operation.
- *
- * See org_freedesktop_udisks_device_call_filesystem_mount_sync() for the synchronous, blocking version of this method.
- */
-void
-org_freedesktop_udisks_device_call_filesystem_mount (
- OrgFreedesktopUDisksDevice *proxy,
- const gchar *arg_filesystem_type,
- const gchar *const *arg_options,
- GCancellable *cancellable,
- GAsyncReadyCallback callback,
- gpointer user_data)
-{
- g_dbus_proxy_call (G_DBUS_PROXY (proxy),
- "FilesystemMount",
- g_variant_new ("(s^as)",
- arg_filesystem_type,
- arg_options),
- G_DBUS_CALL_FLAGS_NONE,
- -1,
- cancellable,
- callback,
- user_data);
-}
-
-/**
- * org_freedesktop_udisks_device_call_filesystem_mount_finish:
- * @proxy: A #OrgFreedesktopUDisksDeviceProxy.
- * @out_mount_path: (out): Return location for return parameter or %NULL to ignore.
- * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_freedesktop_udisks_device_call_filesystem_mount().
- * @error: Return location for error or %NULL.
- *
- * Finishes an operation started with org_freedesktop_udisks_device_call_filesystem_mount().
- *
- * Returns: (skip): %TRUE if the call succeded, %FALSE if @error is set.
- */
-gboolean
-org_freedesktop_udisks_device_call_filesystem_mount_finish (
- OrgFreedesktopUDisksDevice *proxy,
- gchar **out_mount_path,
- GAsyncResult *res,
- GError **error)
-{
- GVariant *_ret;
- _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
- if (_ret == NULL)
- goto _out;
- g_variant_get (_ret,
- "(s)",
- out_mount_path);
- g_variant_unref (_ret);
-_out:
- return _ret != NULL;
-}
-
-/**
- * org_freedesktop_udisks_device_call_filesystem_mount_sync:
- * @proxy: A #OrgFreedesktopUDisksDeviceProxy.
- * @arg_filesystem_type: Argument to pass with the method invocation.
- * @arg_options: Argument to pass with the method invocation.
- * @out_mount_path: (out): Return location for return parameter or %NULL to ignore.
- * @cancellable: (allow-none): A #GCancellable or %NULL.
- * @error: Return location for error or %NULL.
- *
- * Synchronously invokes the <link linkend="gdbus-method-org-freedesktop-UDisks-Device.FilesystemMount">FilesystemMount()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received.
- *
- * See org_freedesktop_udisks_device_call_filesystem_mount() for the asynchronous version of this method.
- *
- * Returns: (skip): %TRUE if the call succeded, %FALSE if @error is set.
- */
-gboolean
-org_freedesktop_udisks_device_call_filesystem_mount_sync (
- OrgFreedesktopUDisksDevice *proxy,
- const gchar *arg_filesystem_type,
- const gchar *const *arg_options,
- gchar **out_mount_path,
- GCancellable *cancellable,
- GError **error)
-{
- GVariant *_ret;
- _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
- "FilesystemMount",
- g_variant_new ("(s^as)",
- arg_filesystem_type,
- arg_options),
- G_DBUS_CALL_FLAGS_NONE,
- -1,
- cancellable,
- error);
- if (_ret == NULL)
- goto _out;
- g_variant_get (_ret,
- "(s)",
- out_mount_path);
- g_variant_unref (_ret);
-_out:
- return _ret != NULL;
-}
-
-/**
- * org_freedesktop_udisks_device_call_filesystem_unmount:
- * @proxy: A #OrgFreedesktopUDisksDeviceProxy.
- * @arg_options: Argument to pass with the method invocation.
- * @cancellable: (allow-none): A #GCancellable or %NULL.
- * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
- * @user_data: User data to pass to @callback.
- *
- * Asynchronously invokes the <link linkend="gdbus-method-org-freedesktop-UDisks-Device.FilesystemUnmount">FilesystemUnmount()</link> D-Bus method on @proxy.
- * When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from.
- * You can then call org_freedesktop_udisks_device_call_filesystem_unmount_finish() to get the result of the operation.
- *
- * See org_freedesktop_udisks_device_call_filesystem_unmount_sync() for the synchronous, blocking version of this method.
- */
-void
-org_freedesktop_udisks_device_call_filesystem_unmount (
- OrgFreedesktopUDisksDevice *proxy,
- const gchar *const *arg_options,
- GCancellable *cancellable,
- GAsyncReadyCallback callback,
- gpointer user_data)
-{
- g_dbus_proxy_call (G_DBUS_PROXY (proxy),
- "FilesystemUnmount",
- g_variant_new ("(^as)",
- arg_options),
- G_DBUS_CALL_FLAGS_NONE,
- -1,
- cancellable,
- callback,
- user_data);
-}
-
-/**
- * org_freedesktop_udisks_device_call_filesystem_unmount_finish:
- * @proxy: A #OrgFreedesktopUDisksDeviceProxy.
- * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_freedesktop_udisks_device_call_filesystem_unmount().
- * @error: Return location for error or %NULL.
- *
- * Finishes an operation started with org_freedesktop_udisks_device_call_filesystem_unmount().
- *
- * Returns: (skip): %TRUE if the call succeded, %FALSE if @error is set.
- */
-gboolean
-org_freedesktop_udisks_device_call_filesystem_unmount_finish (
- OrgFreedesktopUDisksDevice *proxy,
- GAsyncResult *res,
- GError **error)
-{
- GVariant *_ret;
- _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
- if (_ret == NULL)
- goto _out;
- g_variant_get (_ret,
- "()");
- g_variant_unref (_ret);
-_out:
- return _ret != NULL;
-}
-
-/**
- * org_freedesktop_udisks_device_call_filesystem_unmount_sync:
- * @proxy: A #OrgFreedesktopUDisksDeviceProxy.
- * @arg_options: Argument to pass with the method invocation.
- * @cancellable: (allow-none): A #GCancellable or %NULL.
- * @error: Return location for error or %NULL.
- *
- * Synchronously invokes the <link linkend="gdbus-method-org-freedesktop-UDisks-Device.FilesystemUnmount">FilesystemUnmount()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received.
- *
- * See org_freedesktop_udisks_device_call_filesystem_unmount() for the asynchronous version of this method.
- *
- * Returns: (skip): %TRUE if the call succeded, %FALSE if @error is set.
- */
-gboolean
-org_freedesktop_udisks_device_call_filesystem_unmount_sync (
- OrgFreedesktopUDisksDevice *proxy,
- const gchar *const *arg_options,
- GCancellable *cancellable,
- GError **error)
-{
- GVariant *_ret;
- _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
- "FilesystemUnmount",
- g_variant_new ("(^as)",
- arg_options),
- G_DBUS_CALL_FLAGS_NONE,
- -1,
- cancellable,
- error);
- if (_ret == NULL)
- goto _out;
- g_variant_get (_ret,
- "()");
- g_variant_unref (_ret);
-_out:
- return _ret != NULL;
-}
-
-/**
- * org_freedesktop_udisks_device_call_filesystem_check:
- * @proxy: A #OrgFreedesktopUDisksDeviceProxy.
- * @arg_options: Argument to pass with the method invocation.
- * @cancellable: (allow-none): A #GCancellable or %NULL.
- * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
- * @user_data: User data to pass to @callback.
- *
- * Asynchronously invokes the <link linkend="gdbus-method-org-freedesktop-UDisks-Device.FilesystemCheck">FilesystemCheck()</link> D-Bus method on @proxy.
- * When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from.
- * You can then call org_freedesktop_udisks_device_call_filesystem_check_finish() to get the result of the operation.
- *
- * See org_freedesktop_udisks_device_call_filesystem_check_sync() for the synchronous, blocking version of this method.
- */
-void
-org_freedesktop_udisks_device_call_filesystem_check (
- OrgFreedesktopUDisksDevice *proxy,
- const gchar *const *arg_options,
- GCancellable *cancellable,
- GAsyncReadyCallback callback,
- gpointer user_data)
-{
- g_dbus_proxy_call (G_DBUS_PROXY (proxy),
- "FilesystemCheck",
- g_variant_new ("(^as)",
- arg_options),
- G_DBUS_CALL_FLAGS_NONE,
- -1,
- cancellable,
- callback,
- user_data);
-}
-
-/**
- * org_freedesktop_udisks_device_call_filesystem_check_finish:
- * @proxy: A #OrgFreedesktopUDisksDeviceProxy.
- * @out_is_clean: (out): Return location for return parameter or %NULL to ignore.
- * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_freedesktop_udisks_device_call_filesystem_check().
- * @error: Return location for error or %NULL.
- *
- * Finishes an operation started with org_freedesktop_udisks_device_call_filesystem_check().
- *
- * Returns: (skip): %TRUE if the call succeded, %FALSE if @error is set.
- */
-gboolean
-org_freedesktop_udisks_device_call_filesystem_check_finish (
- OrgFreedesktopUDisksDevice *proxy,
- gboolean *out_is_clean,
- GAsyncResult *res,
- GError **error)
-{
- GVariant *_ret;
- _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
- if (_ret == NULL)
- goto _out;
- g_variant_get (_ret,
- "(b)",
- out_is_clean);
- g_variant_unref (_ret);
-_out:
- return _ret != NULL;
-}
-
-/**
- * org_freedesktop_udisks_device_call_filesystem_check_sync:
- * @proxy: A #OrgFreedesktopUDisksDeviceProxy.
- * @arg_options: Argument to pass with the method invocation.
- * @out_is_clean: (out): Return location for return parameter or %NULL to ignore.
- * @cancellable: (allow-none): A #GCancellable or %NULL.
- * @error: Return location for error or %NULL.
- *
- * Synchronously invokes the <link linkend="gdbus-method-org-freedesktop-UDisks-Device.FilesystemCheck">FilesystemCheck()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received.
- *
- * See org_freedesktop_udisks_device_call_filesystem_check() for the asynchronous version of this method.
- *
- * Returns: (skip): %TRUE if the call succeded, %FALSE if @error is set.
- */
-gboolean
-org_freedesktop_udisks_device_call_filesystem_check_sync (
- OrgFreedesktopUDisksDevice *proxy,
- const gchar *const *arg_options,
- gboolean *out_is_clean,
- GCancellable *cancellable,
- GError **error)
-{
- GVariant *_ret;
- _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
- "FilesystemCheck",
- g_variant_new ("(^as)",
- arg_options),
- G_DBUS_CALL_FLAGS_NONE,
- -1,
- cancellable,
- error);
- if (_ret == NULL)
- goto _out;
- g_variant_get (_ret,
- "(b)",
- out_is_clean);
- g_variant_unref (_ret);
-_out:
- return _ret != NULL;
-}
-
-/**
- * org_freedesktop_udisks_device_call_filesystem_list_open_files:
- * @proxy: A #OrgFreedesktopUDisksDeviceProxy.
- * @cancellable: (allow-none): A #GCancellable or %NULL.
- * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
- * @user_data: User data to pass to @callback.
- *
- * Asynchronously invokes the <link linkend="gdbus-method-org-freedesktop-UDisks-Device.FilesystemListOpenFiles">FilesystemListOpenFiles()</link> D-Bus method on @proxy.
- * When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from.
- * You can then call org_freedesktop_udisks_device_call_filesystem_list_open_files_finish() to get the result of the operation.
- *
- * See org_freedesktop_udisks_device_call_filesystem_list_open_files_sync() for the synchronous, blocking version of this method.
- */
-void
-org_freedesktop_udisks_device_call_filesystem_list_open_files (
- OrgFreedesktopUDisksDevice *proxy,
- GCancellable *cancellable,
- GAsyncReadyCallback callback,
- gpointer user_data)
-{
- g_dbus_proxy_call (G_DBUS_PROXY (proxy),
- "FilesystemListOpenFiles",
- g_variant_new ("()"),
- G_DBUS_CALL_FLAGS_NONE,
- -1,
- cancellable,
- callback,
- user_data);
-}
-
-/**
- * org_freedesktop_udisks_device_call_filesystem_list_open_files_finish:
- * @proxy: A #OrgFreedesktopUDisksDeviceProxy.
- * @out_processes: (out): Return location for return parameter or %NULL to ignore.
- * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_freedesktop_udisks_device_call_filesystem_list_open_files().
- * @error: Return location for error or %NULL.
- *
- * Finishes an operation started with org_freedesktop_udisks_device_call_filesystem_list_open_files().
- *
- * Returns: (skip): %TRUE if the call succeded, %FALSE if @error is set.
- */
-gboolean
-org_freedesktop_udisks_device_call_filesystem_list_open_files_finish (
- OrgFreedesktopUDisksDevice *proxy,
- GVariant **out_processes,
- GAsyncResult *res,
- GError **error)
-{
- GVariant *_ret;
- _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
- if (_ret == NULL)
- goto _out;
- g_variant_get (_ret,
- "(@a(uus))",
- out_processes);
- g_variant_unref (_ret);
-_out:
- return _ret != NULL;
-}
-
-/**
- * org_freedesktop_udisks_device_call_filesystem_list_open_files_sync:
- * @proxy: A #OrgFreedesktopUDisksDeviceProxy.
- * @out_processes: (out): Return location for return parameter or %NULL to ignore.
- * @cancellable: (allow-none): A #GCancellable or %NULL.
- * @error: Return location for error or %NULL.
- *
- * Synchronously invokes the <link linkend="gdbus-method-org-freedesktop-UDisks-Device.FilesystemListOpenFiles">FilesystemListOpenFiles()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received.
- *
- * See org_freedesktop_udisks_device_call_filesystem_list_open_files() for the asynchronous version of this method.
- *
- * Returns: (skip): %TRUE if the call succeded, %FALSE if @error is set.
- */
-gboolean
-org_freedesktop_udisks_device_call_filesystem_list_open_files_sync (
- OrgFreedesktopUDisksDevice *proxy,
- GVariant **out_processes,
- GCancellable *cancellable,
- GError **error)
-{
- GVariant *_ret;
- _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
- "FilesystemListOpenFiles",
- g_variant_new ("()"),
- G_DBUS_CALL_FLAGS_NONE,
- -1,
- cancellable,
- error);
- if (_ret == NULL)
- goto _out;
- g_variant_get (_ret,
- "(@a(uus))",
- out_processes);
- g_variant_unref (_ret);
-_out:
- return _ret != NULL;
-}
-
-/**
- * org_freedesktop_udisks_device_call_luks_unlock:
- * @proxy: A #OrgFreedesktopUDisksDeviceProxy.
- * @arg_passphrase: Argument to pass with the method invocation.
- * @arg_options: Argument to pass with the method invocation.
- * @cancellable: (allow-none): A #GCancellable or %NULL.
- * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
- * @user_data: User data to pass to @callback.
- *
- * Asynchronously invokes the <link linkend="gdbus-method-org-freedesktop-UDisks-Device.LuksUnlock">LuksUnlock()</link> D-Bus method on @proxy.
- * When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from.
- * You can then call org_freedesktop_udisks_device_call_luks_unlock_finish() to get the result of the operation.
- *
- * See org_freedesktop_udisks_device_call_luks_unlock_sync() for the synchronous, blocking version of this method.
- */
-void
-org_freedesktop_udisks_device_call_luks_unlock (
- OrgFreedesktopUDisksDevice *proxy,
- const gchar *arg_passphrase,
- const gchar *const *arg_options,
- GCancellable *cancellable,
- GAsyncReadyCallback callback,
- gpointer user_data)
-{
- g_dbus_proxy_call (G_DBUS_PROXY (proxy),
- "LuksUnlock",
- g_variant_new ("(s^as)",
- arg_passphrase,
- arg_options),
- G_DBUS_CALL_FLAGS_NONE,
- -1,
- cancellable,
- callback,
- user_data);
-}
-
-/**
- * org_freedesktop_udisks_device_call_luks_unlock_finish:
- * @proxy: A #OrgFreedesktopUDisksDeviceProxy.
- * @out_cleartext_device: (out): Return location for return parameter or %NULL to ignore.
- * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_freedesktop_udisks_device_call_luks_unlock().
- * @error: Return location for error or %NULL.
- *
- * Finishes an operation started with org_freedesktop_udisks_device_call_luks_unlock().
- *
- * Returns: (skip): %TRUE if the call succeded, %FALSE if @error is set.
- */
-gboolean
-org_freedesktop_udisks_device_call_luks_unlock_finish (
- OrgFreedesktopUDisksDevice *proxy,
- gchar **out_cleartext_device,
- GAsyncResult *res,
- GError **error)
-{
- GVariant *_ret;
- _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
- if (_ret == NULL)
- goto _out;
- g_variant_get (_ret,
- "(o)",
- out_cleartext_device);
- g_variant_unref (_ret);
-_out:
- return _ret != NULL;
-}
-
-/**
- * org_freedesktop_udisks_device_call_luks_unlock_sync:
- * @proxy: A #OrgFreedesktopUDisksDeviceProxy.
- * @arg_passphrase: Argument to pass with the method invocation.
- * @arg_options: Argument to pass with the method invocation.
- * @out_cleartext_device: (out): Return location for return parameter or %NULL to ignore.
- * @cancellable: (allow-none): A #GCancellable or %NULL.
- * @error: Return location for error or %NULL.
- *
- * Synchronously invokes the <link linkend="gdbus-method-org-freedesktop-UDisks-Device.LuksUnlock">LuksUnlock()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received.
- *
- * See org_freedesktop_udisks_device_call_luks_unlock() for the asynchronous version of this method.
- *
- * Returns: (skip): %TRUE if the call succeded, %FALSE if @error is set.
- */
-gboolean
-org_freedesktop_udisks_device_call_luks_unlock_sync (
- OrgFreedesktopUDisksDevice *proxy,
- const gchar *arg_passphrase,
- const gchar *const *arg_options,
- gchar **out_cleartext_device,
- GCancellable *cancellable,
- GError **error)
-{
- GVariant *_ret;
- _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
- "LuksUnlock",
- g_variant_new ("(s^as)",
- arg_passphrase,
- arg_options),
- G_DBUS_CALL_FLAGS_NONE,
- -1,
- cancellable,
- error);
- if (_ret == NULL)
- goto _out;
- g_variant_get (_ret,
- "(o)",
- out_cleartext_device);
- g_variant_unref (_ret);
-_out:
- return _ret != NULL;
-}
-
-/**
- * org_freedesktop_udisks_device_call_luks_lock:
- * @proxy: A #OrgFreedesktopUDisksDeviceProxy.
- * @arg_options: Argument to pass with the method invocation.
- * @cancellable: (allow-none): A #GCancellable or %NULL.
- * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
- * @user_data: User data to pass to @callback.
- *
- * Asynchronously invokes the <link linkend="gdbus-method-org-freedesktop-UDisks-Device.LuksLock">LuksLock()</link> D-Bus method on @proxy.
- * When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from.
- * You can then call org_freedesktop_udisks_device_call_luks_lock_finish() to get the result of the operation.
- *
- * See org_freedesktop_udisks_device_call_luks_lock_sync() for the synchronous, blocking version of this method.
- */
-void
-org_freedesktop_udisks_device_call_luks_lock (
- OrgFreedesktopUDisksDevice *proxy,
- const gchar *const *arg_options,
- GCancellable *cancellable,
- GAsyncReadyCallback callback,
- gpointer user_data)
-{
- g_dbus_proxy_call (G_DBUS_PROXY (proxy),
- "LuksLock",
- g_variant_new ("(^as)",
- arg_options),
- G_DBUS_CALL_FLAGS_NONE,
- -1,
- cancellable,
- callback,
- user_data);
-}
-
-/**
- * org_freedesktop_udisks_device_call_luks_lock_finish:
- * @proxy: A #OrgFreedesktopUDisksDeviceProxy.
- * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_freedesktop_udisks_device_call_luks_lock().
- * @error: Return location for error or %NULL.
- *
- * Finishes an operation started with org_freedesktop_udisks_device_call_luks_lock().
- *
- * Returns: (skip): %TRUE if the call succeded, %FALSE if @error is set.
- */
-gboolean
-org_freedesktop_udisks_device_call_luks_lock_finish (
- OrgFreedesktopUDisksDevice *proxy,
- GAsyncResult *res,
- GError **error)
-{
- GVariant *_ret;
- _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
- if (_ret == NULL)
- goto _out;
- g_variant_get (_ret,
- "()");
- g_variant_unref (_ret);
-_out:
- return _ret != NULL;
-}
-
-/**
- * org_freedesktop_udisks_device_call_luks_lock_sync:
- * @proxy: A #OrgFreedesktopUDisksDeviceProxy.
- * @arg_options: Argument to pass with the method invocation.
- * @cancellable: (allow-none): A #GCancellable or %NULL.
- * @error: Return location for error or %NULL.
- *
- * Synchronously invokes the <link linkend="gdbus-method-org-freedesktop-UDisks-Device.LuksLock">LuksLock()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received.
- *
- * See org_freedesktop_udisks_device_call_luks_lock() for the asynchronous version of this method.
- *
- * Returns: (skip): %TRUE if the call succeded, %FALSE if @error is set.
- */
-gboolean
-org_freedesktop_udisks_device_call_luks_lock_sync (
- OrgFreedesktopUDisksDevice *proxy,
- const gchar *const *arg_options,
- GCancellable *cancellable,
- GError **error)
-{
- GVariant *_ret;
- _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
- "LuksLock",
- g_variant_new ("(^as)",
- arg_options),
- G_DBUS_CALL_FLAGS_NONE,
- -1,
- cancellable,
- error);
- if (_ret == NULL)
- goto _out;
- g_variant_get (_ret,
- "()");
- g_variant_unref (_ret);
-_out:
- return _ret != NULL;
-}
-
-/**
- * org_freedesktop_udisks_device_call_luks_change_passphrase:
- * @proxy: A #OrgFreedesktopUDisksDeviceProxy.
- * @arg_current_passphrase: Argument to pass with the method invocation.
- * @arg_new_passphrase: Argument to pass with the method invocation.
- * @cancellable: (allow-none): A #GCancellable or %NULL.
- * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
- * @user_data: User data to pass to @callback.
- *
- * Asynchronously invokes the <link linkend="gdbus-method-org-freedesktop-UDisks-Device.LuksChangePassphrase">LuksChangePassphrase()</link> D-Bus method on @proxy.
- * When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from.
- * You can then call org_freedesktop_udisks_device_call_luks_change_passphrase_finish() to get the result of the operation.
- *
- * See org_freedesktop_udisks_device_call_luks_change_passphrase_sync() for the synchronous, blocking version of this method.
- */
-void
-org_freedesktop_udisks_device_call_luks_change_passphrase (
- OrgFreedesktopUDisksDevice *proxy,
- const gchar *arg_current_passphrase,
- const gchar *arg_new_passphrase,
- GCancellable *cancellable,
- GAsyncReadyCallback callback,
- gpointer user_data)
-{
- g_dbus_proxy_call (G_DBUS_PROXY (proxy),
- "LuksChangePassphrase",
- g_variant_new ("(ss)",
- arg_current_passphrase,
- arg_new_passphrase),
- G_DBUS_CALL_FLAGS_NONE,
- -1,
- cancellable,
- callback,
- user_data);
-}
-
-/**
- * org_freedesktop_udisks_device_call_luks_change_passphrase_finish:
- * @proxy: A #OrgFreedesktopUDisksDeviceProxy.
- * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_freedesktop_udisks_device_call_luks_change_passphrase().
- * @error: Return location for error or %NULL.
- *
- * Finishes an operation started with org_freedesktop_udisks_device_call_luks_change_passphrase().
- *
- * Returns: (skip): %TRUE if the call succeded, %FALSE if @error is set.
- */
-gboolean
-org_freedesktop_udisks_device_call_luks_change_passphrase_finish (
- OrgFreedesktopUDisksDevice *proxy,
- GAsyncResult *res,
- GError **error)
-{
- GVariant *_ret;
- _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
- if (_ret == NULL)
- goto _out;
- g_variant_get (_ret,
- "()");
- g_variant_unref (_ret);
-_out:
- return _ret != NULL;
-}
-
-/**
- * org_freedesktop_udisks_device_call_luks_change_passphrase_sync:
- * @proxy: A #OrgFreedesktopUDisksDeviceProxy.
- * @arg_current_passphrase: Argument to pass with the method invocation.
- * @arg_new_passphrase: Argument to pass with the method invocation.
- * @cancellable: (allow-none): A #GCancellable or %NULL.
- * @error: Return location for error or %NULL.
- *
- * Synchronously invokes the <link linkend="gdbus-method-org-freedesktop-UDisks-Device.LuksChangePassphrase">LuksChangePassphrase()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received.
- *
- * See org_freedesktop_udisks_device_call_luks_change_passphrase() for the asynchronous version of this method.
- *
- * Returns: (skip): %TRUE if the call succeded, %FALSE if @error is set.
- */
-gboolean
-org_freedesktop_udisks_device_call_luks_change_passphrase_sync (
- OrgFreedesktopUDisksDevice *proxy,
- const gchar *arg_current_passphrase,
- const gchar *arg_new_passphrase,
- GCancellable *cancellable,
- GError **error)
-{
- GVariant *_ret;
- _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
- "LuksChangePassphrase",
- g_variant_new ("(ss)",
- arg_current_passphrase,
- arg_new_passphrase),
- G_DBUS_CALL_FLAGS_NONE,
- -1,
- cancellable,
- error);
- if (_ret == NULL)
- goto _out;
- g_variant_get (_ret,
- "()");
- g_variant_unref (_ret);
-_out:
- return _ret != NULL;
-}
-
-/**
- * org_freedesktop_udisks_device_call_linux_md_add_spare:
- * @proxy: A #OrgFreedesktopUDisksDeviceProxy.
- * @arg_component: Argument to pass with the method invocation.
- * @arg_options: Argument to pass with the method invocation.
- * @cancellable: (allow-none): A #GCancellable or %NULL.
- * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
- * @user_data: User data to pass to @callback.
- *
- * Asynchronously invokes the <link linkend="gdbus-method-org-freedesktop-UDisks-Device.LinuxMdAddSpare">LinuxMdAddSpare()</link> D-Bus method on @proxy.
- * When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from.
- * You can then call org_freedesktop_udisks_device_call_linux_md_add_spare_finish() to get the result of the operation.
- *
- * See org_freedesktop_udisks_device_call_linux_md_add_spare_sync() for the synchronous, blocking version of this method.
- */
-void
-org_freedesktop_udisks_device_call_linux_md_add_spare (
- OrgFreedesktopUDisksDevice *proxy,
- const gchar *arg_component,
- const gchar *const *arg_options,
- GCancellable *cancellable,
- GAsyncReadyCallback callback,
- gpointer user_data)
-{
- g_dbus_proxy_call (G_DBUS_PROXY (proxy),
- "LinuxMdAddSpare",
- g_variant_new ("(o^as)",
- arg_component,
- arg_options),
- G_DBUS_CALL_FLAGS_NONE,
- -1,
- cancellable,
- callback,
- user_data);
-}
-
-/**
- * org_freedesktop_udisks_device_call_linux_md_add_spare_finish:
- * @proxy: A #OrgFreedesktopUDisksDeviceProxy.
- * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_freedesktop_udisks_device_call_linux_md_add_spare().
- * @error: Return location for error or %NULL.
- *
- * Finishes an operation started with org_freedesktop_udisks_device_call_linux_md_add_spare().
- *
- * Returns: (skip): %TRUE if the call succeded, %FALSE if @error is set.
- */
-gboolean
-org_freedesktop_udisks_device_call_linux_md_add_spare_finish (
- OrgFreedesktopUDisksDevice *proxy,
- GAsyncResult *res,
- GError **error)
-{
- GVariant *_ret;
- _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
- if (_ret == NULL)
- goto _out;
- g_variant_get (_ret,
- "()");
- g_variant_unref (_ret);
-_out:
- return _ret != NULL;
-}
-
-/**
- * org_freedesktop_udisks_device_call_linux_md_add_spare_sync:
- * @proxy: A #OrgFreedesktopUDisksDeviceProxy.
- * @arg_component: Argument to pass with the method invocation.
- * @arg_options: Argument to pass with the method invocation.
- * @cancellable: (allow-none): A #GCancellable or %NULL.
- * @error: Return location for error or %NULL.
- *
- * Synchronously invokes the <link linkend="gdbus-method-org-freedesktop-UDisks-Device.LinuxMdAddSpare">LinuxMdAddSpare()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received.
- *
- * See org_freedesktop_udisks_device_call_linux_md_add_spare() for the asynchronous version of this method.
- *
- * Returns: (skip): %TRUE if the call succeded, %FALSE if @error is set.
- */
-gboolean
-org_freedesktop_udisks_device_call_linux_md_add_spare_sync (
- OrgFreedesktopUDisksDevice *proxy,
- const gchar *arg_component,
- const gchar *const *arg_options,
- GCancellable *cancellable,
- GError **error)
-{
- GVariant *_ret;
- _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
- "LinuxMdAddSpare",
- g_variant_new ("(o^as)",
- arg_component,
- arg_options),
- G_DBUS_CALL_FLAGS_NONE,
- -1,
- cancellable,
- error);
- if (_ret == NULL)
- goto _out;
- g_variant_get (_ret,
- "()");
- g_variant_unref (_ret);
-_out:
- return _ret != NULL;
-}
-
-/**
- * org_freedesktop_udisks_device_call_linux_md_expand:
- * @proxy: A #OrgFreedesktopUDisksDeviceProxy.
- * @arg_components: Argument to pass with the method invocation.
- * @arg_options: Argument to pass with the method invocation.
- * @cancellable: (allow-none): A #GCancellable or %NULL.
- * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
- * @user_data: User data to pass to @callback.
- *
- * Asynchronously invokes the <link linkend="gdbus-method-org-freedesktop-UDisks-Device.LinuxMdExpand">LinuxMdExpand()</link> D-Bus method on @proxy.
- * When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from.
- * You can then call org_freedesktop_udisks_device_call_linux_md_expand_finish() to get the result of the operation.
- *
- * See org_freedesktop_udisks_device_call_linux_md_expand_sync() for the synchronous, blocking version of this method.
- */
-void
-org_freedesktop_udisks_device_call_linux_md_expand (
- OrgFreedesktopUDisksDevice *proxy,
- const gchar *const *arg_components,
- const gchar *const *arg_options,
- GCancellable *cancellable,
- GAsyncReadyCallback callback,
- gpointer user_data)
-{
- g_dbus_proxy_call (G_DBUS_PROXY (proxy),
- "LinuxMdExpand",
- g_variant_new ("(^ao^as)",
- arg_components,
- arg_options),
- G_DBUS_CALL_FLAGS_NONE,
- -1,
- cancellable,
- callback,
- user_data);
-}
-
-/**
- * org_freedesktop_udisks_device_call_linux_md_expand_finish:
- * @proxy: A #OrgFreedesktopUDisksDeviceProxy.
- * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_freedesktop_udisks_device_call_linux_md_expand().
- * @error: Return location for error or %NULL.
- *
- * Finishes an operation started with org_freedesktop_udisks_device_call_linux_md_expand().
- *
- * Returns: (skip): %TRUE if the call succeded, %FALSE if @error is set.
- */
-gboolean
-org_freedesktop_udisks_device_call_linux_md_expand_finish (
- OrgFreedesktopUDisksDevice *proxy,
- GAsyncResult *res,
- GError **error)
-{
- GVariant *_ret;
- _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
- if (_ret == NULL)
- goto _out;
- g_variant_get (_ret,
- "()");
- g_variant_unref (_ret);
-_out:
- return _ret != NULL;
-}
-
-/**
- * org_freedesktop_udisks_device_call_linux_md_expand_sync:
- * @proxy: A #OrgFreedesktopUDisksDeviceProxy.
- * @arg_components: Argument to pass with the method invocation.
- * @arg_options: Argument to pass with the method invocation.
- * @cancellable: (allow-none): A #GCancellable or %NULL.
- * @error: Return location for error or %NULL.
- *
- * Synchronously invokes the <link linkend="gdbus-method-org-freedesktop-UDisks-Device.LinuxMdExpand">LinuxMdExpand()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received.
- *
- * See org_freedesktop_udisks_device_call_linux_md_expand() for the asynchronous version of this method.
- *
- * Returns: (skip): %TRUE if the call succeded, %FALSE if @error is set.
- */
-gboolean
-org_freedesktop_udisks_device_call_linux_md_expand_sync (
- OrgFreedesktopUDisksDevice *proxy,
- const gchar *const *arg_components,
- const gchar *const *arg_options,
- GCancellable *cancellable,
- GError **error)
-{
- GVariant *_ret;
- _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
- "LinuxMdExpand",
- g_variant_new ("(^ao^as)",
- arg_components,
- arg_options),
- G_DBUS_CALL_FLAGS_NONE,
- -1,
- cancellable,
- error);
- if (_ret == NULL)
- goto _out;
- g_variant_get (_ret,
- "()");
- g_variant_unref (_ret);
-_out:
- return _ret != NULL;
-}
-
-/**
- * org_freedesktop_udisks_device_call_linux_md_remove_component:
- * @proxy: A #OrgFreedesktopUDisksDeviceProxy.
- * @arg_component: Argument to pass with the method invocation.
- * @arg_options: Argument to pass with the method invocation.
- * @cancellable: (allow-none): A #GCancellable or %NULL.
- * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
- * @user_data: User data to pass to @callback.
- *
- * Asynchronously invokes the <link linkend="gdbus-method-org-freedesktop-UDisks-Device.LinuxMdRemoveComponent">LinuxMdRemoveComponent()</link> D-Bus method on @proxy.
- * When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from.
- * You can then call org_freedesktop_udisks_device_call_linux_md_remove_component_finish() to get the result of the operation.
- *
- * See org_freedesktop_udisks_device_call_linux_md_remove_component_sync() for the synchronous, blocking version of this method.
- */
-void
-org_freedesktop_udisks_device_call_linux_md_remove_component (
- OrgFreedesktopUDisksDevice *proxy,
- const gchar *arg_component,
- const gchar *const *arg_options,
- GCancellable *cancellable,
- GAsyncReadyCallback callback,
- gpointer user_data)
-{
- g_dbus_proxy_call (G_DBUS_PROXY (proxy),
- "LinuxMdRemoveComponent",
- g_variant_new ("(o^as)",
- arg_component,
- arg_options),
- G_DBUS_CALL_FLAGS_NONE,
- -1,
- cancellable,
- callback,
- user_data);
-}
-
-/**
- * org_freedesktop_udisks_device_call_linux_md_remove_component_finish:
- * @proxy: A #OrgFreedesktopUDisksDeviceProxy.
- * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_freedesktop_udisks_device_call_linux_md_remove_component().
- * @error: Return location for error or %NULL.
- *
- * Finishes an operation started with org_freedesktop_udisks_device_call_linux_md_remove_component().
- *
- * Returns: (skip): %TRUE if the call succeded, %FALSE if @error is set.
- */
-gboolean
-org_freedesktop_udisks_device_call_linux_md_remove_component_finish (
- OrgFreedesktopUDisksDevice *proxy,
- GAsyncResult *res,
- GError **error)
-{
- GVariant *_ret;
- _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
- if (_ret == NULL)
- goto _out;
- g_variant_get (_ret,
- "()");
- g_variant_unref (_ret);
-_out:
- return _ret != NULL;
-}
-
-/**
- * org_freedesktop_udisks_device_call_linux_md_remove_component_sync:
- * @proxy: A #OrgFreedesktopUDisksDeviceProxy.
- * @arg_component: Argument to pass with the method invocation.
- * @arg_options: Argument to pass with the method invocation.
- * @cancellable: (allow-none): A #GCancellable or %NULL.
- * @error: Return location for error or %NULL.
- *
- * Synchronously invokes the <link linkend="gdbus-method-org-freedesktop-UDisks-Device.LinuxMdRemoveComponent">LinuxMdRemoveComponent()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received.
- *
- * See org_freedesktop_udisks_device_call_linux_md_remove_component() for the asynchronous version of this method.
- *
- * Returns: (skip): %TRUE if the call succeded, %FALSE if @error is set.
- */
-gboolean
-org_freedesktop_udisks_device_call_linux_md_remove_component_sync (
- OrgFreedesktopUDisksDevice *proxy,
- const gchar *arg_component,
- const gchar *const *arg_options,
- GCancellable *cancellable,
- GError **error)
-{
- GVariant *_ret;
- _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
- "LinuxMdRemoveComponent",
- g_variant_new ("(o^as)",
- arg_component,
- arg_options),
- G_DBUS_CALL_FLAGS_NONE,
- -1,
- cancellable,
- error);
- if (_ret == NULL)
- goto _out;
- g_variant_get (_ret,
- "()");
- g_variant_unref (_ret);
-_out:
- return _ret != NULL;
-}
-
-/**
- * org_freedesktop_udisks_device_call_linux_md_stop:
- * @proxy: A #OrgFreedesktopUDisksDeviceProxy.
- * @arg_options: Argument to pass with the method invocation.
- * @cancellable: (allow-none): A #GCancellable or %NULL.
- * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
- * @user_data: User data to pass to @callback.
- *
- * Asynchronously invokes the <link linkend="gdbus-method-org-freedesktop-UDisks-Device.LinuxMdStop">LinuxMdStop()</link> D-Bus method on @proxy.
- * When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from.
- * You can then call org_freedesktop_udisks_device_call_linux_md_stop_finish() to get the result of the operation.
- *
- * See org_freedesktop_udisks_device_call_linux_md_stop_sync() for the synchronous, blocking version of this method.
- */
-void
-org_freedesktop_udisks_device_call_linux_md_stop (
- OrgFreedesktopUDisksDevice *proxy,
- const gchar *const *arg_options,
- GCancellable *cancellable,
- GAsyncReadyCallback callback,
- gpointer user_data)
-{
- g_dbus_proxy_call (G_DBUS_PROXY (proxy),
- "LinuxMdStop",
- g_variant_new ("(^as)",
- arg_options),
- G_DBUS_CALL_FLAGS_NONE,
- -1,
- cancellable,
- callback,
- user_data);
-}
-
-/**
- * org_freedesktop_udisks_device_call_linux_md_stop_finish:
- * @proxy: A #OrgFreedesktopUDisksDeviceProxy.
- * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_freedesktop_udisks_device_call_linux_md_stop().
- * @error: Return location for error or %NULL.
- *
- * Finishes an operation started with org_freedesktop_udisks_device_call_linux_md_stop().
- *
- * Returns: (skip): %TRUE if the call succeded, %FALSE if @error is set.
- */
-gboolean
-org_freedesktop_udisks_device_call_linux_md_stop_finish (
- OrgFreedesktopUDisksDevice *proxy,
- GAsyncResult *res,
- GError **error)
-{
- GVariant *_ret;
- _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
- if (_ret == NULL)
- goto _out;
- g_variant_get (_ret,
- "()");
- g_variant_unref (_ret);
-_out:
- return _ret != NULL;
-}
-
-/**
- * org_freedesktop_udisks_device_call_linux_md_stop_sync:
- * @proxy: A #OrgFreedesktopUDisksDeviceProxy.
- * @arg_options: Argument to pass with the method invocation.
- * @cancellable: (allow-none): A #GCancellable or %NULL.
- * @error: Return location for error or %NULL.
- *
- * Synchronously invokes the <link linkend="gdbus-method-org-freedesktop-UDisks-Device.LinuxMdStop">LinuxMdStop()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received.
- *
- * See org_freedesktop_udisks_device_call_linux_md_stop() for the asynchronous version of this method.
- *
- * Returns: (skip): %TRUE if the call succeded, %FALSE if @error is set.
- */
-gboolean
-org_freedesktop_udisks_device_call_linux_md_stop_sync (
- OrgFreedesktopUDisksDevice *proxy,
- const gchar *const *arg_options,
- GCancellable *cancellable,
- GError **error)
-{
- GVariant *_ret;
- _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
- "LinuxMdStop",
- g_variant_new ("(^as)",
- arg_options),
- G_DBUS_CALL_FLAGS_NONE,
- -1,
- cancellable,
- error);
- if (_ret == NULL)
- goto _out;
- g_variant_get (_ret,
- "()");
- g_variant_unref (_ret);
-_out:
- return _ret != NULL;
-}
-
-/**
- * org_freedesktop_udisks_device_call_linux_lvm2_lvstop:
- * @proxy: A #OrgFreedesktopUDisksDeviceProxy.
- * @arg_options: Argument to pass with the method invocation.
- * @cancellable: (allow-none): A #GCancellable or %NULL.
- * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
- * @user_data: User data to pass to @callback.
- *
- * Asynchronously invokes the <link linkend="gdbus-method-org-freedesktop-UDisks-Device.LinuxLvm2LVStop">LinuxLvm2LVStop()</link> D-Bus method on @proxy.
- * When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from.
- * You can then call org_freedesktop_udisks_device_call_linux_lvm2_lvstop_finish() to get the result of the operation.
- *
- * See org_freedesktop_udisks_device_call_linux_lvm2_lvstop_sync() for the synchronous, blocking version of this method.
- */
-void
-org_freedesktop_udisks_device_call_linux_lvm2_lvstop (
- OrgFreedesktopUDisksDevice *proxy,
- const gchar *const *arg_options,
- GCancellable *cancellable,
- GAsyncReadyCallback callback,
- gpointer user_data)
-{
- g_dbus_proxy_call (G_DBUS_PROXY (proxy),
- "LinuxLvm2LVStop",
- g_variant_new ("(^as)",
- arg_options),
- G_DBUS_CALL_FLAGS_NONE,
- -1,
- cancellable,
- callback,
- user_data);
-}
-
-/**
- * org_freedesktop_udisks_device_call_linux_lvm2_lvstop_finish:
- * @proxy: A #OrgFreedesktopUDisksDeviceProxy.
- * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_freedesktop_udisks_device_call_linux_lvm2_lvstop().
- * @error: Return location for error or %NULL.
- *
- * Finishes an operation started with org_freedesktop_udisks_device_call_linux_lvm2_lvstop().
- *
- * Returns: (skip): %TRUE if the call succeded, %FALSE if @error is set.
- */
-gboolean
-org_freedesktop_udisks_device_call_linux_lvm2_lvstop_finish (
- OrgFreedesktopUDisksDevice *proxy,
- GAsyncResult *res,
- GError **error)
-{
- GVariant *_ret;
- _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
- if (_ret == NULL)
- goto _out;
- g_variant_get (_ret,
- "()");
- g_variant_unref (_ret);
-_out:
- return _ret != NULL;
-}
-
-/**
- * org_freedesktop_udisks_device_call_linux_lvm2_lvstop_sync:
- * @proxy: A #OrgFreedesktopUDisksDeviceProxy.
- * @arg_options: Argument to pass with the method invocation.
- * @cancellable: (allow-none): A #GCancellable or %NULL.
- * @error: Return location for error or %NULL.
- *
- * Synchronously invokes the <link linkend="gdbus-method-org-freedesktop-UDisks-Device.LinuxLvm2LVStop">LinuxLvm2LVStop()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received.
- *
- * See org_freedesktop_udisks_device_call_linux_lvm2_lvstop() for the asynchronous version of this method.
- *
- * Returns: (skip): %TRUE if the call succeded, %FALSE if @error is set.
- */
-gboolean
-org_freedesktop_udisks_device_call_linux_lvm2_lvstop_sync (
- OrgFreedesktopUDisksDevice *proxy,
- const gchar *const *arg_options,
- GCancellable *cancellable,
- GError **error)
-{
- GVariant *_ret;
- _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
- "LinuxLvm2LVStop",
- g_variant_new ("(^as)",
- arg_options),
- G_DBUS_CALL_FLAGS_NONE,
- -1,
- cancellable,
- error);
- if (_ret == NULL)
- goto _out;
- g_variant_get (_ret,
- "()");
- g_variant_unref (_ret);
-_out:
- return _ret != NULL;
-}
-
-/**
- * org_freedesktop_udisks_device_call_linux_md_check:
- * @proxy: A #OrgFreedesktopUDisksDeviceProxy.
- * @arg_options: Argument to pass with the method invocation.
- * @cancellable: (allow-none): A #GCancellable or %NULL.
- * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
- * @user_data: User data to pass to @callback.
- *
- * Asynchronously invokes the <link linkend="gdbus-method-org-freedesktop-UDisks-Device.LinuxMdCheck">LinuxMdCheck()</link> D-Bus method on @proxy.
- * When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from.
- * You can then call org_freedesktop_udisks_device_call_linux_md_check_finish() to get the result of the operation.
- *
- * See org_freedesktop_udisks_device_call_linux_md_check_sync() for the synchronous, blocking version of this method.
- */
-void
-org_freedesktop_udisks_device_call_linux_md_check (
- OrgFreedesktopUDisksDevice *proxy,
- const gchar *const *arg_options,
- GCancellable *cancellable,
- GAsyncReadyCallback callback,
- gpointer user_data)
-{
- g_dbus_proxy_call (G_DBUS_PROXY (proxy),
- "LinuxMdCheck",
- g_variant_new ("(^as)",
- arg_options),
- G_DBUS_CALL_FLAGS_NONE,
- -1,
- cancellable,
- callback,
- user_data);
-}
-
-/**
- * org_freedesktop_udisks_device_call_linux_md_check_finish:
- * @proxy: A #OrgFreedesktopUDisksDeviceProxy.
- * @out_number_of_errors: (out): Return location for return parameter or %NULL to ignore.
- * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_freedesktop_udisks_device_call_linux_md_check().
- * @error: Return location for error or %NULL.
- *
- * Finishes an operation started with org_freedesktop_udisks_device_call_linux_md_check().
- *
- * Returns: (skip): %TRUE if the call succeded, %FALSE if @error is set.
- */
-gboolean
-org_freedesktop_udisks_device_call_linux_md_check_finish (
- OrgFreedesktopUDisksDevice *proxy,
- guint64 *out_number_of_errors,
- GAsyncResult *res,
- GError **error)
-{
- GVariant *_ret;
- _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
- if (_ret == NULL)
- goto _out;
- g_variant_get (_ret,
- "(t)",
- out_number_of_errors);
- g_variant_unref (_ret);
-_out:
- return _ret != NULL;
-}
-
-/**
- * org_freedesktop_udisks_device_call_linux_md_check_sync:
- * @proxy: A #OrgFreedesktopUDisksDeviceProxy.
- * @arg_options: Argument to pass with the method invocation.
- * @out_number_of_errors: (out): Return location for return parameter or %NULL to ignore.
- * @cancellable: (allow-none): A #GCancellable or %NULL.
- * @error: Return location for error or %NULL.
- *
- * Synchronously invokes the <link linkend="gdbus-method-org-freedesktop-UDisks-Device.LinuxMdCheck">LinuxMdCheck()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received.
- *
- * See org_freedesktop_udisks_device_call_linux_md_check() for the asynchronous version of this method.
- *
- * Returns: (skip): %TRUE if the call succeded, %FALSE if @error is set.
- */
-gboolean
-org_freedesktop_udisks_device_call_linux_md_check_sync (
- OrgFreedesktopUDisksDevice *proxy,
- const gchar *const *arg_options,
- guint64 *out_number_of_errors,
- GCancellable *cancellable,
- GError **error)
-{
- GVariant *_ret;
- _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
- "LinuxMdCheck",
- g_variant_new ("(^as)",
- arg_options),
- G_DBUS_CALL_FLAGS_NONE,
- -1,
- cancellable,
- error);
- if (_ret == NULL)
- goto _out;
- g_variant_get (_ret,
- "(t)",
- out_number_of_errors);
- g_variant_unref (_ret);
-_out:
- return _ret != NULL;
-}
-
-/**
- * org_freedesktop_udisks_device_call_drive_inhibit_polling:
- * @proxy: A #OrgFreedesktopUDisksDeviceProxy.
- * @arg_options: Argument to pass with the method invocation.
- * @cancellable: (allow-none): A #GCancellable or %NULL.
- * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
- * @user_data: User data to pass to @callback.
- *
- * Asynchronously invokes the <link linkend="gdbus-method-org-freedesktop-UDisks-Device.DriveInhibitPolling">DriveInhibitPolling()</link> D-Bus method on @proxy.
- * When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from.
- * You can then call org_freedesktop_udisks_device_call_drive_inhibit_polling_finish() to get the result of the operation.
- *
- * See org_freedesktop_udisks_device_call_drive_inhibit_polling_sync() for the synchronous, blocking version of this method.
- */
-void
-org_freedesktop_udisks_device_call_drive_inhibit_polling (
- OrgFreedesktopUDisksDevice *proxy,
- const gchar *const *arg_options,
- GCancellable *cancellable,
- GAsyncReadyCallback callback,
- gpointer user_data)
-{
- g_dbus_proxy_call (G_DBUS_PROXY (proxy),
- "DriveInhibitPolling",
- g_variant_new ("(^as)",
- arg_options),
- G_DBUS_CALL_FLAGS_NONE,
- -1,
- cancellable,
- callback,
- user_data);
-}
-
-/**
- * org_freedesktop_udisks_device_call_drive_inhibit_polling_finish:
- * @proxy: A #OrgFreedesktopUDisksDeviceProxy.
- * @out_cookie: (out): Return location for return parameter or %NULL to ignore.
- * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_freedesktop_udisks_device_call_drive_inhibit_polling().
- * @error: Return location for error or %NULL.
- *
- * Finishes an operation started with org_freedesktop_udisks_device_call_drive_inhibit_polling().
- *
- * Returns: (skip): %TRUE if the call succeded, %FALSE if @error is set.
- */
-gboolean
-org_freedesktop_udisks_device_call_drive_inhibit_polling_finish (
- OrgFreedesktopUDisksDevice *proxy,
- gchar **out_cookie,
- GAsyncResult *res,
- GError **error)
-{
- GVariant *_ret;
- _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
- if (_ret == NULL)
- goto _out;
- g_variant_get (_ret,
- "(s)",
- out_cookie);
- g_variant_unref (_ret);
-_out:
- return _ret != NULL;
-}
-
-/**
- * org_freedesktop_udisks_device_call_drive_inhibit_polling_sync:
- * @proxy: A #OrgFreedesktopUDisksDeviceProxy.
- * @arg_options: Argument to pass with the method invocation.
- * @out_cookie: (out): Return location for return parameter or %NULL to ignore.
- * @cancellable: (allow-none): A #GCancellable or %NULL.
- * @error: Return location for error or %NULL.
- *
- * Synchronously invokes the <link linkend="gdbus-method-org-freedesktop-UDisks-Device.DriveInhibitPolling">DriveInhibitPolling()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received.
- *
- * See org_freedesktop_udisks_device_call_drive_inhibit_polling() for the asynchronous version of this method.
- *
- * Returns: (skip): %TRUE if the call succeded, %FALSE if @error is set.
- */
-gboolean
-org_freedesktop_udisks_device_call_drive_inhibit_polling_sync (
- OrgFreedesktopUDisksDevice *proxy,
- const gchar *const *arg_options,
- gchar **out_cookie,
- GCancellable *cancellable,
- GError **error)
-{
- GVariant *_ret;
- _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
- "DriveInhibitPolling",
- g_variant_new ("(^as)",
- arg_options),
- G_DBUS_CALL_FLAGS_NONE,
- -1,
- cancellable,
- error);
- if (_ret == NULL)
- goto _out;
- g_variant_get (_ret,
- "(s)",
- out_cookie);
- g_variant_unref (_ret);
-_out:
- return _ret != NULL;
-}
-
-/**
- * org_freedesktop_udisks_device_call_drive_uninhibit_polling:
- * @proxy: A #OrgFreedesktopUDisksDeviceProxy.
- * @arg_cookie: Argument to pass with the method invocation.
- * @cancellable: (allow-none): A #GCancellable or %NULL.
- * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
- * @user_data: User data to pass to @callback.
- *
- * Asynchronously invokes the <link linkend="gdbus-method-org-freedesktop-UDisks-Device.DriveUninhibitPolling">DriveUninhibitPolling()</link> D-Bus method on @proxy.
- * When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from.
- * You can then call org_freedesktop_udisks_device_call_drive_uninhibit_polling_finish() to get the result of the operation.
- *
- * See org_freedesktop_udisks_device_call_drive_uninhibit_polling_sync() for the synchronous, blocking version of this method.
- */
-void
-org_freedesktop_udisks_device_call_drive_uninhibit_polling (
- OrgFreedesktopUDisksDevice *proxy,
- const gchar *arg_cookie,
- GCancellable *cancellable,
- GAsyncReadyCallback callback,
- gpointer user_data)
-{
- g_dbus_proxy_call (G_DBUS_PROXY (proxy),
- "DriveUninhibitPolling",
- g_variant_new ("(s)",
- arg_cookie),
- G_DBUS_CALL_FLAGS_NONE,
- -1,
- cancellable,
- callback,
- user_data);
-}
-
-/**
- * org_freedesktop_udisks_device_call_drive_uninhibit_polling_finish:
- * @proxy: A #OrgFreedesktopUDisksDeviceProxy.
- * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_freedesktop_udisks_device_call_drive_uninhibit_polling().
- * @error: Return location for error or %NULL.
- *
- * Finishes an operation started with org_freedesktop_udisks_device_call_drive_uninhibit_polling().
- *
- * Returns: (skip): %TRUE if the call succeded, %FALSE if @error is set.
- */
-gboolean
-org_freedesktop_udisks_device_call_drive_uninhibit_polling_finish (
- OrgFreedesktopUDisksDevice *proxy,
- GAsyncResult *res,
- GError **error)
-{
- GVariant *_ret;
- _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
- if (_ret == NULL)
- goto _out;
- g_variant_get (_ret,
- "()");
- g_variant_unref (_ret);
-_out:
- return _ret != NULL;
-}
-
-/**
- * org_freedesktop_udisks_device_call_drive_uninhibit_polling_sync:
- * @proxy: A #OrgFreedesktopUDisksDeviceProxy.
- * @arg_cookie: Argument to pass with the method invocation.
- * @cancellable: (allow-none): A #GCancellable or %NULL.
- * @error: Return location for error or %NULL.
- *
- * Synchronously invokes the <link linkend="gdbus-method-org-freedesktop-UDisks-Device.DriveUninhibitPolling">DriveUninhibitPolling()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received.
- *
- * See org_freedesktop_udisks_device_call_drive_uninhibit_polling() for the asynchronous version of this method.
- *
- * Returns: (skip): %TRUE if the call succeded, %FALSE if @error is set.
- */
-gboolean
-org_freedesktop_udisks_device_call_drive_uninhibit_polling_sync (
- OrgFreedesktopUDisksDevice *proxy,
- const gchar *arg_cookie,
- GCancellable *cancellable,
- GError **error)
-{
- GVariant *_ret;
- _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
- "DriveUninhibitPolling",
- g_variant_new ("(s)",
- arg_cookie),
- G_DBUS_CALL_FLAGS_NONE,
- -1,
- cancellable,
- error);
- if (_ret == NULL)
- goto _out;
- g_variant_get (_ret,
- "()");
- g_variant_unref (_ret);
-_out:
- return _ret != NULL;
-}
-
-/**
- * org_freedesktop_udisks_device_call_drive_poll_media:
- * @proxy: A #OrgFreedesktopUDisksDeviceProxy.
- * @cancellable: (allow-none): A #GCancellable or %NULL.
- * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
- * @user_data: User data to pass to @callback.
- *
- * Asynchronously invokes the <link linkend="gdbus-method-org-freedesktop-UDisks-Device.DrivePollMedia">DrivePollMedia()</link> D-Bus method on @proxy.
- * When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from.
- * You can then call org_freedesktop_udisks_device_call_drive_poll_media_finish() to get the result of the operation.
- *
- * See org_freedesktop_udisks_device_call_drive_poll_media_sync() for the synchronous, blocking version of this method.
- */
-void
-org_freedesktop_udisks_device_call_drive_poll_media (
- OrgFreedesktopUDisksDevice *proxy,
- GCancellable *cancellable,
- GAsyncReadyCallback callback,
- gpointer user_data)
-{
- g_dbus_proxy_call (G_DBUS_PROXY (proxy),
- "DrivePollMedia",
- g_variant_new ("()"),
- G_DBUS_CALL_FLAGS_NONE,
- -1,
- cancellable,
- callback,
- user_data);
-}
-
-/**
- * org_freedesktop_udisks_device_call_drive_poll_media_finish:
- * @proxy: A #OrgFreedesktopUDisksDeviceProxy.
- * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_freedesktop_udisks_device_call_drive_poll_media().
- * @error: Return location for error or %NULL.
- *
- * Finishes an operation started with org_freedesktop_udisks_device_call_drive_poll_media().
- *
- * Returns: (skip): %TRUE if the call succeded, %FALSE if @error is set.
- */
-gboolean
-org_freedesktop_udisks_device_call_drive_poll_media_finish (
- OrgFreedesktopUDisksDevice *proxy,
- GAsyncResult *res,
- GError **error)
-{
- GVariant *_ret;
- _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
- if (_ret == NULL)
- goto _out;
- g_variant_get (_ret,
- "()");
- g_variant_unref (_ret);
-_out:
- return _ret != NULL;
-}
-
-/**
- * org_freedesktop_udisks_device_call_drive_poll_media_sync:
- * @proxy: A #OrgFreedesktopUDisksDeviceProxy.
- * @cancellable: (allow-none): A #GCancellable or %NULL.
- * @error: Return location for error or %NULL.
- *
- * Synchronously invokes the <link linkend="gdbus-method-org-freedesktop-UDisks-Device.DrivePollMedia">DrivePollMedia()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received.
- *
- * See org_freedesktop_udisks_device_call_drive_poll_media() for the asynchronous version of this method.
- *
- * Returns: (skip): %TRUE if the call succeded, %FALSE if @error is set.
- */
-gboolean
-org_freedesktop_udisks_device_call_drive_poll_media_sync (
- OrgFreedesktopUDisksDevice *proxy,
- GCancellable *cancellable,
- GError **error)
-{
- GVariant *_ret;
- _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
- "DrivePollMedia",
- g_variant_new ("()"),
- G_DBUS_CALL_FLAGS_NONE,
- -1,
- cancellable,
- error);
- if (_ret == NULL)
- goto _out;
- g_variant_get (_ret,
- "()");
- g_variant_unref (_ret);
-_out:
- return _ret != NULL;
-}
-
-/**
- * org_freedesktop_udisks_device_call_drive_eject:
- * @proxy: A #OrgFreedesktopUDisksDeviceProxy.
- * @arg_options: Argument to pass with the method invocation.
- * @cancellable: (allow-none): A #GCancellable or %NULL.
- * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
- * @user_data: User data to pass to @callback.
- *
- * Asynchronously invokes the <link linkend="gdbus-method-org-freedesktop-UDisks-Device.DriveEject">DriveEject()</link> D-Bus method on @proxy.
- * When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from.
- * You can then call org_freedesktop_udisks_device_call_drive_eject_finish() to get the result of the operation.
- *
- * See org_freedesktop_udisks_device_call_drive_eject_sync() for the synchronous, blocking version of this method.
- */
-void
-org_freedesktop_udisks_device_call_drive_eject (
- OrgFreedesktopUDisksDevice *proxy,
- const gchar *const *arg_options,
- GCancellable *cancellable,
- GAsyncReadyCallback callback,
- gpointer user_data)
-{
- g_dbus_proxy_call (G_DBUS_PROXY (proxy),
- "DriveEject",
- g_variant_new ("(^as)",
- arg_options),
- G_DBUS_CALL_FLAGS_NONE,
- -1,
- cancellable,
- callback,
- user_data);
-}
-
-/**
- * org_freedesktop_udisks_device_call_drive_eject_finish:
- * @proxy: A #OrgFreedesktopUDisksDeviceProxy.
- * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_freedesktop_udisks_device_call_drive_eject().
- * @error: Return location for error or %NULL.
- *
- * Finishes an operation started with org_freedesktop_udisks_device_call_drive_eject().
- *
- * Returns: (skip): %TRUE if the call succeded, %FALSE if @error is set.
- */
-gboolean
-org_freedesktop_udisks_device_call_drive_eject_finish (
- OrgFreedesktopUDisksDevice *proxy,
- GAsyncResult *res,
- GError **error)
-{
- GVariant *_ret;
- _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
- if (_ret == NULL)
- goto _out;
- g_variant_get (_ret,
- "()");
- g_variant_unref (_ret);
-_out:
- return _ret != NULL;
-}
-
-/**
- * org_freedesktop_udisks_device_call_drive_eject_sync:
- * @proxy: A #OrgFreedesktopUDisksDeviceProxy.
- * @arg_options: Argument to pass with the method invocation.
- * @cancellable: (allow-none): A #GCancellable or %NULL.
- * @error: Return location for error or %NULL.
- *
- * Synchronously invokes the <link linkend="gdbus-method-org-freedesktop-UDisks-Device.DriveEject">DriveEject()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received.
- *
- * See org_freedesktop_udisks_device_call_drive_eject() for the asynchronous version of this method.
- *
- * Returns: (skip): %TRUE if the call succeded, %FALSE if @error is set.
- */
-gboolean
-org_freedesktop_udisks_device_call_drive_eject_sync (
- OrgFreedesktopUDisksDevice *proxy,
- const gchar *const *arg_options,
- GCancellable *cancellable,
- GError **error)
-{
- GVariant *_ret;
- _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
- "DriveEject",
- g_variant_new ("(^as)",
- arg_options),
- G_DBUS_CALL_FLAGS_NONE,
- -1,
- cancellable,
- error);
- if (_ret == NULL)
- goto _out;
- g_variant_get (_ret,
- "()");
- g_variant_unref (_ret);
-_out:
- return _ret != NULL;
-}
-
-/**
- * org_freedesktop_udisks_device_call_drive_detach:
- * @proxy: A #OrgFreedesktopUDisksDeviceProxy.
- * @arg_options: Argument to pass with the method invocation.
- * @cancellable: (allow-none): A #GCancellable or %NULL.
- * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
- * @user_data: User data to pass to @callback.
- *
- * Asynchronously invokes the <link linkend="gdbus-method-org-freedesktop-UDisks-Device.DriveDetach">DriveDetach()</link> D-Bus method on @proxy.
- * When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from.
- * You can then call org_freedesktop_udisks_device_call_drive_detach_finish() to get the result of the operation.
- *
- * See org_freedesktop_udisks_device_call_drive_detach_sync() for the synchronous, blocking version of this method.
- */
-void
-org_freedesktop_udisks_device_call_drive_detach (
- OrgFreedesktopUDisksDevice *proxy,
- const gchar *const *arg_options,
- GCancellable *cancellable,
- GAsyncReadyCallback callback,
- gpointer user_data)
-{
- g_dbus_proxy_call (G_DBUS_PROXY (proxy),
- "DriveDetach",
- g_variant_new ("(^as)",
- arg_options),
- G_DBUS_CALL_FLAGS_NONE,
- -1,
- cancellable,
- callback,
- user_data);
-}
-
-/**
- * org_freedesktop_udisks_device_call_drive_detach_finish:
- * @proxy: A #OrgFreedesktopUDisksDeviceProxy.
- * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_freedesktop_udisks_device_call_drive_detach().
- * @error: Return location for error or %NULL.
- *
- * Finishes an operation started with org_freedesktop_udisks_device_call_drive_detach().
- *
- * Returns: (skip): %TRUE if the call succeded, %FALSE if @error is set.
- */
-gboolean
-org_freedesktop_udisks_device_call_drive_detach_finish (
- OrgFreedesktopUDisksDevice *proxy,
- GAsyncResult *res,
- GError **error)
-{
- GVariant *_ret;
- _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
- if (_ret == NULL)
- goto _out;
- g_variant_get (_ret,
- "()");
- g_variant_unref (_ret);
-_out:
- return _ret != NULL;
-}
-
-/**
- * org_freedesktop_udisks_device_call_drive_detach_sync:
- * @proxy: A #OrgFreedesktopUDisksDeviceProxy.
- * @arg_options: Argument to pass with the method invocation.
- * @cancellable: (allow-none): A #GCancellable or %NULL.
- * @error: Return location for error or %NULL.
- *
- * Synchronously invokes the <link linkend="gdbus-method-org-freedesktop-UDisks-Device.DriveDetach">DriveDetach()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received.
- *
- * See org_freedesktop_udisks_device_call_drive_detach() for the asynchronous version of this method.
- *
- * Returns: (skip): %TRUE if the call succeded, %FALSE if @error is set.
- */
-gboolean
-org_freedesktop_udisks_device_call_drive_detach_sync (
- OrgFreedesktopUDisksDevice *proxy,
- const gchar *const *arg_options,
- GCancellable *cancellable,
- GError **error)
-{
- GVariant *_ret;
- _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
- "DriveDetach",
- g_variant_new ("(^as)",
- arg_options),
- G_DBUS_CALL_FLAGS_NONE,
- -1,
- cancellable,
- error);
- if (_ret == NULL)
- goto _out;
- g_variant_get (_ret,
- "()");
- g_variant_unref (_ret);
-_out:
- return _ret != NULL;
-}
-
-/**
- * org_freedesktop_udisks_device_call_drive_set_spindown_timeout:
- * @proxy: A #OrgFreedesktopUDisksDeviceProxy.
- * @arg_timeout_seconds: Argument to pass with the method invocation.
- * @arg_options: Argument to pass with the method invocation.
- * @cancellable: (allow-none): A #GCancellable or %NULL.
- * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
- * @user_data: User data to pass to @callback.
- *
- * Asynchronously invokes the <link linkend="gdbus-method-org-freedesktop-UDisks-Device.DriveSetSpindownTimeout">DriveSetSpindownTimeout()</link> D-Bus method on @proxy.
- * When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from.
- * You can then call org_freedesktop_udisks_device_call_drive_set_spindown_timeout_finish() to get the result of the operation.
- *
- * See org_freedesktop_udisks_device_call_drive_set_spindown_timeout_sync() for the synchronous, blocking version of this method.
- */
-void
-org_freedesktop_udisks_device_call_drive_set_spindown_timeout (
- OrgFreedesktopUDisksDevice *proxy,
- gint arg_timeout_seconds,
- const gchar *const *arg_options,
- GCancellable *cancellable,
- GAsyncReadyCallback callback,
- gpointer user_data)
-{
- g_dbus_proxy_call (G_DBUS_PROXY (proxy),
- "DriveSetSpindownTimeout",
- g_variant_new ("(i^as)",
- arg_timeout_seconds,
- arg_options),
- G_DBUS_CALL_FLAGS_NONE,
- -1,
- cancellable,
- callback,
- user_data);
-}
-
-/**
- * org_freedesktop_udisks_device_call_drive_set_spindown_timeout_finish:
- * @proxy: A #OrgFreedesktopUDisksDeviceProxy.
- * @out_cookie: (out): Return location for return parameter or %NULL to ignore.
- * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_freedesktop_udisks_device_call_drive_set_spindown_timeout().
- * @error: Return location for error or %NULL.
- *
- * Finishes an operation started with org_freedesktop_udisks_device_call_drive_set_spindown_timeout().
- *
- * Returns: (skip): %TRUE if the call succeded, %FALSE if @error is set.
- */
-gboolean
-org_freedesktop_udisks_device_call_drive_set_spindown_timeout_finish (
- OrgFreedesktopUDisksDevice *proxy,
- gchar **out_cookie,
- GAsyncResult *res,
- GError **error)
-{
- GVariant *_ret;
- _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
- if (_ret == NULL)
- goto _out;
- g_variant_get (_ret,
- "(s)",
- out_cookie);
- g_variant_unref (_ret);
-_out:
- return _ret != NULL;
-}
-
-/**
- * org_freedesktop_udisks_device_call_drive_set_spindown_timeout_sync:
- * @proxy: A #OrgFreedesktopUDisksDeviceProxy.
- * @arg_timeout_seconds: Argument to pass with the method invocation.
- * @arg_options: Argument to pass with the method invocation.
- * @out_cookie: (out): Return location for return parameter or %NULL to ignore.
- * @cancellable: (allow-none): A #GCancellable or %NULL.
- * @error: Return location for error or %NULL.
- *
- * Synchronously invokes the <link linkend="gdbus-method-org-freedesktop-UDisks-Device.DriveSetSpindownTimeout">DriveSetSpindownTimeout()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received.
- *
- * See org_freedesktop_udisks_device_call_drive_set_spindown_timeout() for the asynchronous version of this method.
- *
- * Returns: (skip): %TRUE if the call succeded, %FALSE if @error is set.
- */
-gboolean
-org_freedesktop_udisks_device_call_drive_set_spindown_timeout_sync (
- OrgFreedesktopUDisksDevice *proxy,
- gint arg_timeout_seconds,
- const gchar *const *arg_options,
- gchar **out_cookie,
- GCancellable *cancellable,
- GError **error)
-{
- GVariant *_ret;
- _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
- "DriveSetSpindownTimeout",
- g_variant_new ("(i^as)",
- arg_timeout_seconds,
- arg_options),
- G_DBUS_CALL_FLAGS_NONE,
- -1,
- cancellable,
- error);
- if (_ret == NULL)
- goto _out;
- g_variant_get (_ret,
- "(s)",
- out_cookie);
- g_variant_unref (_ret);
-_out:
- return _ret != NULL;
-}
-
-/**
- * org_freedesktop_udisks_device_call_drive_unset_spindown_timeout:
- * @proxy: A #OrgFreedesktopUDisksDeviceProxy.
- * @arg_cookie: Argument to pass with the method invocation.
- * @cancellable: (allow-none): A #GCancellable or %NULL.
- * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
- * @user_data: User data to pass to @callback.
- *
- * Asynchronously invokes the <link linkend="gdbus-method-org-freedesktop-UDisks-Device.DriveUnsetSpindownTimeout">DriveUnsetSpindownTimeout()</link> D-Bus method on @proxy.
- * When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from.
- * You can then call org_freedesktop_udisks_device_call_drive_unset_spindown_timeout_finish() to get the result of the operation.
- *
- * See org_freedesktop_udisks_device_call_drive_unset_spindown_timeout_sync() for the synchronous, blocking version of this method.
- */
-void
-org_freedesktop_udisks_device_call_drive_unset_spindown_timeout (
- OrgFreedesktopUDisksDevice *proxy,
- const gchar *arg_cookie,
- GCancellable *cancellable,
- GAsyncReadyCallback callback,
- gpointer user_data)
-{
- g_dbus_proxy_call (G_DBUS_PROXY (proxy),
- "DriveUnsetSpindownTimeout",
- g_variant_new ("(s)",
- arg_cookie),
- G_DBUS_CALL_FLAGS_NONE,
- -1,
- cancellable,
- callback,
- user_data);
-}
-
-/**
- * org_freedesktop_udisks_device_call_drive_unset_spindown_timeout_finish:
- * @proxy: A #OrgFreedesktopUDisksDeviceProxy.
- * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_freedesktop_udisks_device_call_drive_unset_spindown_timeout().
- * @error: Return location for error or %NULL.
- *
- * Finishes an operation started with org_freedesktop_udisks_device_call_drive_unset_spindown_timeout().
- *
- * Returns: (skip): %TRUE if the call succeded, %FALSE if @error is set.
- */
-gboolean
-org_freedesktop_udisks_device_call_drive_unset_spindown_timeout_finish (
- OrgFreedesktopUDisksDevice *proxy,
- GAsyncResult *res,
- GError **error)
-{
- GVariant *_ret;
- _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
- if (_ret == NULL)
- goto _out;
- g_variant_get (_ret,
- "()");
- g_variant_unref (_ret);
-_out:
- return _ret != NULL;
-}
-
-/**
- * org_freedesktop_udisks_device_call_drive_unset_spindown_timeout_sync:
- * @proxy: A #OrgFreedesktopUDisksDeviceProxy.
- * @arg_cookie: Argument to pass with the method invocation.
- * @cancellable: (allow-none): A #GCancellable or %NULL.
- * @error: Return location for error or %NULL.
- *
- * Synchronously invokes the <link linkend="gdbus-method-org-freedesktop-UDisks-Device.DriveUnsetSpindownTimeout">DriveUnsetSpindownTimeout()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received.
- *
- * See org_freedesktop_udisks_device_call_drive_unset_spindown_timeout() for the asynchronous version of this method.
- *
- * Returns: (skip): %TRUE if the call succeded, %FALSE if @error is set.
- */
-gboolean
-org_freedesktop_udisks_device_call_drive_unset_spindown_timeout_sync (
- OrgFreedesktopUDisksDevice *proxy,
- const gchar *arg_cookie,
- GCancellable *cancellable,
- GError **error)
-{
- GVariant *_ret;
- _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
- "DriveUnsetSpindownTimeout",
- g_variant_new ("(s)",
- arg_cookie),
- G_DBUS_CALL_FLAGS_NONE,
- -1,
- cancellable,
- error);
- if (_ret == NULL)
- goto _out;
- g_variant_get (_ret,
- "()");
- g_variant_unref (_ret);
-_out:
- return _ret != NULL;
-}
-
-/**
- * org_freedesktop_udisks_device_call_drive_ata_smart_refresh_data:
- * @proxy: A #OrgFreedesktopUDisksDeviceProxy.
- * @arg_options: Argument to pass with the method invocation.
- * @cancellable: (allow-none): A #GCancellable or %NULL.
- * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
- * @user_data: User data to pass to @callback.
- *
- * Asynchronously invokes the <link linkend="gdbus-method-org-freedesktop-UDisks-Device.DriveAtaSmartRefreshData">DriveAtaSmartRefreshData()</link> D-Bus method on @proxy.
- * When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from.
- * You can then call org_freedesktop_udisks_device_call_drive_ata_smart_refresh_data_finish() to get the result of the operation.
- *
- * See org_freedesktop_udisks_device_call_drive_ata_smart_refresh_data_sync() for the synchronous, blocking version of this method.
- */
-void
-org_freedesktop_udisks_device_call_drive_ata_smart_refresh_data (
- OrgFreedesktopUDisksDevice *proxy,
- const gchar *const *arg_options,
- GCancellable *cancellable,
- GAsyncReadyCallback callback,
- gpointer user_data)
-{
- g_dbus_proxy_call (G_DBUS_PROXY (proxy),
- "DriveAtaSmartRefreshData",
- g_variant_new ("(^as)",
- arg_options),
- G_DBUS_CALL_FLAGS_NONE,
- -1,
- cancellable,
- callback,
- user_data);
-}
-
-/**
- * org_freedesktop_udisks_device_call_drive_ata_smart_refresh_data_finish:
- * @proxy: A #OrgFreedesktopUDisksDeviceProxy.
- * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_freedesktop_udisks_device_call_drive_ata_smart_refresh_data().
- * @error: Return location for error or %NULL.
- *
- * Finishes an operation started with org_freedesktop_udisks_device_call_drive_ata_smart_refresh_data().
- *
- * Returns: (skip): %TRUE if the call succeded, %FALSE if @error is set.
- */
-gboolean
-org_freedesktop_udisks_device_call_drive_ata_smart_refresh_data_finish (
- OrgFreedesktopUDisksDevice *proxy,
- GAsyncResult *res,
- GError **error)
-{
- GVariant *_ret;
- _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
- if (_ret == NULL)
- goto _out;
- g_variant_get (_ret,
- "()");
- g_variant_unref (_ret);
-_out:
- return _ret != NULL;
-}
-
-/**
- * org_freedesktop_udisks_device_call_drive_ata_smart_refresh_data_sync:
- * @proxy: A #OrgFreedesktopUDisksDeviceProxy.
- * @arg_options: Argument to pass with the method invocation.
- * @cancellable: (allow-none): A #GCancellable or %NULL.
- * @error: Return location for error or %NULL.
- *
- * Synchronously invokes the <link linkend="gdbus-method-org-freedesktop-UDisks-Device.DriveAtaSmartRefreshData">DriveAtaSmartRefreshData()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received.
- *
- * See org_freedesktop_udisks_device_call_drive_ata_smart_refresh_data() for the asynchronous version of this method.
- *
- * Returns: (skip): %TRUE if the call succeded, %FALSE if @error is set.
- */
-gboolean
-org_freedesktop_udisks_device_call_drive_ata_smart_refresh_data_sync (
- OrgFreedesktopUDisksDevice *proxy,
- const gchar *const *arg_options,
- GCancellable *cancellable,
- GError **error)
-{
- GVariant *_ret;
- _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
- "DriveAtaSmartRefreshData",
- g_variant_new ("(^as)",
- arg_options),
- G_DBUS_CALL_FLAGS_NONE,
- -1,
- cancellable,
- error);
- if (_ret == NULL)
- goto _out;
- g_variant_get (_ret,
- "()");
- g_variant_unref (_ret);
-_out:
- return _ret != NULL;
-}
-
-/**
- * org_freedesktop_udisks_device_call_drive_ata_smart_initiate_selftest:
- * @proxy: A #OrgFreedesktopUDisksDeviceProxy.
- * @arg_test: Argument to pass with the method invocation.
- * @arg_options: Argument to pass with the method invocation.
- * @cancellable: (allow-none): A #GCancellable or %NULL.
- * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
- * @user_data: User data to pass to @callback.
- *
- * Asynchronously invokes the <link linkend="gdbus-method-org-freedesktop-UDisks-Device.DriveAtaSmartInitiateSelftest">DriveAtaSmartInitiateSelftest()</link> D-Bus method on @proxy.
- * When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from.
- * You can then call org_freedesktop_udisks_device_call_drive_ata_smart_initiate_selftest_finish() to get the result of the operation.
- *
- * See org_freedesktop_udisks_device_call_drive_ata_smart_initiate_selftest_sync() for the synchronous, blocking version of this method.
- */
-void
-org_freedesktop_udisks_device_call_drive_ata_smart_initiate_selftest (
- OrgFreedesktopUDisksDevice *proxy,
- const gchar *arg_test,
- const gchar *const *arg_options,
- GCancellable *cancellable,
- GAsyncReadyCallback callback,
- gpointer user_data)
-{
- g_dbus_proxy_call (G_DBUS_PROXY (proxy),
- "DriveAtaSmartInitiateSelftest",
- g_variant_new ("(s^as)",
- arg_test,
- arg_options),
- G_DBUS_CALL_FLAGS_NONE,
- -1,
- cancellable,
- callback,
- user_data);
-}
-
-/**
- * org_freedesktop_udisks_device_call_drive_ata_smart_initiate_selftest_finish:
- * @proxy: A #OrgFreedesktopUDisksDeviceProxy.
- * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_freedesktop_udisks_device_call_drive_ata_smart_initiate_selftest().
- * @error: Return location for error or %NULL.
- *
- * Finishes an operation started with org_freedesktop_udisks_device_call_drive_ata_smart_initiate_selftest().
- *
- * Returns: (skip): %TRUE if the call succeded, %FALSE if @error is set.
- */
-gboolean
-org_freedesktop_udisks_device_call_drive_ata_smart_initiate_selftest_finish (
- OrgFreedesktopUDisksDevice *proxy,
- GAsyncResult *res,
- GError **error)
-{
- GVariant *_ret;
- _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
- if (_ret == NULL)
- goto _out;
- g_variant_get (_ret,
- "()");
- g_variant_unref (_ret);
-_out:
- return _ret != NULL;
-}
-
-/**
- * org_freedesktop_udisks_device_call_drive_ata_smart_initiate_selftest_sync:
- * @proxy: A #OrgFreedesktopUDisksDeviceProxy.
- * @arg_test: Argument to pass with the method invocation.
- * @arg_options: Argument to pass with the method invocation.
- * @cancellable: (allow-none): A #GCancellable or %NULL.
- * @error: Return location for error or %NULL.
- *
- * Synchronously invokes the <link linkend="gdbus-method-org-freedesktop-UDisks-Device.DriveAtaSmartInitiateSelftest">DriveAtaSmartInitiateSelftest()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received.
- *
- * See org_freedesktop_udisks_device_call_drive_ata_smart_initiate_selftest() for the asynchronous version of this method.
- *
- * Returns: (skip): %TRUE if the call succeded, %FALSE if @error is set.
- */
-gboolean
-org_freedesktop_udisks_device_call_drive_ata_smart_initiate_selftest_sync (
- OrgFreedesktopUDisksDevice *proxy,
- const gchar *arg_test,
- const gchar *const *arg_options,
- GCancellable *cancellable,
- GError **error)
-{
- GVariant *_ret;
- _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
- "DriveAtaSmartInitiateSelftest",
- g_variant_new ("(s^as)",
- arg_test,
- arg_options),
- G_DBUS_CALL_FLAGS_NONE,
- -1,
- cancellable,
- error);
- if (_ret == NULL)
- goto _out;
- g_variant_get (_ret,
- "()");
- g_variant_unref (_ret);
-_out:
- return _ret != NULL;
-}
-
-/**
- * org_freedesktop_udisks_device_call_drive_benchmark:
- * @proxy: A #OrgFreedesktopUDisksDeviceProxy.
- * @arg_do_write_benchmark: Argument to pass with the method invocation.
- * @arg_options: Argument to pass with the method invocation.
- * @cancellable: (allow-none): A #GCancellable or %NULL.
- * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
- * @user_data: User data to pass to @callback.
- *
- * Asynchronously invokes the <link linkend="gdbus-method-org-freedesktop-UDisks-Device.DriveBenchmark">DriveBenchmark()</link> D-Bus method on @proxy.
- * When the operation is finished, @callback will be invoked in the <link linkend="g-main-context-push-thread-default">thread-default main loop</link> of the thread you are calling this method from.
- * You can then call org_freedesktop_udisks_device_call_drive_benchmark_finish() to get the result of the operation.
- *
- * See org_freedesktop_udisks_device_call_drive_benchmark_sync() for the synchronous, blocking version of this method.
- */
-void
-org_freedesktop_udisks_device_call_drive_benchmark (
- OrgFreedesktopUDisksDevice *proxy,
- gboolean arg_do_write_benchmark,
- const gchar *const *arg_options,
- GCancellable *cancellable,
- GAsyncReadyCallback callback,
- gpointer user_data)
-{
- g_dbus_proxy_call (G_DBUS_PROXY (proxy),
- "DriveBenchmark",
- g_variant_new ("(b^as)",
- arg_do_write_benchmark,
- arg_options),
- G_DBUS_CALL_FLAGS_NONE,
- -1,
- cancellable,
- callback,
- user_data);
-}
-
-/**
- * org_freedesktop_udisks_device_call_drive_benchmark_finish:
- * @proxy: A #OrgFreedesktopUDisksDeviceProxy.
- * @out_read_transfer_rate_results: (out): Return location for return parameter or %NULL to ignore.
- * @out_write_transfer_rate_results: (out): Return location for return parameter or %NULL to ignore.
- * @out_access_time_results: (out): Return location for return parameter or %NULL to ignore.
- * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_freedesktop_udisks_device_call_drive_benchmark().
- * @error: Return location for error or %NULL.
- *
- * Finishes an operation started with org_freedesktop_udisks_device_call_drive_benchmark().
- *
- * Returns: (skip): %TRUE if the call succeded, %FALSE if @error is set.
- */
-gboolean
-org_freedesktop_udisks_device_call_drive_benchmark_finish (
- OrgFreedesktopUDisksDevice *proxy,
- GVariant **out_read_transfer_rate_results,
- GVariant **out_write_transfer_rate_results,
- GVariant **out_access_time_results,
- GAsyncResult *res,
- GError **error)
-{
- GVariant *_ret;
- _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
- if (_ret == NULL)
- goto _out;
- g_variant_get (_ret,
- "(@a(td)@a(td)@a(td))",
- out_read_transfer_rate_results,
- out_write_transfer_rate_results,
- out_access_time_results);
- g_variant_unref (_ret);
-_out:
- return _ret != NULL;
-}
-
-/**
- * org_freedesktop_udisks_device_call_drive_benchmark_sync:
- * @proxy: A #OrgFreedesktopUDisksDeviceProxy.
- * @arg_do_write_benchmark: Argument to pass with the method invocation.
- * @arg_options: Argument to pass with the method invocation.
- * @out_read_transfer_rate_results: (out): Return location for return parameter or %NULL to ignore.
- * @out_write_transfer_rate_results: (out): Return location for return parameter or %NULL to ignore.
- * @out_access_time_results: (out): Return location for return parameter or %NULL to ignore.
- * @cancellable: (allow-none): A #GCancellable or %NULL.
- * @error: Return location for error or %NULL.
- *
- * Synchronously invokes the <link linkend="gdbus-method-org-freedesktop-UDisks-Device.DriveBenchmark">DriveBenchmark()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received.
- *
- * See org_freedesktop_udisks_device_call_drive_benchmark() for the asynchronous version of this method.
- *
- * Returns: (skip): %TRUE if the call succeded, %FALSE if @error is set.
- */
-gboolean
-org_freedesktop_udisks_device_call_drive_benchmark_sync (
- OrgFreedesktopUDisksDevice *proxy,
- gboolean arg_do_write_benchmark,
- const gchar *const *arg_options,
- GVariant **out_read_transfer_rate_results,
- GVariant **out_write_transfer_rate_results,
- GVariant **out_access_time_results,
- GCancellable *cancellable,
- GError **error)
-{
- GVariant *_ret;
- _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
- "DriveBenchmark",
- g_variant_new ("(b^as)",
- arg_do_write_benchmark,
- arg_options),
- G_DBUS_CALL_FLAGS_NONE,
- -1,
- cancellable,
- error);
- if (_ret == NULL)
- goto _out;
- g_variant_get (_ret,
- "(@a(td)@a(td)@a(td))",
- out_read_transfer_rate_results,
- out_write_transfer_rate_results,
- out_access_time_results);
- g_variant_unref (_ret);
-_out:
- return _ret != NULL;
-}
-
-/**
- * org_freedesktop_udisks_device_complete_job_cancel:
- * @object: A #OrgFreedesktopUDisksDevice.
- * @invocation: (transfer full): A #GDBusMethodInvocation.
- *
- * Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-freedesktop-UDisks-Device.JobCancel">JobCancel()</link> D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.
- *
- * This method will free @invocation, you cannot use it afterwards.
- */
-void
-org_freedesktop_udisks_device_complete_job_cancel (
- OrgFreedesktopUDisksDevice *object,
- GDBusMethodInvocation *invocation)
-{
- g_dbus_method_invocation_return_value (invocation,
- g_variant_new ("()"));
-}
-
-/**
- * org_freedesktop_udisks_device_complete_partition_table_create:
- * @object: A #OrgFreedesktopUDisksDevice.
- * @invocation: (transfer full): A #GDBusMethodInvocation.
- *
- * Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-freedesktop-UDisks-Device.PartitionTableCreate">PartitionTableCreate()</link> D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error() or similar.
- *
- * This method will free @invocation, you cannot use it afterward