diff options
author | Scott Murray <scott.murray@konsulko.com> | 2022-09-10 12:15:20 -0400 |
---|---|---|
committer | Scott Murray <scott.murray@konsulko.com> | 2022-09-21 14:33:32 +0000 |
commit | 992f87151ff189dc061624f010eddee2036fd33f (patch) | |
tree | 1372b14798ee21610f66b2466061f564ef631a17 | |
parent | 920f7d6d92ffca4998f6215f4d20ab17693b59db (diff) |
Add gRPC API implementationneedlefish
Changes:
- Rename the existing daemon to applaunchd-dbus, and add a new
version that exposes a gRPC based implementation of the API based
on the protobuf definition added in a top-level protos directory.
Having both the D-Bus and gRPC APIs exposed by a single daemon was
posing difficulties around startup dependencies stemming from D-Bus
activation of the daemon. Since the end goal is dropping the D-Bus
API entirely, it is easier to just add a second daemon for gRPC that
will eventually be the only one present.
- To facilitate building the two implementations, a significant amount
of code refactoring has been done to move things from the D-Bus API
implementing app_launcher.[ch] to systemd_manager.[ch] so the code
can be reused.
- All use of the systemd D-Bus library except for the path encoding
helper function has been replaced with GDBus. The systemd interface
wrapper code was generated with gdbus-codegen from XML files captured
via introspection on a running system. The motivation for this
change was to avoid multithreading issues with sd_bus exposed when
calling into it from the gRPC threads.
- The copyright headers in the source files have been tweaked to
remove the Apache license boilerplate in favour of a SPDX license
tag.
Notes:
- The gRPC API differs slightly from the D-Bus one in that it has a
single status streaming RPC method as opposed to the separate signals
for application started or terminated that the D-Bus API has.
- The gRPC API is currently unauthenticated, the aim is to circle back
and implement authentication once a consensus can be reached on what
mechanism should be used (fixed JWT configuration, OAuth, etc.).
Bug-AGL: SPEC-4559
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I828f38a58b60e9959162b98054982124d4fa4380
(cherry picked from commit c52afaf8b5c96136fe20e5d5a1332121d3b09ee9)
-rw-r--r-- | README.md | 24 | ||||
-rw-r--r-- | data/org.automotivelinux.AppLaunch.service.in | 2 | ||||
-rw-r--r-- | meson.build | 5 | ||||
-rw-r--r-- | protos/applauncher.proto | 50 | ||||
-rw-r--r-- | src/AppLauncherImpl.cc | 137 | ||||
-rw-r--r-- | src/AppLauncherImpl.h | 88 | ||||
-rw-r--r-- | src/app_info.c | 13 | ||||
-rw-r--r-- | src/app_info.h | 13 | ||||
-rw-r--r-- | src/app_launcher.c | 208 | ||||
-rw-r--r-- | src/app_launcher.h | 18 | ||||
-rw-r--r-- | src/gdbus/README.md | 11 | ||||
-rw-r--r-- | src/gdbus/org_freedesktop_systemd1_manager.xml | 715 | ||||
-rw-r--r-- | src/gdbus/org_freedesktop_systemd1_unit.xml | 326 | ||||
-rw-r--r-- | src/gdbus/systemd1_manager_interface.c | 29476 | ||||
-rw-r--r-- | src/gdbus/systemd1_manager_interface.h | 3384 | ||||
-rw-r--r-- | src/gdbus/systemd1_unit_interface.c | 14473 | ||||
-rw-r--r-- | src/gdbus/systemd1_unit_interface.h | 1149 | ||||
-rw-r--r-- | src/main-grpc.cc | 85 | ||||
-rw-r--r-- | src/main.c | 62 | ||||
-rw-r--r-- | src/meson.build | 57 | ||||
-rw-r--r-- | src/systemd_manager.c | 559 | ||||
-rw-r--r-- | src/systemd_manager.h | 33 | ||||
-rw-r--r-- | src/utils.c | 13 | ||||
-rw-r--r-- | src/utils.h | 13 |
24 files changed, 50379 insertions, 535 deletions
@@ -1,23 +1,33 @@ AGL Application Launcher service reference implementation `applaunchd` is a simple service for launching applications from other -applications. It exposes an interface named 'org.automotivelinux.AppLaunch' on -on the D-Bus session bus and can be autostarted by using this interface name. +applications. It exposes a gRPC RPC interface as described in the file +`protos/applauncher.proto`. Additionally, there is a now deprecated +`applaunchd-dbus`, which exposes a comparable version of the interface +named 'org.automotivelinux.AppLaunch' on the D-Bus session bus and can +be autostarted by using this interface name. -This interface can be used to: +The interface can be used to: - retrieve a list of available applications - request that a specific application be started by using the 'start' method -- subcribe to the 'started' and/or 'terminated' signals in order to be - notified when an application started successfully or terminated +- subcribe to a status signal (separate 'started' and/or 'terminated' signals + for the D-Bus implementation) in order to be notified when an application + has started successfully or terminated. -For more details about the D-Bus interface, please refer to the file -`data/org.automotivelinux.AppLaunch.xml`. +For more details about the deprecated D-Bus interface, please refer to the +file `data/org.automotivelinux.AppLaunch.xml`. Applications are enumerated from systemd's list of available units based on the pattern agl-app*@*.service, and are started and controled using their systemd unit. Please note `applaunchd` allows only one instance of a given application. +Note that while the gRPC and D-Bus implementations are comparable in +functionality, they are not interoperable with respect to status notifications +for applications started by the other interface. It is advised that their +usage not be mixed in the same image to avoid confusion around application +window activation. + AGL repo for source code: https://gerrit.automotivelinux.org/gerrit/#/admin/projects/src/applaunchd diff --git a/data/org.automotivelinux.AppLaunch.service.in b/data/org.automotivelinux.AppLaunch.service.in index 41acad5..6a0e297 100644 --- a/data/org.automotivelinux.AppLaunch.service.in +++ b/data/org.automotivelinux.AppLaunch.service.in @@ -1,3 +1,3 @@ [D-BUS Service] Name=org.automotivelinux.AppLaunch -Exec=@bindir@/applaunchd +Exec=@bindir@/applaunchd-dbus diff --git a/meson.build b/meson.build index 8e820e5..9cca1be 100644 --- a/meson.build +++ b/meson.build @@ -16,7 +16,7 @@ project ( 'applaunchd', - 'c', + ['c', 'cpp'], version : '0.1.0', license : 'Apache-2.0', meson_version : '>= 0.46.0', @@ -24,7 +24,8 @@ project ( [ 'warning_level=1', 'buildtype=debugoptimized', - 'c_std=gnu11' + 'c_std=c17', + 'cpp_std=c++17' ], ) diff --git a/protos/applauncher.proto b/protos/applauncher.proto new file mode 100644 index 0000000..0b8e0fc --- /dev/null +++ b/protos/applauncher.proto @@ -0,0 +1,50 @@ +syntax = "proto3"; + +package automotivegradelinux; + +service AppLauncher { + rpc StartApplication(StartRequest) returns (StartResponse) {} + rpc ListApplications(ListRequest) returns (ListResponse) {} + rpc GetStatusEvents(StatusRequest) returns (stream StatusResponse) {} +} + +message StartRequest { + string id = 1; +} + +message StartResponse { + bool status = 1; + string message = 2; +} + +message ListRequest { +} + +message ListResponse { + repeated AppInfo apps = 1; +} + +message AppInfo { + string id = 1; + string name = 2; + string icon_path = 3; +} + +message StatusRequest { +} + +message AppStatus { + string id = 1; + string status = 2; +} + +// Future-proofing for e.g. potentially signaling a list refresh +message LauncherStatus { +} + +message StatusResponse { + oneof status { + AppStatus app = 1; + LauncherStatus launcher = 2; + } +} diff --git a/src/AppLauncherImpl.cc b/src/AppLauncherImpl.cc new file mode 100644 index 0000000..d691120 --- /dev/null +++ b/src/AppLauncherImpl.cc @@ -0,0 +1,137 @@ +// SPDX-License-Identifier: Apache-2.0 +/* + * Copyright (C) 2022 Konsulko Group + */ + +#include <AppLauncherImpl.h> +#include <systemd_manager.h> + +using grpc::StatusCode; +using automotivegradelinux::AppStatus; + + +AppLauncherImpl::AppLauncherImpl(SystemdManager *manager) : + m_manager(manager) +{ + systemd_manager_connect_callbacks(m_manager, + G_CALLBACK(started_cb), + G_CALLBACK(terminated_cb), + this); +} + +Status AppLauncherImpl::StartApplication(ServerContext* context, + const StartRequest* request, + StartResponse* response) +{ + if (!m_manager) + return Status(StatusCode::INTERNAL, "Initialization failed"); + + // Search the apps list for the given app-id + std::string app_id = request->id(); + auto dbus_launcher_info = systemd_manager_get_app_info(m_manager, app_id.c_str()); + if (!dbus_launcher_info) { + std::string error("Unknown application '"); + error += app_id; + error += "'"; + return Status(StatusCode::INVALID_ARGUMENT, error); + } + + gboolean status = systemd_manager_start_app(m_manager, dbus_launcher_info); + response->set_status(status); + if (!status) { + // Maybe just return StatusCode::NOT_FOUND instead? + std::string error("Failed to start application '"); + error += app_id; + error += "'"; + response->set_message(error); + } + + return Status::OK; +} + +Status AppLauncherImpl::ListApplications(ServerContext* context, + const ListRequest* request, + ListResponse* response) +{ + if (!m_manager) + return Status(StatusCode::INTERNAL, "Initialization failed"); + + GList *apps = systemd_manager_get_app_list(m_manager); + if (!apps) + return Status::OK; // Perhaps return failure here? + + guint len = g_list_length(apps); + for (guint i = 0; i < len; i++) { + struct _AppInfo *app_info = (struct _AppInfo*) g_list_nth_data(apps, i); + auto info = response->add_apps(); + info->set_id(app_info_get_app_id(app_info)); + info->set_name(app_info_get_name(app_info)); + info->set_icon_path(app_info_get_icon_path(app_info)); + } + + return Status::OK; +} + +Status AppLauncherImpl::GetStatusEvents(ServerContext* context, + const StatusRequest* request, + ServerWriter<StatusResponse>* writer) +{ + + // Save client information + m_clients_mutex.lock(); + m_clients.push_back(std::pair(context, writer)); + m_clients_mutex.unlock(); + + // For now block until client disconnect / server shutdown + // A switch to the async or callback server APIs might be more elegant than + // holding the thread like this, and may be worth investigating at some point. + std::unique_lock lock(m_done_mutex); + m_done_cv.wait(lock, [context, this]{ return (context->IsCancelled() || m_done); }); + + return Status::OK; +} + + +void AppLauncherImpl::SendStatus(std::string id, std::string status) +{ + const std::lock_guard<std::mutex> lock(m_clients_mutex); + + if (m_clients.empty()) + return; + + StatusResponse response; + auto app_status = response.mutable_app(); + app_status->set_id(id); + app_status->set_status(status); + + auto it = m_clients.begin(); + while (it != m_clients.end()) { + if (it->first->IsCancelled()) { + // Client has gone away, remove from list + std::cout << "Removing cancelled RPC client!" << std::endl; + it = m_clients.erase(it); + + // We're not exiting, but wake up blocked client RPC handlers so + // the canceled one will clean exit. + // Note that in practice this means the client RPC handler thread + // sticks around until the next status event is sent. + m_done_cv.notify_all(); + + continue; + } else { + it->second->Write(response); + ++it; + } + } +} + +void AppLauncherImpl::HandleAppStarted(std::string id) +{ + SendStatus(id, "started"); +} + +void AppLauncherImpl::HandleAppTerminated(std::string id) +{ + SendStatus(id, "terminated"); +} + diff --git a/src/AppLauncherImpl.h b/src/AppLauncherImpl.h new file mode 100644 index 0000000..b08ed14 --- /dev/null +++ b/src/AppLauncherImpl.h @@ -0,0 +1,88 @@ +// SPDX-License-Identifier: Apache-2.0 +/* + * Copyright (C) 2022 Konsulko Group + */ + +#ifndef APPLAUNCHER_IMPL_H +#define APPLAUNCHER_IMPL_H + +#include <mutex> +#include <list> +#include <condition_variable> + +#include <grpcpp/ext/proto_server_reflection_plugin.h> +#include <grpcpp/grpcpp.h> +#include <grpcpp/health_check_service_interface.h> + +#include "applauncher.grpc.pb.h" +#include "systemd_manager.h" + +using grpc::Server; +using grpc::ServerBuilder; +using grpc::ServerContext; +using grpc::ServerWriter; +using grpc::Status; + +using automotivegradelinux::AppLauncher; +using automotivegradelinux::StartRequest; +using automotivegradelinux::StartResponse; +using automotivegradelinux::ListRequest; +using automotivegradelinux::ListResponse; +using automotivegradelinux::AppInfo; +using automotivegradelinux::StatusRequest; +using automotivegradelinux::StatusResponse; + +class AppLauncherImpl final : public AppLauncher::Service +{ +public: + explicit AppLauncherImpl(SystemdManager *manager); + + Status StartApplication(ServerContext* context, + const StartRequest* request, + StartResponse* response) override; + + + Status ListApplications(ServerContext* context, + const ListRequest* request, + ListResponse* response) override; + + Status GetStatusEvents(ServerContext* context, + const StatusRequest* request, + ServerWriter<StatusResponse>* writer) override; + + void SendStatus(std::string id, std::string status); + + void Shutdown() { m_done = true; m_done_cv.notify_all(); } + + static void started_cb(AppLauncherImpl *self, + const gchar *app_id, + gpointer caller) { + if (self) + self->HandleAppStarted(app_id); + } + + static void terminated_cb(AppLauncherImpl *self, + const gchar *app_id, + gpointer caller) { + if (self) + self->HandleAppTerminated(app_id); + } + +private: + // systemd event callback handlers + void HandleAppStarted(std::string id); + void HandleAppTerminated(std::string id); + + // Pointer to systemd wrapping glib object + SystemdManager *m_manager; + + std::mutex m_clients_mutex; + std::list<std::pair<ServerContext*, ServerWriter<StatusResponse>*> > m_clients; + + std::mutex m_done_mutex; + std::condition_variable m_done_cv; + bool m_done = false; + +}; + +#endif // APPLAUNCHER_IMPL_H diff --git a/src/app_info.c b/src/app_info.c index 97ecf7e..f1146cd 100644 --- a/src/app_info.c +++ b/src/app_info.c @@ -1,17 +1,6 @@ +// SPDX-License-Identifier: Apache-2.0 /* * Copyright (C) 2021 Collabora Ltd - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ #include <gio/gio.h> diff --git a/src/app_info.h b/src/app_info.h index f420965..fd054e4 100644 --- a/src/app_info.h +++ b/src/app_info.h @@ -1,17 +1,6 @@ +// SPDX-License-Identifier: Apache-2.0 /* * Copyright (C) 2021 Collabora Ltd - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ #ifndef APPINFO_H diff --git a/src/app_launcher.c b/src/app_launcher.c index 417f59a..d576332 100644 --- a/src/app_launcher.c +++ b/src/app_launcher.c @@ -1,40 +1,20 @@ +// SPDX-License-Identifier: Apache-2.0 /* * Copyright (C) 2021 Collabora Ltd - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Copyright (C) 2022 Konsulko Group */ #include "app_info.h" #include "app_launcher.h" #include "systemd_manager.h" -#include "utils.h" typedef struct _AppLauncher { applaunchdAppLaunchSkeleton parent; -/* TODO: try to move event and bus properties down to systemd_manager */ - sd_event *event; - sd_bus *bus; - SystemdManager *systemd_manager; - GList *apps_list; } AppLauncher; -extern GMainLoop *main_loop; - -extern GSource *g_sd_event_create_source(sd_event *event, sd_bus *bus); - static void app_launcher_iface_init(applaunchdAppLaunchIface *iface); G_DEFINE_TYPE_WITH_CODE(AppLauncher, app_launcher, @@ -51,109 +31,26 @@ static void app_launcher_started_cb(AppLauncher *self, */ /* - * This function is executed during the object initialization. It goes through - * all available applications on the system and creates a static list - * containing all the relevant info (ID, name, unit, icon...) for further - * processing. - */ -static void app_launcher_update_applications_list(AppLauncher *self) -{ - g_auto(GStrv) dirlist = NULL; - - char *xdg_data_dirs = getenv("XDG_DATA_DIRS"); - if (xdg_data_dirs) - dirlist = g_strsplit(getenv("XDG_DATA_DIRS"), ":", -1); - - GList *units = NULL; - if (!systemd_manager_enumerate_app_units(self->systemd_manager, self, &units)) { - return; - } - - GList *iterator; - for (iterator = units; iterator != NULL; iterator = iterator->next) { - g_autofree const gchar *app_id = NULL; - g_autofree const gchar *icon_path = NULL; - AppInfo *app_info = NULL; - - if (!iterator->data) - continue; - - // Parse service and app id out of unit filename - gchar *service = g_strrstr(iterator->data, "/"); - if (!service) - service = iterator->data; - else - service += 1; - - g_autofree char *tmp = g_strdup(service); - char *end = tmp + strlen(tmp); - while (end > tmp && *end != '.') { - --end; - } - if (end > tmp) { - *end = '\0'; - } else { - g_free(tmp); - continue; - } - while (end > tmp && *end != '@') { - --end; - } - if (end > tmp) { - app_id = g_strdup(end + 1); - } - // Potentially handle non-template agl-app-foo.service units here - - // Try getting display name from unit Description property - char *name = NULL; - if (!systemd_manager_get_app_description(self->systemd_manager, - self, - service, - &name) || - name == NULL) { - - // Fall back to the application ID - g_warning("Could not retrieve Description of '%s'", service); - name = app_id; - } - - /* - * GAppInfo retrieves the icon data but doesn't provide a way to retrieve - * the corresponding file name, so we have to look it up by ourselves. - */ - if (app_id && dirlist) - icon_path = applaunchd_utils_get_icon(dirlist, app_id); - - app_info = app_info_new(app_id, - name, - icon_path ? icon_path : "", - service); - - g_debug("Adding application '%s' with display name '%s'", app_id, name); - - self->apps_list = g_list_append(self->apps_list, app_info); - } - g_list_free_full(units, g_free); -} - -/* * Construct the application list to be sent over D-Bus. It has format "av", meaning * the list itself is an array, each item being a variant consisting of 3 strings: * - app-id * - app name * - icon path */ -static GVariant *app_launcher_get_list_variant(AppLauncher *self, gboolean graphical) +static GVariant *app_launcher_get_list_variant(AppLauncher *self) { GVariantBuilder builder; - guint len = g_list_length(self->apps_list); + GList *apps_list = systemd_manager_get_app_list(self->systemd_manager); + if (!apps_list) + return NULL; + guint len = g_list_length(apps_list); /* Init array variant for storing the applications list */ g_variant_builder_init (&builder, G_VARIANT_TYPE_ARRAY); for (guint i = 0; i < len; i++) { GVariantBuilder app_builder; - AppInfo *app_info = g_list_nth_data(self->apps_list, i); + AppInfo *app_info = g_list_nth_data(apps_list, i); g_variant_builder_init (&app_builder, G_VARIANT_TYPE("(sss)")); @@ -173,36 +70,12 @@ static GVariant *app_launcher_get_list_variant(AppLauncher *self, gboolean graph * Starts the requested application using either the D-Bus activation manager * or the process manager. */ -static gboolean app_launcher_start_app(AppLauncher *self, AppInfo *app_info) +gboolean app_launcher_start_app(AppLauncher *self, AppInfo *app_info) { g_return_val_if_fail(APPLAUNCHD_IS_APP_LAUNCHER(self), FALSE); g_return_val_if_fail(APPLAUNCHD_IS_APP_INFO(app_info), FALSE); - AppStatus app_status = app_info_get_status(app_info); - const gchar *app_id = app_info_get_app_id(app_info); - - switch (app_status) { - case APP_STATUS_STARTING: - g_debug("Application '%s' is already starting", app_id); - return TRUE; - case APP_STATUS_RUNNING: - g_debug("Application '%s' is already running", app_id); - /* - * The application may be running in the background, activate it - * and notify subscribers it should be activated/brought to the - * foreground - */ - app_launcher_started_cb(self, app_id, NULL); - return TRUE; - case APP_STATUS_INACTIVE: - systemd_manager_start_app(self->systemd_manager, app_info); - return TRUE; - default: - g_critical("Unknown status %d for application '%s'", app_status, app_id); - break; - } - - return FALSE; + return systemd_manager_start_app(self->systemd_manager, app_info); } /* @@ -221,7 +94,7 @@ static gboolean app_launcher_handle_start(applaunchdAppLaunch *object, g_return_val_if_fail(APPLAUNCHD_IS_APP_LAUNCHER(self), FALSE); /* Search the apps list for the given app-id */ - app = app_launcher_get_app_info(self, app_id); + app = systemd_manager_get_app_info(self->systemd_manager, app_id); if (!app) { g_dbus_method_invocation_return_error(invocation, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, @@ -248,8 +121,9 @@ static gboolean app_launcher_handle_list_applications(applaunchdAppLaunch *objec g_return_val_if_fail(APPLAUNCHD_IS_APP_LAUNCHER(self), FALSE); /* Retrieve the applications list in the right format for sending over D-Bus */ - result = app_launcher_get_list_variant(self, graphical); - applaunchd_app_launch_complete_list_applications(object, invocation, result); + result = app_launcher_get_list_variant(self); + if (result) + applaunchd_app_launch_complete_list_applications(object, invocation, result); return TRUE; } @@ -303,9 +177,6 @@ static void app_launcher_dispose(GObject *object) { AppLauncher *self = APPLAUNCHD_APP_LAUNCHER(object); - if (self->apps_list) - g_list_free_full(g_steal_pointer(&self->apps_list), g_object_unref); - g_clear_object(&self->systemd_manager); G_OBJECT_CLASS(app_launcher_parent_class)->dispose(object); @@ -331,24 +202,15 @@ static void app_launcher_iface_init(applaunchdAppLaunchIface *iface) static void app_launcher_init (AppLauncher *self) { - sd_bus_open_system(&self->bus); - sd_event_default(&self->event); - sd_bus_attach_event(self->bus, self->event, SD_EVENT_PRIORITY_NORMAL); - g_source_attach(g_sd_event_create_source(self->event, self->bus), g_main_loop_get_context(main_loop)); - /* * Create the systemd manager and connect to its signals * so we get notified on app startup/termination */ - self->systemd_manager = g_object_new(APPLAUNCHD_TYPE_SYSTEMD_MANAGER, - NULL); - g_signal_connect_swapped(self->systemd_manager, "started", - G_CALLBACK(app_launcher_started_cb), self); - g_signal_connect_swapped(self->systemd_manager, "terminated", - G_CALLBACK(app_launcher_terminated_cb), self); - - /* Initialize the applications list */ - app_launcher_update_applications_list(self); + self->systemd_manager = systemd_manager_get_default(); + systemd_manager_connect_callbacks(self->systemd_manager, + G_CALLBACK(app_launcher_started_cb), + G_CALLBACK(app_launcher_terminated_cb), + self); } /* @@ -371,35 +233,3 @@ AppLauncher *app_launcher_get_default(void) return launcher; } - -/* - * Search the applications list for an app which matches the provided app-id - * and return the corresponding AppInfo object. - */ -AppInfo *app_launcher_get_app_info(AppLauncher *self, const gchar *app_id) -{ - g_return_val_if_fail(APPLAUNCHD_IS_APP_LAUNCHER(self), NULL); - - guint len = g_list_length(self->apps_list); - - for (guint i = 0; i < len; i++) { - AppInfo *app_info = g_list_nth_data(self->apps_list, i); - - if (g_strcmp0(app_info_get_app_id(app_info), app_id) == 0) - return app_info; - } - - g_warning("Unable to find application with ID '%s'", app_id); - - return NULL; -} - -sd_bus *app_launcher_get_bus(AppLauncher *self) -{ - return self->bus; -} - -sd_event *app_launcher_get_event(AppLauncher *self) -{ - return self->event; -} diff --git a/src/app_launcher.h b/src/app_launcher.h index bfbe281..3155609 100644 --- a/src/app_launcher.h +++ b/src/app_launcher.h @@ -1,17 +1,7 @@ +// SPDX-License-Identifier: Apache-2.0 /* * Copyright (C) 2021 Collabora Ltd - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Copyright (C) 2022 Konsulko Group */ #ifndef APPLAUNCHER_H @@ -33,9 +23,7 @@ G_DECLARE_FINAL_TYPE(AppLauncher, app_launcher, APPLAUNCHD, APP_LAUNCHER, AppLauncher *app_launcher_get_default(void); -AppInfo *app_launcher_get_app_info(AppLauncher *self, const gchar *app_id); -sd_bus *app_launcher_get_bus(AppLauncher *self); -sd_event *app_launcher_get_event(AppLauncher *self); +gboolean app_launcher_start_app(AppLauncher *self, AppInfo *app_info); G_END_DECLS diff --git a/src/gdbus/README.md b/src/gdbus/README.md new file mode 100644 index 0000000..9e91bd9 --- /dev/null +++ b/src/gdbus/README.md @@ -0,0 +1,11 @@ +Interface definitions captured with: + +gdbus introspect --system -x --dest org.freedesktop.systemd1 --object-path /org/freedesktop/systemd1 + +and then pruned down a bit by hand to just the interfaces required. + +Code generated with: + +gdbus-codegen --interface-prefix org.freedesktop. --generate-c-code systemd1_manager_interface --c-generate-object-manager org_freedesktop_systemd1_manager.xml +gdbus-codegen --interface-prefix org.freedesktop. --generate-c-code systemd1_unit_interface org_freedesktop_systemd1_unit.xml + diff --git a/src/gdbus/org_freedesktop_systemd1_manager.xml b/src/gdbus/org_freedesktop_systemd1_manager.xml new file mode 100644 index 0000000..b3ee52c --- /dev/null +++ b/src/gdbus/org_freedesktop_systemd1_manager.xml @@ -0,0 +1,715 @@ +<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN" +"http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd"> +<node> + <interface name="org.freedesktop.systemd1.Manager"> + <property name="Version" type="s" access="read"> + <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/> + </property> + <property name="Features" type="s" access="read"> + <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/> + </property> + <property name="Virtualization" type="s" access="read"> + <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/> + </property> + <property name="Architecture" type="s" access="read"> + <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/> + </property> + <property name="Tainted" type="s" access="read"> + <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/> + </property> + <property name="FirmwareTimestamp" type="t" access="read"> + <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/> + </property> + <property name="FirmwareTimestampMonotonic" type="t" access="read"> + <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/> + </property> + <property name="LoaderTimestamp" type="t" access="read"> + <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/> + </property> + <property name="LoaderTimestampMonotonic" type="t" access="read"> + <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/> + </property> + <property name="KernelTimestamp" type="t" access="read"> + <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/> + </property> + <property name="KernelTimestampMonotonic" type="t" access="read"> + <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/> + </property> + <property name="InitRDTimestamp" type="t" access="read"> + <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/> + </property> + <property name="InitRDTimestampMonotonic" type="t" access="read"> + <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/> + </property> + <property name="UserspaceTimestamp" type="t" access="read"> + <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/> + </property> + <property name="UserspaceTimestampMonotonic" type="t" access="read"> + <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/> + </property> + <property name="FinishTimestamp" type="t" access="read"> + <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/> + </property> + <property name="FinishTimestampMonotonic" type="t" access="read"> + <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/> + </property> + <property name="SecurityStartTimestamp" type="t" access="read"> + <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/> + </property> + <property name="SecurityStartTimestampMonotonic" type="t" access="read"> + <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/> + </property> + <property name="SecurityFinishTimestamp" type="t" access="read"> + <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/> + </property> + <property name="SecurityFinishTimestampMonotonic" type="t" access="read"> + <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/> + </property> + <property name="GeneratorsStartTimestamp" type="t" access="read"> + <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/> + </property> + <property name="GeneratorsStartTimestampMonotonic" type="t" access="read"> + <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/> + </property> + <property name="GeneratorsFinishTimestamp" type="t" access="read"> + <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/> + </property> + <property name="GeneratorsFinishTimestampMonotonic" type="t" access="read"> + <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/> + </property> + <property name="UnitsLoadStartTimestamp" type="t" access="read"> + <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/> + </property> + <property name="UnitsLoadStartTimestampMonotonic" type="t" access="read"> + <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/> + </property> + <property name="UnitsLoadFinishTimestamp" type="t" access="read"> + <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/> + </property> + <property name="UnitsLoadFinishTimestampMonotonic" type="t" access="read"> + <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/> + </property> + <property name="InitRDSecurityStartTimestamp" type="t" access="read"> + <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/> + </property> + <property name="InitRDSecurityStartTimestampMonotonic" type="t" access="read"> + <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/> + </property> + <property name="InitRDSecurityFinishTimestamp" type="t" access="read"> + <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/> + </property> + <property name="InitRDSecurityFinishTimestampMonotonic" type="t" access="read"> + <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/> + </property> + <property name="InitRDGeneratorsStartTimestamp" type="t" access="read"> + <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/> + </property> + <property name="InitRDGeneratorsStartTimestampMonotonic" type="t" access="read"> + <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/> + </property> + <property name="InitRDGeneratorsFinishTimestamp" type="t" access="read"> + <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/> + </property> + <property name="InitRDGeneratorsFinishTimestampMonotonic" type="t" access="read"> + <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/> + </property> + <property name="InitRDUnitsLoadStartTimestamp" type="t" access="read"> + <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/> + </property> + <property name="InitRDUnitsLoadStartTimestampMonotonic" type="t" access="read"> + <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/> + </property> + <property name="InitRDUnitsLoadFinishTimestamp" type="t" access="read"> + <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/> + </property> + <property name="InitRDUnitsLoadFinishTimestampMonotonic" type="t" access="read"> + <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/> + </property> + <property name="LogLevel" type="s" access="readwrite"> + <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="false"/> + <annotation name="org.freedesktop.systemd1.Privileged" value="true"/> + </property> + <property name="LogTarget" type="s" access="readwrite"> + <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="false"/> + <annotation name="org.freedesktop.systemd1.Privileged" value="true"/> + </property> + <property name="NNames" type="u" access="read"> + <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="false"/> + </property> + <property name="NFailedUnits" type="u" access="read"> + </property> + <property name="NJobs" type="u" access="read"> + <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="false"/> + </property> + <property name="NInstalledJobs" type="u" access="read"> + <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="false"/> + </property> + <property name="NFailedJobs" type="u" access="read"> + <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="false"/> + </property> + <property name="Progress" type="d" access="read"> + <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="false"/> + </property> + <property name="Environment" type="as" access="read"> + <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="false"/> + </property> + <property name="ConfirmSpawn" type="b" access="read"> + <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/> + </property> + <property name="ShowStatus" type="b" access="read"> + <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="false"/> + </property> + <property name="UnitPath" type="as" access="read"> + <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/> + </property> + <property name="DefaultStandardOutput" type="s" access="read"> + <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/> + </property> + <property name="DefaultStandardError" type="s" access="read"> + <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/> + </property> + <property name="RuntimeWatchdogUSec" type="t" access="readwrite"> + <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="false"/> + <annotation name="org.freedesktop.systemd1.Privileged" value="true"/> + </property> + <property name="RebootWatchdogUSec" type="t" access="readwrite"> + <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="false"/> + <annotation name="org.freedesktop.systemd1.Privileged" value="true"/> + </property> + <property name="KExecWatchdogUSec" type="t" access="readwrite"> + <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="false"/> + <annotation name="org.freedesktop.systemd1.Privileged" value="true"/> + </property> + <property name="ServiceWatchdogs" type="b" access="readwrite"> + <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="false"/> + <annotation name="org.freedesktop.systemd1.Privileged" value="true"/> + </property> + <property name="ControlGroup" type="s" access="read"> + <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="false"/> + </property> + <property name="SystemState" type="s" access="read"> + <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="false"/> + </property> + <property name="ExitCode" type="y" access="read"> + <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="false"/> + </property> + <property name="DefaultTimerAccuracyUSec" type="t" access="read"> + <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/> + </property> + <property name="DefaultTimeoutStartUSec" type="t" access="read"> + <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/> + </property> + <property name="DefaultTimeoutStopUSec" type="t" access="read"> + <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/> + </property> + <property name="DefaultTimeoutAbortUSec" type="t" access="read"> + <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="false"/> + </property> + <property name="DefaultRestartUSec" type="t" access="read"> + <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/> + </property> + <property name="DefaultStartLimitIntervalUSec" type="t" access="read"> + <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/> + </property> + <property name="DefaultStartLimitBurst" type="u" access="read"> + <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/> + </property> + <property name="DefaultCPUAccounting" type="b" access="read"> + <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/> + </property> + <property name="DefaultBlockIOAccounting" type="b" access="read"> + <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/> + </property> + <property name="DefaultMemoryAccounting" type="b" access="read"> + <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/> + </property> + <property name="DefaultTasksAccounting" type="b" access="read"> + <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/> + </property> + <property name="DefaultLimitCPU" type="t" access="read"> + <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/> + </property> + <property name="DefaultLimitCPUSoft" type="t" access="read"> + <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/> + </property> + <property name="DefaultLimitFSIZE" type="t" access="read"> + <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/> + </property> + <property name="DefaultLimitFSIZESoft" type="t" access="read"> + <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/> + </property> + <property name="DefaultLimitDATA" type="t" access="read"> + <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/> + </property> + <property name="DefaultLimitDATASoft" type="t" access="read"> + <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/> + </property> + <property name="DefaultLimitSTACK" type="t" access="read"> + <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/> + </property> + <property name="DefaultLimitSTACKSoft" type="t" access="read"> + <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/> + </property> + <property name="DefaultLimitCORE" type="t" access="read"> + <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/> + </property> + <property name="DefaultLimitCORESoft" type="t" access="read"> + <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/> + </property> + <property name="DefaultLimitRSS" type="t" access="read"> + <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/> + </property> + <property name="DefaultLimitRSSSoft" type="t" access="read"> + <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/> + </property> + <property name="DefaultLimitNOFILE" type="t" access="read"> + <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/> + </property> + <property name="DefaultLimitNOFILESoft" type="t" access="read"> + <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/> + </property> + <property name="DefaultLimitAS" type="t" access="read"> + <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/> + </property> + <property name="DefaultLimitASSoft" type="t" access="read"> + <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/> + </property> + <property name="DefaultLimitNPROC" type="t" access="read"> + <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/> + </property> + <property name="DefaultLimitNPROCSoft" type="t" access="read"> + <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/> + </property> + <property name="DefaultLimitMEMLOCK" type="t" access="read"> + <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/> + </property> + <property name="DefaultLimitMEMLOCKSoft" type="t" access="read"> + <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/> + </property> + <property name="DefaultLimitLOCKS" type="t" access="read"> + <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/> + </property> + <property name="DefaultLimitLOCKSSoft" type="t" access="read"> + <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/> + </property> + <property name="DefaultLimitSIGPENDING" type="t" access="read"> + <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/> + </property> + <property name="DefaultLimitSIGPENDINGSoft" type="t" access="read"> + <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/> + </property> + <property name="DefaultLimitMSGQUEUE" type="t" access="read"> + <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/> + </property> + <property name="DefaultLimitMSGQUEUESoft" type="t" access="read"> + <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/> + </property> + <property name="DefaultLimitNICE" type="t" access="read"> + <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/> + </property> + <property name="DefaultLimitNICESoft" type="t" access="read"> + <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/> + </property> + <property name="DefaultLimitRTPRIO" type="t" access="read"> + <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/> + </property> + <property name="DefaultLimitRTPRIOSoft" type="t" access="read"> + <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/> + </property> + <property name="DefaultLimitRTTIME" type="t" access="read"> + <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/> + </property> + <property name="DefaultLimitRTTIMESoft" type="t" access="read"> + <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/> + </property> + <property name="DefaultTasksMax" type="t" access="read"> + <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="false"/> + </property> + <property name="TimerSlackNSec" type="t" access="read"> + <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/> + </property> + <property name="DefaultOOMPolicy" type="s" access="read"> + <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/> + </property> + <property name="CtrlAltDelBurstAction" type="s" access="read"> + <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/> + </property> + <method name="GetUnit"> + <arg type="s" name="name" direction="in"/> + <arg type="o" name="unit" direction="out"/> + </method> + <method name="GetUnitByPID"> + <arg type="u" name="pid" direction="in"/> + <arg type="o" name="unit" direction="out"/> + </method> + <method name="GetUnitByInvocationID"> + <arg type="ay" name="invocation_id" direction="in"/> + <arg type="o" name="unit" direction="out"/> + </method> + <method name="GetUnitByControlGroup"> + <arg type="s" name="cgroup" direction="in"/> + <arg type="o" name="unit" direction="out"/> + </method> + <method name="LoadUnit"> + <arg type="s" name="name" direction="in"/> + <arg type="o" name="unit" direction="out"/> + </method> + <method name="StartUnit"> + <arg type="s" name="name" direction="in"/> + <arg type="s" name="mode" direction="in"/> + <arg type="o" name="job" direction="out"/> + </method> + <method name="StartUnitReplace"> + <arg type="s" name="old_unit" direction="in"/> + <arg type="s" name="new_unit" direction="in"/> + <arg type="s" name="mode" direction="in"/> + <arg type="o" name="job" direction="out"/> + </method> + <method name="StopUnit"> + <arg type="s" name="name" direction="in"/> + <arg type="s" name="mode" direction="in"/> + <arg type="o" name="job" direction="out"/> + </method> + <method name="ReloadUnit"> + <arg type="s" name="name" direction="in"/> + <arg type="s" name="mode" direction="in"/> + <arg type="o" name="job" direction="out"/> + </method> + <method name="RestartUnit"> + <arg type="s" name="name" direction="in"/> + <arg type="s" name="mode" direction="in"/> + <arg type="o" name="job" direction="out"/> + </method> + <method name="TryRestartUnit"> + <arg type="s" name="name" direction="in"/> + <arg type="s" name="mode" direction="in"/> + <arg type="o" name="job" direction="out"/> + </method> + <method name="ReloadOrRestartUnit"> + <arg type="s" name="name" direction="in"/> + <arg type="s" name="mode" direction="in"/> + <arg type="o" name="job" direction="out"/> + </method> + <method name="ReloadOrTryRestartUnit"> + <arg type="s" name="name" direction="in"/> + <arg type="s" name="mode" direction="in"/> + <arg type="o" name="job" direction="out"/> + </method> + <method name="EnqueueUnitJob"> + <arg type="s" name="name" direction="in"/> + <arg type="s" name="job_type" direction="in"/> + <arg type="s" name="job_mode" direction="in"/> + <arg type="u" name="job_id" direction="out"/> + <arg type="o" name="job_path" direction="out"/> + <arg type="s" name="unit_id" direction="out"/> + <arg type="o" name="unit_path" direction="out"/> + <arg type="s" name="job_type" direction="out"/> + <arg type="a(uosos)" name="affected_jobs" direction="out"/> + </method> + <method name="KillUnit"> + <arg type="s" name="name" direction="in"/> + <arg type="s" name="whom" direction="in"/> + <arg type="i" name="signal" direction="in"/> + </method> + <method name="CleanUnit"> + <arg type="s" name="name" direction="in"/> + <arg type="as" name="mask" direction="in"/> + </method> + <method name="FreezeUnit"> + <arg type="s" name="name" direction="in"/> + </method> + <method name="ThawUnit"> + <arg type="s" name="name" direction="in"/> + </method> + <method name="ResetFailedUnit"> + <arg type="s" name="name" direction="in"/> + </method> + <method name="SetUnitProperties"> + <arg type="s" name="name" direction="in"/> + <arg type="b" name="runtime" direction="in"/> + <arg type="a(sv)" name="properties" direction="in"/> + </method> + <method name="BindMountUnit"> + <arg type="s" name="name" direction="in"/> + <arg type="s" name="source" direction="in"/> + <arg type="s" name="destination" direction="in"/> + <arg type="b" name="read_only" direction="in"/> + <arg type="b" name="mkdir" direction="in"/> + </method> + <method name="MountImageUnit"> + <arg type="s" name="name" direction="in"/> + <arg type="s" name="source" direction="in"/> + <arg type="s" name="destination" direction="in"/> + <arg type="b" name="read_only" direction="in"/> + <arg type="b" name="mkdir" direction="in"/> + <arg type="a(ss)" name="options" direction="in"/> + </method> + <method name="RefUnit"> + <arg type="s" name="name" direction="in"/> + </method> + <method name="UnrefUnit"> + <arg type="s" name="name" direction="in"/> + </method> + <method name="StartTransientUnit"> + <arg type="s" name="name" direction="in"/> + <arg type="s" name="mode" direction="in"/> + <arg type="a(sv)" name="properties" direction="in"/> + <arg type="a(sa(sv))" name="aux" direction="in"/> + <arg type="o" name="job" direction="out"/> + </method> + <method name="GetUnitProcesses"> + <arg type="s" name="name" direction="in"/> + <arg type="a(sus)" name="processes" direction="out"/> + </method> + <method name="AttachProcessesToUnit"> + <arg type="s" name="unit_name" direction="in"/> + <arg type="s" name="subcgroup" direction="in"/> + <arg type="au" name="pids" direction="in"/> + </method> + <method name="AbandonScope"> + <arg type="s" name="name" direction="in"/> + </method> + <method name="GetJob"> + <arg type="u" name="id" direction="in"/> + <arg type="o" name="job" direction="out"/> + </method> + <method name="GetJobAfter"> + <arg type="u" name="id" direction="in"/> + <arg type="a(usssoo)" name="jobs" direction="out"/> + </method> + <method name="GetJobBefore"> + <arg type="u" name="id" direction="in"/> + <arg type="a(usssoo)" name="jobs" direction="out"/> + </method> + <method name="CancelJob"> + <arg type="u" name="id" direction="in"/> + </method> + <method name="ClearJobs"> + </method> + <method name="ResetFailed"> + </method> + <method name="SetShowStatus"> + <arg type="s" name="mode" direction="in"/> + <annotation name="org.freedesktop.systemd1.Privileged" value="true"/> + </method> + <method name="ListUnits"> + <arg type="a(ssssssouso)" name="units" direction="out"/> + </method> + <method name="ListUnitsFiltered"> + <arg type="as" name="states" direction="in"/> + <arg type="a(ssssssouso)" name="units" direction="out"/> + </method> + <method name="ListUnitsByPatterns"> + <arg type="as" name="states" direction="in"/> + <arg type="as" name="patterns" direction="in"/> + <arg type="a(ssssssouso)" name="units" direction="out"/> + </method> + <method name="ListUnitsByNames"> + <arg type="as" name="names" direction="in"/> + <arg type="a(ssssssouso)" name="units" direction="out"/> + </method> + <method name="ListJobs"> + <arg type="a(usssoo)" name="jobs" direction="out"/> + </method> + <method name="Subscribe"> + </method> + <method name="Unsubscribe"> + </method> + <method name="Dump"> + <arg type="s" name="output" direction="out"/> + </method> + <method name="DumpByFileDescriptor"> + <arg type="h" name="fd" direction="out"/> + </method> + <method name="Reload"> + </method> + <method name="Reexecute"> + </method> + <method name="Exit"> + <annotation name="org.freedesktop.systemd1.Privileged" value="true"/> + </method> + <method name="Reboot"> + <annotation name="org.freedesktop.systemd1.Privileged" value="true"/> + </method> + <method name="PowerOff"> + <annotation name="org.freedesktop.systemd1.Privileged" value="true"/> + </method> + <method name="Halt"> + <annotation name="org.freedesktop.systemd1.Privileged" value="true"/> + </method> + <method name="KExec"> + <annotation name="org.freedesktop.systemd1.Privileged" value="true"/> + </method> + <method name="SwitchRoot"> + <arg type="s" name="new_root" direction="in"/> + <arg type="s" name="init" direction="in"/> + <annotation name="org.freedesktop.systemd1.Privileged" value="true"/> + </method> + <method name="SetEnvironment"> + <arg type="as" name="assignments" direction="in"/> + </method> + <method name="UnsetEnvironment"> + <arg type="as" name="names" direction="in"/> + </method> + <method name="UnsetAndSetEnvironment"> + <arg type="as" name="names" direction="in"/> + <arg type="as" name="assignments" direction="in"/> + </method> + <method name="EnqueueMarkedJobs"> + <arg type="ao" name="jobs" direction="out"/> + </method> + <method name="ListUnitFiles"> + <arg type="a(ss)" name="unit_files" direction="out"/> + </method> + <method name="ListUnitFilesByPatterns"> + <arg type="as" name="states" direction="in"/> + <arg type="as" name="patterns" direction="in"/> + <arg type="a(ss)" name="unit_files" direction="out"/> + </method> + <method name="GetUnitFileState"> + <arg type="s" name="file" direction="in"/> + <arg type="s" name="state" direction="out"/> + </method> + <method name="EnableUnitFiles"> + <arg type="as" name="files" direction="in"/> + <arg type="b" name="runtime" direction="in"/> + <arg type="b" name="force" direction="in"/> + <arg type="b" name="carries_install_info" direction="out"/> + <arg type="a(sss)" name="changes" direction="out"/> + </method> + <method name="DisableUnitFiles"> + <arg type="as" name="files" direction="in"/> + <arg type="b" name="runtime" direction="in"/> + <arg type="a(sss)" name="changes" direction="out"/> + </method> + <method name="EnableUnitFilesWithFlags"> + <arg type="as" name="files" direction="in"/> + <arg type="t" name="flags" direction="in"/> + <arg type="b" name="carries_install_info" direction="out"/> + <arg type="a(sss)" name="changes" direction="out"/> + </method> + <method name="DisableUnitFilesWithFlags"> + <arg type="as" name="files" direction="in"/> + <arg type="t" name="flags" direction="in"/> + <arg type="a(sss)" name="changes" direction="out"/> + </method> + <method name="ReenableUnitFiles"> + <arg type="as" name="files" direction="in"/> + <arg type="b" name="runtime" direction="in"/> + <arg type="b" name="force" direction="in"/> + <arg type="b" name="carries_install_info" direction="out"/> + <arg type="a(sss)" name="changes" direction="out"/> + </method> + <method name="LinkUnitFiles"> + <arg type="as" name="files" direction="in"/> + <arg type="b" name="runtime" direction="in"/> + <arg type="b" name="force" direction="in"/> + <arg type="a(sss)" name="changes" direction="out"/> + </method> + <method name="PresetUnitFiles"> + <arg type="as" name="files" direction="in"/> + <arg type="b" name="runtime" direction="in"/> + <arg type="b" name="force" direction="in"/> + <arg type="b" name="carries_install_info" direction="out"/> + <arg type="a(sss)" name="changes" direction="out"/> + </method> + <method name="PresetUnitFilesWithMode"> + <arg type="as" name="files" direction="in"/> + <arg type="s" name="mode" direction="in"/> + <arg type="b" name="runtime" direction="in"/> + <arg type="b" name="force" direction="in"/> + <arg type="b" name="carries_install_info" direction="out"/> + <arg type="a(sss)" name="changes" direction="out"/> + </method> + <method name="MaskUnitFiles"> + <arg type="as" name="files" direction="in"/> + <arg type="b" name="runtime" direction="in"/> + <arg type="b" name="force" direction="in"/> + <arg type="a(sss)" name="changes" direction="out"/> + </method> + <method name="UnmaskUnitFiles"> + <arg type="as" name="files" direction="in"/> + <arg type="b" name="runtime" direction="in"/> + <arg type="a(sss)" name="changes" direction="out"/> + </method> + <method name="RevertUnitFiles"> + <arg type="as" name="files" direction="in"/> + <arg type="a(sss)" name="changes" direction="out"/> + </method> + <method name="SetDefaultTarget"> + <arg type="s" name="name" direction="in"/> + <arg type="b" name="force" direction="in"/> + <arg type="a(sss)" name="changes" direction="out"/> + </method> + <method name="GetDefaultTarget"> + <arg type="s" name="name" direction="out"/> + </method> + <method name="PresetAllUnitFiles"> + <arg type="s" name="mode" direction="in"/> + <arg type="b" name="runtime" direction="in"/> + <arg type="b" name="force" direction="in"/> + <arg type="a(sss)" name="changes" direction="out"/> + </method> + <method name="AddDependencyUnitFiles"> + <arg type="as" name="files" direction="in"/> + <arg type="s" name="target" direction="in"/> + <arg type="s" name="type" direction="in"/> + <arg type="b" name="runtime" direction="in"/> + <arg type="b" name="force" direction="in"/> + <arg type="a(sss)" name="changes" direction="out"/> + </method> + <method name="GetUnitFileLinks"> + <arg type="s" name="name" direction="in"/> + <arg type="b" name="runtime" direction="in"/> + <arg type="as" name="links" direction="out"/> + </method> + <method name="SetExitCode"> + <arg type="y" name="number" direction="in"/> + </method> + <method name="LookupDynamicUserByName"> + <arg type="s" name="name" direction="in"/> + <arg type="u" name="uid" direction="out"/> + </method> + <method name="LookupDynamicUserByUID"> + <arg type="u" name="uid" direction="in"/> + <arg type="s" name="name" direction="out"/> + </method> + <method name="GetDynamicUsers"> + <arg type="a(us)" name="users" direction="out"/> + </method> + <signal name="UnitNew"> + <arg type="s" name="id"/> + <arg type="o" name="unit"/> + </signal> + <signal name="UnitRemoved"> + <arg type="s" name="id"/> + <arg type="o" name="unit"/> + </signal> + <signal name="JobNew"> + <arg type="u" name="id"/> + <arg type="o" name="job"/> + <arg type="s" name="unit"/> + </signal> + <signal name="JobRemoved"> + <arg type="u" name="id"/> + <arg type="o" name="job"/> + <arg type="s" name="unit"/> + <arg type="s" name="result"/> + </signal> + <signal name="StartupFinished"> + <arg type="t" name="firmware"/> + <arg type="t" name="loader"/> + <arg type="t" name="kernel"/> + <arg type="t" name="initrd"/> + <arg type="t" name="userspace"/> + <arg type="t" name="total"/> + </signal> + <signal name="UnitFilesChanged"> + </signal> + <signal name="Reloading"> + <arg type="b" name="active"/> + </signal> + </interface> + <node name="job"/> + <node name="unit"/> +</node> diff --git a/src/gdbus/org_freedesktop_systemd1_unit.xml b/src/gdbus/org_freedesktop_systemd1_unit.xml new file mode 100644 index 0000000..5bc3f60 --- /dev/null +++ b/src/gdbus/org_freedesktop_systemd1_unit.xml @@ -0,0 +1,326 @@ +<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN" +"http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd"> +<node> + <interface name="org.freedesktop.systemd1.Unit"> + <property name="Id" type="s" access="read"> + <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/> + </property> + <property name="Names" type="as" access="read"> + <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/> + </property> + <property name="Following" type="s" access="read"> + <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="false"/> + </property> + <property name="Requires" type="as" access="read"> + <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/> + </property> + <property name="Requisite" type="as" access="read"> + <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/> + </property> + <property name="Wants" type="as" access="read"> + <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/> + </property> + <property name="BindsTo" type="as" access="read"> + <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/> + </property> + <property name="PartOf" type="as" access="read"> + <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/> + </property> + <property name="RequiredBy" type="as" access="read"> + <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/> + </property> + <property name="RequisiteOf" type="as" access="read"> + <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/> + </property> + <property name="WantedBy" type="as" access="read"> + <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/> + </property> + <property name="BoundBy" type="as" access="read"> + <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/> + </property> + <property name="ConsistsOf" type="as" access="read"> + <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/> + </property> + <property name="Conflicts" type="as" access="read"> + <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/> + </property> + <property name="ConflictedBy" type="as" access="read"> + <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/> + </property> + <property name="Before" type="as" access="read"> + <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/> + </property> + <property name="After" type="as" access="read"> + <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/> + </property> + <property name="OnFailure" type="as" access="read"> + <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/> + </property> + <property name="OnFailureOf" type="as" access="read"> + <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/> + </property> + <property name="OnSuccess" type="as" access="read"> + <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/> + </property> + <property name="OnSuccessOf" type="as" access="read"> + <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/> + </property> + <property name="Triggers" type="as" access="read"> + <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/> + </property> + <property name="TriggeredBy" type="as" access="read"> + <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/> + </property> + <property name="PropagatesReloadTo" type="as" access="read"> + <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/> + </property> + <property name="ReloadPropagatedFrom" type="as" access="read"> + <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/> + </property> + <property name="PropagatesStopTo" type="as" access="read"> + <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/> + </property> + <property name="StopPropagatedFrom" type="as" access="read"> + <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/> + </property> + <property name="JoinsNamespaceOf" type="as" access="read"> + <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/> + </property> + <property name="SliceOf" type="as" access="read"> + <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/> + </property> + <property name="RequiresMountsFor" type="as" access="read"> + <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/> + </property> + <property name="Documentation" type="as" access="read"> + <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/> + </property> + <property name="Description" type="s" access="read"> + <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/> + </property> + <property name="LoadState" type="s" access="read"> + <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/> + </property> + <property name="ActiveState" type="s" access="read"> + </property> + <property name="FreezerState" type="s" access="read"> + </property> + <property name="SubState" type="s" access="read"> + </property> + <property name="FragmentPath" type="s" access="read"> + <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/> + </property> + <property name="SourcePath" type="s" access="read"> + <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/> + </property> + <property name="DropInPaths" type="as" access="read"> + <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/> + </property> + <property name="UnitFileState" type="s" access="read"> + <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="false"/> + </property> + <property name="UnitFilePreset" type="s" access="read"> + <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="false"/> + </property> + <property name="StateChangeTimestamp" type="t" access="read"> + </property> + <property name="StateChangeTimestampMonotonic" type="t" access="read"> + </property> + <property name="InactiveExitTimestamp" type="t" access="read"> + </property> + <property name="InactiveExitTimestampMonotonic" type="t" access="read"> + </property> + <property name="ActiveEnterTimestamp" type="t" access="read"> + </property> + <property name="ActiveEnterTimestampMonotonic" type="t" access="read"> + </property> + <property name="ActiveExitTimestamp" type="t" access="read"> + </property> + <property name="ActiveExitTimestampMonotonic" type="t" access="read"> + </property> + <property name="InactiveEnterTimestamp" type="t" access="read"> + </property> + <property name="InactiveEnterTimestampMonotonic" type="t" access="read"> + </property> + <property name="CanStart" type="b" access="read"> + <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/> + </property> + <property name="CanStop" type="b" access="read"> + <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/> + </property> + <property name="CanReload" type="b" access="read"> + <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/> + </property> + <property name="CanIsolate" type="b" access="read"> + <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/> + </property> + <property name="CanClean" type="as" access="read"> + <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/> + </property> + <property name="CanFreeze" type="b" access="read"> + <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/> + </property> + <property name="Job" type="(uo)" access="read"> + </property> + <property name="StopWhenUnneeded" type="b" access="read"> + <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/> + </property> + <property name="RefuseManualStart" type="b" access="read"> + <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/> + </property> + <property name="RefuseManualStop" type="b" access="read"> + <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/> + </property> + <property name="AllowIsolate" type="b" access="read"> + <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/> + </property> + <property name="DefaultDependencies" type="b" access="read"> + <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/> + </property> + <property name="OnSuccessJobMode" type="s" access="read"> + <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/> + </property> + <property name="OnFailureJobMode" type="s" access="read"> + <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/> + </property> + <property name="IgnoreOnIsolate" type="b" access="read"> + <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/> + </property> + <property name="NeedDaemonReload" type="b" access="read"> + <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="false"/> + </property> + <property name="Markers" type="as" access="read"> + <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="false"/> + </property> + <property name="JobTimeoutUSec" type="t" access="read"> + <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/> + </property> + <property name="JobRunningTimeoutUSec" type="t" access="read"> + <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/> + </property> + <property name="JobTimeoutAction" type="s" access="read"> + <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/> + </property> + <property name="JobTimeoutRebootArgument" type="s" access="read"> + <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/> + </property> + <property name="ConditionResult" type="b" access="read"> + </property> + <property name="AssertResult" type="b" access="read"> + </property> + <property name="ConditionTimestamp" type="t" access="read"> + </property> + <property name="ConditionTimestampMonotonic" type="t" access="read"> + </property> + <property name="AssertTimestamp" type="t" access="read"> + </property> + <property name="AssertTimestampMonotonic" type="t" access="read"> + </property> + <property name="Conditions" type="a(sbbsi)" access="read"> + <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="invalidates"/> + </property> + <property name="Asserts" type="a(sbbsi)" access="read"> + <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="invalidates"/> + </property> + <property name="LoadError" type="(ss)" access="read"> + <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/> + </property> + <property name="Transient" type="b" access="read"> + <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/> + </property> + <property name="Perpetual" type="b" access="read"> + <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/> + </property> + <property name="StartLimitIntervalUSec" type="t" access="read"> + <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/> + </property> + <property name="StartLimitBurst" type="u" access="read"> + <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/> + </property> + <property name="StartLimitAction" type="s" access="read"> + <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/> + </property> + <property name="FailureAction" type="s" access="read"> + <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/> + </property> + <property name="FailureActionExitStatus" type="i" access="read"> + <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/> + </property> + <property name="SuccessAction" type="s" access="read"> + <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/> + </property> + <property name="SuccessActionExitStatus" type="i" access="read"> + <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/> + </property> + <property name="RebootArgument" type="s" access="read"> + <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/> + </property> + <property name="InvocationID" type="ay" access="read"> + </property> + <property name="CollectMode" type="s" access="read"> + <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="const"/> + </property> + <property name="Refs" type="as" access="read"> + <annotation name="org.freedesktop.DBus.Property.EmitsChangedSignal" value="false"/> + </property> + <method name="Start"> + <arg type="s" name="mode" direction="in"/> + <arg type="o" name="job" direction="out"/> + </method> + <method name="Stop"> + <arg type="s" name="mode" direction="in"/> + <arg type="o" name="job" direction="out"/> + </method> + <method name="Reload"> + <arg type="s" name="mode" direction="in"/> + <arg type="o" name="job" direction="out"/> + </method> + <method name="Restart"> + <arg type="s" name="mode" direction="in"/> + <arg type="o" name="job" direction="out"/> + </method> + <method name="TryRestart"> + <arg type="s" name="mode" direction="in"/> + <arg type="o" name="job" direction="out"/> + </method> + <method name="ReloadOrRestart"> + <arg type="s" name="mode" direction="in"/> + <arg type="o" name="job" direction="out"/> + </method> + <method name="ReloadOrTryRestart"> + <arg type="s" name="mode" direction="in"/> + <arg type="o" name="job" direction="out"/> + </method> + <method name="EnqueueJob"> + <arg type="s" name="job_type" direction="in"/> + <arg type="s" name="job_mode" direction="in"/> + <arg type="u" name="job_id" direction="out"/> + <arg type="o" name="job_path" direction="out"/> + <arg type="s" name="unit_id" direction="out"/> + <arg type="o" name="unit_path" direction="out"/> + <arg type="s" name="job_type" direction="out"/> + <arg type="a(uosos)" name="affected_jobs" direction="out"/> + </method> + <method name="Kill"> + <arg type="s" name="whom" direction="in"/> + <arg type="i" name="signal" direction="in"/> + </method> + <method name="ResetFailed"> + </method> + <method name="SetProperties"> + <arg type="b" name="runtime" direction="in"/> + <arg type="a(sv)" name="properties" direction="in"/> + </method> + <method name="Ref"> + </method> + <method name="Unref"> + </method> + <method name="Clean"> + <arg type="as" name="mask" direction="in"/> + </method> + <method name="Freeze"> + </method> + <method name="Thaw"> + </method> + </interface> +</node> diff --git a/src/gdbus/systemd1_manager_interface.c b/src/gdbus/systemd1_manager_interface.c new file mode 100644 index 0000000..4dff9cc --- /dev/null +++ b/src/gdbus/systemd1_manager_interface.c @@ -0,0 +1,29476 @@ +/* + * This file is generated by gdbus-codegen, do not modify it. + * + * The license of this code is the same as for the D-Bus interface description + * it was derived from. Note that it links to GLib, so must comply with the + * LGPL linking clauses. + */ + +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif + +#include "systemd1_manager_interface.h" + +#include <string.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; + guint use_gvariant : 1; + guint emits_changed_signal : 1; +} _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: + { + /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ + gdouble da = g_value_get_double (a); + gdouble db = g_value_get_double (b); + ret = memcmp (&da, &db, sizeof (gdouble)) == 0; + } + 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.systemd1.Manager + * ------------------------------------------------------------------------ + */ + +/** + * SECTION:Systemd1Manager + * @title: Systemd1Manager + * @short_description: Generated C code for the org.freedesktop.systemd1.Manager D-Bus interface + * + * This section contains code for working with the <link linkend="gdbus-interface-org-freedesktop-systemd1-Manager.top_of_page">org.freedesktop.systemd1.Manager</link> D-Bus interface in C. + */ + +/* ---- Introspection data for org.freedesktop.systemd1.Manager ---- */ + +static const _ExtendedGDBusArgInfo _systemd1_manager_method_info_get_unit_IN_ARG_name = +{ + { + -1, + (gchar *) "name", + (gchar *) "s", + NULL + }, + FALSE +}; + +static const GDBusArgInfo * const _systemd1_manager_method_info_get_unit_IN_ARG_pointers[] = +{ + &_systemd1_manager_method_info_get_unit_IN_ARG_name.parent_struct, + NULL +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_method_info_get_unit_OUT_ARG_unit = +{ + { + -1, + (gchar *) "unit", + (gchar *) "o", + NULL + }, + FALSE +}; + +static const GDBusArgInfo * const _systemd1_manager_method_info_get_unit_OUT_ARG_pointers[] = +{ + &_systemd1_manager_method_info_get_unit_OUT_ARG_unit.parent_struct, + NULL +}; + +static const _ExtendedGDBusMethodInfo _systemd1_manager_method_info_get_unit = +{ + { + -1, + (gchar *) "GetUnit", + (GDBusArgInfo **) &_systemd1_manager_method_info_get_unit_IN_ARG_pointers, + (GDBusArgInfo **) &_systemd1_manager_method_info_get_unit_OUT_ARG_pointers, + NULL + }, + "handle-get-unit", + FALSE +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_method_info_get_unit_by_pid_IN_ARG_pid = +{ + { + -1, + (gchar *) "pid", + (gchar *) "u", + NULL + }, + FALSE +}; + +static const GDBusArgInfo * const _systemd1_manager_method_info_get_unit_by_pid_IN_ARG_pointers[] = +{ + &_systemd1_manager_method_info_get_unit_by_pid_IN_ARG_pid.parent_struct, + NULL +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_method_info_get_unit_by_pid_OUT_ARG_unit = +{ + { + -1, + (gchar *) "unit", + (gchar *) "o", + NULL + }, + FALSE +}; + +static const GDBusArgInfo * const _systemd1_manager_method_info_get_unit_by_pid_OUT_ARG_pointers[] = +{ + &_systemd1_manager_method_info_get_unit_by_pid_OUT_ARG_unit.parent_struct, + NULL +}; + +static const _ExtendedGDBusMethodInfo _systemd1_manager_method_info_get_unit_by_pid = +{ + { + -1, + (gchar *) "GetUnitByPID", + (GDBusArgInfo **) &_systemd1_manager_method_info_get_unit_by_pid_IN_ARG_pointers, + (GDBusArgInfo **) &_systemd1_manager_method_info_get_unit_by_pid_OUT_ARG_pointers, + NULL + }, + "handle-get-unit-by-pid", + FALSE +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_method_info_get_unit_by_invocation_id_IN_ARG_invocation_id = +{ + { + -1, + (gchar *) "invocation_id", + (gchar *) "ay", + NULL + }, + FALSE +}; + +static const GDBusArgInfo * const _systemd1_manager_method_info_get_unit_by_invocation_id_IN_ARG_pointers[] = +{ + &_systemd1_manager_method_info_get_unit_by_invocation_id_IN_ARG_invocation_id.parent_struct, + NULL +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_method_info_get_unit_by_invocation_id_OUT_ARG_unit = +{ + { + -1, + (gchar *) "unit", + (gchar *) "o", + NULL + }, + FALSE +}; + +static const GDBusArgInfo * const _systemd1_manager_method_info_get_unit_by_invocation_id_OUT_ARG_pointers[] = +{ + &_systemd1_manager_method_info_get_unit_by_invocation_id_OUT_ARG_unit.parent_struct, + NULL +}; + +static const _ExtendedGDBusMethodInfo _systemd1_manager_method_info_get_unit_by_invocation_id = +{ + { + -1, + (gchar *) "GetUnitByInvocationID", + (GDBusArgInfo **) &_systemd1_manager_method_info_get_unit_by_invocation_id_IN_ARG_pointers, + (GDBusArgInfo **) &_systemd1_manager_method_info_get_unit_by_invocation_id_OUT_ARG_pointers, + NULL + }, + "handle-get-unit-by-invocation-id", + FALSE +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_method_info_get_unit_by_control_group_IN_ARG_cgroup = +{ + { + -1, + (gchar *) "cgroup", + (gchar *) "s", + NULL + }, + FALSE +}; + +static const GDBusArgInfo * const _systemd1_manager_method_info_get_unit_by_control_group_IN_ARG_pointers[] = +{ + &_systemd1_manager_method_info_get_unit_by_control_group_IN_ARG_cgroup.parent_struct, + NULL +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_method_info_get_unit_by_control_group_OUT_ARG_unit = +{ + { + -1, + (gchar *) "unit", + (gchar *) "o", + NULL + }, + FALSE +}; + +static const GDBusArgInfo * const _systemd1_manager_method_info_get_unit_by_control_group_OUT_ARG_pointers[] = +{ + &_systemd1_manager_method_info_get_unit_by_control_group_OUT_ARG_unit.parent_struct, + NULL +}; + +static const _ExtendedGDBusMethodInfo _systemd1_manager_method_info_get_unit_by_control_group = +{ + { + -1, + (gchar *) "GetUnitByControlGroup", + (GDBusArgInfo **) &_systemd1_manager_method_info_get_unit_by_control_group_IN_ARG_pointers, + (GDBusArgInfo **) &_systemd1_manager_method_info_get_unit_by_control_group_OUT_ARG_pointers, + NULL + }, + "handle-get-unit-by-control-group", + FALSE +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_method_info_load_unit_IN_ARG_name = +{ + { + -1, + (gchar *) "name", + (gchar *) "s", + NULL + }, + FALSE +}; + +static const GDBusArgInfo * const _systemd1_manager_method_info_load_unit_IN_ARG_pointers[] = +{ + &_systemd1_manager_method_info_load_unit_IN_ARG_name.parent_struct, + NULL +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_method_info_load_unit_OUT_ARG_unit = +{ + { + -1, + (gchar *) "unit", + (gchar *) "o", + NULL + }, + FALSE +}; + +static const GDBusArgInfo * const _systemd1_manager_method_info_load_unit_OUT_ARG_pointers[] = +{ + &_systemd1_manager_method_info_load_unit_OUT_ARG_unit.parent_struct, + NULL +}; + +static const _ExtendedGDBusMethodInfo _systemd1_manager_method_info_load_unit = +{ + { + -1, + (gchar *) "LoadUnit", + (GDBusArgInfo **) &_systemd1_manager_method_info_load_unit_IN_ARG_pointers, + (GDBusArgInfo **) &_systemd1_manager_method_info_load_unit_OUT_ARG_pointers, + NULL + }, + "handle-load-unit", + FALSE +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_method_info_start_unit_IN_ARG_name = +{ + { + -1, + (gchar *) "name", + (gchar *) "s", + NULL + }, + FALSE +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_method_info_start_unit_IN_ARG_mode = +{ + { + -1, + (gchar *) "mode", + (gchar *) "s", + NULL + }, + FALSE +}; + +static const GDBusArgInfo * const _systemd1_manager_method_info_start_unit_IN_ARG_pointers[] = +{ + &_systemd1_manager_method_info_start_unit_IN_ARG_name.parent_struct, + &_systemd1_manager_method_info_start_unit_IN_ARG_mode.parent_struct, + NULL +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_method_info_start_unit_OUT_ARG_job = +{ + { + -1, + (gchar *) "job", + (gchar *) "o", + NULL + }, + FALSE +}; + +static const GDBusArgInfo * const _systemd1_manager_method_info_start_unit_OUT_ARG_pointers[] = +{ + &_systemd1_manager_method_info_start_unit_OUT_ARG_job.parent_struct, + NULL +}; + +static const _ExtendedGDBusMethodInfo _systemd1_manager_method_info_start_unit = +{ + { + -1, + (gchar *) "StartUnit", + (GDBusArgInfo **) &_systemd1_manager_method_info_start_unit_IN_ARG_pointers, + (GDBusArgInfo **) &_systemd1_manager_method_info_start_unit_OUT_ARG_pointers, + NULL + }, + "handle-start-unit", + FALSE +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_method_info_start_unit_replace_IN_ARG_old_unit = +{ + { + -1, + (gchar *) "old_unit", + (gchar *) "s", + NULL + }, + FALSE +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_method_info_start_unit_replace_IN_ARG_new_unit = +{ + { + -1, + (gchar *) "new_unit", + (gchar *) "s", + NULL + }, + FALSE +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_method_info_start_unit_replace_IN_ARG_mode = +{ + { + -1, + (gchar *) "mode", + (gchar *) "s", + NULL + }, + FALSE +}; + +static const GDBusArgInfo * const _systemd1_manager_method_info_start_unit_replace_IN_ARG_pointers[] = +{ + &_systemd1_manager_method_info_start_unit_replace_IN_ARG_old_unit.parent_struct, + &_systemd1_manager_method_info_start_unit_replace_IN_ARG_new_unit.parent_struct, + &_systemd1_manager_method_info_start_unit_replace_IN_ARG_mode.parent_struct, + NULL +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_method_info_start_unit_replace_OUT_ARG_job = +{ + { + -1, + (gchar *) "job", + (gchar *) "o", + NULL + }, + FALSE +}; + +static const GDBusArgInfo * const _systemd1_manager_method_info_start_unit_replace_OUT_ARG_pointers[] = +{ + &_systemd1_manager_method_info_start_unit_replace_OUT_ARG_job.parent_struct, + NULL +}; + +static const _ExtendedGDBusMethodInfo _systemd1_manager_method_info_start_unit_replace = +{ + { + -1, + (gchar *) "StartUnitReplace", + (GDBusArgInfo **) &_systemd1_manager_method_info_start_unit_replace_IN_ARG_pointers, + (GDBusArgInfo **) &_systemd1_manager_method_info_start_unit_replace_OUT_ARG_pointers, + NULL + }, + "handle-start-unit-replace", + FALSE +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_method_info_stop_unit_IN_ARG_name = +{ + { + -1, + (gchar *) "name", + (gchar *) "s", + NULL + }, + FALSE +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_method_info_stop_unit_IN_ARG_mode = +{ + { + -1, + (gchar *) "mode", + (gchar *) "s", + NULL + }, + FALSE +}; + +static const GDBusArgInfo * const _systemd1_manager_method_info_stop_unit_IN_ARG_pointers[] = +{ + &_systemd1_manager_method_info_stop_unit_IN_ARG_name.parent_struct, + &_systemd1_manager_method_info_stop_unit_IN_ARG_mode.parent_struct, + NULL +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_method_info_stop_unit_OUT_ARG_job = +{ + { + -1, + (gchar *) "job", + (gchar *) "o", + NULL + }, + FALSE +}; + +static const GDBusArgInfo * const _systemd1_manager_method_info_stop_unit_OUT_ARG_pointers[] = +{ + &_systemd1_manager_method_info_stop_unit_OUT_ARG_job.parent_struct, + NULL +}; + +static const _ExtendedGDBusMethodInfo _systemd1_manager_method_info_stop_unit = +{ + { + -1, + (gchar *) "StopUnit", + (GDBusArgInfo **) &_systemd1_manager_method_info_stop_unit_IN_ARG_pointers, + (GDBusArgInfo **) &_systemd1_manager_method_info_stop_unit_OUT_ARG_pointers, + NULL + }, + "handle-stop-unit", + FALSE +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_method_info_reload_unit_IN_ARG_name = +{ + { + -1, + (gchar *) "name", + (gchar *) "s", + NULL + }, + FALSE +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_method_info_reload_unit_IN_ARG_mode = +{ + { + -1, + (gchar *) "mode", + (gchar *) "s", + NULL + }, + FALSE +}; + +static const GDBusArgInfo * const _systemd1_manager_method_info_reload_unit_IN_ARG_pointers[] = +{ + &_systemd1_manager_method_info_reload_unit_IN_ARG_name.parent_struct, + &_systemd1_manager_method_info_reload_unit_IN_ARG_mode.parent_struct, + NULL +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_method_info_reload_unit_OUT_ARG_job = +{ + { + -1, + (gchar *) "job", + (gchar *) "o", + NULL + }, + FALSE +}; + +static const GDBusArgInfo * const _systemd1_manager_method_info_reload_unit_OUT_ARG_pointers[] = +{ + &_systemd1_manager_method_info_reload_unit_OUT_ARG_job.parent_struct, + NULL +}; + +static const _ExtendedGDBusMethodInfo _systemd1_manager_method_info_reload_unit = +{ + { + -1, + (gchar *) "ReloadUnit", + (GDBusArgInfo **) &_systemd1_manager_method_info_reload_unit_IN_ARG_pointers, + (GDBusArgInfo **) &_systemd1_manager_method_info_reload_unit_OUT_ARG_pointers, + NULL + }, + "handle-reload-unit", + FALSE +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_method_info_restart_unit_IN_ARG_name = +{ + { + -1, + (gchar *) "name", + (gchar *) "s", + NULL + }, + FALSE +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_method_info_restart_unit_IN_ARG_mode = +{ + { + -1, + (gchar *) "mode", + (gchar *) "s", + NULL + }, + FALSE +}; + +static const GDBusArgInfo * const _systemd1_manager_method_info_restart_unit_IN_ARG_pointers[] = +{ + &_systemd1_manager_method_info_restart_unit_IN_ARG_name.parent_struct, + &_systemd1_manager_method_info_restart_unit_IN_ARG_mode.parent_struct, + NULL +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_method_info_restart_unit_OUT_ARG_job = +{ + { + -1, + (gchar *) "job", + (gchar *) "o", + NULL + }, + FALSE +}; + +static const GDBusArgInfo * const _systemd1_manager_method_info_restart_unit_OUT_ARG_pointers[] = +{ + &_systemd1_manager_method_info_restart_unit_OUT_ARG_job.parent_struct, + NULL +}; + +static const _ExtendedGDBusMethodInfo _systemd1_manager_method_info_restart_unit = +{ + { + -1, + (gchar *) "RestartUnit", + (GDBusArgInfo **) &_systemd1_manager_method_info_restart_unit_IN_ARG_pointers, + (GDBusArgInfo **) &_systemd1_manager_method_info_restart_unit_OUT_ARG_pointers, + NULL + }, + "handle-restart-unit", + FALSE +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_method_info_try_restart_unit_IN_ARG_name = +{ + { + -1, + (gchar *) "name", + (gchar *) "s", + NULL + }, + FALSE +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_method_info_try_restart_unit_IN_ARG_mode = +{ + { + -1, + (gchar *) "mode", + (gchar *) "s", + NULL + }, + FALSE +}; + +static const GDBusArgInfo * const _systemd1_manager_method_info_try_restart_unit_IN_ARG_pointers[] = +{ + &_systemd1_manager_method_info_try_restart_unit_IN_ARG_name.parent_struct, + &_systemd1_manager_method_info_try_restart_unit_IN_ARG_mode.parent_struct, + NULL +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_method_info_try_restart_unit_OUT_ARG_job = +{ + { + -1, + (gchar *) "job", + (gchar *) "o", + NULL + }, + FALSE +}; + +static const GDBusArgInfo * const _systemd1_manager_method_info_try_restart_unit_OUT_ARG_pointers[] = +{ + &_systemd1_manager_method_info_try_restart_unit_OUT_ARG_job.parent_struct, + NULL +}; + +static const _ExtendedGDBusMethodInfo _systemd1_manager_method_info_try_restart_unit = +{ + { + -1, + (gchar *) "TryRestartUnit", + (GDBusArgInfo **) &_systemd1_manager_method_info_try_restart_unit_IN_ARG_pointers, + (GDBusArgInfo **) &_systemd1_manager_method_info_try_restart_unit_OUT_ARG_pointers, + NULL + }, + "handle-try-restart-unit", + FALSE +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_method_info_reload_or_restart_unit_IN_ARG_name = +{ + { + -1, + (gchar *) "name", + (gchar *) "s", + NULL + }, + FALSE +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_method_info_reload_or_restart_unit_IN_ARG_mode = +{ + { + -1, + (gchar *) "mode", + (gchar *) "s", + NULL + }, + FALSE +}; + +static const GDBusArgInfo * const _systemd1_manager_method_info_reload_or_restart_unit_IN_ARG_pointers[] = +{ + &_systemd1_manager_method_info_reload_or_restart_unit_IN_ARG_name.parent_struct, + &_systemd1_manager_method_info_reload_or_restart_unit_IN_ARG_mode.parent_struct, + NULL +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_method_info_reload_or_restart_unit_OUT_ARG_job = +{ + { + -1, + (gchar *) "job", + (gchar *) "o", + NULL + }, + FALSE +}; + +static const GDBusArgInfo * const _systemd1_manager_method_info_reload_or_restart_unit_OUT_ARG_pointers[] = +{ + &_systemd1_manager_method_info_reload_or_restart_unit_OUT_ARG_job.parent_struct, + NULL +}; + +static const _ExtendedGDBusMethodInfo _systemd1_manager_method_info_reload_or_restart_unit = +{ + { + -1, + (gchar *) "ReloadOrRestartUnit", + (GDBusArgInfo **) &_systemd1_manager_method_info_reload_or_restart_unit_IN_ARG_pointers, + (GDBusArgInfo **) &_systemd1_manager_method_info_reload_or_restart_unit_OUT_ARG_pointers, + NULL + }, + "handle-reload-or-restart-unit", + FALSE +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_method_info_reload_or_try_restart_unit_IN_ARG_name = +{ + { + -1, + (gchar *) "name", + (gchar *) "s", + NULL + }, + FALSE +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_method_info_reload_or_try_restart_unit_IN_ARG_mode = +{ + { + -1, + (gchar *) "mode", + (gchar *) "s", + NULL + }, + FALSE +}; + +static const GDBusArgInfo * const _systemd1_manager_method_info_reload_or_try_restart_unit_IN_ARG_pointers[] = +{ + &_systemd1_manager_method_info_reload_or_try_restart_unit_IN_ARG_name.parent_struct, + &_systemd1_manager_method_info_reload_or_try_restart_unit_IN_ARG_mode.parent_struct, + NULL +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_method_info_reload_or_try_restart_unit_OUT_ARG_job = +{ + { + -1, + (gchar *) "job", + (gchar *) "o", + NULL + }, + FALSE +}; + +static const GDBusArgInfo * const _systemd1_manager_method_info_reload_or_try_restart_unit_OUT_ARG_pointers[] = +{ + &_systemd1_manager_method_info_reload_or_try_restart_unit_OUT_ARG_job.parent_struct, + NULL +}; + +static const _ExtendedGDBusMethodInfo _systemd1_manager_method_info_reload_or_try_restart_unit = +{ + { + -1, + (gchar *) "ReloadOrTryRestartUnit", + (GDBusArgInfo **) &_systemd1_manager_method_info_reload_or_try_restart_unit_IN_ARG_pointers, + (GDBusArgInfo **) &_systemd1_manager_method_info_reload_or_try_restart_unit_OUT_ARG_pointers, + NULL + }, + "handle-reload-or-try-restart-unit", + FALSE +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_method_info_enqueue_unit_job_IN_ARG_name = +{ + { + -1, + (gchar *) "name", + (gchar *) "s", + NULL + }, + FALSE +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_method_info_enqueue_unit_job_IN_ARG_job_type = +{ + { + -1, + (gchar *) "job_type", + (gchar *) "s", + NULL + }, + FALSE +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_method_info_enqueue_unit_job_IN_ARG_job_mode = +{ + { + -1, + (gchar *) "job_mode", + (gchar *) "s", + NULL + }, + FALSE +}; + +static const GDBusArgInfo * const _systemd1_manager_method_info_enqueue_unit_job_IN_ARG_pointers[] = +{ + &_systemd1_manager_method_info_enqueue_unit_job_IN_ARG_name.parent_struct, + &_systemd1_manager_method_info_enqueue_unit_job_IN_ARG_job_type.parent_struct, + &_systemd1_manager_method_info_enqueue_unit_job_IN_ARG_job_mode.parent_struct, + NULL +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_method_info_enqueue_unit_job_OUT_ARG_job_id = +{ + { + -1, + (gchar *) "job_id", + (gchar *) "u", + NULL + }, + FALSE +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_method_info_enqueue_unit_job_OUT_ARG_job_path = +{ + { + -1, + (gchar *) "job_path", + (gchar *) "o", + NULL + }, + FALSE +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_method_info_enqueue_unit_job_OUT_ARG_unit_id = +{ + { + -1, + (gchar *) "unit_id", + (gchar *) "s", + NULL + }, + FALSE +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_method_info_enqueue_unit_job_OUT_ARG_unit_path = +{ + { + -1, + (gchar *) "unit_path", + (gchar *) "o", + NULL + }, + FALSE +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_method_info_enqueue_unit_job_OUT_ARG_job_type = +{ + { + -1, + (gchar *) "job_type", + (gchar *) "s", + NULL + }, + FALSE +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_method_info_enqueue_unit_job_OUT_ARG_affected_jobs = +{ + { + -1, + (gchar *) "affected_jobs", + (gchar *) "a(uosos)", + NULL + }, + FALSE +}; + +static const GDBusArgInfo * const _systemd1_manager_method_info_enqueue_unit_job_OUT_ARG_pointers[] = +{ + &_systemd1_manager_method_info_enqueue_unit_job_OUT_ARG_job_id.parent_struct, + &_systemd1_manager_method_info_enqueue_unit_job_OUT_ARG_job_path.parent_struct, + &_systemd1_manager_method_info_enqueue_unit_job_OUT_ARG_unit_id.parent_struct, + &_systemd1_manager_method_info_enqueue_unit_job_OUT_ARG_unit_path.parent_struct, + &_systemd1_manager_method_info_enqueue_unit_job_OUT_ARG_job_type.parent_struct, + &_systemd1_manager_method_info_enqueue_unit_job_OUT_ARG_affected_jobs.parent_struct, + NULL +}; + +static const _ExtendedGDBusMethodInfo _systemd1_manager_method_info_enqueue_unit_job = +{ + { + -1, + (gchar *) "EnqueueUnitJob", + (GDBusArgInfo **) &_systemd1_manager_method_info_enqueue_unit_job_IN_ARG_pointers, + (GDBusArgInfo **) &_systemd1_manager_method_info_enqueue_unit_job_OUT_ARG_pointers, + NULL + }, + "handle-enqueue-unit-job", + FALSE +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_method_info_kill_unit_IN_ARG_name = +{ + { + -1, + (gchar *) "name", + (gchar *) "s", + NULL + }, + FALSE +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_method_info_kill_unit_IN_ARG_whom = +{ + { + -1, + (gchar *) "whom", + (gchar *) "s", + NULL + }, + FALSE +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_method_info_kill_unit_IN_ARG_signal = +{ + { + -1, + (gchar *) "signal", + (gchar *) "i", + NULL + }, + FALSE +}; + +static const GDBusArgInfo * const _systemd1_manager_method_info_kill_unit_IN_ARG_pointers[] = +{ + &_systemd1_manager_method_info_kill_unit_IN_ARG_name.parent_struct, + &_systemd1_manager_method_info_kill_unit_IN_ARG_whom.parent_struct, + &_systemd1_manager_method_info_kill_unit_IN_ARG_signal.parent_struct, + NULL +}; + +static const _ExtendedGDBusMethodInfo _systemd1_manager_method_info_kill_unit = +{ + { + -1, + (gchar *) "KillUnit", + (GDBusArgInfo **) &_systemd1_manager_method_info_kill_unit_IN_ARG_pointers, + NULL, + NULL + }, + "handle-kill-unit", + FALSE +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_method_info_clean_unit_IN_ARG_name = +{ + { + -1, + (gchar *) "name", + (gchar *) "s", + NULL + }, + FALSE +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_method_info_clean_unit_IN_ARG_mask = +{ + { + -1, + (gchar *) "mask", + (gchar *) "as", + NULL + }, + FALSE +}; + +static const GDBusArgInfo * const _systemd1_manager_method_info_clean_unit_IN_ARG_pointers[] = +{ + &_systemd1_manager_method_info_clean_unit_IN_ARG_name.parent_struct, + &_systemd1_manager_method_info_clean_unit_IN_ARG_mask.parent_struct, + NULL +}; + +static const _ExtendedGDBusMethodInfo _systemd1_manager_method_info_clean_unit = +{ + { + -1, + (gchar *) "CleanUnit", + (GDBusArgInfo **) &_systemd1_manager_method_info_clean_unit_IN_ARG_pointers, + NULL, + NULL + }, + "handle-clean-unit", + FALSE +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_method_info_freeze_unit_IN_ARG_name = +{ + { + -1, + (gchar *) "name", + (gchar *) "s", + NULL + }, + FALSE +}; + +static const GDBusArgInfo * const _systemd1_manager_method_info_freeze_unit_IN_ARG_pointers[] = +{ + &_systemd1_manager_method_info_freeze_unit_IN_ARG_name.parent_struct, + NULL +}; + +static const _ExtendedGDBusMethodInfo _systemd1_manager_method_info_freeze_unit = +{ + { + -1, + (gchar *) "FreezeUnit", + (GDBusArgInfo **) &_systemd1_manager_method_info_freeze_unit_IN_ARG_pointers, + NULL, + NULL + }, + "handle-freeze-unit", + FALSE +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_method_info_thaw_unit_IN_ARG_name = +{ + { + -1, + (gchar *) "name", + (gchar *) "s", + NULL + }, + FALSE +}; + +static const GDBusArgInfo * const _systemd1_manager_method_info_thaw_unit_IN_ARG_pointers[] = +{ + &_systemd1_manager_method_info_thaw_unit_IN_ARG_name.parent_struct, + NULL +}; + +static const _ExtendedGDBusMethodInfo _systemd1_manager_method_info_thaw_unit = +{ + { + -1, + (gchar *) "ThawUnit", + (GDBusArgInfo **) &_systemd1_manager_method_info_thaw_unit_IN_ARG_pointers, + NULL, + NULL + }, + "handle-thaw-unit", + FALSE +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_method_info_reset_failed_unit_IN_ARG_name = +{ + { + -1, + (gchar *) "name", + (gchar *) "s", + NULL + }, + FALSE +}; + +static const GDBusArgInfo * const _systemd1_manager_method_info_reset_failed_unit_IN_ARG_pointers[] = +{ + &_systemd1_manager_method_info_reset_failed_unit_IN_ARG_name.parent_struct, + NULL +}; + +static const _ExtendedGDBusMethodInfo _systemd1_manager_method_info_reset_failed_unit = +{ + { + -1, + (gchar *) "ResetFailedUnit", + (GDBusArgInfo **) &_systemd1_manager_method_info_reset_failed_unit_IN_ARG_pointers, + NULL, + NULL + }, + "handle-reset-failed-unit", + FALSE +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_method_info_set_unit_properties_IN_ARG_name = +{ + { + -1, + (gchar *) "name", + (gchar *) "s", + NULL + }, + FALSE +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_method_info_set_unit_properties_IN_ARG_runtime = +{ + { + -1, + (gchar *) "runtime", + (gchar *) "b", + NULL + }, + FALSE +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_method_info_set_unit_properties_IN_ARG_properties = +{ + { + -1, + (gchar *) "properties", + (gchar *) "a(sv)", + NULL + }, + FALSE +}; + +static const GDBusArgInfo * const _systemd1_manager_method_info_set_unit_properties_IN_ARG_pointers[] = +{ + &_systemd1_manager_method_info_set_unit_properties_IN_ARG_name.parent_struct, + &_systemd1_manager_method_info_set_unit_properties_IN_ARG_runtime.parent_struct, + &_systemd1_manager_method_info_set_unit_properties_IN_ARG_properties.parent_struct, + NULL +}; + +static const _ExtendedGDBusMethodInfo _systemd1_manager_method_info_set_unit_properties = +{ + { + -1, + (gchar *) "SetUnitProperties", + (GDBusArgInfo **) &_systemd1_manager_method_info_set_unit_properties_IN_ARG_pointers, + NULL, + NULL + }, + "handle-set-unit-properties", + FALSE +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_method_info_bind_mount_unit_IN_ARG_name = +{ + { + -1, + (gchar *) "name", + (gchar *) "s", + NULL + }, + FALSE +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_method_info_bind_mount_unit_IN_ARG_source = +{ + { + -1, + (gchar *) "source", + (gchar *) "s", + NULL + }, + FALSE +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_method_info_bind_mount_unit_IN_ARG_destination = +{ + { + -1, + (gchar *) "destination", + (gchar *) "s", + NULL + }, + FALSE +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_method_info_bind_mount_unit_IN_ARG_read_only = +{ + { + -1, + (gchar *) "read_only", + (gchar *) "b", + NULL + }, + FALSE +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_method_info_bind_mount_unit_IN_ARG_mkdir = +{ + { + -1, + (gchar *) "mkdir", + (gchar *) "b", + NULL + }, + FALSE +}; + +static const GDBusArgInfo * const _systemd1_manager_method_info_bind_mount_unit_IN_ARG_pointers[] = +{ + &_systemd1_manager_method_info_bind_mount_unit_IN_ARG_name.parent_struct, + &_systemd1_manager_method_info_bind_mount_unit_IN_ARG_source.parent_struct, + &_systemd1_manager_method_info_bind_mount_unit_IN_ARG_destination.parent_struct, + &_systemd1_manager_method_info_bind_mount_unit_IN_ARG_read_only.parent_struct, + &_systemd1_manager_method_info_bind_mount_unit_IN_ARG_mkdir.parent_struct, + NULL +}; + +static const _ExtendedGDBusMethodInfo _systemd1_manager_method_info_bind_mount_unit = +{ + { + -1, + (gchar *) "BindMountUnit", + (GDBusArgInfo **) &_systemd1_manager_method_info_bind_mount_unit_IN_ARG_pointers, + NULL, + NULL + }, + "handle-bind-mount-unit", + FALSE +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_method_info_mount_image_unit_IN_ARG_name = +{ + { + -1, + (gchar *) "name", + (gchar *) "s", + NULL + }, + FALSE +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_method_info_mount_image_unit_IN_ARG_source = +{ + { + -1, + (gchar *) "source", + (gchar *) "s", + NULL + }, + FALSE +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_method_info_mount_image_unit_IN_ARG_destination = +{ + { + -1, + (gchar *) "destination", + (gchar *) "s", + NULL + }, + FALSE +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_method_info_mount_image_unit_IN_ARG_read_only = +{ + { + -1, + (gchar *) "read_only", + (gchar *) "b", + NULL + }, + FALSE +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_method_info_mount_image_unit_IN_ARG_mkdir = +{ + { + -1, + (gchar *) "mkdir", + (gchar *) "b", + NULL + }, + FALSE +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_method_info_mount_image_unit_IN_ARG_options = +{ + { + -1, + (gchar *) "options", + (gchar *) "a(ss)", + NULL + }, + FALSE +}; + +static const GDBusArgInfo * const _systemd1_manager_method_info_mount_image_unit_IN_ARG_pointers[] = +{ + &_systemd1_manager_method_info_mount_image_unit_IN_ARG_name.parent_struct, + &_systemd1_manager_method_info_mount_image_unit_IN_ARG_source.parent_struct, + &_systemd1_manager_method_info_mount_image_unit_IN_ARG_destination.parent_struct, + &_systemd1_manager_method_info_mount_image_unit_IN_ARG_read_only.parent_struct, + &_systemd1_manager_method_info_mount_image_unit_IN_ARG_mkdir.parent_struct, + &_systemd1_manager_method_info_mount_image_unit_IN_ARG_options.parent_struct, + NULL +}; + +static const _ExtendedGDBusMethodInfo _systemd1_manager_method_info_mount_image_unit = +{ + { + -1, + (gchar *) "MountImageUnit", + (GDBusArgInfo **) &_systemd1_manager_method_info_mount_image_unit_IN_ARG_pointers, + NULL, + NULL + }, + "handle-mount-image-unit", + FALSE +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_method_info_ref_unit_IN_ARG_name = +{ + { + -1, + (gchar *) "name", + (gchar *) "s", + NULL + }, + FALSE +}; + +static const GDBusArgInfo * const _systemd1_manager_method_info_ref_unit_IN_ARG_pointers[] = +{ + &_systemd1_manager_method_info_ref_unit_IN_ARG_name.parent_struct, + NULL +}; + +static const _ExtendedGDBusMethodInfo _systemd1_manager_method_info_ref_unit = +{ + { + -1, + (gchar *) "RefUnit", + (GDBusArgInfo **) &_systemd1_manager_method_info_ref_unit_IN_ARG_pointers, + NULL, + NULL + }, + "handle-ref-unit", + FALSE +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_method_info_unref_unit_IN_ARG_name = +{ + { + -1, + (gchar *) "name", + (gchar *) "s", + NULL + }, + FALSE +}; + +static const GDBusArgInfo * const _systemd1_manager_method_info_unref_unit_IN_ARG_pointers[] = +{ + &_systemd1_manager_method_info_unref_unit_IN_ARG_name.parent_struct, + NULL +}; + +static const _ExtendedGDBusMethodInfo _systemd1_manager_method_info_unref_unit = +{ + { + -1, + (gchar *) "UnrefUnit", + (GDBusArgInfo **) &_systemd1_manager_method_info_unref_unit_IN_ARG_pointers, + NULL, + NULL + }, + "handle-unref-unit", + FALSE +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_method_info_start_transient_unit_IN_ARG_name = +{ + { + -1, + (gchar *) "name", + (gchar *) "s", + NULL + }, + FALSE +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_method_info_start_transient_unit_IN_ARG_mode = +{ + { + -1, + (gchar *) "mode", + (gchar *) "s", + NULL + }, + FALSE +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_method_info_start_transient_unit_IN_ARG_properties = +{ + { + -1, + (gchar *) "properties", + (gchar *) "a(sv)", + NULL + }, + FALSE +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_method_info_start_transient_unit_IN_ARG_aux = +{ + { + -1, + (gchar *) "aux", + (gchar *) "a(sa(sv))", + NULL + }, + FALSE +}; + +static const GDBusArgInfo * const _systemd1_manager_method_info_start_transient_unit_IN_ARG_pointers[] = +{ + &_systemd1_manager_method_info_start_transient_unit_IN_ARG_name.parent_struct, + &_systemd1_manager_method_info_start_transient_unit_IN_ARG_mode.parent_struct, + &_systemd1_manager_method_info_start_transient_unit_IN_ARG_properties.parent_struct, + &_systemd1_manager_method_info_start_transient_unit_IN_ARG_aux.parent_struct, + NULL +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_method_info_start_transient_unit_OUT_ARG_job = +{ + { + -1, + (gchar *) "job", + (gchar *) "o", + NULL + }, + FALSE +}; + +static const GDBusArgInfo * const _systemd1_manager_method_info_start_transient_unit_OUT_ARG_pointers[] = +{ + &_systemd1_manager_method_info_start_transient_unit_OUT_ARG_job.parent_struct, + NULL +}; + +static const _ExtendedGDBusMethodInfo _systemd1_manager_method_info_start_transient_unit = +{ + { + -1, + (gchar *) "StartTransientUnit", + (GDBusArgInfo **) &_systemd1_manager_method_info_start_transient_unit_IN_ARG_pointers, + (GDBusArgInfo **) &_systemd1_manager_method_info_start_transient_unit_OUT_ARG_pointers, + NULL + }, + "handle-start-transient-unit", + FALSE +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_method_info_get_unit_processes_IN_ARG_name = +{ + { + -1, + (gchar *) "name", + (gchar *) "s", + NULL + }, + FALSE +}; + +static const GDBusArgInfo * const _systemd1_manager_method_info_get_unit_processes_IN_ARG_pointers[] = +{ + &_systemd1_manager_method_info_get_unit_processes_IN_ARG_name.parent_struct, + NULL +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_method_info_get_unit_processes_OUT_ARG_processes = +{ + { + -1, + (gchar *) "processes", + (gchar *) "a(sus)", + NULL + }, + FALSE +}; + +static const GDBusArgInfo * const _systemd1_manager_method_info_get_unit_processes_OUT_ARG_pointers[] = +{ + &_systemd1_manager_method_info_get_unit_processes_OUT_ARG_processes.parent_struct, + NULL +}; + +static const _ExtendedGDBusMethodInfo _systemd1_manager_method_info_get_unit_processes = +{ + { + -1, + (gchar *) "GetUnitProcesses", + (GDBusArgInfo **) &_systemd1_manager_method_info_get_unit_processes_IN_ARG_pointers, + (GDBusArgInfo **) &_systemd1_manager_method_info_get_unit_processes_OUT_ARG_pointers, + NULL + }, + "handle-get-unit-processes", + FALSE +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_method_info_attach_processes_to_unit_IN_ARG_unit_name = +{ + { + -1, + (gchar *) "unit_name", + (gchar *) "s", + NULL + }, + FALSE +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_method_info_attach_processes_to_unit_IN_ARG_subcgroup = +{ + { + -1, + (gchar *) "subcgroup", + (gchar *) "s", + NULL + }, + FALSE +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_method_info_attach_processes_to_unit_IN_ARG_pids = +{ + { + -1, + (gchar *) "pids", + (gchar *) "au", + NULL + }, + FALSE +}; + +static const GDBusArgInfo * const _systemd1_manager_method_info_attach_processes_to_unit_IN_ARG_pointers[] = +{ + &_systemd1_manager_method_info_attach_processes_to_unit_IN_ARG_unit_name.parent_struct, + &_systemd1_manager_method_info_attach_processes_to_unit_IN_ARG_subcgroup.parent_struct, + &_systemd1_manager_method_info_attach_processes_to_unit_IN_ARG_pids.parent_struct, + NULL +}; + +static const _ExtendedGDBusMethodInfo _systemd1_manager_method_info_attach_processes_to_unit = +{ + { + -1, + (gchar *) "AttachProcessesToUnit", + (GDBusArgInfo **) &_systemd1_manager_method_info_attach_processes_to_unit_IN_ARG_pointers, + NULL, + NULL + }, + "handle-attach-processes-to-unit", + FALSE +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_method_info_abandon_scope_IN_ARG_name = +{ + { + -1, + (gchar *) "name", + (gchar *) "s", + NULL + }, + FALSE +}; + +static const GDBusArgInfo * const _systemd1_manager_method_info_abandon_scope_IN_ARG_pointers[] = +{ + &_systemd1_manager_method_info_abandon_scope_IN_ARG_name.parent_struct, + NULL +}; + +static const _ExtendedGDBusMethodInfo _systemd1_manager_method_info_abandon_scope = +{ + { + -1, + (gchar *) "AbandonScope", + (GDBusArgInfo **) &_systemd1_manager_method_info_abandon_scope_IN_ARG_pointers, + NULL, + NULL + }, + "handle-abandon-scope", + FALSE +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_method_info_get_job_IN_ARG_id = +{ + { + -1, + (gchar *) "id", + (gchar *) "u", + NULL + }, + FALSE +}; + +static const GDBusArgInfo * const _systemd1_manager_method_info_get_job_IN_ARG_pointers[] = +{ + &_systemd1_manager_method_info_get_job_IN_ARG_id.parent_struct, + NULL +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_method_info_get_job_OUT_ARG_job = +{ + { + -1, + (gchar *) "job", + (gchar *) "o", + NULL + }, + FALSE +}; + +static const GDBusArgInfo * const _systemd1_manager_method_info_get_job_OUT_ARG_pointers[] = +{ + &_systemd1_manager_method_info_get_job_OUT_ARG_job.parent_struct, + NULL +}; + +static const _ExtendedGDBusMethodInfo _systemd1_manager_method_info_get_job = +{ + { + -1, + (gchar *) "GetJob", + (GDBusArgInfo **) &_systemd1_manager_method_info_get_job_IN_ARG_pointers, + (GDBusArgInfo **) &_systemd1_manager_method_info_get_job_OUT_ARG_pointers, + NULL + }, + "handle-get-job", + FALSE +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_method_info_get_job_after_IN_ARG_id = +{ + { + -1, + (gchar *) "id", + (gchar *) "u", + NULL + }, + FALSE +}; + +static const GDBusArgInfo * const _systemd1_manager_method_info_get_job_after_IN_ARG_pointers[] = +{ + &_systemd1_manager_method_info_get_job_after_IN_ARG_id.parent_struct, + NULL +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_method_info_get_job_after_OUT_ARG_jobs = +{ + { + -1, + (gchar *) "jobs", + (gchar *) "a(usssoo)", + NULL + }, + FALSE +}; + +static const GDBusArgInfo * const _systemd1_manager_method_info_get_job_after_OUT_ARG_pointers[] = +{ + &_systemd1_manager_method_info_get_job_after_OUT_ARG_jobs.parent_struct, + NULL +}; + +static const _ExtendedGDBusMethodInfo _systemd1_manager_method_info_get_job_after = +{ + { + -1, + (gchar *) "GetJobAfter", + (GDBusArgInfo **) &_systemd1_manager_method_info_get_job_after_IN_ARG_pointers, + (GDBusArgInfo **) &_systemd1_manager_method_info_get_job_after_OUT_ARG_pointers, + NULL + }, + "handle-get-job-after", + FALSE +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_method_info_get_job_before_IN_ARG_id = +{ + { + -1, + (gchar *) "id", + (gchar *) "u", + NULL + }, + FALSE +}; + +static const GDBusArgInfo * const _systemd1_manager_method_info_get_job_before_IN_ARG_pointers[] = +{ + &_systemd1_manager_method_info_get_job_before_IN_ARG_id.parent_struct, + NULL +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_method_info_get_job_before_OUT_ARG_jobs = +{ + { + -1, + (gchar *) "jobs", + (gchar *) "a(usssoo)", + NULL + }, + FALSE +}; + +static const GDBusArgInfo * const _systemd1_manager_method_info_get_job_before_OUT_ARG_pointers[] = +{ + &_systemd1_manager_method_info_get_job_before_OUT_ARG_jobs.parent_struct, + NULL +}; + +static const _ExtendedGDBusMethodInfo _systemd1_manager_method_info_get_job_before = +{ + { + -1, + (gchar *) "GetJobBefore", + (GDBusArgInfo **) &_systemd1_manager_method_info_get_job_before_IN_ARG_pointers, + (GDBusArgInfo **) &_systemd1_manager_method_info_get_job_before_OUT_ARG_pointers, + NULL + }, + "handle-get-job-before", + FALSE +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_method_info_cancel_job_IN_ARG_id = +{ + { + -1, + (gchar *) "id", + (gchar *) "u", + NULL + }, + FALSE +}; + +static const GDBusArgInfo * const _systemd1_manager_method_info_cancel_job_IN_ARG_pointers[] = +{ + &_systemd1_manager_method_info_cancel_job_IN_ARG_id.parent_struct, + NULL +}; + +static const _ExtendedGDBusMethodInfo _systemd1_manager_method_info_cancel_job = +{ + { + -1, + (gchar *) "CancelJob", + (GDBusArgInfo **) &_systemd1_manager_method_info_cancel_job_IN_ARG_pointers, + NULL, + NULL + }, + "handle-cancel-job", + FALSE +}; + +static const _ExtendedGDBusMethodInfo _systemd1_manager_method_info_clear_jobs = +{ + { + -1, + (gchar *) "ClearJobs", + NULL, + NULL, + NULL + }, + "handle-clear-jobs", + FALSE +}; + +static const _ExtendedGDBusMethodInfo _systemd1_manager_method_info_reset_failed = +{ + { + -1, + (gchar *) "ResetFailed", + NULL, + NULL, + NULL + }, + "handle-reset-failed", + FALSE +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_method_info_set_show_status_IN_ARG_mode = +{ + { + -1, + (gchar *) "mode", + (gchar *) "s", + NULL + }, + FALSE +}; + +static const GDBusArgInfo * const _systemd1_manager_method_info_set_show_status_IN_ARG_pointers[] = +{ + &_systemd1_manager_method_info_set_show_status_IN_ARG_mode.parent_struct, + NULL +}; + +static const GDBusAnnotationInfo _systemd1_manager_method_set_show_status_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.systemd1.Privileged", + (gchar *) "true", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_manager_method_set_show_status_annotation_info_pointers[] = +{ + &_systemd1_manager_method_set_show_status_annotation_info_0, + NULL +}; + +static const _ExtendedGDBusMethodInfo _systemd1_manager_method_info_set_show_status = +{ + { + -1, + (gchar *) "SetShowStatus", + (GDBusArgInfo **) &_systemd1_manager_method_info_set_show_status_IN_ARG_pointers, + NULL, + (GDBusAnnotationInfo **) &_systemd1_manager_method_set_show_status_annotation_info_pointers + }, + "handle-set-show-status", + FALSE +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_method_info_list_units_OUT_ARG_units = +{ + { + -1, + (gchar *) "units", + (gchar *) "a(ssssssouso)", + NULL + }, + FALSE +}; + +static const GDBusArgInfo * const _systemd1_manager_method_info_list_units_OUT_ARG_pointers[] = +{ + &_systemd1_manager_method_info_list_units_OUT_ARG_units.parent_struct, + NULL +}; + +static const _ExtendedGDBusMethodInfo _systemd1_manager_method_info_list_units = +{ + { + -1, + (gchar *) "ListUnits", + NULL, + (GDBusArgInfo **) &_systemd1_manager_method_info_list_units_OUT_ARG_pointers, + NULL + }, + "handle-list-units", + FALSE +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_method_info_list_units_filtered_IN_ARG_states = +{ + { + -1, + (gchar *) "states", + (gchar *) "as", + NULL + }, + FALSE +}; + +static const GDBusArgInfo * const _systemd1_manager_method_info_list_units_filtered_IN_ARG_pointers[] = +{ + &_systemd1_manager_method_info_list_units_filtered_IN_ARG_states.parent_struct, + NULL +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_method_info_list_units_filtered_OUT_ARG_units = +{ + { + -1, + (gchar *) "units", + (gchar *) "a(ssssssouso)", + NULL + }, + FALSE +}; + +static const GDBusArgInfo * const _systemd1_manager_method_info_list_units_filtered_OUT_ARG_pointers[] = +{ + &_systemd1_manager_method_info_list_units_filtered_OUT_ARG_units.parent_struct, + NULL +}; + +static const _ExtendedGDBusMethodInfo _systemd1_manager_method_info_list_units_filtered = +{ + { + -1, + (gchar *) "ListUnitsFiltered", + (GDBusArgInfo **) &_systemd1_manager_method_info_list_units_filtered_IN_ARG_pointers, + (GDBusArgInfo **) &_systemd1_manager_method_info_list_units_filtered_OUT_ARG_pointers, + NULL + }, + "handle-list-units-filtered", + FALSE +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_method_info_list_units_by_patterns_IN_ARG_states = +{ + { + -1, + (gchar *) "states", + (gchar *) "as", + NULL + }, + FALSE +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_method_info_list_units_by_patterns_IN_ARG_patterns = +{ + { + -1, + (gchar *) "patterns", + (gchar *) "as", + NULL + }, + FALSE +}; + +static const GDBusArgInfo * const _systemd1_manager_method_info_list_units_by_patterns_IN_ARG_pointers[] = +{ + &_systemd1_manager_method_info_list_units_by_patterns_IN_ARG_states.parent_struct, + &_systemd1_manager_method_info_list_units_by_patterns_IN_ARG_patterns.parent_struct, + NULL +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_method_info_list_units_by_patterns_OUT_ARG_units = +{ + { + -1, + (gchar *) "units", + (gchar *) "a(ssssssouso)", + NULL + }, + FALSE +}; + +static const GDBusArgInfo * const _systemd1_manager_method_info_list_units_by_patterns_OUT_ARG_pointers[] = +{ + &_systemd1_manager_method_info_list_units_by_patterns_OUT_ARG_units.parent_struct, + NULL +}; + +static const _ExtendedGDBusMethodInfo _systemd1_manager_method_info_list_units_by_patterns = +{ + { + -1, + (gchar *) "ListUnitsByPatterns", + (GDBusArgInfo **) &_systemd1_manager_method_info_list_units_by_patterns_IN_ARG_pointers, + (GDBusArgInfo **) &_systemd1_manager_method_info_list_units_by_patterns_OUT_ARG_pointers, + NULL + }, + "handle-list-units-by-patterns", + FALSE +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_method_info_list_units_by_names_IN_ARG_names = +{ + { + -1, + (gchar *) "names", + (gchar *) "as", + NULL + }, + FALSE +}; + +static const GDBusArgInfo * const _systemd1_manager_method_info_list_units_by_names_IN_ARG_pointers[] = +{ + &_systemd1_manager_method_info_list_units_by_names_IN_ARG_names.parent_struct, + NULL +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_method_info_list_units_by_names_OUT_ARG_units = +{ + { + -1, + (gchar *) "units", + (gchar *) "a(ssssssouso)", + NULL + }, + FALSE +}; + +static const GDBusArgInfo * const _systemd1_manager_method_info_list_units_by_names_OUT_ARG_pointers[] = +{ + &_systemd1_manager_method_info_list_units_by_names_OUT_ARG_units.parent_struct, + NULL +}; + +static const _ExtendedGDBusMethodInfo _systemd1_manager_method_info_list_units_by_names = +{ + { + -1, + (gchar *) "ListUnitsByNames", + (GDBusArgInfo **) &_systemd1_manager_method_info_list_units_by_names_IN_ARG_pointers, + (GDBusArgInfo **) &_systemd1_manager_method_info_list_units_by_names_OUT_ARG_pointers, + NULL + }, + "handle-list-units-by-names", + FALSE +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_method_info_list_jobs_OUT_ARG_jobs = +{ + { + -1, + (gchar *) "jobs", + (gchar *) "a(usssoo)", + NULL + }, + FALSE +}; + +static const GDBusArgInfo * const _systemd1_manager_method_info_list_jobs_OUT_ARG_pointers[] = +{ + &_systemd1_manager_method_info_list_jobs_OUT_ARG_jobs.parent_struct, + NULL +}; + +static const _ExtendedGDBusMethodInfo _systemd1_manager_method_info_list_jobs = +{ + { + -1, + (gchar *) "ListJobs", + NULL, + (GDBusArgInfo **) &_systemd1_manager_method_info_list_jobs_OUT_ARG_pointers, + NULL + }, + "handle-list-jobs", + FALSE +}; + +static const _ExtendedGDBusMethodInfo _systemd1_manager_method_info_subscribe = +{ + { + -1, + (gchar *) "Subscribe", + NULL, + NULL, + NULL + }, + "handle-subscribe", + FALSE +}; + +static const _ExtendedGDBusMethodInfo _systemd1_manager_method_info_unsubscribe = +{ + { + -1, + (gchar *) "Unsubscribe", + NULL, + NULL, + NULL + }, + "handle-unsubscribe", + FALSE +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_method_info_dump_OUT_ARG_output = +{ + { + -1, + (gchar *) "output", + (gchar *) "s", + NULL + }, + FALSE +}; + +static const GDBusArgInfo * const _systemd1_manager_method_info_dump_OUT_ARG_pointers[] = +{ + &_systemd1_manager_method_info_dump_OUT_ARG_output.parent_struct, + NULL +}; + +static const _ExtendedGDBusMethodInfo _systemd1_manager_method_info_dump = +{ + { + -1, + (gchar *) "Dump", + NULL, + (GDBusArgInfo **) &_systemd1_manager_method_info_dump_OUT_ARG_pointers, + NULL + }, + "handle-dump", + FALSE +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_method_info_dump_by_file_descriptor_OUT_ARG_fd = +{ + { + -1, + (gchar *) "fd", + (gchar *) "h", + NULL + }, + FALSE +}; + +static const GDBusArgInfo * const _systemd1_manager_method_info_dump_by_file_descriptor_OUT_ARG_pointers[] = +{ + &_systemd1_manager_method_info_dump_by_file_descriptor_OUT_ARG_fd.parent_struct, + NULL +}; + +static const _ExtendedGDBusMethodInfo _systemd1_manager_method_info_dump_by_file_descriptor = +{ + { + -1, + (gchar *) "DumpByFileDescriptor", + NULL, + (GDBusArgInfo **) &_systemd1_manager_method_info_dump_by_file_descriptor_OUT_ARG_pointers, + NULL + }, + "handle-dump-by-file-descriptor", + FALSE +}; + +static const _ExtendedGDBusMethodInfo _systemd1_manager_method_info_reload = +{ + { + -1, + (gchar *) "Reload", + NULL, + NULL, + NULL + }, + "handle-reload", + FALSE +}; + +static const _ExtendedGDBusMethodInfo _systemd1_manager_method_info_reexecute = +{ + { + -1, + (gchar *) "Reexecute", + NULL, + NULL, + NULL + }, + "handle-reexecute", + FALSE +}; + +static const GDBusAnnotationInfo _systemd1_manager_method_exit_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.systemd1.Privileged", + (gchar *) "true", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_manager_method_exit_annotation_info_pointers[] = +{ + &_systemd1_manager_method_exit_annotation_info_0, + NULL +}; + +static const _ExtendedGDBusMethodInfo _systemd1_manager_method_info_exit = +{ + { + -1, + (gchar *) "Exit", + NULL, + NULL, + (GDBusAnnotationInfo **) &_systemd1_manager_method_exit_annotation_info_pointers + }, + "handle-exit", + FALSE +}; + +static const GDBusAnnotationInfo _systemd1_manager_method_reboot_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.systemd1.Privileged", + (gchar *) "true", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_manager_method_reboot_annotation_info_pointers[] = +{ + &_systemd1_manager_method_reboot_annotation_info_0, + NULL +}; + +static const _ExtendedGDBusMethodInfo _systemd1_manager_method_info_reboot = +{ + { + -1, + (gchar *) "Reboot", + NULL, + NULL, + (GDBusAnnotationInfo **) &_systemd1_manager_method_reboot_annotation_info_pointers + }, + "handle-reboot", + FALSE +}; + +static const GDBusAnnotationInfo _systemd1_manager_method_power_off_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.systemd1.Privileged", + (gchar *) "true", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_manager_method_power_off_annotation_info_pointers[] = +{ + &_systemd1_manager_method_power_off_annotation_info_0, + NULL +}; + +static const _ExtendedGDBusMethodInfo _systemd1_manager_method_info_power_off = +{ + { + -1, + (gchar *) "PowerOff", + NULL, + NULL, + (GDBusAnnotationInfo **) &_systemd1_manager_method_power_off_annotation_info_pointers + }, + "handle-power-off", + FALSE +}; + +static const GDBusAnnotationInfo _systemd1_manager_method_halt_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.systemd1.Privileged", + (gchar *) "true", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_manager_method_halt_annotation_info_pointers[] = +{ + &_systemd1_manager_method_halt_annotation_info_0, + NULL +}; + +static const _ExtendedGDBusMethodInfo _systemd1_manager_method_info_halt = +{ + { + -1, + (gchar *) "Halt", + NULL, + NULL, + (GDBusAnnotationInfo **) &_systemd1_manager_method_halt_annotation_info_pointers + }, + "handle-halt", + FALSE +}; + +static const GDBusAnnotationInfo _systemd1_manager_method_kexec_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.systemd1.Privileged", + (gchar *) "true", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_manager_method_kexec_annotation_info_pointers[] = +{ + &_systemd1_manager_method_kexec_annotation_info_0, + NULL +}; + +static const _ExtendedGDBusMethodInfo _systemd1_manager_method_info_kexec = +{ + { + -1, + (gchar *) "KExec", + NULL, + NULL, + (GDBusAnnotationInfo **) &_systemd1_manager_method_kexec_annotation_info_pointers + }, + "handle-kexec", + FALSE +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_method_info_switch_root_IN_ARG_new_root = +{ + { + -1, + (gchar *) "new_root", + (gchar *) "s", + NULL + }, + FALSE +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_method_info_switch_root_IN_ARG_init = +{ + { + -1, + (gchar *) "init", + (gchar *) "s", + NULL + }, + FALSE +}; + +static const GDBusArgInfo * const _systemd1_manager_method_info_switch_root_IN_ARG_pointers[] = +{ + &_systemd1_manager_method_info_switch_root_IN_ARG_new_root.parent_struct, + &_systemd1_manager_method_info_switch_root_IN_ARG_init.parent_struct, + NULL +}; + +static const GDBusAnnotationInfo _systemd1_manager_method_switch_root_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.systemd1.Privileged", + (gchar *) "true", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_manager_method_switch_root_annotation_info_pointers[] = +{ + &_systemd1_manager_method_switch_root_annotation_info_0, + NULL +}; + +static const _ExtendedGDBusMethodInfo _systemd1_manager_method_info_switch_root = +{ + { + -1, + (gchar *) "SwitchRoot", + (GDBusArgInfo **) &_systemd1_manager_method_info_switch_root_IN_ARG_pointers, + NULL, + (GDBusAnnotationInfo **) &_systemd1_manager_method_switch_root_annotation_info_pointers + }, + "handle-switch-root", + FALSE +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_method_info_set_environment_IN_ARG_assignments = +{ + { + -1, + (gchar *) "assignments", + (gchar *) "as", + NULL + }, + FALSE +}; + +static const GDBusArgInfo * const _systemd1_manager_method_info_set_environment_IN_ARG_pointers[] = +{ + &_systemd1_manager_method_info_set_environment_IN_ARG_assignments.parent_struct, + NULL +}; + +static const _ExtendedGDBusMethodInfo _systemd1_manager_method_info_set_environment = +{ + { + -1, + (gchar *) "SetEnvironment", + (GDBusArgInfo **) &_systemd1_manager_method_info_set_environment_IN_ARG_pointers, + NULL, + NULL + }, + "handle-set-environment", + FALSE +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_method_info_unset_environment_IN_ARG_names = +{ + { + -1, + (gchar *) "names", + (gchar *) "as", + NULL + }, + FALSE +}; + +static const GDBusArgInfo * const _systemd1_manager_method_info_unset_environment_IN_ARG_pointers[] = +{ + &_systemd1_manager_method_info_unset_environment_IN_ARG_names.parent_struct, + NULL +}; + +static const _ExtendedGDBusMethodInfo _systemd1_manager_method_info_unset_environment = +{ + { + -1, + (gchar *) "UnsetEnvironment", + (GDBusArgInfo **) &_systemd1_manager_method_info_unset_environment_IN_ARG_pointers, + NULL, + NULL + }, + "handle-unset-environment", + FALSE +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_method_info_unset_and_set_environment_IN_ARG_names = +{ + { + -1, + (gchar *) "names", + (gchar *) "as", + NULL + }, + FALSE +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_method_info_unset_and_set_environment_IN_ARG_assignments = +{ + { + -1, + (gchar *) "assignments", + (gchar *) "as", + NULL + }, + FALSE +}; + +static const GDBusArgInfo * const _systemd1_manager_method_info_unset_and_set_environment_IN_ARG_pointers[] = +{ + &_systemd1_manager_method_info_unset_and_set_environment_IN_ARG_names.parent_struct, + &_systemd1_manager_method_info_unset_and_set_environment_IN_ARG_assignments.parent_struct, + NULL +}; + +static const _ExtendedGDBusMethodInfo _systemd1_manager_method_info_unset_and_set_environment = +{ + { + -1, + (gchar *) "UnsetAndSetEnvironment", + (GDBusArgInfo **) &_systemd1_manager_method_info_unset_and_set_environment_IN_ARG_pointers, + NULL, + NULL + }, + "handle-unset-and-set-environment", + FALSE +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_method_info_enqueue_marked_jobs_OUT_ARG_jobs = +{ + { + -1, + (gchar *) "jobs", + (gchar *) "ao", + NULL + }, + FALSE +}; + +static const GDBusArgInfo * const _systemd1_manager_method_info_enqueue_marked_jobs_OUT_ARG_pointers[] = +{ + &_systemd1_manager_method_info_enqueue_marked_jobs_OUT_ARG_jobs.parent_struct, + NULL +}; + +static const _ExtendedGDBusMethodInfo _systemd1_manager_method_info_enqueue_marked_jobs = +{ + { + -1, + (gchar *) "EnqueueMarkedJobs", + NULL, + (GDBusArgInfo **) &_systemd1_manager_method_info_enqueue_marked_jobs_OUT_ARG_pointers, + NULL + }, + "handle-enqueue-marked-jobs", + FALSE +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_method_info_list_unit_files_OUT_ARG_unit_files = +{ + { + -1, + (gchar *) "unit_files", + (gchar *) "a(ss)", + NULL + }, + FALSE +}; + +static const GDBusArgInfo * const _systemd1_manager_method_info_list_unit_files_OUT_ARG_pointers[] = +{ + &_systemd1_manager_method_info_list_unit_files_OUT_ARG_unit_files.parent_struct, + NULL +}; + +static const _ExtendedGDBusMethodInfo _systemd1_manager_method_info_list_unit_files = +{ + { + -1, + (gchar *) "ListUnitFiles", + NULL, + (GDBusArgInfo **) &_systemd1_manager_method_info_list_unit_files_OUT_ARG_pointers, + NULL + }, + "handle-list-unit-files", + FALSE +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_method_info_list_unit_files_by_patterns_IN_ARG_states = +{ + { + -1, + (gchar *) "states", + (gchar *) "as", + NULL + }, + FALSE +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_method_info_list_unit_files_by_patterns_IN_ARG_patterns = +{ + { + -1, + (gchar *) "patterns", + (gchar *) "as", + NULL + }, + FALSE +}; + +static const GDBusArgInfo * const _systemd1_manager_method_info_list_unit_files_by_patterns_IN_ARG_pointers[] = +{ + &_systemd1_manager_method_info_list_unit_files_by_patterns_IN_ARG_states.parent_struct, + &_systemd1_manager_method_info_list_unit_files_by_patterns_IN_ARG_patterns.parent_struct, + NULL +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_method_info_list_unit_files_by_patterns_OUT_ARG_unit_files = +{ + { + -1, + (gchar *) "unit_files", + (gchar *) "a(ss)", + NULL + }, + FALSE +}; + +static const GDBusArgInfo * const _systemd1_manager_method_info_list_unit_files_by_patterns_OUT_ARG_pointers[] = +{ + &_systemd1_manager_method_info_list_unit_files_by_patterns_OUT_ARG_unit_files.parent_struct, + NULL +}; + +static const _ExtendedGDBusMethodInfo _systemd1_manager_method_info_list_unit_files_by_patterns = +{ + { + -1, + (gchar *) "ListUnitFilesByPatterns", + (GDBusArgInfo **) &_systemd1_manager_method_info_list_unit_files_by_patterns_IN_ARG_pointers, + (GDBusArgInfo **) &_systemd1_manager_method_info_list_unit_files_by_patterns_OUT_ARG_pointers, + NULL + }, + "handle-list-unit-files-by-patterns", + FALSE +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_method_info_get_unit_file_state_IN_ARG_file = +{ + { + -1, + (gchar *) "file", + (gchar *) "s", + NULL + }, + FALSE +}; + +static const GDBusArgInfo * const _systemd1_manager_method_info_get_unit_file_state_IN_ARG_pointers[] = +{ + &_systemd1_manager_method_info_get_unit_file_state_IN_ARG_file.parent_struct, + NULL +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_method_info_get_unit_file_state_OUT_ARG_state = +{ + { + -1, + (gchar *) "state", + (gchar *) "s", + NULL + }, + FALSE +}; + +static const GDBusArgInfo * const _systemd1_manager_method_info_get_unit_file_state_OUT_ARG_pointers[] = +{ + &_systemd1_manager_method_info_get_unit_file_state_OUT_ARG_state.parent_struct, + NULL +}; + +static const _ExtendedGDBusMethodInfo _systemd1_manager_method_info_get_unit_file_state = +{ + { + -1, + (gchar *) "GetUnitFileState", + (GDBusArgInfo **) &_systemd1_manager_method_info_get_unit_file_state_IN_ARG_pointers, + (GDBusArgInfo **) &_systemd1_manager_method_info_get_unit_file_state_OUT_ARG_pointers, + NULL + }, + "handle-get-unit-file-state", + FALSE +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_method_info_enable_unit_files_IN_ARG_files = +{ + { + -1, + (gchar *) "files", + (gchar *) "as", + NULL + }, + FALSE +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_method_info_enable_unit_files_IN_ARG_runtime = +{ + { + -1, + (gchar *) "runtime", + (gchar *) "b", + NULL + }, + FALSE +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_method_info_enable_unit_files_IN_ARG_force = +{ + { + -1, + (gchar *) "force", + (gchar *) "b", + NULL + }, + FALSE +}; + +static const GDBusArgInfo * const _systemd1_manager_method_info_enable_unit_files_IN_ARG_pointers[] = +{ + &_systemd1_manager_method_info_enable_unit_files_IN_ARG_files.parent_struct, + &_systemd1_manager_method_info_enable_unit_files_IN_ARG_runtime.parent_struct, + &_systemd1_manager_method_info_enable_unit_files_IN_ARG_force.parent_struct, + NULL +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_method_info_enable_unit_files_OUT_ARG_carries_install_info = +{ + { + -1, + (gchar *) "carries_install_info", + (gchar *) "b", + NULL + }, + FALSE +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_method_info_enable_unit_files_OUT_ARG_changes = +{ + { + -1, + (gchar *) "changes", + (gchar *) "a(sss)", + NULL + }, + FALSE +}; + +static const GDBusArgInfo * const _systemd1_manager_method_info_enable_unit_files_OUT_ARG_pointers[] = +{ + &_systemd1_manager_method_info_enable_unit_files_OUT_ARG_carries_install_info.parent_struct, + &_systemd1_manager_method_info_enable_unit_files_OUT_ARG_changes.parent_struct, + NULL +}; + +static const _ExtendedGDBusMethodInfo _systemd1_manager_method_info_enable_unit_files = +{ + { + -1, + (gchar *) "EnableUnitFiles", + (GDBusArgInfo **) &_systemd1_manager_method_info_enable_unit_files_IN_ARG_pointers, + (GDBusArgInfo **) &_systemd1_manager_method_info_enable_unit_files_OUT_ARG_pointers, + NULL + }, + "handle-enable-unit-files", + FALSE +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_method_info_disable_unit_files_IN_ARG_files = +{ + { + -1, + (gchar *) "files", + (gchar *) "as", + NULL + }, + FALSE +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_method_info_disable_unit_files_IN_ARG_runtime = +{ + { + -1, + (gchar *) "runtime", + (gchar *) "b", + NULL + }, + FALSE +}; + +static const GDBusArgInfo * const _systemd1_manager_method_info_disable_unit_files_IN_ARG_pointers[] = +{ + &_systemd1_manager_method_info_disable_unit_files_IN_ARG_files.parent_struct, + &_systemd1_manager_method_info_disable_unit_files_IN_ARG_runtime.parent_struct, + NULL +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_method_info_disable_unit_files_OUT_ARG_changes = +{ + { + -1, + (gchar *) "changes", + (gchar *) "a(sss)", + NULL + }, + FALSE +}; + +static const GDBusArgInfo * const _systemd1_manager_method_info_disable_unit_files_OUT_ARG_pointers[] = +{ + &_systemd1_manager_method_info_disable_unit_files_OUT_ARG_changes.parent_struct, + NULL +}; + +static const _ExtendedGDBusMethodInfo _systemd1_manager_method_info_disable_unit_files = +{ + { + -1, + (gchar *) "DisableUnitFiles", + (GDBusArgInfo **) &_systemd1_manager_method_info_disable_unit_files_IN_ARG_pointers, + (GDBusArgInfo **) &_systemd1_manager_method_info_disable_unit_files_OUT_ARG_pointers, + NULL + }, + "handle-disable-unit-files", + FALSE +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_method_info_enable_unit_files_with_flags_IN_ARG_files = +{ + { + -1, + (gchar *) "files", + (gchar *) "as", + NULL + }, + FALSE +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_method_info_enable_unit_files_with_flags_IN_ARG_flags = +{ + { + -1, + (gchar *) "flags", + (gchar *) "t", + NULL + }, + FALSE +}; + +static const GDBusArgInfo * const _systemd1_manager_method_info_enable_unit_files_with_flags_IN_ARG_pointers[] = +{ + &_systemd1_manager_method_info_enable_unit_files_with_flags_IN_ARG_files.parent_struct, + &_systemd1_manager_method_info_enable_unit_files_with_flags_IN_ARG_flags.parent_struct, + NULL +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_method_info_enable_unit_files_with_flags_OUT_ARG_carries_install_info = +{ + { + -1, + (gchar *) "carries_install_info", + (gchar *) "b", + NULL + }, + FALSE +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_method_info_enable_unit_files_with_flags_OUT_ARG_changes = +{ + { + -1, + (gchar *) "changes", + (gchar *) "a(sss)", + NULL + }, + FALSE +}; + +static const GDBusArgInfo * const _systemd1_manager_method_info_enable_unit_files_with_flags_OUT_ARG_pointers[] = +{ + &_systemd1_manager_method_info_enable_unit_files_with_flags_OUT_ARG_carries_install_info.parent_struct, + &_systemd1_manager_method_info_enable_unit_files_with_flags_OUT_ARG_changes.parent_struct, + NULL +}; + +static const _ExtendedGDBusMethodInfo _systemd1_manager_method_info_enable_unit_files_with_flags = +{ + { + -1, + (gchar *) "EnableUnitFilesWithFlags", + (GDBusArgInfo **) &_systemd1_manager_method_info_enable_unit_files_with_flags_IN_ARG_pointers, + (GDBusArgInfo **) &_systemd1_manager_method_info_enable_unit_files_with_flags_OUT_ARG_pointers, + NULL + }, + "handle-enable-unit-files-with-flags", + FALSE +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_method_info_disable_unit_files_with_flags_IN_ARG_files = +{ + { + -1, + (gchar *) "files", + (gchar *) "as", + NULL + }, + FALSE +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_method_info_disable_unit_files_with_flags_IN_ARG_flags = +{ + { + -1, + (gchar *) "flags", + (gchar *) "t", + NULL + }, + FALSE +}; + +static const GDBusArgInfo * const _systemd1_manager_method_info_disable_unit_files_with_flags_IN_ARG_pointers[] = +{ + &_systemd1_manager_method_info_disable_unit_files_with_flags_IN_ARG_files.parent_struct, + &_systemd1_manager_method_info_disable_unit_files_with_flags_IN_ARG_flags.parent_struct, + NULL +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_method_info_disable_unit_files_with_flags_OUT_ARG_changes = +{ + { + -1, + (gchar *) "changes", + (gchar *) "a(sss)", + NULL + }, + FALSE +}; + +static const GDBusArgInfo * const _systemd1_manager_method_info_disable_unit_files_with_flags_OUT_ARG_pointers[] = +{ + &_systemd1_manager_method_info_disable_unit_files_with_flags_OUT_ARG_changes.parent_struct, + NULL +}; + +static const _ExtendedGDBusMethodInfo _systemd1_manager_method_info_disable_unit_files_with_flags = +{ + { + -1, + (gchar *) "DisableUnitFilesWithFlags", + (GDBusArgInfo **) &_systemd1_manager_method_info_disable_unit_files_with_flags_IN_ARG_pointers, + (GDBusArgInfo **) &_systemd1_manager_method_info_disable_unit_files_with_flags_OUT_ARG_pointers, + NULL + }, + "handle-disable-unit-files-with-flags", + FALSE +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_method_info_reenable_unit_files_IN_ARG_files = +{ + { + -1, + (gchar *) "files", + (gchar *) "as", + NULL + }, + FALSE +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_method_info_reenable_unit_files_IN_ARG_runtime = +{ + { + -1, + (gchar *) "runtime", + (gchar *) "b", + NULL + }, + FALSE +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_method_info_reenable_unit_files_IN_ARG_force = +{ + { + -1, + (gchar *) "force", + (gchar *) "b", + NULL + }, + FALSE +}; + +static const GDBusArgInfo * const _systemd1_manager_method_info_reenable_unit_files_IN_ARG_pointers[] = +{ + &_systemd1_manager_method_info_reenable_unit_files_IN_ARG_files.parent_struct, + &_systemd1_manager_method_info_reenable_unit_files_IN_ARG_runtime.parent_struct, + &_systemd1_manager_method_info_reenable_unit_files_IN_ARG_force.parent_struct, + NULL +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_method_info_reenable_unit_files_OUT_ARG_carries_install_info = +{ + { + -1, + (gchar *) "carries_install_info", + (gchar *) "b", + NULL + }, + FALSE +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_method_info_reenable_unit_files_OUT_ARG_changes = +{ + { + -1, + (gchar *) "changes", + (gchar *) "a(sss)", + NULL + }, + FALSE +}; + +static const GDBusArgInfo * const _systemd1_manager_method_info_reenable_unit_files_OUT_ARG_pointers[] = +{ + &_systemd1_manager_method_info_reenable_unit_files_OUT_ARG_carries_install_info.parent_struct, + &_systemd1_manager_method_info_reenable_unit_files_OUT_ARG_changes.parent_struct, + NULL +}; + +static const _ExtendedGDBusMethodInfo _systemd1_manager_method_info_reenable_unit_files = +{ + { + -1, + (gchar *) "ReenableUnitFiles", + (GDBusArgInfo **) &_systemd1_manager_method_info_reenable_unit_files_IN_ARG_pointers, + (GDBusArgInfo **) &_systemd1_manager_method_info_reenable_unit_files_OUT_ARG_pointers, + NULL + }, + "handle-reenable-unit-files", + FALSE +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_method_info_link_unit_files_IN_ARG_files = +{ + { + -1, + (gchar *) "files", + (gchar *) "as", + NULL + }, + FALSE +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_method_info_link_unit_files_IN_ARG_runtime = +{ + { + -1, + (gchar *) "runtime", + (gchar *) "b", + NULL + }, + FALSE +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_method_info_link_unit_files_IN_ARG_force = +{ + { + -1, + (gchar *) "force", + (gchar *) "b", + NULL + }, + FALSE +}; + +static const GDBusArgInfo * const _systemd1_manager_method_info_link_unit_files_IN_ARG_pointers[] = +{ + &_systemd1_manager_method_info_link_unit_files_IN_ARG_files.parent_struct, + &_systemd1_manager_method_info_link_unit_files_IN_ARG_runtime.parent_struct, + &_systemd1_manager_method_info_link_unit_files_IN_ARG_force.parent_struct, + NULL +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_method_info_link_unit_files_OUT_ARG_changes = +{ + { + -1, + (gchar *) "changes", + (gchar *) "a(sss)", + NULL + }, + FALSE +}; + +static const GDBusArgInfo * const _systemd1_manager_method_info_link_unit_files_OUT_ARG_pointers[] = +{ + &_systemd1_manager_method_info_link_unit_files_OUT_ARG_changes.parent_struct, + NULL +}; + +static const _ExtendedGDBusMethodInfo _systemd1_manager_method_info_link_unit_files = +{ + { + -1, + (gchar *) "LinkUnitFiles", + (GDBusArgInfo **) &_systemd1_manager_method_info_link_unit_files_IN_ARG_pointers, + (GDBusArgInfo **) &_systemd1_manager_method_info_link_unit_files_OUT_ARG_pointers, + NULL + }, + "handle-link-unit-files", + FALSE +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_method_info_preset_unit_files_IN_ARG_files = +{ + { + -1, + (gchar *) "files", + (gchar *) "as", + NULL + }, + FALSE +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_method_info_preset_unit_files_IN_ARG_runtime = +{ + { + -1, + (gchar *) "runtime", + (gchar *) "b", + NULL + }, + FALSE +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_method_info_preset_unit_files_IN_ARG_force = +{ + { + -1, + (gchar *) "force", + (gchar *) "b", + NULL + }, + FALSE +}; + +static const GDBusArgInfo * const _systemd1_manager_method_info_preset_unit_files_IN_ARG_pointers[] = +{ + &_systemd1_manager_method_info_preset_unit_files_IN_ARG_files.parent_struct, + &_systemd1_manager_method_info_preset_unit_files_IN_ARG_runtime.parent_struct, + &_systemd1_manager_method_info_preset_unit_files_IN_ARG_force.parent_struct, + NULL +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_method_info_preset_unit_files_OUT_ARG_carries_install_info = +{ + { + -1, + (gchar *) "carries_install_info", + (gchar *) "b", + NULL + }, + FALSE +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_method_info_preset_unit_files_OUT_ARG_changes = +{ + { + -1, + (gchar *) "changes", + (gchar *) "a(sss)", + NULL + }, + FALSE +}; + +static const GDBusArgInfo * const _systemd1_manager_method_info_preset_unit_files_OUT_ARG_pointers[] = +{ + &_systemd1_manager_method_info_preset_unit_files_OUT_ARG_carries_install_info.parent_struct, + &_systemd1_manager_method_info_preset_unit_files_OUT_ARG_changes.parent_struct, + NULL +}; + +static const _ExtendedGDBusMethodInfo _systemd1_manager_method_info_preset_unit_files = +{ + { + -1, + (gchar *) "PresetUnitFiles", + (GDBusArgInfo **) &_systemd1_manager_method_info_preset_unit_files_IN_ARG_pointers, + (GDBusArgInfo **) &_systemd1_manager_method_info_preset_unit_files_OUT_ARG_pointers, + NULL + }, + "handle-preset-unit-files", + FALSE +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_method_info_preset_unit_files_with_mode_IN_ARG_files = +{ + { + -1, + (gchar *) "files", + (gchar *) "as", + NULL + }, + FALSE +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_method_info_preset_unit_files_with_mode_IN_ARG_mode = +{ + { + -1, + (gchar *) "mode", + (gchar *) "s", + NULL + }, + FALSE +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_method_info_preset_unit_files_with_mode_IN_ARG_runtime = +{ + { + -1, + (gchar *) "runtime", + (gchar *) "b", + NULL + }, + FALSE +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_method_info_preset_unit_files_with_mode_IN_ARG_force = +{ + { + -1, + (gchar *) "force", + (gchar *) "b", + NULL + }, + FALSE +}; + +static const GDBusArgInfo * const _systemd1_manager_method_info_preset_unit_files_with_mode_IN_ARG_pointers[] = +{ + &_systemd1_manager_method_info_preset_unit_files_with_mode_IN_ARG_files.parent_struct, + &_systemd1_manager_method_info_preset_unit_files_with_mode_IN_ARG_mode.parent_struct, + &_systemd1_manager_method_info_preset_unit_files_with_mode_IN_ARG_runtime.parent_struct, + &_systemd1_manager_method_info_preset_unit_files_with_mode_IN_ARG_force.parent_struct, + NULL +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_method_info_preset_unit_files_with_mode_OUT_ARG_carries_install_info = +{ + { + -1, + (gchar *) "carries_install_info", + (gchar *) "b", + NULL + }, + FALSE +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_method_info_preset_unit_files_with_mode_OUT_ARG_changes = +{ + { + -1, + (gchar *) "changes", + (gchar *) "a(sss)", + NULL + }, + FALSE +}; + +static const GDBusArgInfo * const _systemd1_manager_method_info_preset_unit_files_with_mode_OUT_ARG_pointers[] = +{ + &_systemd1_manager_method_info_preset_unit_files_with_mode_OUT_ARG_carries_install_info.parent_struct, + &_systemd1_manager_method_info_preset_unit_files_with_mode_OUT_ARG_changes.parent_struct, + NULL +}; + +static const _ExtendedGDBusMethodInfo _systemd1_manager_method_info_preset_unit_files_with_mode = +{ + { + -1, + (gchar *) "PresetUnitFilesWithMode", + (GDBusArgInfo **) &_systemd1_manager_method_info_preset_unit_files_with_mode_IN_ARG_pointers, + (GDBusArgInfo **) &_systemd1_manager_method_info_preset_unit_files_with_mode_OUT_ARG_pointers, + NULL + }, + "handle-preset-unit-files-with-mode", + FALSE +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_method_info_mask_unit_files_IN_ARG_files = +{ + { + -1, + (gchar *) "files", + (gchar *) "as", + NULL + }, + FALSE +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_method_info_mask_unit_files_IN_ARG_runtime = +{ + { + -1, + (gchar *) "runtime", + (gchar *) "b", + NULL + }, + FALSE +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_method_info_mask_unit_files_IN_ARG_force = +{ + { + -1, + (gchar *) "force", + (gchar *) "b", + NULL + }, + FALSE +}; + +static const GDBusArgInfo * const _systemd1_manager_method_info_mask_unit_files_IN_ARG_pointers[] = +{ + &_systemd1_manager_method_info_mask_unit_files_IN_ARG_files.parent_struct, + &_systemd1_manager_method_info_mask_unit_files_IN_ARG_runtime.parent_struct, + &_systemd1_manager_method_info_mask_unit_files_IN_ARG_force.parent_struct, + NULL +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_method_info_mask_unit_files_OUT_ARG_changes = +{ + { + -1, + (gchar *) "changes", + (gchar *) "a(sss)", + NULL + }, + FALSE +}; + +static const GDBusArgInfo * const _systemd1_manager_method_info_mask_unit_files_OUT_ARG_pointers[] = +{ + &_systemd1_manager_method_info_mask_unit_files_OUT_ARG_changes.parent_struct, + NULL +}; + +static const _ExtendedGDBusMethodInfo _systemd1_manager_method_info_mask_unit_files = +{ + { + -1, + (gchar *) "MaskUnitFiles", + (GDBusArgInfo **) &_systemd1_manager_method_info_mask_unit_files_IN_ARG_pointers, + (GDBusArgInfo **) &_systemd1_manager_method_info_mask_unit_files_OUT_ARG_pointers, + NULL + }, + "handle-mask-unit-files", + FALSE +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_method_info_unmask_unit_files_IN_ARG_files = +{ + { + -1, + (gchar *) "files", + (gchar *) "as", + NULL + }, + FALSE +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_method_info_unmask_unit_files_IN_ARG_runtime = +{ + { + -1, + (gchar *) "runtime", + (gchar *) "b", + NULL + }, + FALSE +}; + +static const GDBusArgInfo * const _systemd1_manager_method_info_unmask_unit_files_IN_ARG_pointers[] = +{ + &_systemd1_manager_method_info_unmask_unit_files_IN_ARG_files.parent_struct, + &_systemd1_manager_method_info_unmask_unit_files_IN_ARG_runtime.parent_struct, + NULL +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_method_info_unmask_unit_files_OUT_ARG_changes = +{ + { + -1, + (gchar *) "changes", + (gchar *) "a(sss)", + NULL + }, + FALSE +}; + +static const GDBusArgInfo * const _systemd1_manager_method_info_unmask_unit_files_OUT_ARG_pointers[] = +{ + &_systemd1_manager_method_info_unmask_unit_files_OUT_ARG_changes.parent_struct, + NULL +}; + +static const _ExtendedGDBusMethodInfo _systemd1_manager_method_info_unmask_unit_files = +{ + { + -1, + (gchar *) "UnmaskUnitFiles", + (GDBusArgInfo **) &_systemd1_manager_method_info_unmask_unit_files_IN_ARG_pointers, + (GDBusArgInfo **) &_systemd1_manager_method_info_unmask_unit_files_OUT_ARG_pointers, + NULL + }, + "handle-unmask-unit-files", + FALSE +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_method_info_revert_unit_files_IN_ARG_files = +{ + { + -1, + (gchar *) "files", + (gchar *) "as", + NULL + }, + FALSE +}; + +static const GDBusArgInfo * const _systemd1_manager_method_info_revert_unit_files_IN_ARG_pointers[] = +{ + &_systemd1_manager_method_info_revert_unit_files_IN_ARG_files.parent_struct, + NULL +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_method_info_revert_unit_files_OUT_ARG_changes = +{ + { + -1, + (gchar *) "changes", + (gchar *) "a(sss)", + NULL + }, + FALSE +}; + +static const GDBusArgInfo * const _systemd1_manager_method_info_revert_unit_files_OUT_ARG_pointers[] = +{ + &_systemd1_manager_method_info_revert_unit_files_OUT_ARG_changes.parent_struct, + NULL +}; + +static const _ExtendedGDBusMethodInfo _systemd1_manager_method_info_revert_unit_files = +{ + { + -1, + (gchar *) "RevertUnitFiles", + (GDBusArgInfo **) &_systemd1_manager_method_info_revert_unit_files_IN_ARG_pointers, + (GDBusArgInfo **) &_systemd1_manager_method_info_revert_unit_files_OUT_ARG_pointers, + NULL + }, + "handle-revert-unit-files", + FALSE +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_method_info_set_default_target_IN_ARG_name = +{ + { + -1, + (gchar *) "name", + (gchar *) "s", + NULL + }, + FALSE +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_method_info_set_default_target_IN_ARG_force = +{ + { + -1, + (gchar *) "force", + (gchar *) "b", + NULL + }, + FALSE +}; + +static const GDBusArgInfo * const _systemd1_manager_method_info_set_default_target_IN_ARG_pointers[] = +{ + &_systemd1_manager_method_info_set_default_target_IN_ARG_name.parent_struct, + &_systemd1_manager_method_info_set_default_target_IN_ARG_force.parent_struct, + NULL +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_method_info_set_default_target_OUT_ARG_changes = +{ + { + -1, + (gchar *) "changes", + (gchar *) "a(sss)", + NULL + }, + FALSE +}; + +static const GDBusArgInfo * const _systemd1_manager_method_info_set_default_target_OUT_ARG_pointers[] = +{ + &_systemd1_manager_method_info_set_default_target_OUT_ARG_changes.parent_struct, + NULL +}; + +static const _ExtendedGDBusMethodInfo _systemd1_manager_method_info_set_default_target = +{ + { + -1, + (gchar *) "SetDefaultTarget", + (GDBusArgInfo **) &_systemd1_manager_method_info_set_default_target_IN_ARG_pointers, + (GDBusArgInfo **) &_systemd1_manager_method_info_set_default_target_OUT_ARG_pointers, + NULL + }, + "handle-set-default-target", + FALSE +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_method_info_get_default_target_OUT_ARG_name = +{ + { + -1, + (gchar *) "name", + (gchar *) "s", + NULL + }, + FALSE +}; + +static const GDBusArgInfo * const _systemd1_manager_method_info_get_default_target_OUT_ARG_pointers[] = +{ + &_systemd1_manager_method_info_get_default_target_OUT_ARG_name.parent_struct, + NULL +}; + +static const _ExtendedGDBusMethodInfo _systemd1_manager_method_info_get_default_target = +{ + { + -1, + (gchar *) "GetDefaultTarget", + NULL, + (GDBusArgInfo **) &_systemd1_manager_method_info_get_default_target_OUT_ARG_pointers, + NULL + }, + "handle-get-default-target", + FALSE +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_method_info_preset_all_unit_files_IN_ARG_mode = +{ + { + -1, + (gchar *) "mode", + (gchar *) "s", + NULL + }, + FALSE +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_method_info_preset_all_unit_files_IN_ARG_runtime = +{ + { + -1, + (gchar *) "runtime", + (gchar *) "b", + NULL + }, + FALSE +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_method_info_preset_all_unit_files_IN_ARG_force = +{ + { + -1, + (gchar *) "force", + (gchar *) "b", + NULL + }, + FALSE +}; + +static const GDBusArgInfo * const _systemd1_manager_method_info_preset_all_unit_files_IN_ARG_pointers[] = +{ + &_systemd1_manager_method_info_preset_all_unit_files_IN_ARG_mode.parent_struct, + &_systemd1_manager_method_info_preset_all_unit_files_IN_ARG_runtime.parent_struct, + &_systemd1_manager_method_info_preset_all_unit_files_IN_ARG_force.parent_struct, + NULL +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_method_info_preset_all_unit_files_OUT_ARG_changes = +{ + { + -1, + (gchar *) "changes", + (gchar *) "a(sss)", + NULL + }, + FALSE +}; + +static const GDBusArgInfo * const _systemd1_manager_method_info_preset_all_unit_files_OUT_ARG_pointers[] = +{ + &_systemd1_manager_method_info_preset_all_unit_files_OUT_ARG_changes.parent_struct, + NULL +}; + +static const _ExtendedGDBusMethodInfo _systemd1_manager_method_info_preset_all_unit_files = +{ + { + -1, + (gchar *) "PresetAllUnitFiles", + (GDBusArgInfo **) &_systemd1_manager_method_info_preset_all_unit_files_IN_ARG_pointers, + (GDBusArgInfo **) &_systemd1_manager_method_info_preset_all_unit_files_OUT_ARG_pointers, + NULL + }, + "handle-preset-all-unit-files", + FALSE +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_method_info_add_dependency_unit_files_IN_ARG_files = +{ + { + -1, + (gchar *) "files", + (gchar *) "as", + NULL + }, + FALSE +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_method_info_add_dependency_unit_files_IN_ARG_target = +{ + { + -1, + (gchar *) "target", + (gchar *) "s", + NULL + }, + FALSE +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_method_info_add_dependency_unit_files_IN_ARG_type = +{ + { + -1, + (gchar *) "type", + (gchar *) "s", + NULL + }, + FALSE +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_method_info_add_dependency_unit_files_IN_ARG_runtime = +{ + { + -1, + (gchar *) "runtime", + (gchar *) "b", + NULL + }, + FALSE +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_method_info_add_dependency_unit_files_IN_ARG_force = +{ + { + -1, + (gchar *) "force", + (gchar *) "b", + NULL + }, + FALSE +}; + +static const GDBusArgInfo * const _systemd1_manager_method_info_add_dependency_unit_files_IN_ARG_pointers[] = +{ + &_systemd1_manager_method_info_add_dependency_unit_files_IN_ARG_files.parent_struct, + &_systemd1_manager_method_info_add_dependency_unit_files_IN_ARG_target.parent_struct, + &_systemd1_manager_method_info_add_dependency_unit_files_IN_ARG_type.parent_struct, + &_systemd1_manager_method_info_add_dependency_unit_files_IN_ARG_runtime.parent_struct, + &_systemd1_manager_method_info_add_dependency_unit_files_IN_ARG_force.parent_struct, + NULL +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_method_info_add_dependency_unit_files_OUT_ARG_changes = +{ + { + -1, + (gchar *) "changes", + (gchar *) "a(sss)", + NULL + }, + FALSE +}; + +static const GDBusArgInfo * const _systemd1_manager_method_info_add_dependency_unit_files_OUT_ARG_pointers[] = +{ + &_systemd1_manager_method_info_add_dependency_unit_files_OUT_ARG_changes.parent_struct, + NULL +}; + +static const _ExtendedGDBusMethodInfo _systemd1_manager_method_info_add_dependency_unit_files = +{ + { + -1, + (gchar *) "AddDependencyUnitFiles", + (GDBusArgInfo **) &_systemd1_manager_method_info_add_dependency_unit_files_IN_ARG_pointers, + (GDBusArgInfo **) &_systemd1_manager_method_info_add_dependency_unit_files_OUT_ARG_pointers, + NULL + }, + "handle-add-dependency-unit-files", + FALSE +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_method_info_get_unit_file_links_IN_ARG_name = +{ + { + -1, + (gchar *) "name", + (gchar *) "s", + NULL + }, + FALSE +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_method_info_get_unit_file_links_IN_ARG_runtime = +{ + { + -1, + (gchar *) "runtime", + (gchar *) "b", + NULL + }, + FALSE +}; + +static const GDBusArgInfo * const _systemd1_manager_method_info_get_unit_file_links_IN_ARG_pointers[] = +{ + &_systemd1_manager_method_info_get_unit_file_links_IN_ARG_name.parent_struct, + &_systemd1_manager_method_info_get_unit_file_links_IN_ARG_runtime.parent_struct, + NULL +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_method_info_get_unit_file_links_OUT_ARG_links = +{ + { + -1, + (gchar *) "links", + (gchar *) "as", + NULL + }, + FALSE +}; + +static const GDBusArgInfo * const _systemd1_manager_method_info_get_unit_file_links_OUT_ARG_pointers[] = +{ + &_systemd1_manager_method_info_get_unit_file_links_OUT_ARG_links.parent_struct, + NULL +}; + +static const _ExtendedGDBusMethodInfo _systemd1_manager_method_info_get_unit_file_links = +{ + { + -1, + (gchar *) "GetUnitFileLinks", + (GDBusArgInfo **) &_systemd1_manager_method_info_get_unit_file_links_IN_ARG_pointers, + (GDBusArgInfo **) &_systemd1_manager_method_info_get_unit_file_links_OUT_ARG_pointers, + NULL + }, + "handle-get-unit-file-links", + FALSE +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_method_info_set_exit_code_IN_ARG_number = +{ + { + -1, + (gchar *) "number", + (gchar *) "y", + NULL + }, + FALSE +}; + +static const GDBusArgInfo * const _systemd1_manager_method_info_set_exit_code_IN_ARG_pointers[] = +{ + &_systemd1_manager_method_info_set_exit_code_IN_ARG_number.parent_struct, + NULL +}; + +static const _ExtendedGDBusMethodInfo _systemd1_manager_method_info_set_exit_code = +{ + { + -1, + (gchar *) "SetExitCode", + (GDBusArgInfo **) &_systemd1_manager_method_info_set_exit_code_IN_ARG_pointers, + NULL, + NULL + }, + "handle-set-exit-code", + FALSE +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_method_info_lookup_dynamic_user_by_name_IN_ARG_name = +{ + { + -1, + (gchar *) "name", + (gchar *) "s", + NULL + }, + FALSE +}; + +static const GDBusArgInfo * const _systemd1_manager_method_info_lookup_dynamic_user_by_name_IN_ARG_pointers[] = +{ + &_systemd1_manager_method_info_lookup_dynamic_user_by_name_IN_ARG_name.parent_struct, + NULL +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_method_info_lookup_dynamic_user_by_name_OUT_ARG_uid = +{ + { + -1, + (gchar *) "uid", + (gchar *) "u", + NULL + }, + FALSE +}; + +static const GDBusArgInfo * const _systemd1_manager_method_info_lookup_dynamic_user_by_name_OUT_ARG_pointers[] = +{ + &_systemd1_manager_method_info_lookup_dynamic_user_by_name_OUT_ARG_uid.parent_struct, + NULL +}; + +static const _ExtendedGDBusMethodInfo _systemd1_manager_method_info_lookup_dynamic_user_by_name = +{ + { + -1, + (gchar *) "LookupDynamicUserByName", + (GDBusArgInfo **) &_systemd1_manager_method_info_lookup_dynamic_user_by_name_IN_ARG_pointers, + (GDBusArgInfo **) &_systemd1_manager_method_info_lookup_dynamic_user_by_name_OUT_ARG_pointers, + NULL + }, + "handle-lookup-dynamic-user-by-name", + FALSE +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_method_info_lookup_dynamic_user_by_uid_IN_ARG_uid = +{ + { + -1, + (gchar *) "uid", + (gchar *) "u", + NULL + }, + FALSE +}; + +static const GDBusArgInfo * const _systemd1_manager_method_info_lookup_dynamic_user_by_uid_IN_ARG_pointers[] = +{ + &_systemd1_manager_method_info_lookup_dynamic_user_by_uid_IN_ARG_uid.parent_struct, + NULL +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_method_info_lookup_dynamic_user_by_uid_OUT_ARG_name = +{ + { + -1, + (gchar *) "name", + (gchar *) "s", + NULL + }, + FALSE +}; + +static const GDBusArgInfo * const _systemd1_manager_method_info_lookup_dynamic_user_by_uid_OUT_ARG_pointers[] = +{ + &_systemd1_manager_method_info_lookup_dynamic_user_by_uid_OUT_ARG_name.parent_struct, + NULL +}; + +static const _ExtendedGDBusMethodInfo _systemd1_manager_method_info_lookup_dynamic_user_by_uid = +{ + { + -1, + (gchar *) "LookupDynamicUserByUID", + (GDBusArgInfo **) &_systemd1_manager_method_info_lookup_dynamic_user_by_uid_IN_ARG_pointers, + (GDBusArgInfo **) &_systemd1_manager_method_info_lookup_dynamic_user_by_uid_OUT_ARG_pointers, + NULL + }, + "handle-lookup-dynamic-user-by-uid", + FALSE +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_method_info_get_dynamic_users_OUT_ARG_users = +{ + { + -1, + (gchar *) "users", + (gchar *) "a(us)", + NULL + }, + FALSE +}; + +static const GDBusArgInfo * const _systemd1_manager_method_info_get_dynamic_users_OUT_ARG_pointers[] = +{ + &_systemd1_manager_method_info_get_dynamic_users_OUT_ARG_users.parent_struct, + NULL +}; + +static const _ExtendedGDBusMethodInfo _systemd1_manager_method_info_get_dynamic_users = +{ + { + -1, + (gchar *) "GetDynamicUsers", + NULL, + (GDBusArgInfo **) &_systemd1_manager_method_info_get_dynamic_users_OUT_ARG_pointers, + NULL + }, + "handle-get-dynamic-users", + FALSE +}; + +static const GDBusMethodInfo * const _systemd1_manager_method_info_pointers[] = +{ + &_systemd1_manager_method_info_get_unit.parent_struct, + &_systemd1_manager_method_info_get_unit_by_pid.parent_struct, + &_systemd1_manager_method_info_get_unit_by_invocation_id.parent_struct, + &_systemd1_manager_method_info_get_unit_by_control_group.parent_struct, + &_systemd1_manager_method_info_load_unit.parent_struct, + &_systemd1_manager_method_info_start_unit.parent_struct, + &_systemd1_manager_method_info_start_unit_replace.parent_struct, + &_systemd1_manager_method_info_stop_unit.parent_struct, + &_systemd1_manager_method_info_reload_unit.parent_struct, + &_systemd1_manager_method_info_restart_unit.parent_struct, + &_systemd1_manager_method_info_try_restart_unit.parent_struct, + &_systemd1_manager_method_info_reload_or_restart_unit.parent_struct, + &_systemd1_manager_method_info_reload_or_try_restart_unit.parent_struct, + &_systemd1_manager_method_info_enqueue_unit_job.parent_struct, + &_systemd1_manager_method_info_kill_unit.parent_struct, + &_systemd1_manager_method_info_clean_unit.parent_struct, + &_systemd1_manager_method_info_freeze_unit.parent_struct, + &_systemd1_manager_method_info_thaw_unit.parent_struct, + &_systemd1_manager_method_info_reset_failed_unit.parent_struct, + &_systemd1_manager_method_info_set_unit_properties.parent_struct, + &_systemd1_manager_method_info_bind_mount_unit.parent_struct, + &_systemd1_manager_method_info_mount_image_unit.parent_struct, + &_systemd1_manager_method_info_ref_unit.parent_struct, + &_systemd1_manager_method_info_unref_unit.parent_struct, + &_systemd1_manager_method_info_start_transient_unit.parent_struct, + &_systemd1_manager_method_info_get_unit_processes.parent_struct, + &_systemd1_manager_method_info_attach_processes_to_unit.parent_struct, + &_systemd1_manager_method_info_abandon_scope.parent_struct, + &_systemd1_manager_method_info_get_job.parent_struct, + &_systemd1_manager_method_info_get_job_after.parent_struct, + &_systemd1_manager_method_info_get_job_before.parent_struct, + &_systemd1_manager_method_info_cancel_job.parent_struct, + &_systemd1_manager_method_info_clear_jobs.parent_struct, + &_systemd1_manager_method_info_reset_failed.parent_struct, + &_systemd1_manager_method_info_set_show_status.parent_struct, + &_systemd1_manager_method_info_list_units.parent_struct, + &_systemd1_manager_method_info_list_units_filtered.parent_struct, + &_systemd1_manager_method_info_list_units_by_patterns.parent_struct, + &_systemd1_manager_method_info_list_units_by_names.parent_struct, + &_systemd1_manager_method_info_list_jobs.parent_struct, + &_systemd1_manager_method_info_subscribe.parent_struct, + &_systemd1_manager_method_info_unsubscribe.parent_struct, + &_systemd1_manager_method_info_dump.parent_struct, + &_systemd1_manager_method_info_dump_by_file_descriptor.parent_struct, + &_systemd1_manager_method_info_reload.parent_struct, + &_systemd1_manager_method_info_reexecute.parent_struct, + &_systemd1_manager_method_info_exit.parent_struct, + &_systemd1_manager_method_info_reboot.parent_struct, + &_systemd1_manager_method_info_power_off.parent_struct, + &_systemd1_manager_method_info_halt.parent_struct, + &_systemd1_manager_method_info_kexec.parent_struct, + &_systemd1_manager_method_info_switch_root.parent_struct, + &_systemd1_manager_method_info_set_environment.parent_struct, + &_systemd1_manager_method_info_unset_environment.parent_struct, + &_systemd1_manager_method_info_unset_and_set_environment.parent_struct, + &_systemd1_manager_method_info_enqueue_marked_jobs.parent_struct, + &_systemd1_manager_method_info_list_unit_files.parent_struct, + &_systemd1_manager_method_info_list_unit_files_by_patterns.parent_struct, + &_systemd1_manager_method_info_get_unit_file_state.parent_struct, + &_systemd1_manager_method_info_enable_unit_files.parent_struct, + &_systemd1_manager_method_info_disable_unit_files.parent_struct, + &_systemd1_manager_method_info_enable_unit_files_with_flags.parent_struct, + &_systemd1_manager_method_info_disable_unit_files_with_flags.parent_struct, + &_systemd1_manager_method_info_reenable_unit_files.parent_struct, + &_systemd1_manager_method_info_link_unit_files.parent_struct, + &_systemd1_manager_method_info_preset_unit_files.parent_struct, + &_systemd1_manager_method_info_preset_unit_files_with_mode.parent_struct, + &_systemd1_manager_method_info_mask_unit_files.parent_struct, + &_systemd1_manager_method_info_unmask_unit_files.parent_struct, + &_systemd1_manager_method_info_revert_unit_files.parent_struct, + &_systemd1_manager_method_info_set_default_target.parent_struct, + &_systemd1_manager_method_info_get_default_target.parent_struct, + &_systemd1_manager_method_info_preset_all_unit_files.parent_struct, + &_systemd1_manager_method_info_add_dependency_unit_files.parent_struct, + &_systemd1_manager_method_info_get_unit_file_links.parent_struct, + &_systemd1_manager_method_info_set_exit_code.parent_struct, + &_systemd1_manager_method_info_lookup_dynamic_user_by_name.parent_struct, + &_systemd1_manager_method_info_lookup_dynamic_user_by_uid.parent_struct, + &_systemd1_manager_method_info_get_dynamic_users.parent_struct, + NULL +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_signal_info_unit_new_ARG_id = +{ + { + -1, + (gchar *) "id", + (gchar *) "s", + NULL + }, + FALSE +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_signal_info_unit_new_ARG_unit = +{ + { + -1, + (gchar *) "unit", + (gchar *) "o", + NULL + }, + FALSE +}; + +static const GDBusArgInfo * const _systemd1_manager_signal_info_unit_new_ARG_pointers[] = +{ + &_systemd1_manager_signal_info_unit_new_ARG_id.parent_struct, + &_systemd1_manager_signal_info_unit_new_ARG_unit.parent_struct, + NULL +}; + +static const _ExtendedGDBusSignalInfo _systemd1_manager_signal_info_unit_new = +{ + { + -1, + (gchar *) "UnitNew", + (GDBusArgInfo **) &_systemd1_manager_signal_info_unit_new_ARG_pointers, + NULL + }, + "unit-new" +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_signal_info_unit_removed_ARG_id = +{ + { + -1, + (gchar *) "id", + (gchar *) "s", + NULL + }, + FALSE +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_signal_info_unit_removed_ARG_unit = +{ + { + -1, + (gchar *) "unit", + (gchar *) "o", + NULL + }, + FALSE +}; + +static const GDBusArgInfo * const _systemd1_manager_signal_info_unit_removed_ARG_pointers[] = +{ + &_systemd1_manager_signal_info_unit_removed_ARG_id.parent_struct, + &_systemd1_manager_signal_info_unit_removed_ARG_unit.parent_struct, + NULL +}; + +static const _ExtendedGDBusSignalInfo _systemd1_manager_signal_info_unit_removed = +{ + { + -1, + (gchar *) "UnitRemoved", + (GDBusArgInfo **) &_systemd1_manager_signal_info_unit_removed_ARG_pointers, + NULL + }, + "unit-removed" +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_signal_info_job_new_ARG_id = +{ + { + -1, + (gchar *) "id", + (gchar *) "u", + NULL + }, + FALSE +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_signal_info_job_new_ARG_job = +{ + { + -1, + (gchar *) "job", + (gchar *) "o", + NULL + }, + FALSE +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_signal_info_job_new_ARG_unit = +{ + { + -1, + (gchar *) "unit", + (gchar *) "s", + NULL + }, + FALSE +}; + +static const GDBusArgInfo * const _systemd1_manager_signal_info_job_new_ARG_pointers[] = +{ + &_systemd1_manager_signal_info_job_new_ARG_id.parent_struct, + &_systemd1_manager_signal_info_job_new_ARG_job.parent_struct, + &_systemd1_manager_signal_info_job_new_ARG_unit.parent_struct, + NULL +}; + +static const _ExtendedGDBusSignalInfo _systemd1_manager_signal_info_job_new = +{ + { + -1, + (gchar *) "JobNew", + (GDBusArgInfo **) &_systemd1_manager_signal_info_job_new_ARG_pointers, + NULL + }, + "job-new" +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_signal_info_job_removed_ARG_id = +{ + { + -1, + (gchar *) "id", + (gchar *) "u", + NULL + }, + FALSE +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_signal_info_job_removed_ARG_job = +{ + { + -1, + (gchar *) "job", + (gchar *) "o", + NULL + }, + FALSE +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_signal_info_job_removed_ARG_unit = +{ + { + -1, + (gchar *) "unit", + (gchar *) "s", + NULL + }, + FALSE +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_signal_info_job_removed_ARG_result = +{ + { + -1, + (gchar *) "result", + (gchar *) "s", + NULL + }, + FALSE +}; + +static const GDBusArgInfo * const _systemd1_manager_signal_info_job_removed_ARG_pointers[] = +{ + &_systemd1_manager_signal_info_job_removed_ARG_id.parent_struct, + &_systemd1_manager_signal_info_job_removed_ARG_job.parent_struct, + &_systemd1_manager_signal_info_job_removed_ARG_unit.parent_struct, + &_systemd1_manager_signal_info_job_removed_ARG_result.parent_struct, + NULL +}; + +static const _ExtendedGDBusSignalInfo _systemd1_manager_signal_info_job_removed = +{ + { + -1, + (gchar *) "JobRemoved", + (GDBusArgInfo **) &_systemd1_manager_signal_info_job_removed_ARG_pointers, + NULL + }, + "job-removed" +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_signal_info_startup_finished_ARG_firmware = +{ + { + -1, + (gchar *) "firmware", + (gchar *) "t", + NULL + }, + FALSE +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_signal_info_startup_finished_ARG_loader = +{ + { + -1, + (gchar *) "loader", + (gchar *) "t", + NULL + }, + FALSE +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_signal_info_startup_finished_ARG_kernel = +{ + { + -1, + (gchar *) "kernel", + (gchar *) "t", + NULL + }, + FALSE +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_signal_info_startup_finished_ARG_initrd = +{ + { + -1, + (gchar *) "initrd", + (gchar *) "t", + NULL + }, + FALSE +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_signal_info_startup_finished_ARG_userspace = +{ + { + -1, + (gchar *) "userspace", + (gchar *) "t", + NULL + }, + FALSE +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_signal_info_startup_finished_ARG_total = +{ + { + -1, + (gchar *) "total", + (gchar *) "t", + NULL + }, + FALSE +}; + +static const GDBusArgInfo * const _systemd1_manager_signal_info_startup_finished_ARG_pointers[] = +{ + &_systemd1_manager_signal_info_startup_finished_ARG_firmware.parent_struct, + &_systemd1_manager_signal_info_startup_finished_ARG_loader.parent_struct, + &_systemd1_manager_signal_info_startup_finished_ARG_kernel.parent_struct, + &_systemd1_manager_signal_info_startup_finished_ARG_initrd.parent_struct, + &_systemd1_manager_signal_info_startup_finished_ARG_userspace.parent_struct, + &_systemd1_manager_signal_info_startup_finished_ARG_total.parent_struct, + NULL +}; + +static const _ExtendedGDBusSignalInfo _systemd1_manager_signal_info_startup_finished = +{ + { + -1, + (gchar *) "StartupFinished", + (GDBusArgInfo **) &_systemd1_manager_signal_info_startup_finished_ARG_pointers, + NULL + }, + "startup-finished" +}; + +static const _ExtendedGDBusSignalInfo _systemd1_manager_signal_info_unit_files_changed = +{ + { + -1, + (gchar *) "UnitFilesChanged", + NULL, + NULL + }, + "unit-files-changed" +}; + +static const _ExtendedGDBusArgInfo _systemd1_manager_signal_info_reloading_ARG_active = +{ + { + -1, + (gchar *) "active", + (gchar *) "b", + NULL + }, + FALSE +}; + +static const GDBusArgInfo * const _systemd1_manager_signal_info_reloading_ARG_pointers[] = +{ + &_systemd1_manager_signal_info_reloading_ARG_active.parent_struct, + NULL +}; + +static const _ExtendedGDBusSignalInfo _systemd1_manager_signal_info_reloading = +{ + { + -1, + (gchar *) "Reloading", + (GDBusArgInfo **) &_systemd1_manager_signal_info_reloading_ARG_pointers, + NULL + }, + "reloading" +}; + +static const GDBusSignalInfo * const _systemd1_manager_signal_info_pointers[] = +{ + &_systemd1_manager_signal_info_unit_new.parent_struct, + &_systemd1_manager_signal_info_unit_removed.parent_struct, + &_systemd1_manager_signal_info_job_new.parent_struct, + &_systemd1_manager_signal_info_job_removed.parent_struct, + &_systemd1_manager_signal_info_startup_finished.parent_struct, + &_systemd1_manager_signal_info_unit_files_changed.parent_struct, + &_systemd1_manager_signal_info_reloading.parent_struct, + NULL +}; + +static const GDBusAnnotationInfo _systemd1_manager_property_version_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.DBus.Property.EmitsChangedSignal", + (gchar *) "const", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_manager_property_version_annotation_info_pointers[] = +{ + &_systemd1_manager_property_version_annotation_info_0, + NULL +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_manager_property_info_version = +{ + { + -1, + (gchar *) "Version", + (gchar *) "s", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + (GDBusAnnotationInfo **) &_systemd1_manager_property_version_annotation_info_pointers + }, + "version", + FALSE, + FALSE +}; + +static const GDBusAnnotationInfo _systemd1_manager_property_features_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.DBus.Property.EmitsChangedSignal", + (gchar *) "const", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_manager_property_features_annotation_info_pointers[] = +{ + &_systemd1_manager_property_features_annotation_info_0, + NULL +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_manager_property_info_features = +{ + { + -1, + (gchar *) "Features", + (gchar *) "s", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + (GDBusAnnotationInfo **) &_systemd1_manager_property_features_annotation_info_pointers + }, + "features", + FALSE, + FALSE +}; + +static const GDBusAnnotationInfo _systemd1_manager_property_virtualization_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.DBus.Property.EmitsChangedSignal", + (gchar *) "const", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_manager_property_virtualization_annotation_info_pointers[] = +{ + &_systemd1_manager_property_virtualization_annotation_info_0, + NULL +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_manager_property_info_virtualization = +{ + { + -1, + (gchar *) "Virtualization", + (gchar *) "s", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + (GDBusAnnotationInfo **) &_systemd1_manager_property_virtualization_annotation_info_pointers + }, + "virtualization", + FALSE, + FALSE +}; + +static const GDBusAnnotationInfo _systemd1_manager_property_architecture_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.DBus.Property.EmitsChangedSignal", + (gchar *) "const", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_manager_property_architecture_annotation_info_pointers[] = +{ + &_systemd1_manager_property_architecture_annotation_info_0, + NULL +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_manager_property_info_architecture = +{ + { + -1, + (gchar *) "Architecture", + (gchar *) "s", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + (GDBusAnnotationInfo **) &_systemd1_manager_property_architecture_annotation_info_pointers + }, + "architecture", + FALSE, + FALSE +}; + +static const GDBusAnnotationInfo _systemd1_manager_property_tainted_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.DBus.Property.EmitsChangedSignal", + (gchar *) "const", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_manager_property_tainted_annotation_info_pointers[] = +{ + &_systemd1_manager_property_tainted_annotation_info_0, + NULL +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_manager_property_info_tainted = +{ + { + -1, + (gchar *) "Tainted", + (gchar *) "s", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + (GDBusAnnotationInfo **) &_systemd1_manager_property_tainted_annotation_info_pointers + }, + "tainted", + FALSE, + FALSE +}; + +static const GDBusAnnotationInfo _systemd1_manager_property_firmware_timestamp_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.DBus.Property.EmitsChangedSignal", + (gchar *) "const", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_manager_property_firmware_timestamp_annotation_info_pointers[] = +{ + &_systemd1_manager_property_firmware_timestamp_annotation_info_0, + NULL +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_manager_property_info_firmware_timestamp = +{ + { + -1, + (gchar *) "FirmwareTimestamp", + (gchar *) "t", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + (GDBusAnnotationInfo **) &_systemd1_manager_property_firmware_timestamp_annotation_info_pointers + }, + "firmware-timestamp", + FALSE, + FALSE +}; + +static const GDBusAnnotationInfo _systemd1_manager_property_firmware_timestamp_monotonic_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.DBus.Property.EmitsChangedSignal", + (gchar *) "const", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_manager_property_firmware_timestamp_monotonic_annotation_info_pointers[] = +{ + &_systemd1_manager_property_firmware_timestamp_monotonic_annotation_info_0, + NULL +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_manager_property_info_firmware_timestamp_monotonic = +{ + { + -1, + (gchar *) "FirmwareTimestampMonotonic", + (gchar *) "t", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + (GDBusAnnotationInfo **) &_systemd1_manager_property_firmware_timestamp_monotonic_annotation_info_pointers + }, + "firmware-timestamp-monotonic", + FALSE, + FALSE +}; + +static const GDBusAnnotationInfo _systemd1_manager_property_loader_timestamp_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.DBus.Property.EmitsChangedSignal", + (gchar *) "const", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_manager_property_loader_timestamp_annotation_info_pointers[] = +{ + &_systemd1_manager_property_loader_timestamp_annotation_info_0, + NULL +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_manager_property_info_loader_timestamp = +{ + { + -1, + (gchar *) "LoaderTimestamp", + (gchar *) "t", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + (GDBusAnnotationInfo **) &_systemd1_manager_property_loader_timestamp_annotation_info_pointers + }, + "loader-timestamp", + FALSE, + FALSE +}; + +static const GDBusAnnotationInfo _systemd1_manager_property_loader_timestamp_monotonic_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.DBus.Property.EmitsChangedSignal", + (gchar *) "const", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_manager_property_loader_timestamp_monotonic_annotation_info_pointers[] = +{ + &_systemd1_manager_property_loader_timestamp_monotonic_annotation_info_0, + NULL +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_manager_property_info_loader_timestamp_monotonic = +{ + { + -1, + (gchar *) "LoaderTimestampMonotonic", + (gchar *) "t", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + (GDBusAnnotationInfo **) &_systemd1_manager_property_loader_timestamp_monotonic_annotation_info_pointers + }, + "loader-timestamp-monotonic", + FALSE, + FALSE +}; + +static const GDBusAnnotationInfo _systemd1_manager_property_kernel_timestamp_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.DBus.Property.EmitsChangedSignal", + (gchar *) "const", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_manager_property_kernel_timestamp_annotation_info_pointers[] = +{ + &_systemd1_manager_property_kernel_timestamp_annotation_info_0, + NULL +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_manager_property_info_kernel_timestamp = +{ + { + -1, + (gchar *) "KernelTimestamp", + (gchar *) "t", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + (GDBusAnnotationInfo **) &_systemd1_manager_property_kernel_timestamp_annotation_info_pointers + }, + "kernel-timestamp", + FALSE, + FALSE +}; + +static const GDBusAnnotationInfo _systemd1_manager_property_kernel_timestamp_monotonic_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.DBus.Property.EmitsChangedSignal", + (gchar *) "const", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_manager_property_kernel_timestamp_monotonic_annotation_info_pointers[] = +{ + &_systemd1_manager_property_kernel_timestamp_monotonic_annotation_info_0, + NULL +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_manager_property_info_kernel_timestamp_monotonic = +{ + { + -1, + (gchar *) "KernelTimestampMonotonic", + (gchar *) "t", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + (GDBusAnnotationInfo **) &_systemd1_manager_property_kernel_timestamp_monotonic_annotation_info_pointers + }, + "kernel-timestamp-monotonic", + FALSE, + FALSE +}; + +static const GDBusAnnotationInfo _systemd1_manager_property_init_rdtimestamp_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.DBus.Property.EmitsChangedSignal", + (gchar *) "const", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_manager_property_init_rdtimestamp_annotation_info_pointers[] = +{ + &_systemd1_manager_property_init_rdtimestamp_annotation_info_0, + NULL +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_manager_property_info_init_rdtimestamp = +{ + { + -1, + (gchar *) "InitRDTimestamp", + (gchar *) "t", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + (GDBusAnnotationInfo **) &_systemd1_manager_property_init_rdtimestamp_annotation_info_pointers + }, + "init-rdtimestamp", + FALSE, + FALSE +}; + +static const GDBusAnnotationInfo _systemd1_manager_property_init_rdtimestamp_monotonic_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.DBus.Property.EmitsChangedSignal", + (gchar *) "const", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_manager_property_init_rdtimestamp_monotonic_annotation_info_pointers[] = +{ + &_systemd1_manager_property_init_rdtimestamp_monotonic_annotation_info_0, + NULL +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_manager_property_info_init_rdtimestamp_monotonic = +{ + { + -1, + (gchar *) "InitRDTimestampMonotonic", + (gchar *) "t", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + (GDBusAnnotationInfo **) &_systemd1_manager_property_init_rdtimestamp_monotonic_annotation_info_pointers + }, + "init-rdtimestamp-monotonic", + FALSE, + FALSE +}; + +static const GDBusAnnotationInfo _systemd1_manager_property_userspace_timestamp_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.DBus.Property.EmitsChangedSignal", + (gchar *) "const", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_manager_property_userspace_timestamp_annotation_info_pointers[] = +{ + &_systemd1_manager_property_userspace_timestamp_annotation_info_0, + NULL +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_manager_property_info_userspace_timestamp = +{ + { + -1, + (gchar *) "UserspaceTimestamp", + (gchar *) "t", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + (GDBusAnnotationInfo **) &_systemd1_manager_property_userspace_timestamp_annotation_info_pointers + }, + "userspace-timestamp", + FALSE, + FALSE +}; + +static const GDBusAnnotationInfo _systemd1_manager_property_userspace_timestamp_monotonic_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.DBus.Property.EmitsChangedSignal", + (gchar *) "const", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_manager_property_userspace_timestamp_monotonic_annotation_info_pointers[] = +{ + &_systemd1_manager_property_userspace_timestamp_monotonic_annotation_info_0, + NULL +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_manager_property_info_userspace_timestamp_monotonic = +{ + { + -1, + (gchar *) "UserspaceTimestampMonotonic", + (gchar *) "t", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + (GDBusAnnotationInfo **) &_systemd1_manager_property_userspace_timestamp_monotonic_annotation_info_pointers + }, + "userspace-timestamp-monotonic", + FALSE, + FALSE +}; + +static const GDBusAnnotationInfo _systemd1_manager_property_finish_timestamp_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.DBus.Property.EmitsChangedSignal", + (gchar *) "const", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_manager_property_finish_timestamp_annotation_info_pointers[] = +{ + &_systemd1_manager_property_finish_timestamp_annotation_info_0, + NULL +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_manager_property_info_finish_timestamp = +{ + { + -1, + (gchar *) "FinishTimestamp", + (gchar *) "t", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + (GDBusAnnotationInfo **) &_systemd1_manager_property_finish_timestamp_annotation_info_pointers + }, + "finish-timestamp", + FALSE, + FALSE +}; + +static const GDBusAnnotationInfo _systemd1_manager_property_finish_timestamp_monotonic_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.DBus.Property.EmitsChangedSignal", + (gchar *) "const", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_manager_property_finish_timestamp_monotonic_annotation_info_pointers[] = +{ + &_systemd1_manager_property_finish_timestamp_monotonic_annotation_info_0, + NULL +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_manager_property_info_finish_timestamp_monotonic = +{ + { + -1, + (gchar *) "FinishTimestampMonotonic", + (gchar *) "t", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + (GDBusAnnotationInfo **) &_systemd1_manager_property_finish_timestamp_monotonic_annotation_info_pointers + }, + "finish-timestamp-monotonic", + FALSE, + FALSE +}; + +static const GDBusAnnotationInfo _systemd1_manager_property_security_start_timestamp_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.DBus.Property.EmitsChangedSignal", + (gchar *) "const", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_manager_property_security_start_timestamp_annotation_info_pointers[] = +{ + &_systemd1_manager_property_security_start_timestamp_annotation_info_0, + NULL +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_manager_property_info_security_start_timestamp = +{ + { + -1, + (gchar *) "SecurityStartTimestamp", + (gchar *) "t", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + (GDBusAnnotationInfo **) &_systemd1_manager_property_security_start_timestamp_annotation_info_pointers + }, + "security-start-timestamp", + FALSE, + FALSE +}; + +static const GDBusAnnotationInfo _systemd1_manager_property_security_start_timestamp_monotonic_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.DBus.Property.EmitsChangedSignal", + (gchar *) "const", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_manager_property_security_start_timestamp_monotonic_annotation_info_pointers[] = +{ + &_systemd1_manager_property_security_start_timestamp_monotonic_annotation_info_0, + NULL +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_manager_property_info_security_start_timestamp_monotonic = +{ + { + -1, + (gchar *) "SecurityStartTimestampMonotonic", + (gchar *) "t", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + (GDBusAnnotationInfo **) &_systemd1_manager_property_security_start_timestamp_monotonic_annotation_info_pointers + }, + "security-start-timestamp-monotonic", + FALSE, + FALSE +}; + +static const GDBusAnnotationInfo _systemd1_manager_property_security_finish_timestamp_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.DBus.Property.EmitsChangedSignal", + (gchar *) "const", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_manager_property_security_finish_timestamp_annotation_info_pointers[] = +{ + &_systemd1_manager_property_security_finish_timestamp_annotation_info_0, + NULL +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_manager_property_info_security_finish_timestamp = +{ + { + -1, + (gchar *) "SecurityFinishTimestamp", + (gchar *) "t", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + (GDBusAnnotationInfo **) &_systemd1_manager_property_security_finish_timestamp_annotation_info_pointers + }, + "security-finish-timestamp", + FALSE, + FALSE +}; + +static const GDBusAnnotationInfo _systemd1_manager_property_security_finish_timestamp_monotonic_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.DBus.Property.EmitsChangedSignal", + (gchar *) "const", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_manager_property_security_finish_timestamp_monotonic_annotation_info_pointers[] = +{ + &_systemd1_manager_property_security_finish_timestamp_monotonic_annotation_info_0, + NULL +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_manager_property_info_security_finish_timestamp_monotonic = +{ + { + -1, + (gchar *) "SecurityFinishTimestampMonotonic", + (gchar *) "t", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + (GDBusAnnotationInfo **) &_systemd1_manager_property_security_finish_timestamp_monotonic_annotation_info_pointers + }, + "security-finish-timestamp-monotonic", + FALSE, + FALSE +}; + +static const GDBusAnnotationInfo _systemd1_manager_property_generators_start_timestamp_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.DBus.Property.EmitsChangedSignal", + (gchar *) "const", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_manager_property_generators_start_timestamp_annotation_info_pointers[] = +{ + &_systemd1_manager_property_generators_start_timestamp_annotation_info_0, + NULL +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_manager_property_info_generators_start_timestamp = +{ + { + -1, + (gchar *) "GeneratorsStartTimestamp", + (gchar *) "t", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + (GDBusAnnotationInfo **) &_systemd1_manager_property_generators_start_timestamp_annotation_info_pointers + }, + "generators-start-timestamp", + FALSE, + FALSE +}; + +static const GDBusAnnotationInfo _systemd1_manager_property_generators_start_timestamp_monotonic_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.DBus.Property.EmitsChangedSignal", + (gchar *) "const", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_manager_property_generators_start_timestamp_monotonic_annotation_info_pointers[] = +{ + &_systemd1_manager_property_generators_start_timestamp_monotonic_annotation_info_0, + NULL +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_manager_property_info_generators_start_timestamp_monotonic = +{ + { + -1, + (gchar *) "GeneratorsStartTimestampMonotonic", + (gchar *) "t", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + (GDBusAnnotationInfo **) &_systemd1_manager_property_generators_start_timestamp_monotonic_annotation_info_pointers + }, + "generators-start-timestamp-monotonic", + FALSE, + FALSE +}; + +static const GDBusAnnotationInfo _systemd1_manager_property_generators_finish_timestamp_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.DBus.Property.EmitsChangedSignal", + (gchar *) "const", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_manager_property_generators_finish_timestamp_annotation_info_pointers[] = +{ + &_systemd1_manager_property_generators_finish_timestamp_annotation_info_0, + NULL +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_manager_property_info_generators_finish_timestamp = +{ + { + -1, + (gchar *) "GeneratorsFinishTimestamp", + (gchar *) "t", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + (GDBusAnnotationInfo **) &_systemd1_manager_property_generators_finish_timestamp_annotation_info_pointers + }, + "generators-finish-timestamp", + FALSE, + FALSE +}; + +static const GDBusAnnotationInfo _systemd1_manager_property_generators_finish_timestamp_monotonic_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.DBus.Property.EmitsChangedSignal", + (gchar *) "const", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_manager_property_generators_finish_timestamp_monotonic_annotation_info_pointers[] = +{ + &_systemd1_manager_property_generators_finish_timestamp_monotonic_annotation_info_0, + NULL +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_manager_property_info_generators_finish_timestamp_monotonic = +{ + { + -1, + (gchar *) "GeneratorsFinishTimestampMonotonic", + (gchar *) "t", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + (GDBusAnnotationInfo **) &_systemd1_manager_property_generators_finish_timestamp_monotonic_annotation_info_pointers + }, + "generators-finish-timestamp-monotonic", + FALSE, + FALSE +}; + +static const GDBusAnnotationInfo _systemd1_manager_property_units_load_start_timestamp_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.DBus.Property.EmitsChangedSignal", + (gchar *) "const", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_manager_property_units_load_start_timestamp_annotation_info_pointers[] = +{ + &_systemd1_manager_property_units_load_start_timestamp_annotation_info_0, + NULL +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_manager_property_info_units_load_start_timestamp = +{ + { + -1, + (gchar *) "UnitsLoadStartTimestamp", + (gchar *) "t", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + (GDBusAnnotationInfo **) &_systemd1_manager_property_units_load_start_timestamp_annotation_info_pointers + }, + "units-load-start-timestamp", + FALSE, + FALSE +}; + +static const GDBusAnnotationInfo _systemd1_manager_property_units_load_start_timestamp_monotonic_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.DBus.Property.EmitsChangedSignal", + (gchar *) "const", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_manager_property_units_load_start_timestamp_monotonic_annotation_info_pointers[] = +{ + &_systemd1_manager_property_units_load_start_timestamp_monotonic_annotation_info_0, + NULL +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_manager_property_info_units_load_start_timestamp_monotonic = +{ + { + -1, + (gchar *) "UnitsLoadStartTimestampMonotonic", + (gchar *) "t", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + (GDBusAnnotationInfo **) &_systemd1_manager_property_units_load_start_timestamp_monotonic_annotation_info_pointers + }, + "units-load-start-timestamp-monotonic", + FALSE, + FALSE +}; + +static const GDBusAnnotationInfo _systemd1_manager_property_units_load_finish_timestamp_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.DBus.Property.EmitsChangedSignal", + (gchar *) "const", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_manager_property_units_load_finish_timestamp_annotation_info_pointers[] = +{ + &_systemd1_manager_property_units_load_finish_timestamp_annotation_info_0, + NULL +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_manager_property_info_units_load_finish_timestamp = +{ + { + -1, + (gchar *) "UnitsLoadFinishTimestamp", + (gchar *) "t", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + (GDBusAnnotationInfo **) &_systemd1_manager_property_units_load_finish_timestamp_annotation_info_pointers + }, + "units-load-finish-timestamp", + FALSE, + FALSE +}; + +static const GDBusAnnotationInfo _systemd1_manager_property_units_load_finish_timestamp_monotonic_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.DBus.Property.EmitsChangedSignal", + (gchar *) "const", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_manager_property_units_load_finish_timestamp_monotonic_annotation_info_pointers[] = +{ + &_systemd1_manager_property_units_load_finish_timestamp_monotonic_annotation_info_0, + NULL +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_manager_property_info_units_load_finish_timestamp_monotonic = +{ + { + -1, + (gchar *) "UnitsLoadFinishTimestampMonotonic", + (gchar *) "t", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + (GDBusAnnotationInfo **) &_systemd1_manager_property_units_load_finish_timestamp_monotonic_annotation_info_pointers + }, + "units-load-finish-timestamp-monotonic", + FALSE, + FALSE +}; + +static const GDBusAnnotationInfo _systemd1_manager_property_init_rdsecurity_start_timestamp_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.DBus.Property.EmitsChangedSignal", + (gchar *) "const", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_manager_property_init_rdsecurity_start_timestamp_annotation_info_pointers[] = +{ + &_systemd1_manager_property_init_rdsecurity_start_timestamp_annotation_info_0, + NULL +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_manager_property_info_init_rdsecurity_start_timestamp = +{ + { + -1, + (gchar *) "InitRDSecurityStartTimestamp", + (gchar *) "t", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + (GDBusAnnotationInfo **) &_systemd1_manager_property_init_rdsecurity_start_timestamp_annotation_info_pointers + }, + "init-rdsecurity-start-timestamp", + FALSE, + FALSE +}; + +static const GDBusAnnotationInfo _systemd1_manager_property_init_rdsecurity_start_timestamp_monotonic_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.DBus.Property.EmitsChangedSignal", + (gchar *) "const", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_manager_property_init_rdsecurity_start_timestamp_monotonic_annotation_info_pointers[] = +{ + &_systemd1_manager_property_init_rdsecurity_start_timestamp_monotonic_annotation_info_0, + NULL +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_manager_property_info_init_rdsecurity_start_timestamp_monotonic = +{ + { + -1, + (gchar *) "InitRDSecurityStartTimestampMonotonic", + (gchar *) "t", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + (GDBusAnnotationInfo **) &_systemd1_manager_property_init_rdsecurity_start_timestamp_monotonic_annotation_info_pointers + }, + "init-rdsecurity-start-timestamp-monotonic", + FALSE, + FALSE +}; + +static const GDBusAnnotationInfo _systemd1_manager_property_init_rdsecurity_finish_timestamp_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.DBus.Property.EmitsChangedSignal", + (gchar *) "const", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_manager_property_init_rdsecurity_finish_timestamp_annotation_info_pointers[] = +{ + &_systemd1_manager_property_init_rdsecurity_finish_timestamp_annotation_info_0, + NULL +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_manager_property_info_init_rdsecurity_finish_timestamp = +{ + { + -1, + (gchar *) "InitRDSecurityFinishTimestamp", + (gchar *) "t", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + (GDBusAnnotationInfo **) &_systemd1_manager_property_init_rdsecurity_finish_timestamp_annotation_info_pointers + }, + "init-rdsecurity-finish-timestamp", + FALSE, + FALSE +}; + +static const GDBusAnnotationInfo _systemd1_manager_property_init_rdsecurity_finish_timestamp_monotonic_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.DBus.Property.EmitsChangedSignal", + (gchar *) "const", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_manager_property_init_rdsecurity_finish_timestamp_monotonic_annotation_info_pointers[] = +{ + &_systemd1_manager_property_init_rdsecurity_finish_timestamp_monotonic_annotation_info_0, + NULL +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_manager_property_info_init_rdsecurity_finish_timestamp_monotonic = +{ + { + -1, + (gchar *) "InitRDSecurityFinishTimestampMonotonic", + (gchar *) "t", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + (GDBusAnnotationInfo **) &_systemd1_manager_property_init_rdsecurity_finish_timestamp_monotonic_annotation_info_pointers + }, + "init-rdsecurity-finish-timestamp-monotonic", + FALSE, + FALSE +}; + +static const GDBusAnnotationInfo _systemd1_manager_property_init_rdgenerators_start_timestamp_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.DBus.Property.EmitsChangedSignal", + (gchar *) "const", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_manager_property_init_rdgenerators_start_timestamp_annotation_info_pointers[] = +{ + &_systemd1_manager_property_init_rdgenerators_start_timestamp_annotation_info_0, + NULL +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_manager_property_info_init_rdgenerators_start_timestamp = +{ + { + -1, + (gchar *) "InitRDGeneratorsStartTimestamp", + (gchar *) "t", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + (GDBusAnnotationInfo **) &_systemd1_manager_property_init_rdgenerators_start_timestamp_annotation_info_pointers + }, + "init-rdgenerators-start-timestamp", + FALSE, + FALSE +}; + +static const GDBusAnnotationInfo _systemd1_manager_property_init_rdgenerators_start_timestamp_monotonic_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.DBus.Property.EmitsChangedSignal", + (gchar *) "const", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_manager_property_init_rdgenerators_start_timestamp_monotonic_annotation_info_pointers[] = +{ + &_systemd1_manager_property_init_rdgenerators_start_timestamp_monotonic_annotation_info_0, + NULL +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_manager_property_info_init_rdgenerators_start_timestamp_monotonic = +{ + { + -1, + (gchar *) "InitRDGeneratorsStartTimestampMonotonic", + (gchar *) "t", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + (GDBusAnnotationInfo **) &_systemd1_manager_property_init_rdgenerators_start_timestamp_monotonic_annotation_info_pointers + }, + "init-rdgenerators-start-timestamp-monotonic", + FALSE, + FALSE +}; + +static const GDBusAnnotationInfo _systemd1_manager_property_init_rdgenerators_finish_timestamp_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.DBus.Property.EmitsChangedSignal", + (gchar *) "const", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_manager_property_init_rdgenerators_finish_timestamp_annotation_info_pointers[] = +{ + &_systemd1_manager_property_init_rdgenerators_finish_timestamp_annotation_info_0, + NULL +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_manager_property_info_init_rdgenerators_finish_timestamp = +{ + { + -1, + (gchar *) "InitRDGeneratorsFinishTimestamp", + (gchar *) "t", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + (GDBusAnnotationInfo **) &_systemd1_manager_property_init_rdgenerators_finish_timestamp_annotation_info_pointers + }, + "init-rdgenerators-finish-timestamp", + FALSE, + FALSE +}; + +static const GDBusAnnotationInfo _systemd1_manager_property_init_rdgenerators_finish_timestamp_monotonic_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.DBus.Property.EmitsChangedSignal", + (gchar *) "const", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_manager_property_init_rdgenerators_finish_timestamp_monotonic_annotation_info_pointers[] = +{ + &_systemd1_manager_property_init_rdgenerators_finish_timestamp_monotonic_annotation_info_0, + NULL +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_manager_property_info_init_rdgenerators_finish_timestamp_monotonic = +{ + { + -1, + (gchar *) "InitRDGeneratorsFinishTimestampMonotonic", + (gchar *) "t", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + (GDBusAnnotationInfo **) &_systemd1_manager_property_init_rdgenerators_finish_timestamp_monotonic_annotation_info_pointers + }, + "init-rdgenerators-finish-timestamp-monotonic", + FALSE, + FALSE +}; + +static const GDBusAnnotationInfo _systemd1_manager_property_init_rdunits_load_start_timestamp_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.DBus.Property.EmitsChangedSignal", + (gchar *) "const", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_manager_property_init_rdunits_load_start_timestamp_annotation_info_pointers[] = +{ + &_systemd1_manager_property_init_rdunits_load_start_timestamp_annotation_info_0, + NULL +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_manager_property_info_init_rdunits_load_start_timestamp = +{ + { + -1, + (gchar *) "InitRDUnitsLoadStartTimestamp", + (gchar *) "t", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + (GDBusAnnotationInfo **) &_systemd1_manager_property_init_rdunits_load_start_timestamp_annotation_info_pointers + }, + "init-rdunits-load-start-timestamp", + FALSE, + FALSE +}; + +static const GDBusAnnotationInfo _systemd1_manager_property_init_rdunits_load_start_timestamp_monotonic_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.DBus.Property.EmitsChangedSignal", + (gchar *) "const", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_manager_property_init_rdunits_load_start_timestamp_monotonic_annotation_info_pointers[] = +{ + &_systemd1_manager_property_init_rdunits_load_start_timestamp_monotonic_annotation_info_0, + NULL +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_manager_property_info_init_rdunits_load_start_timestamp_monotonic = +{ + { + -1, + (gchar *) "InitRDUnitsLoadStartTimestampMonotonic", + (gchar *) "t", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + (GDBusAnnotationInfo **) &_systemd1_manager_property_init_rdunits_load_start_timestamp_monotonic_annotation_info_pointers + }, + "init-rdunits-load-start-timestamp-monotonic", + FALSE, + FALSE +}; + +static const GDBusAnnotationInfo _systemd1_manager_property_init_rdunits_load_finish_timestamp_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.DBus.Property.EmitsChangedSignal", + (gchar *) "const", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_manager_property_init_rdunits_load_finish_timestamp_annotation_info_pointers[] = +{ + &_systemd1_manager_property_init_rdunits_load_finish_timestamp_annotation_info_0, + NULL +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_manager_property_info_init_rdunits_load_finish_timestamp = +{ + { + -1, + (gchar *) "InitRDUnitsLoadFinishTimestamp", + (gchar *) "t", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + (GDBusAnnotationInfo **) &_systemd1_manager_property_init_rdunits_load_finish_timestamp_annotation_info_pointers + }, + "init-rdunits-load-finish-timestamp", + FALSE, + FALSE +}; + +static const GDBusAnnotationInfo _systemd1_manager_property_init_rdunits_load_finish_timestamp_monotonic_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.DBus.Property.EmitsChangedSignal", + (gchar *) "const", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_manager_property_init_rdunits_load_finish_timestamp_monotonic_annotation_info_pointers[] = +{ + &_systemd1_manager_property_init_rdunits_load_finish_timestamp_monotonic_annotation_info_0, + NULL +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_manager_property_info_init_rdunits_load_finish_timestamp_monotonic = +{ + { + -1, + (gchar *) "InitRDUnitsLoadFinishTimestampMonotonic", + (gchar *) "t", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + (GDBusAnnotationInfo **) &_systemd1_manager_property_init_rdunits_load_finish_timestamp_monotonic_annotation_info_pointers + }, + "init-rdunits-load-finish-timestamp-monotonic", + FALSE, + FALSE +}; + +static const GDBusAnnotationInfo _systemd1_manager_property_log_level_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.DBus.Property.EmitsChangedSignal", + (gchar *) "false", + NULL +}; + +static const GDBusAnnotationInfo _systemd1_manager_property_log_level_annotation_info_1 = +{ + -1, + (gchar *) "org.freedesktop.systemd1.Privileged", + (gchar *) "true", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_manager_property_log_level_annotation_info_pointers[] = +{ + &_systemd1_manager_property_log_level_annotation_info_0, + &_systemd1_manager_property_log_level_annotation_info_1, + NULL +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_manager_property_info_log_level = +{ + { + -1, + (gchar *) "LogLevel", + (gchar *) "s", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE | G_DBUS_PROPERTY_INFO_FLAGS_WRITABLE, + (GDBusAnnotationInfo **) &_systemd1_manager_property_log_level_annotation_info_pointers + }, + "log-level", + FALSE, + FALSE +}; + +static const GDBusAnnotationInfo _systemd1_manager_property_log_target_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.DBus.Property.EmitsChangedSignal", + (gchar *) "false", + NULL +}; + +static const GDBusAnnotationInfo _systemd1_manager_property_log_target_annotation_info_1 = +{ + -1, + (gchar *) "org.freedesktop.systemd1.Privileged", + (gchar *) "true", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_manager_property_log_target_annotation_info_pointers[] = +{ + &_systemd1_manager_property_log_target_annotation_info_0, + &_systemd1_manager_property_log_target_annotation_info_1, + NULL +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_manager_property_info_log_target = +{ + { + -1, + (gchar *) "LogTarget", + (gchar *) "s", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE | G_DBUS_PROPERTY_INFO_FLAGS_WRITABLE, + (GDBusAnnotationInfo **) &_systemd1_manager_property_log_target_annotation_info_pointers + }, + "log-target", + FALSE, + FALSE +}; + +static const GDBusAnnotationInfo _systemd1_manager_property_nnames_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.DBus.Property.EmitsChangedSignal", + (gchar *) "false", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_manager_property_nnames_annotation_info_pointers[] = +{ + &_systemd1_manager_property_nnames_annotation_info_0, + NULL +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_manager_property_info_nnames = +{ + { + -1, + (gchar *) "NNames", + (gchar *) "u", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + (GDBusAnnotationInfo **) &_systemd1_manager_property_nnames_annotation_info_pointers + }, + "nnames", + FALSE, + FALSE +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_manager_property_info_nfailed_units = +{ + { + -1, + (gchar *) "NFailedUnits", + (gchar *) "u", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + NULL + }, + "nfailed-units", + FALSE, + TRUE +}; + +static const GDBusAnnotationInfo _systemd1_manager_property_njobs_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.DBus.Property.EmitsChangedSignal", + (gchar *) "false", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_manager_property_njobs_annotation_info_pointers[] = +{ + &_systemd1_manager_property_njobs_annotation_info_0, + NULL +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_manager_property_info_njobs = +{ + { + -1, + (gchar *) "NJobs", + (gchar *) "u", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + (GDBusAnnotationInfo **) &_systemd1_manager_property_njobs_annotation_info_pointers + }, + "njobs", + FALSE, + FALSE +}; + +static const GDBusAnnotationInfo _systemd1_manager_property_ninstalled_jobs_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.DBus.Property.EmitsChangedSignal", + (gchar *) "false", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_manager_property_ninstalled_jobs_annotation_info_pointers[] = +{ + &_systemd1_manager_property_ninstalled_jobs_annotation_info_0, + NULL +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_manager_property_info_ninstalled_jobs = +{ + { + -1, + (gchar *) "NInstalledJobs", + (gchar *) "u", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + (GDBusAnnotationInfo **) &_systemd1_manager_property_ninstalled_jobs_annotation_info_pointers + }, + "ninstalled-jobs", + FALSE, + FALSE +}; + +static const GDBusAnnotationInfo _systemd1_manager_property_nfailed_jobs_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.DBus.Property.EmitsChangedSignal", + (gchar *) "false", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_manager_property_nfailed_jobs_annotation_info_pointers[] = +{ + &_systemd1_manager_property_nfailed_jobs_annotation_info_0, + NULL +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_manager_property_info_nfailed_jobs = +{ + { + -1, + (gchar *) "NFailedJobs", + (gchar *) "u", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + (GDBusAnnotationInfo **) &_systemd1_manager_property_nfailed_jobs_annotation_info_pointers + }, + "nfailed-jobs", + FALSE, + FALSE +}; + +static const GDBusAnnotationInfo _systemd1_manager_property_progress_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.DBus.Property.EmitsChangedSignal", + (gchar *) "false", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_manager_property_progress_annotation_info_pointers[] = +{ + &_systemd1_manager_property_progress_annotation_info_0, + NULL +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_manager_property_info_progress = +{ + { + -1, + (gchar *) "Progress", + (gchar *) "d", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + (GDBusAnnotationInfo **) &_systemd1_manager_property_progress_annotation_info_pointers + }, + "progress", + FALSE, + FALSE +}; + +static const GDBusAnnotationInfo _systemd1_manager_property_environment_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.DBus.Property.EmitsChangedSignal", + (gchar *) "false", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_manager_property_environment_annotation_info_pointers[] = +{ + &_systemd1_manager_property_environment_annotation_info_0, + NULL +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_manager_property_info_environment = +{ + { + -1, + (gchar *) "Environment", + (gchar *) "as", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + (GDBusAnnotationInfo **) &_systemd1_manager_property_environment_annotation_info_pointers + }, + "environment", + FALSE, + FALSE +}; + +static const GDBusAnnotationInfo _systemd1_manager_property_confirm_spawn_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.DBus.Property.EmitsChangedSignal", + (gchar *) "const", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_manager_property_confirm_spawn_annotation_info_pointers[] = +{ + &_systemd1_manager_property_confirm_spawn_annotation_info_0, + NULL +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_manager_property_info_confirm_spawn = +{ + { + -1, + (gchar *) "ConfirmSpawn", + (gchar *) "b", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + (GDBusAnnotationInfo **) &_systemd1_manager_property_confirm_spawn_annotation_info_pointers + }, + "confirm-spawn", + FALSE, + FALSE +}; + +static const GDBusAnnotationInfo _systemd1_manager_property_show_status_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.DBus.Property.EmitsChangedSignal", + (gchar *) "false", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_manager_property_show_status_annotation_info_pointers[] = +{ + &_systemd1_manager_property_show_status_annotation_info_0, + NULL +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_manager_property_info_show_status = +{ + { + -1, + (gchar *) "ShowStatus", + (gchar *) "b", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + (GDBusAnnotationInfo **) &_systemd1_manager_property_show_status_annotation_info_pointers + }, + "show-status", + FALSE, + FALSE +}; + +static const GDBusAnnotationInfo _systemd1_manager_property_unit_path_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.DBus.Property.EmitsChangedSignal", + (gchar *) "const", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_manager_property_unit_path_annotation_info_pointers[] = +{ + &_systemd1_manager_property_unit_path_annotation_info_0, + NULL +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_manager_property_info_unit_path = +{ + { + -1, + (gchar *) "UnitPath", + (gchar *) "as", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + (GDBusAnnotationInfo **) &_systemd1_manager_property_unit_path_annotation_info_pointers + }, + "unit-path", + FALSE, + FALSE +}; + +static const GDBusAnnotationInfo _systemd1_manager_property_default_standard_output_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.DBus.Property.EmitsChangedSignal", + (gchar *) "const", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_manager_property_default_standard_output_annotation_info_pointers[] = +{ + &_systemd1_manager_property_default_standard_output_annotation_info_0, + NULL +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_manager_property_info_default_standard_output = +{ + { + -1, + (gchar *) "DefaultStandardOutput", + (gchar *) "s", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + (GDBusAnnotationInfo **) &_systemd1_manager_property_default_standard_output_annotation_info_pointers + }, + "default-standard-output", + FALSE, + FALSE +}; + +static const GDBusAnnotationInfo _systemd1_manager_property_default_standard_error_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.DBus.Property.EmitsChangedSignal", + (gchar *) "const", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_manager_property_default_standard_error_annotation_info_pointers[] = +{ + &_systemd1_manager_property_default_standard_error_annotation_info_0, + NULL +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_manager_property_info_default_standard_error = +{ + { + -1, + (gchar *) "DefaultStandardError", + (gchar *) "s", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + (GDBusAnnotationInfo **) &_systemd1_manager_property_default_standard_error_annotation_info_pointers + }, + "default-standard-error", + FALSE, + FALSE +}; + +static const GDBusAnnotationInfo _systemd1_manager_property_runtime_watchdog_usec_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.DBus.Property.EmitsChangedSignal", + (gchar *) "false", + NULL +}; + +static const GDBusAnnotationInfo _systemd1_manager_property_runtime_watchdog_usec_annotation_info_1 = +{ + -1, + (gchar *) "org.freedesktop.systemd1.Privileged", + (gchar *) "true", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_manager_property_runtime_watchdog_usec_annotation_info_pointers[] = +{ + &_systemd1_manager_property_runtime_watchdog_usec_annotation_info_0, + &_systemd1_manager_property_runtime_watchdog_usec_annotation_info_1, + NULL +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_manager_property_info_runtime_watchdog_usec = +{ + { + -1, + (gchar *) "RuntimeWatchdogUSec", + (gchar *) "t", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE | G_DBUS_PROPERTY_INFO_FLAGS_WRITABLE, + (GDBusAnnotationInfo **) &_systemd1_manager_property_runtime_watchdog_usec_annotation_info_pointers + }, + "runtime-watchdog-usec", + FALSE, + FALSE +}; + +static const GDBusAnnotationInfo _systemd1_manager_property_reboot_watchdog_usec_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.DBus.Property.EmitsChangedSignal", + (gchar *) "false", + NULL +}; + +static const GDBusAnnotationInfo _systemd1_manager_property_reboot_watchdog_usec_annotation_info_1 = +{ + -1, + (gchar *) "org.freedesktop.systemd1.Privileged", + (gchar *) "true", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_manager_property_reboot_watchdog_usec_annotation_info_pointers[] = +{ + &_systemd1_manager_property_reboot_watchdog_usec_annotation_info_0, + &_systemd1_manager_property_reboot_watchdog_usec_annotation_info_1, + NULL +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_manager_property_info_reboot_watchdog_usec = +{ + { + -1, + (gchar *) "RebootWatchdogUSec", + (gchar *) "t", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE | G_DBUS_PROPERTY_INFO_FLAGS_WRITABLE, + (GDBusAnnotationInfo **) &_systemd1_manager_property_reboot_watchdog_usec_annotation_info_pointers + }, + "reboot-watchdog-usec", + FALSE, + FALSE +}; + +static const GDBusAnnotationInfo _systemd1_manager_property_kexec_watchdog_usec_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.DBus.Property.EmitsChangedSignal", + (gchar *) "false", + NULL +}; + +static const GDBusAnnotationInfo _systemd1_manager_property_kexec_watchdog_usec_annotation_info_1 = +{ + -1, + (gchar *) "org.freedesktop.systemd1.Privileged", + (gchar *) "true", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_manager_property_kexec_watchdog_usec_annotation_info_pointers[] = +{ + &_systemd1_manager_property_kexec_watchdog_usec_annotation_info_0, + &_systemd1_manager_property_kexec_watchdog_usec_annotation_info_1, + NULL +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_manager_property_info_kexec_watchdog_usec = +{ + { + -1, + (gchar *) "KExecWatchdogUSec", + (gchar *) "t", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE | G_DBUS_PROPERTY_INFO_FLAGS_WRITABLE, + (GDBusAnnotationInfo **) &_systemd1_manager_property_kexec_watchdog_usec_annotation_info_pointers + }, + "kexec-watchdog-usec", + FALSE, + FALSE +}; + +static const GDBusAnnotationInfo _systemd1_manager_property_service_watchdogs_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.DBus.Property.EmitsChangedSignal", + (gchar *) "false", + NULL +}; + +static const GDBusAnnotationInfo _systemd1_manager_property_service_watchdogs_annotation_info_1 = +{ + -1, + (gchar *) "org.freedesktop.systemd1.Privileged", + (gchar *) "true", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_manager_property_service_watchdogs_annotation_info_pointers[] = +{ + &_systemd1_manager_property_service_watchdogs_annotation_info_0, + &_systemd1_manager_property_service_watchdogs_annotation_info_1, + NULL +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_manager_property_info_service_watchdogs = +{ + { + -1, + (gchar *) "ServiceWatchdogs", + (gchar *) "b", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE | G_DBUS_PROPERTY_INFO_FLAGS_WRITABLE, + (GDBusAnnotationInfo **) &_systemd1_manager_property_service_watchdogs_annotation_info_pointers + }, + "service-watchdogs", + FALSE, + FALSE +}; + +static const GDBusAnnotationInfo _systemd1_manager_property_control_group_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.DBus.Property.EmitsChangedSignal", + (gchar *) "false", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_manager_property_control_group_annotation_info_pointers[] = +{ + &_systemd1_manager_property_control_group_annotation_info_0, + NULL +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_manager_property_info_control_group = +{ + { + -1, + (gchar *) "ControlGroup", + (gchar *) "s", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + (GDBusAnnotationInfo **) &_systemd1_manager_property_control_group_annotation_info_pointers + }, + "control-group", + FALSE, + FALSE +}; + +static const GDBusAnnotationInfo _systemd1_manager_property_system_state_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.DBus.Property.EmitsChangedSignal", + (gchar *) "false", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_manager_property_system_state_annotation_info_pointers[] = +{ + &_systemd1_manager_property_system_state_annotation_info_0, + NULL +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_manager_property_info_system_state = +{ + { + -1, + (gchar *) "SystemState", + (gchar *) "s", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + (GDBusAnnotationInfo **) &_systemd1_manager_property_system_state_annotation_info_pointers + }, + "system-state", + FALSE, + FALSE +}; + +static const GDBusAnnotationInfo _systemd1_manager_property_exit_code_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.DBus.Property.EmitsChangedSignal", + (gchar *) "false", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_manager_property_exit_code_annotation_info_pointers[] = +{ + &_systemd1_manager_property_exit_code_annotation_info_0, + NULL +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_manager_property_info_exit_code = +{ + { + -1, + (gchar *) "ExitCode", + (gchar *) "y", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + (GDBusAnnotationInfo **) &_systemd1_manager_property_exit_code_annotation_info_pointers + }, + "exit-code", + FALSE, + FALSE +}; + +static const GDBusAnnotationInfo _systemd1_manager_property_default_timer_accuracy_usec_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.DBus.Property.EmitsChangedSignal", + (gchar *) "const", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_manager_property_default_timer_accuracy_usec_annotation_info_pointers[] = +{ + &_systemd1_manager_property_default_timer_accuracy_usec_annotation_info_0, + NULL +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_manager_property_info_default_timer_accuracy_usec = +{ + { + -1, + (gchar *) "DefaultTimerAccuracyUSec", + (gchar *) "t", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + (GDBusAnnotationInfo **) &_systemd1_manager_property_default_timer_accuracy_usec_annotation_info_pointers + }, + "default-timer-accuracy-usec", + FALSE, + FALSE +}; + +static const GDBusAnnotationInfo _systemd1_manager_property_default_timeout_start_usec_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.DBus.Property.EmitsChangedSignal", + (gchar *) "const", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_manager_property_default_timeout_start_usec_annotation_info_pointers[] = +{ + &_systemd1_manager_property_default_timeout_start_usec_annotation_info_0, + NULL +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_manager_property_info_default_timeout_start_usec = +{ + { + -1, + (gchar *) "DefaultTimeoutStartUSec", + (gchar *) "t", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + (GDBusAnnotationInfo **) &_systemd1_manager_property_default_timeout_start_usec_annotation_info_pointers + }, + "default-timeout-start-usec", + FALSE, + FALSE +}; + +static const GDBusAnnotationInfo _systemd1_manager_property_default_timeout_stop_usec_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.DBus.Property.EmitsChangedSignal", + (gchar *) "const", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_manager_property_default_timeout_stop_usec_annotation_info_pointers[] = +{ + &_systemd1_manager_property_default_timeout_stop_usec_annotation_info_0, + NULL +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_manager_property_info_default_timeout_stop_usec = +{ + { + -1, + (gchar *) "DefaultTimeoutStopUSec", + (gchar *) "t", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + (GDBusAnnotationInfo **) &_systemd1_manager_property_default_timeout_stop_usec_annotation_info_pointers + }, + "default-timeout-stop-usec", + FALSE, + FALSE +}; + +static const GDBusAnnotationInfo _systemd1_manager_property_default_timeout_abort_usec_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.DBus.Property.EmitsChangedSignal", + (gchar *) "false", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_manager_property_default_timeout_abort_usec_annotation_info_pointers[] = +{ + &_systemd1_manager_property_default_timeout_abort_usec_annotation_info_0, + NULL +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_manager_property_info_default_timeout_abort_usec = +{ + { + -1, + (gchar *) "DefaultTimeoutAbortUSec", + (gchar *) "t", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + (GDBusAnnotationInfo **) &_systemd1_manager_property_default_timeout_abort_usec_annotation_info_pointers + }, + "default-timeout-abort-usec", + FALSE, + FALSE +}; + +static const GDBusAnnotationInfo _systemd1_manager_property_default_restart_usec_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.DBus.Property.EmitsChangedSignal", + (gchar *) "const", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_manager_property_default_restart_usec_annotation_info_pointers[] = +{ + &_systemd1_manager_property_default_restart_usec_annotation_info_0, + NULL +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_manager_property_info_default_restart_usec = +{ + { + -1, + (gchar *) "DefaultRestartUSec", + (gchar *) "t", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + (GDBusAnnotationInfo **) &_systemd1_manager_property_default_restart_usec_annotation_info_pointers + }, + "default-restart-usec", + FALSE, + FALSE +}; + +static const GDBusAnnotationInfo _systemd1_manager_property_default_start_limit_interval_usec_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.DBus.Property.EmitsChangedSignal", + (gchar *) "const", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_manager_property_default_start_limit_interval_usec_annotation_info_pointers[] = +{ + &_systemd1_manager_property_default_start_limit_interval_usec_annotation_info_0, + NULL +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_manager_property_info_default_start_limit_interval_usec = +{ + { + -1, + (gchar *) "DefaultStartLimitIntervalUSec", + (gchar *) "t", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + (GDBusAnnotationInfo **) &_systemd1_manager_property_default_start_limit_interval_usec_annotation_info_pointers + }, + "default-start-limit-interval-usec", + FALSE, + FALSE +}; + +static const GDBusAnnotationInfo _systemd1_manager_property_default_start_limit_burst_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.DBus.Property.EmitsChangedSignal", + (gchar *) "const", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_manager_property_default_start_limit_burst_annotation_info_pointers[] = +{ + &_systemd1_manager_property_default_start_limit_burst_annotation_info_0, + NULL +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_manager_property_info_default_start_limit_burst = +{ + { + -1, + (gchar *) "DefaultStartLimitBurst", + (gchar *) "u", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + (GDBusAnnotationInfo **) &_systemd1_manager_property_default_start_limit_burst_annotation_info_pointers + }, + "default-start-limit-burst", + FALSE, + FALSE +}; + +static const GDBusAnnotationInfo _systemd1_manager_property_default_cpuaccounting_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.DBus.Property.EmitsChangedSignal", + (gchar *) "const", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_manager_property_default_cpuaccounting_annotation_info_pointers[] = +{ + &_systemd1_manager_property_default_cpuaccounting_annotation_info_0, + NULL +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_manager_property_info_default_cpuaccounting = +{ + { + -1, + (gchar *) "DefaultCPUAccounting", + (gchar *) "b", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + (GDBusAnnotationInfo **) &_systemd1_manager_property_default_cpuaccounting_annotation_info_pointers + }, + "default-cpuaccounting", + FALSE, + FALSE +}; + +static const GDBusAnnotationInfo _systemd1_manager_property_default_block_ioaccounting_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.DBus.Property.EmitsChangedSignal", + (gchar *) "const", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_manager_property_default_block_ioaccounting_annotation_info_pointers[] = +{ + &_systemd1_manager_property_default_block_ioaccounting_annotation_info_0, + NULL +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_manager_property_info_default_block_ioaccounting = +{ + { + -1, + (gchar *) "DefaultBlockIOAccounting", + (gchar *) "b", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + (GDBusAnnotationInfo **) &_systemd1_manager_property_default_block_ioaccounting_annotation_info_pointers + }, + "default-block-ioaccounting", + FALSE, + FALSE +}; + +static const GDBusAnnotationInfo _systemd1_manager_property_default_memory_accounting_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.DBus.Property.EmitsChangedSignal", + (gchar *) "const", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_manager_property_default_memory_accounting_annotation_info_pointers[] = +{ + &_systemd1_manager_property_default_memory_accounting_annotation_info_0, + NULL +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_manager_property_info_default_memory_accounting = +{ + { + -1, + (gchar *) "DefaultMemoryAccounting", + (gchar *) "b", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + (GDBusAnnotationInfo **) &_systemd1_manager_property_default_memory_accounting_annotation_info_pointers + }, + "default-memory-accounting", + FALSE, + FALSE +}; + +static const GDBusAnnotationInfo _systemd1_manager_property_default_tasks_accounting_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.DBus.Property.EmitsChangedSignal", + (gchar *) "const", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_manager_property_default_tasks_accounting_annotation_info_pointers[] = +{ + &_systemd1_manager_property_default_tasks_accounting_annotation_info_0, + NULL +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_manager_property_info_default_tasks_accounting = +{ + { + -1, + (gchar *) "DefaultTasksAccounting", + (gchar *) "b", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + (GDBusAnnotationInfo **) &_systemd1_manager_property_default_tasks_accounting_annotation_info_pointers + }, + "default-tasks-accounting", + FALSE, + FALSE +}; + +static const GDBusAnnotationInfo _systemd1_manager_property_default_limit_cpu_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.DBus.Property.EmitsChangedSignal", + (gchar *) "const", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_manager_property_default_limit_cpu_annotation_info_pointers[] = +{ + &_systemd1_manager_property_default_limit_cpu_annotation_info_0, + NULL +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_manager_property_info_default_limit_cpu = +{ + { + -1, + (gchar *) "DefaultLimitCPU", + (gchar *) "t", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + (GDBusAnnotationInfo **) &_systemd1_manager_property_default_limit_cpu_annotation_info_pointers + }, + "default-limit-cpu", + FALSE, + FALSE +}; + +static const GDBusAnnotationInfo _systemd1_manager_property_default_limit_cpusoft_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.DBus.Property.EmitsChangedSignal", + (gchar *) "const", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_manager_property_default_limit_cpusoft_annotation_info_pointers[] = +{ + &_systemd1_manager_property_default_limit_cpusoft_annotation_info_0, + NULL +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_manager_property_info_default_limit_cpusoft = +{ + { + -1, + (gchar *) "DefaultLimitCPUSoft", + (gchar *) "t", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + (GDBusAnnotationInfo **) &_systemd1_manager_property_default_limit_cpusoft_annotation_info_pointers + }, + "default-limit-cpusoft", + FALSE, + FALSE +}; + +static const GDBusAnnotationInfo _systemd1_manager_property_default_limit_fsize_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.DBus.Property.EmitsChangedSignal", + (gchar *) "const", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_manager_property_default_limit_fsize_annotation_info_pointers[] = +{ + &_systemd1_manager_property_default_limit_fsize_annotation_info_0, + NULL +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_manager_property_info_default_limit_fsize = +{ + { + -1, + (gchar *) "DefaultLimitFSIZE", + (gchar *) "t", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + (GDBusAnnotationInfo **) &_systemd1_manager_property_default_limit_fsize_annotation_info_pointers + }, + "default-limit-fsize", + FALSE, + FALSE +}; + +static const GDBusAnnotationInfo _systemd1_manager_property_default_limit_fsizesoft_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.DBus.Property.EmitsChangedSignal", + (gchar *) "const", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_manager_property_default_limit_fsizesoft_annotation_info_pointers[] = +{ + &_systemd1_manager_property_default_limit_fsizesoft_annotation_info_0, + NULL +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_manager_property_info_default_limit_fsizesoft = +{ + { + -1, + (gchar *) "DefaultLimitFSIZESoft", + (gchar *) "t", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + (GDBusAnnotationInfo **) &_systemd1_manager_property_default_limit_fsizesoft_annotation_info_pointers + }, + "default-limit-fsizesoft", + FALSE, + FALSE +}; + +static const GDBusAnnotationInfo _systemd1_manager_property_default_limit_data_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.DBus.Property.EmitsChangedSignal", + (gchar *) "const", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_manager_property_default_limit_data_annotation_info_pointers[] = +{ + &_systemd1_manager_property_default_limit_data_annotation_info_0, + NULL +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_manager_property_info_default_limit_data = +{ + { + -1, + (gchar *) "DefaultLimitDATA", + (gchar *) "t", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + (GDBusAnnotationInfo **) &_systemd1_manager_property_default_limit_data_annotation_info_pointers + }, + "default-limit-data", + FALSE, + FALSE +}; + +static const GDBusAnnotationInfo _systemd1_manager_property_default_limit_datasoft_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.DBus.Property.EmitsChangedSignal", + (gchar *) "const", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_manager_property_default_limit_datasoft_annotation_info_pointers[] = +{ + &_systemd1_manager_property_default_limit_datasoft_annotation_info_0, + NULL +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_manager_property_info_default_limit_datasoft = +{ + { + -1, + (gchar *) "DefaultLimitDATASoft", + (gchar *) "t", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + (GDBusAnnotationInfo **) &_systemd1_manager_property_default_limit_datasoft_annotation_info_pointers + }, + "default-limit-datasoft", + FALSE, + FALSE +}; + +static const GDBusAnnotationInfo _systemd1_manager_property_default_limit_stack_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.DBus.Property.EmitsChangedSignal", + (gchar *) "const", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_manager_property_default_limit_stack_annotation_info_pointers[] = +{ + &_systemd1_manager_property_default_limit_stack_annotation_info_0, + NULL +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_manager_property_info_default_limit_stack = +{ + { + -1, + (gchar *) "DefaultLimitSTACK", + (gchar *) "t", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + (GDBusAnnotationInfo **) &_systemd1_manager_property_default_limit_stack_annotation_info_pointers + }, + "default-limit-stack", + FALSE, + FALSE +}; + +static const GDBusAnnotationInfo _systemd1_manager_property_default_limit_stacksoft_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.DBus.Property.EmitsChangedSignal", + (gchar *) "const", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_manager_property_default_limit_stacksoft_annotation_info_pointers[] = +{ + &_systemd1_manager_property_default_limit_stacksoft_annotation_info_0, + NULL +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_manager_property_info_default_limit_stacksoft = +{ + { + -1, + (gchar *) "DefaultLimitSTACKSoft", + (gchar *) "t", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + (GDBusAnnotationInfo **) &_systemd1_manager_property_default_limit_stacksoft_annotation_info_pointers + }, + "default-limit-stacksoft", + FALSE, + FALSE +}; + +static const GDBusAnnotationInfo _systemd1_manager_property_default_limit_core_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.DBus.Property.EmitsChangedSignal", + (gchar *) "const", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_manager_property_default_limit_core_annotation_info_pointers[] = +{ + &_systemd1_manager_property_default_limit_core_annotation_info_0, + NULL +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_manager_property_info_default_limit_core = +{ + { + -1, + (gchar *) "DefaultLimitCORE", + (gchar *) "t", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + (GDBusAnnotationInfo **) &_systemd1_manager_property_default_limit_core_annotation_info_pointers + }, + "default-limit-core", + FALSE, + FALSE +}; + +static const GDBusAnnotationInfo _systemd1_manager_property_default_limit_coresoft_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.DBus.Property.EmitsChangedSignal", + (gchar *) "const", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_manager_property_default_limit_coresoft_annotation_info_pointers[] = +{ + &_systemd1_manager_property_default_limit_coresoft_annotation_info_0, + NULL +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_manager_property_info_default_limit_coresoft = +{ + { + -1, + (gchar *) "DefaultLimitCORESoft", + (gchar *) "t", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + (GDBusAnnotationInfo **) &_systemd1_manager_property_default_limit_coresoft_annotation_info_pointers + }, + "default-limit-coresoft", + FALSE, + FALSE +}; + +static const GDBusAnnotationInfo _systemd1_manager_property_default_limit_rss_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.DBus.Property.EmitsChangedSignal", + (gchar *) "const", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_manager_property_default_limit_rss_annotation_info_pointers[] = +{ + &_systemd1_manager_property_default_limit_rss_annotation_info_0, + NULL +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_manager_property_info_default_limit_rss = +{ + { + -1, + (gchar *) "DefaultLimitRSS", + (gchar *) "t", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + (GDBusAnnotationInfo **) &_systemd1_manager_property_default_limit_rss_annotation_info_pointers + }, + "default-limit-rss", + FALSE, + FALSE +}; + +static const GDBusAnnotationInfo _systemd1_manager_property_default_limit_rsssoft_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.DBus.Property.EmitsChangedSignal", + (gchar *) "const", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_manager_property_default_limit_rsssoft_annotation_info_pointers[] = +{ + &_systemd1_manager_property_default_limit_rsssoft_annotation_info_0, + NULL +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_manager_property_info_default_limit_rsssoft = +{ + { + -1, + (gchar *) "DefaultLimitRSSSoft", + (gchar *) "t", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + (GDBusAnnotationInfo **) &_systemd1_manager_property_default_limit_rsssoft_annotation_info_pointers + }, + "default-limit-rsssoft", + FALSE, + FALSE +}; + +static const GDBusAnnotationInfo _systemd1_manager_property_default_limit_nofile_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.DBus.Property.EmitsChangedSignal", + (gchar *) "const", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_manager_property_default_limit_nofile_annotation_info_pointers[] = +{ + &_systemd1_manager_property_default_limit_nofile_annotation_info_0, + NULL +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_manager_property_info_default_limit_nofile = +{ + { + -1, + (gchar *) "DefaultLimitNOFILE", + (gchar *) "t", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + (GDBusAnnotationInfo **) &_systemd1_manager_property_default_limit_nofile_annotation_info_pointers + }, + "default-limit-nofile", + FALSE, + FALSE +}; + +static const GDBusAnnotationInfo _systemd1_manager_property_default_limit_nofilesoft_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.DBus.Property.EmitsChangedSignal", + (gchar *) "const", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_manager_property_default_limit_nofilesoft_annotation_info_pointers[] = +{ + &_systemd1_manager_property_default_limit_nofilesoft_annotation_info_0, + NULL +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_manager_property_info_default_limit_nofilesoft = +{ + { + -1, + (gchar *) "DefaultLimitNOFILESoft", + (gchar *) "t", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + (GDBusAnnotationInfo **) &_systemd1_manager_property_default_limit_nofilesoft_annotation_info_pointers + }, + "default-limit-nofilesoft", + FALSE, + FALSE +}; + +static const GDBusAnnotationInfo _systemd1_manager_property_default_limit_as_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.DBus.Property.EmitsChangedSignal", + (gchar *) "const", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_manager_property_default_limit_as_annotation_info_pointers[] = +{ + &_systemd1_manager_property_default_limit_as_annotation_info_0, + NULL +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_manager_property_info_default_limit_as = +{ + { + -1, + (gchar *) "DefaultLimitAS", + (gchar *) "t", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + (GDBusAnnotationInfo **) &_systemd1_manager_property_default_limit_as_annotation_info_pointers + }, + "default-limit-as", + FALSE, + FALSE +}; + +static const GDBusAnnotationInfo _systemd1_manager_property_default_limit_assoft_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.DBus.Property.EmitsChangedSignal", + (gchar *) "const", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_manager_property_default_limit_assoft_annotation_info_pointers[] = +{ + &_systemd1_manager_property_default_limit_assoft_annotation_info_0, + NULL +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_manager_property_info_default_limit_assoft = +{ + { + -1, + (gchar *) "DefaultLimitASSoft", + (gchar *) "t", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + (GDBusAnnotationInfo **) &_systemd1_manager_property_default_limit_assoft_annotation_info_pointers + }, + "default-limit-assoft", + FALSE, + FALSE +}; + +static const GDBusAnnotationInfo _systemd1_manager_property_default_limit_nproc_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.DBus.Property.EmitsChangedSignal", + (gchar *) "const", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_manager_property_default_limit_nproc_annotation_info_pointers[] = +{ + &_systemd1_manager_property_default_limit_nproc_annotation_info_0, + NULL +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_manager_property_info_default_limit_nproc = +{ + { + -1, + (gchar *) "DefaultLimitNPROC", + (gchar *) "t", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + (GDBusAnnotationInfo **) &_systemd1_manager_property_default_limit_nproc_annotation_info_pointers + }, + "default-limit-nproc", + FALSE, + FALSE +}; + +static const GDBusAnnotationInfo _systemd1_manager_property_default_limit_nprocsoft_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.DBus.Property.EmitsChangedSignal", + (gchar *) "const", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_manager_property_default_limit_nprocsoft_annotation_info_pointers[] = +{ + &_systemd1_manager_property_default_limit_nprocsoft_annotation_info_0, + NULL +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_manager_property_info_default_limit_nprocsoft = +{ + { + -1, + (gchar *) "DefaultLimitNPROCSoft", + (gchar *) "t", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + (GDBusAnnotationInfo **) &_systemd1_manager_property_default_limit_nprocsoft_annotation_info_pointers + }, + "default-limit-nprocsoft", + FALSE, + FALSE +}; + +static const GDBusAnnotationInfo _systemd1_manager_property_default_limit_memlock_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.DBus.Property.EmitsChangedSignal", + (gchar *) "const", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_manager_property_default_limit_memlock_annotation_info_pointers[] = +{ + &_systemd1_manager_property_default_limit_memlock_annotation_info_0, + NULL +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_manager_property_info_default_limit_memlock = +{ + { + -1, + (gchar *) "DefaultLimitMEMLOCK", + (gchar *) "t", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + (GDBusAnnotationInfo **) &_systemd1_manager_property_default_limit_memlock_annotation_info_pointers + }, + "default-limit-memlock", + FALSE, + FALSE +}; + +static const GDBusAnnotationInfo _systemd1_manager_property_default_limit_memlocksoft_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.DBus.Property.EmitsChangedSignal", + (gchar *) "const", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_manager_property_default_limit_memlocksoft_annotation_info_pointers[] = +{ + &_systemd1_manager_property_default_limit_memlocksoft_annotation_info_0, + NULL +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_manager_property_info_default_limit_memlocksoft = +{ + { + -1, + (gchar *) "DefaultLimitMEMLOCKSoft", + (gchar *) "t", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + (GDBusAnnotationInfo **) &_systemd1_manager_property_default_limit_memlocksoft_annotation_info_pointers + }, + "default-limit-memlocksoft", + FALSE, + FALSE +}; + +static const GDBusAnnotationInfo _systemd1_manager_property_default_limit_locks_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.DBus.Property.EmitsChangedSignal", + (gchar *) "const", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_manager_property_default_limit_locks_annotation_info_pointers[] = +{ + &_systemd1_manager_property_default_limit_locks_annotation_info_0, + NULL +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_manager_property_info_default_limit_locks = +{ + { + -1, + (gchar *) "DefaultLimitLOCKS", + (gchar *) "t", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + (GDBusAnnotationInfo **) &_systemd1_manager_property_default_limit_locks_annotation_info_pointers + }, + "default-limit-locks", + FALSE, + FALSE +}; + +static const GDBusAnnotationInfo _systemd1_manager_property_default_limit_lockssoft_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.DBus.Property.EmitsChangedSignal", + (gchar *) "const", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_manager_property_default_limit_lockssoft_annotation_info_pointers[] = +{ + &_systemd1_manager_property_default_limit_lockssoft_annotation_info_0, + NULL +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_manager_property_info_default_limit_lockssoft = +{ + { + -1, + (gchar *) "DefaultLimitLOCKSSoft", + (gchar *) "t", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + (GDBusAnnotationInfo **) &_systemd1_manager_property_default_limit_lockssoft_annotation_info_pointers + }, + "default-limit-lockssoft", + FALSE, + FALSE +}; + +static const GDBusAnnotationInfo _systemd1_manager_property_default_limit_sigpending_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.DBus.Property.EmitsChangedSignal", + (gchar *) "const", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_manager_property_default_limit_sigpending_annotation_info_pointers[] = +{ + &_systemd1_manager_property_default_limit_sigpending_annotation_info_0, + NULL +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_manager_property_info_default_limit_sigpending = +{ + { + -1, + (gchar *) "DefaultLimitSIGPENDING", + (gchar *) "t", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + (GDBusAnnotationInfo **) &_systemd1_manager_property_default_limit_sigpending_annotation_info_pointers + }, + "default-limit-sigpending", + FALSE, + FALSE +}; + +static const GDBusAnnotationInfo _systemd1_manager_property_default_limit_sigpendingsoft_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.DBus.Property.EmitsChangedSignal", + (gchar *) "const", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_manager_property_default_limit_sigpendingsoft_annotation_info_pointers[] = +{ + &_systemd1_manager_property_default_limit_sigpendingsoft_annotation_info_0, + NULL +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_manager_property_info_default_limit_sigpendingsoft = +{ + { + -1, + (gchar *) "DefaultLimitSIGPENDINGSoft", + (gchar *) "t", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + (GDBusAnnotationInfo **) &_systemd1_manager_property_default_limit_sigpendingsoft_annotation_info_pointers + }, + "default-limit-sigpendingsoft", + FALSE, + FALSE +}; + +static const GDBusAnnotationInfo _systemd1_manager_property_default_limit_msgqueue_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.DBus.Property.EmitsChangedSignal", + (gchar *) "const", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_manager_property_default_limit_msgqueue_annotation_info_pointers[] = +{ + &_systemd1_manager_property_default_limit_msgqueue_annotation_info_0, + NULL +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_manager_property_info_default_limit_msgqueue = +{ + { + -1, + (gchar *) "DefaultLimitMSGQUEUE", + (gchar *) "t", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + (GDBusAnnotationInfo **) &_systemd1_manager_property_default_limit_msgqueue_annotation_info_pointers + }, + "default-limit-msgqueue", + FALSE, + FALSE +}; + +static const GDBusAnnotationInfo _systemd1_manager_property_default_limit_msgqueuesoft_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.DBus.Property.EmitsChangedSignal", + (gchar *) "const", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_manager_property_default_limit_msgqueuesoft_annotation_info_pointers[] = +{ + &_systemd1_manager_property_default_limit_msgqueuesoft_annotation_info_0, + NULL +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_manager_property_info_default_limit_msgqueuesoft = +{ + { + -1, + (gchar *) "DefaultLimitMSGQUEUESoft", + (gchar *) "t", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + (GDBusAnnotationInfo **) &_systemd1_manager_property_default_limit_msgqueuesoft_annotation_info_pointers + }, + "default-limit-msgqueuesoft", + FALSE, + FALSE +}; + +static const GDBusAnnotationInfo _systemd1_manager_property_default_limit_nice_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.DBus.Property.EmitsChangedSignal", + (gchar *) "const", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_manager_property_default_limit_nice_annotation_info_pointers[] = +{ + &_systemd1_manager_property_default_limit_nice_annotation_info_0, + NULL +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_manager_property_info_default_limit_nice = +{ + { + -1, + (gchar *) "DefaultLimitNICE", + (gchar *) "t", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + (GDBusAnnotationInfo **) &_systemd1_manager_property_default_limit_nice_annotation_info_pointers + }, + "default-limit-nice", + FALSE, + FALSE +}; + +static const GDBusAnnotationInfo _systemd1_manager_property_default_limit_nicesoft_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.DBus.Property.EmitsChangedSignal", + (gchar *) "const", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_manager_property_default_limit_nicesoft_annotation_info_pointers[] = +{ + &_systemd1_manager_property_default_limit_nicesoft_annotation_info_0, + NULL +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_manager_property_info_default_limit_nicesoft = +{ + { + -1, + (gchar *) "DefaultLimitNICESoft", + (gchar *) "t", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + (GDBusAnnotationInfo **) &_systemd1_manager_property_default_limit_nicesoft_annotation_info_pointers + }, + "default-limit-nicesoft", + FALSE, + FALSE +}; + +static const GDBusAnnotationInfo _systemd1_manager_property_default_limit_rtprio_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.DBus.Property.EmitsChangedSignal", + (gchar *) "const", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_manager_property_default_limit_rtprio_annotation_info_pointers[] = +{ + &_systemd1_manager_property_default_limit_rtprio_annotation_info_0, + NULL +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_manager_property_info_default_limit_rtprio = +{ + { + -1, + (gchar *) "DefaultLimitRTPRIO", + (gchar *) "t", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + (GDBusAnnotationInfo **) &_systemd1_manager_property_default_limit_rtprio_annotation_info_pointers + }, + "default-limit-rtprio", + FALSE, + FALSE +}; + +static const GDBusAnnotationInfo _systemd1_manager_property_default_limit_rtpriosoft_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.DBus.Property.EmitsChangedSignal", + (gchar *) "const", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_manager_property_default_limit_rtpriosoft_annotation_info_pointers[] = +{ + &_systemd1_manager_property_default_limit_rtpriosoft_annotation_info_0, + NULL +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_manager_property_info_default_limit_rtpriosoft = +{ + { + -1, + (gchar *) "DefaultLimitRTPRIOSoft", + (gchar *) "t", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + (GDBusAnnotationInfo **) &_systemd1_manager_property_default_limit_rtpriosoft_annotation_info_pointers + }, + "default-limit-rtpriosoft", + FALSE, + FALSE +}; + +static const GDBusAnnotationInfo _systemd1_manager_property_default_limit_rttime_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.DBus.Property.EmitsChangedSignal", + (gchar *) "const", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_manager_property_default_limit_rttime_annotation_info_pointers[] = +{ + &_systemd1_manager_property_default_limit_rttime_annotation_info_0, + NULL +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_manager_property_info_default_limit_rttime = +{ + { + -1, + (gchar *) "DefaultLimitRTTIME", + (gchar *) "t", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + (GDBusAnnotationInfo **) &_systemd1_manager_property_default_limit_rttime_annotation_info_pointers + }, + "default-limit-rttime", + FALSE, + FALSE +}; + +static const GDBusAnnotationInfo _systemd1_manager_property_default_limit_rttimesoft_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.DBus.Property.EmitsChangedSignal", + (gchar *) "const", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_manager_property_default_limit_rttimesoft_annotation_info_pointers[] = +{ + &_systemd1_manager_property_default_limit_rttimesoft_annotation_info_0, + NULL +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_manager_property_info_default_limit_rttimesoft = +{ + { + -1, + (gchar *) "DefaultLimitRTTIMESoft", + (gchar *) "t", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + (GDBusAnnotationInfo **) &_systemd1_manager_property_default_limit_rttimesoft_annotation_info_pointers + }, + "default-limit-rttimesoft", + FALSE, + FALSE +}; + +static const GDBusAnnotationInfo _systemd1_manager_property_default_tasks_max_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.DBus.Property.EmitsChangedSignal", + (gchar *) "false", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_manager_property_default_tasks_max_annotation_info_pointers[] = +{ + &_systemd1_manager_property_default_tasks_max_annotation_info_0, + NULL +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_manager_property_info_default_tasks_max = +{ + { + -1, + (gchar *) "DefaultTasksMax", + (gchar *) "t", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + (GDBusAnnotationInfo **) &_systemd1_manager_property_default_tasks_max_annotation_info_pointers + }, + "default-tasks-max", + FALSE, + FALSE +}; + +static const GDBusAnnotationInfo _systemd1_manager_property_timer_slack_nsec_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.DBus.Property.EmitsChangedSignal", + (gchar *) "const", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_manager_property_timer_slack_nsec_annotation_info_pointers[] = +{ + &_systemd1_manager_property_timer_slack_nsec_annotation_info_0, + NULL +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_manager_property_info_timer_slack_nsec = +{ + { + -1, + (gchar *) "TimerSlackNSec", + (gchar *) "t", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + (GDBusAnnotationInfo **) &_systemd1_manager_property_timer_slack_nsec_annotation_info_pointers + }, + "timer-slack-nsec", + FALSE, + FALSE +}; + +static const GDBusAnnotationInfo _systemd1_manager_property_default_oompolicy_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.DBus.Property.EmitsChangedSignal", + (gchar *) "const", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_manager_property_default_oompolicy_annotation_info_pointers[] = +{ + &_systemd1_manager_property_default_oompolicy_annotation_info_0, + NULL +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_manager_property_info_default_oompolicy = +{ + { + -1, + (gchar *) "DefaultOOMPolicy", + (gchar *) "s", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + (GDBusAnnotationInfo **) &_systemd1_manager_property_default_oompolicy_annotation_info_pointers + }, + "default-oompolicy", + FALSE, + FALSE +}; + +static const GDBusAnnotationInfo _systemd1_manager_property_ctrl_alt_del_burst_action_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.DBus.Property.EmitsChangedSignal", + (gchar *) "const", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_manager_property_ctrl_alt_del_burst_action_annotation_info_pointers[] = +{ + &_systemd1_manager_property_ctrl_alt_del_burst_action_annotation_info_0, + NULL +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_manager_property_info_ctrl_alt_del_burst_action = +{ + { + -1, + (gchar *) "CtrlAltDelBurstAction", + (gchar *) "s", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + (GDBusAnnotationInfo **) &_systemd1_manager_property_ctrl_alt_del_burst_action_annotation_info_pointers + }, + "ctrl-alt-del-burst-action", + FALSE, + FALSE +}; + +static const GDBusPropertyInfo * const _systemd1_manager_property_info_pointers[] = +{ + &_systemd1_manager_property_info_version.parent_struct, + &_systemd1_manager_property_info_features.parent_struct, + &_systemd1_manager_property_info_virtualization.parent_struct, + &_systemd1_manager_property_info_architecture.parent_struct, + &_systemd1_manager_property_info_tainted.parent_struct, + &_systemd1_manager_property_info_firmware_timestamp.parent_struct, + &_systemd1_manager_property_info_firmware_timestamp_monotonic.parent_struct, + &_systemd1_manager_property_info_loader_timestamp.parent_struct, + &_systemd1_manager_property_info_loader_timestamp_monotonic.parent_struct, + &_systemd1_manager_property_info_kernel_timestamp.parent_struct, + &_systemd1_manager_property_info_kernel_timestamp_monotonic.parent_struct, + &_systemd1_manager_property_info_init_rdtimestamp.parent_struct, + &_systemd1_manager_property_info_init_rdtimestamp_monotonic.parent_struct, + &_systemd1_manager_property_info_userspace_timestamp.parent_struct, + &_systemd1_manager_property_info_userspace_timestamp_monotonic.parent_struct, + &_systemd1_manager_property_info_finish_timestamp.parent_struct, + &_systemd1_manager_property_info_finish_timestamp_monotonic.parent_struct, + &_systemd1_manager_property_info_security_start_timestamp.parent_struct, + &_systemd1_manager_property_info_security_start_timestamp_monotonic.parent_struct, + &_systemd1_manager_property_info_security_finish_timestamp.parent_struct, + &_systemd1_manager_property_info_security_finish_timestamp_monotonic.parent_struct, + &_systemd1_manager_property_info_generators_start_timestamp.parent_struct, + &_systemd1_manager_property_info_generators_start_timestamp_monotonic.parent_struct, + &_systemd1_manager_property_info_generators_finish_timestamp.parent_struct, + &_systemd1_manager_property_info_generators_finish_timestamp_monotonic.parent_struct, + &_systemd1_manager_property_info_units_load_start_timestamp.parent_struct, + &_systemd1_manager_property_info_units_load_start_timestamp_monotonic.parent_struct, + &_systemd1_manager_property_info_units_load_finish_timestamp.parent_struct, + &_systemd1_manager_property_info_units_load_finish_timestamp_monotonic.parent_struct, + &_systemd1_manager_property_info_init_rdsecurity_start_timestamp.parent_struct, + &_systemd1_manager_property_info_init_rdsecurity_start_timestamp_monotonic.parent_struct, + &_systemd1_manager_property_info_init_rdsecurity_finish_timestamp.parent_struct, + &_systemd1_manager_property_info_init_rdsecurity_finish_timestamp_monotonic.parent_struct, + &_systemd1_manager_property_info_init_rdgenerators_start_timestamp.parent_struct, + &_systemd1_manager_property_info_init_rdgenerators_start_timestamp_monotonic.parent_struct, + &_systemd1_manager_property_info_init_rdgenerators_finish_timestamp.parent_struct, + &_systemd1_manager_property_info_init_rdgenerators_finish_timestamp_monotonic.parent_struct, + &_systemd1_manager_property_info_init_rdunits_load_start_timestamp.parent_struct, + &_systemd1_manager_property_info_init_rdunits_load_start_timestamp_monotonic.parent_struct, + &_systemd1_manager_property_info_init_rdunits_load_finish_timestamp.parent_struct, + &_systemd1_manager_property_info_init_rdunits_load_finish_timestamp_monotonic.parent_struct, + &_systemd1_manager_property_info_log_level.parent_struct, + &_systemd1_manager_property_info_log_target.parent_struct, + &_systemd1_manager_property_info_nnames.parent_struct, + &_systemd1_manager_property_info_nfailed_units.parent_struct, + &_systemd1_manager_property_info_njobs.parent_struct, + &_systemd1_manager_property_info_ninstalled_jobs.parent_struct, + &_systemd1_manager_property_info_nfailed_jobs.parent_struct, + &_systemd1_manager_property_info_progress.parent_struct, + &_systemd1_manager_property_info_environment.parent_struct, + &_systemd1_manager_property_info_confirm_spawn.parent_struct, + &_systemd1_manager_property_info_show_status.parent_struct, + &_systemd1_manager_property_info_unit_path.parent_struct, + &_systemd1_manager_property_info_default_standard_output.parent_struct, + &_systemd1_manager_property_info_default_standard_error.parent_struct, + &_systemd1_manager_property_info_runtime_watchdog_usec.parent_struct, + &_systemd1_manager_property_info_reboot_watchdog_usec.parent_struct, + &_systemd1_manager_property_info_kexec_watchdog_usec.parent_struct, + &_systemd1_manager_property_info_service_watchdogs.parent_struct, + &_systemd1_manager_property_info_control_group.parent_struct, + &_systemd1_manager_property_info_system_state.parent_struct, + &_systemd1_manager_property_info_exit_code.parent_struct, + &_systemd1_manager_property_info_default_timer_accuracy_usec.parent_struct, + &_systemd1_manager_property_info_default_timeout_start_usec.parent_struct, + &_systemd1_manager_property_info_default_timeout_stop_usec.parent_struct, + &_systemd1_manager_property_info_default_timeout_abort_usec.parent_struct, + &_systemd1_manager_property_info_default_restart_usec.parent_struct, + &_systemd1_manager_property_info_default_start_limit_interval_usec.parent_struct, + &_systemd1_manager_property_info_default_start_limit_burst.parent_struct, + &_systemd1_manager_property_info_default_cpuaccounting.parent_struct, + &_systemd1_manager_property_info_default_block_ioaccounting.parent_struct, + &_systemd1_manager_property_info_default_memory_accounting.parent_struct, + &_systemd1_manager_property_info_default_tasks_accounting.parent_struct, + &_systemd1_manager_property_info_default_limit_cpu.parent_struct, + &_systemd1_manager_property_info_default_limit_cpusoft.parent_struct, + &_systemd1_manager_property_info_default_limit_fsize.parent_struct, + &_systemd1_manager_property_info_default_limit_fsizesoft.parent_struct, + &_systemd1_manager_property_info_default_limit_data.parent_struct, + &_systemd1_manager_property_info_default_limit_datasoft.parent_struct, + &_systemd1_manager_property_info_default_limit_stack.parent_struct, + &_systemd1_manager_property_info_default_limit_stacksoft.parent_struct, + &_systemd1_manager_property_info_default_limit_core.parent_struct, + &_systemd1_manager_property_info_default_limit_coresoft.parent_struct, + &_systemd1_manager_property_info_default_limit_rss.parent_struct, + &_systemd1_manager_property_info_default_limit_rsssoft.parent_struct, + &_systemd1_manager_property_info_default_limit_nofile.parent_struct, + &_systemd1_manager_property_info_default_limit_nofilesoft.parent_struct, + &_systemd1_manager_property_info_default_limit_as.parent_struct, + &_systemd1_manager_property_info_default_limit_assoft.parent_struct, + &_systemd1_manager_property_info_default_limit_nproc.parent_struct, + &_systemd1_manager_property_info_default_limit_nprocsoft.parent_struct, + &_systemd1_manager_property_info_default_limit_memlock.parent_struct, + &_systemd1_manager_property_info_default_limit_memlocksoft.parent_struct, + &_systemd1_manager_property_info_default_limit_locks.parent_struct, + &_systemd1_manager_property_info_default_limit_lockssoft.parent_struct, + &_systemd1_manager_property_info_default_limit_sigpending.parent_struct, + &_systemd1_manager_property_info_default_limit_sigpendingsoft.parent_struct, + &_systemd1_manager_property_info_default_limit_msgqueue.parent_struct, + &_systemd1_manager_property_info_default_limit_msgqueuesoft.parent_struct, + &_systemd1_manager_property_info_default_limit_nice.parent_struct, + &_systemd1_manager_property_info_default_limit_nicesoft.parent_struct, + &_systemd1_manager_property_info_default_limit_rtprio.parent_struct, + &_systemd1_manager_property_info_default_limit_rtpriosoft.parent_struct, + &_systemd1_manager_property_info_default_limit_rttime.parent_struct, + &_systemd1_manager_property_info_default_limit_rttimesoft.parent_struct, + &_systemd1_manager_property_info_default_tasks_max.parent_struct, + &_systemd1_manager_property_info_timer_slack_nsec.parent_struct, + &_systemd1_manager_property_info_default_oompolicy.parent_struct, + &_systemd1_manager_property_info_ctrl_alt_del_burst_action.parent_struct, + NULL +}; + +static const _ExtendedGDBusInterfaceInfo _systemd1_manager_interface_info = +{ + { + -1, + (gchar *) "org.freedesktop.systemd1.Manager", + (GDBusMethodInfo **) &_systemd1_manager_method_info_pointers, + (GDBusSignalInfo **) &_systemd1_manager_signal_info_pointers, + (GDBusPropertyInfo **) &_systemd1_manager_property_info_pointers, + NULL + }, + "systemd1-manager", +}; + + +/** + * systemd1_manager_interface_info: + * + * Gets a machine-readable description of the <link linkend="gdbus-interface-org-freedesktop-systemd1-Manager.top_of_page">org.freedesktop.systemd1.Manager</link> D-Bus interface. + * + * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. + */ +GDBusInterfaceInfo * +systemd1_manager_interface_info (void) +{ + return (GDBusInterfaceInfo *) &_systemd1_manager_interface_info.parent_struct; +} + +/** + * systemd1_manager_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 #Systemd1Manager interface for a concrete class. + * The properties are overridden in the order they are defined. + * + * Returns: The last property id. + */ +guint +systemd1_manager_override_properties (GObjectClass *klass, guint property_id_begin) +{ + g_object_class_override_property (klass, property_id_begin++, "version"); + g_object_class_override_property (klass, property_id_begin++, "features"); + g_object_class_override_property (klass, property_id_begin++, "virtualization"); + g_object_class_override_property (klass, property_id_begin++, "architecture"); + g_object_class_override_property (klass, property_id_begin++, "tainted"); + g_object_class_override_property (klass, property_id_begin++, "firmware-timestamp"); + g_object_class_override_property (klass, property_id_begin++, "firmware-timestamp-monotonic"); + g_object_class_override_property (klass, property_id_begin++, "loader-timestamp"); + g_object_class_override_property (klass, property_id_begin++, "loader-timestamp-monotonic"); + g_object_class_override_property (klass, property_id_begin++, "kernel-timestamp"); + g_object_class_override_property (klass, property_id_begin++, "kernel-timestamp-monotonic"); + g_object_class_override_property (klass, property_id_begin++, "init-rdtimestamp"); + g_object_class_override_property (klass, property_id_begin++, "init-rdtimestamp-monotonic"); + g_object_class_override_property (klass, property_id_begin++, "userspace-timestamp"); + g_object_class_override_property (klass, property_id_begin++, "userspace-timestamp-monotonic"); + g_object_class_override_property (klass, property_id_begin++, "finish-timestamp"); + g_object_class_override_property (klass, property_id_begin++, "finish-timestamp-monotonic"); + g_object_class_override_property (klass, property_id_begin++, "security-start-timestamp"); + g_object_class_override_property (klass, property_id_begin++, "security-start-timestamp-monotonic"); + g_object_class_override_property (klass, property_id_begin++, "security-finish-timestamp"); + g_object_class_override_property (klass, property_id_begin++, "security-finish-timestamp-monotonic"); + g_object_class_override_property (klass, property_id_begin++, "generators-start-timestamp"); + g_object_class_override_property (klass, property_id_begin++, "generators-start-timestamp-monotonic"); + g_object_class_override_property (klass, property_id_begin++, "generators-finish-timestamp"); + g_object_class_override_property (klass, property_id_begin++, "generators-finish-timestamp-monotonic"); + g_object_class_override_property (klass, property_id_begin++, "units-load-start-timestamp"); + g_object_class_override_property (klass, property_id_begin++, "units-load-start-timestamp-monotonic"); + g_object_class_override_property (klass, property_id_begin++, "units-load-finish-timestamp"); + g_object_class_override_property (klass, property_id_begin++, "units-load-finish-timestamp-monotonic"); + g_object_class_override_property (klass, property_id_begin++, "init-rdsecurity-start-timestamp"); + g_object_class_override_property (klass, property_id_begin++, "init-rdsecurity-start-timestamp-monotonic"); + g_object_class_override_property (klass, property_id_begin++, "init-rdsecurity-finish-timestamp"); + g_object_class_override_property (klass, property_id_begin++, "init-rdsecurity-finish-timestamp-monotonic"); + g_object_class_override_property (klass, property_id_begin++, "init-rdgenerators-start-timestamp"); + g_object_class_override_property (klass, property_id_begin++, "init-rdgenerators-start-timestamp-monotonic"); + g_object_class_override_property (klass, property_id_begin++, "init-rdgenerators-finish-timestamp"); + g_object_class_override_property (klass, property_id_begin++, "init-rdgenerators-finish-timestamp-monotonic"); + g_object_class_override_property (klass, property_id_begin++, "init-rdunits-load-start-timestamp"); + g_object_class_override_property (klass, property_id_begin++, "init-rdunits-load-start-timestamp-monotonic"); + g_object_class_override_property (klass, property_id_begin++, "init-rdunits-load-finish-timestamp"); + g_object_class_override_property (klass, property_id_begin++, "init-rdunits-load-finish-timestamp-monotonic"); + g_object_class_override_property (klass, property_id_begin++, "log-level"); + g_object_class_override_property (klass, property_id_begin++, "log-target"); + g_object_class_override_property (klass, property_id_begin++, "nnames"); + g_object_class_override_property (klass, property_id_begin++, "nfailed-units"); + g_object_class_override_property (klass, property_id_begin++, "njobs"); + g_object_class_override_property (klass, property_id_begin++, "ninstalled-jobs"); + g_object_class_override_property (klass, property_id_begin++, "nfailed-jobs"); + g_object_class_override_property (klass, property_id_begin++, "progress"); + g_object_class_override_property (klass, property_id_begin++, "environment"); + g_object_class_override_property (klass, property_id_begin++, "confirm-spawn"); + g_object_class_override_property (klass, property_id_begin++, "show-status"); + g_object_class_override_property (klass, property_id_begin++, "unit-path"); + g_object_class_override_property (klass, property_id_begin++, "default-standard-output"); + g_object_class_override_property (klass, property_id_begin++, "default-standard-error"); + g_object_class_override_property (klass, property_id_begin++, "runtime-watchdog-usec"); + g_object_class_override_property (klass, property_id_begin++, "reboot-watchdog-usec"); + g_object_class_override_property (klass, property_id_begin++, "kexec-watchdog-usec"); + g_object_class_override_property (klass, property_id_begin++, "service-watchdogs"); + g_object_class_override_property (klass, property_id_begin++, "control-group"); + g_object_class_override_property (klass, property_id_begin++, "system-state"); + g_object_class_override_property (klass, property_id_begin++, "exit-code"); + g_object_class_override_property (klass, property_id_begin++, "default-timer-accuracy-usec"); + g_object_class_override_property (klass, property_id_begin++, "default-timeout-start-usec"); + g_object_class_override_property (klass, property_id_begin++, "default-timeout-stop-usec"); + g_object_class_override_property (klass, property_id_begin++, "default-timeout-abort-usec"); + g_object_class_override_property (klass, property_id_begin++, "default-restart-usec"); + g_object_class_override_property (klass, property_id_begin++, "default-start-limit-interval-usec"); + g_object_class_override_property (klass, property_id_begin++, "default-start-limit-burst"); + g_object_class_override_property (klass, property_id_begin++, "default-cpuaccounting"); + g_object_class_override_property (klass, property_id_begin++, "default-block-ioaccounting"); + g_object_class_override_property (klass, property_id_begin++, "default-memory-accounting"); + g_object_class_override_property (klass, property_id_begin++, "default-tasks-accounting"); + g_object_class_override_property (klass, property_id_begin++, "default-limit-cpu"); + g_object_class_override_property (klass, property_id_begin++, "default-limit-cpusoft"); + g_object_class_override_property (klass, property_id_begin++, "default-limit-fsize"); + g_object_class_override_property (klass, property_id_begin++, "default-limit-fsizesoft"); + g_object_class_override_property (klass, property_id_begin++, "default-limit-data"); + g_object_class_override_property (klass, property_id_begin++, "default-limit-datasoft"); + g_object_class_override_property (klass, property_id_begin++, "default-limit-stack"); + g_object_class_override_property (klass, property_id_begin++, "default-limit-stacksoft"); + g_object_class_override_property (klass, property_id_begin++, "default-limit-core"); + g_object_class_override_property (klass, property_id_begin++, "default-limit-coresoft"); + g_object_class_override_property (klass, property_id_begin++, "default-limit-rss"); + g_object_class_override_property (klass, property_id_begin++, "default-limit-rsssoft"); + g_object_class_override_property (klass, property_id_begin++, "default-limit-nofile"); + g_object_class_override_property (klass, property_id_begin++, "default-limit-nofilesoft"); + g_object_class_override_property (klass, property_id_begin++, "default-limit-as"); + g_object_class_override_property (klass, property_id_begin++, "default-limit-assoft"); + g_object_class_override_property (klass, property_id_begin++, "default-limit-nproc"); + g_object_class_override_property (klass, property_id_begin++, "default-limit-nprocsoft"); + g_object_class_override_property (klass, property_id_begin++, "default-limit-memlock"); + g_object_class_override_property (klass, property_id_begin++, "default-limit-memlocksoft"); + g_object_class_override_property (klass, property_id_begin++, "default-limit-locks"); + g_object_class_override_property (klass, property_id_begin++, "default-limit-lockssoft"); + g_object_class_override_property (klass, property_id_begin++, "default-limit-sigpending"); + g_object_class_override_property (klass, property_id_begin++, "default-limit-sigpendingsoft"); + g_object_class_override_property (klass, property_id_begin++, "default-limit-msgqueue"); + g_object_class_override_property (klass, property_id_begin++, "default-limit-msgqueuesoft"); + g_object_class_override_property (klass, property_id_begin++, "default-limit-nice"); + g_object_class_override_property (klass, property_id_begin++, "default-limit-nicesoft"); + g_object_class_override_property (klass, property_id_begin++, "default-limit-rtprio"); + g_object_class_override_property (klass, property_id_begin++, "default-limit-rtpriosoft"); + g_object_class_override_property (klass, property_id_begin++, "default-limit-rttime"); + g_object_class_override_property (klass, property_id_begin++, "default-limit-rttimesoft"); + g_object_class_override_property (klass, property_id_begin++, "default-tasks-max"); + g_object_class_override_property (klass, property_id_begin++, "timer-slack-nsec"); + g_object_class_override_property (klass, property_id_begin++, "default-oompolicy"); + g_object_class_override_property (klass, property_id_begin++, "ctrl-alt-del-burst-action"); + return property_id_begin - 1; +} + + + +/** + * Systemd1Manager: + * + * Abstract interface type for the D-Bus interface <link linkend="gdbus-interface-org-freedesktop-systemd1-Manager.top_of_page">org.freedesktop.systemd1.Manager</link>. + */ + +/** + * Systemd1ManagerIface: + * @parent_iface: The parent interface. + * @handle_abandon_scope: Handler for the #Systemd1Manager::handle-abandon-scope signal. + * @handle_add_dependency_unit_files: Handler for the #Systemd1Manager::handle-add-dependency-unit-files signal. + * @handle_attach_processes_to_unit: Handler for the #Systemd1Manager::handle-attach-processes-to-unit signal. + * @handle_bind_mount_unit: Handler for the #Systemd1Manager::handle-bind-mount-unit signal. + * @handle_cancel_job: Handler for the #Systemd1Manager::handle-cancel-job signal. + * @handle_clean_unit: Handler for the #Systemd1Manager::handle-clean-unit signal. + * @handle_clear_jobs: Handler for the #Systemd1Manager::handle-clear-jobs signal. + * @handle_disable_unit_files: Handler for the #Systemd1Manager::handle-disable-unit-files signal. + * @handle_disable_unit_files_with_flags: Handler for the #Systemd1Manager::handle-disable-unit-files-with-flags signal. + * @handle_dump: Handler for the #Systemd1Manager::handle-dump signal. + * @handle_dump_by_file_descriptor: Handler for the #Systemd1Manager::handle-dump-by-file-descriptor signal. + * @handle_enable_unit_files: Handler for the #Systemd1Manager::handle-enable-unit-files signal. + * @handle_enable_unit_files_with_flags: Handler for the #Systemd1Manager::handle-enable-unit-files-with-flags signal. + * @handle_enqueue_marked_jobs: Handler for the #Systemd1Manager::handle-enqueue-marked-jobs signal. + * @handle_enqueue_unit_job: Handler for the #Systemd1Manager::handle-enqueue-unit-job signal. + * @handle_exit: Handler for the #Systemd1Manager::handle-exit signal. + * @handle_freeze_unit: Handler for the #Systemd1Manager::handle-freeze-unit signal. + * @handle_get_default_target: Handler for the #Systemd1Manager::handle-get-default-target signal. + * @handle_get_dynamic_users: Handler for the #Systemd1Manager::handle-get-dynamic-users signal. + * @handle_get_job: Handler for the #Systemd1Manager::handle-get-job signal. + * @handle_get_job_after: Handler for the #Systemd1Manager::handle-get-job-after signal. + * @handle_get_job_before: Handler for the #Systemd1Manager::handle-get-job-before signal. + * @handle_get_unit: Handler for the #Systemd1Manager::handle-get-unit signal. + * @handle_get_unit_by_control_group: Handler for the #Systemd1Manager::handle-get-unit-by-control-group signal. + * @handle_get_unit_by_invocation_id: Handler for the #Systemd1Manager::handle-get-unit-by-invocation-id signal. + * @handle_get_unit_by_pid: Handler for the #Systemd1Manager::handle-get-unit-by-pid signal. + * @handle_get_unit_file_links: Handler for the #Systemd1Manager::handle-get-unit-file-links signal. + * @handle_get_unit_file_state: Handler for the #Systemd1Manager::handle-get-unit-file-state signal. + * @handle_get_unit_processes: Handler for the #Systemd1Manager::handle-get-unit-processes signal. + * @handle_halt: Handler for the #Systemd1Manager::handle-halt signal. + * @handle_kexec: Handler for the #Systemd1Manager::handle-kexec signal. + * @handle_kill_unit: Handler for the #Systemd1Manager::handle-kill-unit signal. + * @handle_link_unit_files: Handler for the #Systemd1Manager::handle-link-unit-files signal. + * @handle_list_jobs: Handler for the #Systemd1Manager::handle-list-jobs signal. + * @handle_list_unit_files: Handler for the #Systemd1Manager::handle-list-unit-files signal. + * @handle_list_unit_files_by_patterns: Handler for the #Systemd1Manager::handle-list-unit-files-by-patterns signal. + * @handle_list_units: Handler for the #Systemd1Manager::handle-list-units signal. + * @handle_list_units_by_names: Handler for the #Systemd1Manager::handle-list-units-by-names signal. + * @handle_list_units_by_patterns: Handler for the #Systemd1Manager::handle-list-units-by-patterns signal. + * @handle_list_units_filtered: Handler for the #Systemd1Manager::handle-list-units-filtered signal. + * @handle_load_unit: Handler for the #Systemd1Manager::handle-load-unit signal. + * @handle_lookup_dynamic_user_by_name: Handler for the #Systemd1Manager::handle-lookup-dynamic-user-by-name signal. + * @handle_lookup_dynamic_user_by_uid: Handler for the #Systemd1Manager::handle-lookup-dynamic-user-by-uid signal. + * @handle_mask_unit_files: Handler for the #Systemd1Manager::handle-mask-unit-files signal. + * @handle_mount_image_unit: Handler for the #Systemd1Manager::handle-mount-image-unit signal. + * @handle_power_off: Handler for the #Systemd1Manager::handle-power-off signal. + * @handle_preset_all_unit_files: Handler for the #Systemd1Manager::handle-preset-all-unit-files signal. + * @handle_preset_unit_files: Handler for the #Systemd1Manager::handle-preset-unit-files signal. + * @handle_preset_unit_files_with_mode: Handler for the #Systemd1Manager::handle-preset-unit-files-with-mode signal. + * @handle_reboot: Handler for the #Systemd1Manager::handle-reboot signal. + * @handle_reenable_unit_files: Handler for the #Systemd1Manager::handle-reenable-unit-files signal. + * @handle_reexecute: Handler for the #Systemd1Manager::handle-reexecute signal. + * @handle_ref_unit: Handler for the #Systemd1Manager::handle-ref-unit signal. + * @handle_reload: Handler for the #Systemd1Manager::handle-reload signal. + * @handle_reload_or_restart_unit: Handler for the #Systemd1Manager::handle-reload-or-restart-unit signal. + * @handle_reload_or_try_restart_unit: Handler for the #Systemd1Manager::handle-reload-or-try-restart-unit signal. + * @handle_reload_unit: Handler for the #Systemd1Manager::handle-reload-unit signal. + * @handle_reset_failed: Handler for the #Systemd1Manager::handle-reset-failed signal. + * @handle_reset_failed_unit: Handler for the #Systemd1Manager::handle-reset-failed-unit signal. + * @handle_restart_unit: Handler for the #Systemd1Manager::handle-restart-unit signal. + * @handle_revert_unit_files: Handler for the #Systemd1Manager::handle-revert-unit-files signal. + * @handle_set_default_target: Handler for the #Systemd1Manager::handle-set-default-target signal. + * @handle_set_environment: Handler for the #Systemd1Manager::handle-set-environment signal. + * @handle_set_exit_code: Handler for the #Systemd1Manager::handle-set-exit-code signal. + * @handle_set_show_status: Handler for the #Systemd1Manager::handle-set-show-status signal. + * @handle_set_unit_properties: Handler for the #Systemd1Manager::handle-set-unit-properties signal. + * @handle_start_transient_unit: Handler for the #Systemd1Manager::handle-start-transient-unit signal. + * @handle_start_unit: Handler for the #Systemd1Manager::handle-start-unit signal. + * @handle_start_unit_replace: Handler for the #Systemd1Manager::handle-start-unit-replace signal. + * @handle_stop_unit: Handler for the #Systemd1Manager::handle-stop-unit signal. + * @handle_subscribe: Handler for the #Systemd1Manager::handle-subscribe signal. + * @handle_switch_root: Handler for the #Systemd1Manager::handle-switch-root signal. + * @handle_thaw_unit: Handler for the #Systemd1Manager::handle-thaw-unit signal. + * @handle_try_restart_unit: Handler for the #Systemd1Manager::handle-try-restart-unit signal. + * @handle_unmask_unit_files: Handler for the #Systemd1Manager::handle-unmask-unit-files signal. + * @handle_unref_unit: Handler for the #Systemd1Manager::handle-unref-unit signal. + * @handle_unset_and_set_environment: Handler for the #Systemd1Manager::handle-unset-and-set-environment signal. + * @handle_unset_environment: Handler for the #Systemd1Manager::handle-unset-environment signal. + * @handle_unsubscribe: Handler for the #Systemd1Manager::handle-unsubscribe signal. + * @get_architecture: Getter for the #Systemd1Manager:architecture property. + * @get_confirm_spawn: Getter for the #Systemd1Manager:confirm-spawn property. + * @get_control_group: Getter for the #Systemd1Manager:control-group property. + * @get_ctrl_alt_del_burst_action: Getter for the #Systemd1Manager:ctrl-alt-del-burst-action property. + * @get_default_block_ioaccounting: Getter for the #Systemd1Manager:default-block-ioaccounting property. + * @get_default_cpuaccounting: Getter for the #Systemd1Manager:default-cpuaccounting property. + * @get_default_limit_as: Getter for the #Systemd1Manager:default-limit-as property. + * @get_default_limit_assoft: Getter for the #Systemd1Manager:default-limit-assoft property. + * @get_default_limit_core: Getter for the #Systemd1Manager:default-limit-core property. + * @get_default_limit_coresoft: Getter for the #Systemd1Manager:default-limit-coresoft property. + * @get_default_limit_cpu: Getter for the #Systemd1Manager:default-limit-cpu property. + * @get_default_limit_cpusoft: Getter for the #Systemd1Manager:default-limit-cpusoft property. + * @get_default_limit_data: Getter for the #Systemd1Manager:default-limit-data property. + * @get_default_limit_datasoft: Getter for the #Systemd1Manager:default-limit-datasoft property. + * @get_default_limit_fsize: Getter for the #Systemd1Manager:default-limit-fsize property. + * @get_default_limit_fsizesoft: Getter for the #Systemd1Manager:default-limit-fsizesoft property. + * @get_default_limit_locks: Getter for the #Systemd1Manager:default-limit-locks property. + * @get_default_limit_lockssoft: Getter for the #Systemd1Manager:default-limit-lockssoft property. + * @get_default_limit_memlock: Getter for the #Systemd1Manager:default-limit-memlock property. + * @get_default_limit_memlocksoft: Getter for the #Systemd1Manager:default-limit-memlocksoft property. + * @get_default_limit_msgqueue: Getter for the #Systemd1Manager:default-limit-msgqueue property. + * @get_default_limit_msgqueuesoft: Getter for the #Systemd1Manager:default-limit-msgqueuesoft property. + * @get_default_limit_nice: Getter for the #Systemd1Manager:default-limit-nice property. + * @get_default_limit_nicesoft: Getter for the #Systemd1Manager:default-limit-nicesoft property. + * @get_default_limit_nofile: Getter for the #Systemd1Manager:default-limit-nofile property. + * @get_default_limit_nofilesoft: Getter for the #Systemd1Manager:default-limit-nofilesoft property. + * @get_default_limit_nproc: Getter for the #Systemd1Manager:default-limit-nproc property. + * @get_default_limit_nprocsoft: Getter for the #Systemd1Manager:default-limit-nprocsoft property. + * @get_default_limit_rss: Getter for the #Systemd1Manager:default-limit-rss property. + * @get_default_limit_rsssoft: Getter for the #Systemd1Manager:default-limit-rsssoft property. + * @get_default_limit_rtprio: Getter for the #Systemd1Manager:default-limit-rtprio property. + * @get_default_limit_rtpriosoft: Getter for the #Systemd1Manager:default-limit-rtpriosoft property. + * @get_default_limit_rttime: Getter for the #Systemd1Manager:default-limit-rttime property. + * @get_default_limit_rttimesoft: Getter for the #Systemd1Manager:default-limit-rttimesoft property. + * @get_default_limit_sigpending: Getter for the #Systemd1Manager:default-limit-sigpending property. + * @get_default_limit_sigpendingsoft: Getter for the #Systemd1Manager:default-limit-sigpendingsoft property. + * @get_default_limit_stack: Getter for the #Systemd1Manager:default-limit-stack property. + * @get_default_limit_stacksoft: Getter for the #Systemd1Manager:default-limit-stacksoft property. + * @get_default_memory_accounting: Getter for the #Systemd1Manager:default-memory-accounting property. + * @get_default_oompolicy: Getter for the #Systemd1Manager:default-oompolicy property. + * @get_default_restart_usec: Getter for the #Systemd1Manager:default-restart-usec property. + * @get_default_standard_error: Getter for the #Systemd1Manager:default-standard-error property. + * @get_default_standard_output: Getter for the #Systemd1Manager:default-standard-output property. + * @get_default_start_limit_burst: Getter for the #Systemd1Manager:default-start-limit-burst property. + * @get_default_start_limit_interval_usec: Getter for the #Systemd1Manager:default-start-limit-interval-usec property. + * @get_default_tasks_accounting: Getter for the #Systemd1Manager:default-tasks-accounting property. + * @get_default_tasks_max: Getter for the #Systemd1Manager:default-tasks-max property. + * @get_default_timeout_abort_usec: Getter for the #Systemd1Manager:default-timeout-abort-usec property. + * @get_default_timeout_start_usec: Getter for the #Systemd1Manager:default-timeout-start-usec property. + * @get_default_timeout_stop_usec: Getter for the #Systemd1Manager:default-timeout-stop-usec property. + * @get_default_timer_accuracy_usec: Getter for the #Systemd1Manager:default-timer-accuracy-usec property. + * @get_environment: Getter for the #Systemd1Manager:environment property. + * @get_exit_code: Getter for the #Systemd1Manager:exit-code property. + * @get_features: Getter for the #Systemd1Manager:features property. + * @get_finish_timestamp: Getter for the #Systemd1Manager:finish-timestamp property. + * @get_finish_timestamp_monotonic: Getter for the #Systemd1Manager:finish-timestamp-monotonic property. + * @get_firmware_timestamp: Getter for the #Systemd1Manager:firmware-timestamp property. + * @get_firmware_timestamp_monotonic: Getter for the #Systemd1Manager:firmware-timestamp-monotonic property. + * @get_generators_finish_timestamp: Getter for the #Systemd1Manager:generators-finish-timestamp property. + * @get_generators_finish_timestamp_monotonic: Getter for the #Systemd1Manager:generators-finish-timestamp-monotonic property. + * @get_generators_start_timestamp: Getter for the #Systemd1Manager:generators-start-timestamp property. + * @get_generators_start_timestamp_monotonic: Getter for the #Systemd1Manager:generators-start-timestamp-monotonic property. + * @get_init_rdgenerators_finish_timestamp: Getter for the #Systemd1Manager:init-rdgenerators-finish-timestamp property. + * @get_init_rdgenerators_finish_timestamp_monotonic: Getter for the #Systemd1Manager:init-rdgenerators-finish-timestamp-monotonic property. + * @get_init_rdgenerators_start_timestamp: Getter for the #Systemd1Manager:init-rdgenerators-start-timestamp property. + * @get_init_rdgenerators_start_timestamp_monotonic: Getter for the #Systemd1Manager:init-rdgenerators-start-timestamp-monotonic property. + * @get_init_rdsecurity_finish_timestamp: Getter for the #Systemd1Manager:init-rdsecurity-finish-timestamp property. + * @get_init_rdsecurity_finish_timestamp_monotonic: Getter for the #Systemd1Manager:init-rdsecurity-finish-timestamp-monotonic property. + * @get_init_rdsecurity_start_timestamp: Getter for the #Systemd1Manager:init-rdsecurity-start-timestamp property. + * @get_init_rdsecurity_start_timestamp_monotonic: Getter for the #Systemd1Manager:init-rdsecurity-start-timestamp-monotonic property. + * @get_init_rdtimestamp: Getter for the #Systemd1Manager:init-rdtimestamp property. + * @get_init_rdtimestamp_monotonic: Getter for the #Systemd1Manager:init-rdtimestamp-monotonic property. + * @get_init_rdunits_load_finish_timestamp: Getter for the #Systemd1Manager:init-rdunits-load-finish-timestamp property. + * @get_init_rdunits_load_finish_timestamp_monotonic: Getter for the #Systemd1Manager:init-rdunits-load-finish-timestamp-monotonic property. + * @get_init_rdunits_load_start_timestamp: Getter for the #Systemd1Manager:init-rdunits-load-start-timestamp property. + * @get_init_rdunits_load_start_timestamp_monotonic: Getter for the #Systemd1Manager:init-rdunits-load-start-timestamp-monotonic property. + * @get_kernel_timestamp: Getter for the #Systemd1Manager:kernel-timestamp property. + * @get_kernel_timestamp_monotonic: Getter for the #Systemd1Manager:kernel-timestamp-monotonic property. + * @get_kexec_watchdog_usec: Getter for the #Systemd1Manager:kexec-watchdog-usec property. + * @get_loader_timestamp: Getter for the #Systemd1Manager:loader-timestamp property. + * @get_loader_timestamp_monotonic: Getter for the #Systemd1Manager:loader-timestamp-monotonic property. + * @get_log_level: Getter for the #Systemd1Manager:log-level property. + * @get_log_target: Getter for the #Systemd1Manager:log-target property. + * @get_nfailed_jobs: Getter for the #Systemd1Manager:nfailed-jobs property. + * @get_nfailed_units: Getter for the #Systemd1Manager:nfailed-units property. + * @get_ninstalled_jobs: Getter for the #Systemd1Manager:ninstalled-jobs property. + * @get_njobs: Getter for the #Systemd1Manager:njobs property. + * @get_nnames: Getter for the #Systemd1Manager:nnames property. + * @get_progress: Getter for the #Systemd1Manager:progress property. + * @get_reboot_watchdog_usec: Getter for the #Systemd1Manager:reboot-watchdog-usec property. + * @get_runtime_watchdog_usec: Getter for the #Systemd1Manager:runtime-watchdog-usec property. + * @get_security_finish_timestamp: Getter for the #Systemd1Manager:security-finish-timestamp property. + * @get_security_finish_timestamp_monotonic: Getter for the #Systemd1Manager:security-finish-timestamp-monotonic property. + * @get_security_start_timestamp: Getter for the #Systemd1Manager:security-start-timestamp property. + * @get_security_start_timestamp_monotonic: Getter for the #Systemd1Manager:security-start-timestamp-monotonic property. + * @get_service_watchdogs: Getter for the #Systemd1Manager:service-watchdogs property. + * @get_show_status: Getter for the #Systemd1Manager:show-status property. + * @get_system_state: Getter for the #Systemd1Manager:system-state property. + * @get_tainted: Getter for the #Systemd1Manager:tainted property. + * @get_timer_slack_nsec: Getter for the #Systemd1Manager:timer-slack-nsec property. + * @get_unit_path: Getter for the #Systemd1Manager:unit-path property. + * @get_units_load_finish_timestamp: Getter for the #Systemd1Manager:units-load-finish-timestamp property. + * @get_units_load_finish_timestamp_monotonic: Getter for the #Systemd1Manager:units-load-finish-timestamp-monotonic property. + * @get_units_load_start_timestamp: Getter for the #Systemd1Manager:units-load-start-timestamp property. + * @get_units_load_start_timestamp_monotonic: Getter for the #Systemd1Manager:units-load-start-timestamp-monotonic property. + * @get_userspace_timestamp: Getter for the #Systemd1Manager:userspace-timestamp property. + * @get_userspace_timestamp_monotonic: Getter for the #Systemd1Manager:userspace-timestamp-monotonic property. + * @get_version: Getter for the #Systemd1Manager:version property. + * @get_virtualization: Getter for the #Systemd1Manager:virtualization property. + * @job_new: Handler for the #Systemd1Manager::job-new signal. + * @job_removed: Handler for the #Systemd1Manager::job-removed signal. + * @reloading: Handler for the #Systemd1Manager::reloading signal. + * @startup_finished: Handler for the #Systemd1Manager::startup-finished signal. + * @unit_files_changed: Handler for the #Systemd1Manager::unit-files-changed signal. + * @unit_new: Handler for the #Systemd1Manager::unit-new signal. + * @unit_removed: Handler for the #Systemd1Manager::unit-removed signal. + * + * Virtual table for the D-Bus interface <link linkend="gdbus-interface-org-freedesktop-systemd1-Manager.top_of_page">org.freedesktop.systemd1.Manager</link>. + */ + +typedef Systemd1ManagerIface Systemd1ManagerInterface; +G_DEFINE_INTERFACE (Systemd1Manager, systemd1_manager, G_TYPE_OBJECT) + +static void +systemd1_manager_default_init (Systemd1ManagerIface *iface) +{ + /* GObject signals for incoming D-Bus method calls: */ + /** + * Systemd1Manager::handle-get-unit: + * @object: A #Systemd1Manager. + * @invocation: A #GDBusMethodInvocation. + * @arg_name: Argument passed by remote caller. + * + * Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.GetUnit">GetUnit()</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 systemd1_manager_complete_get_unit() 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: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. + */ + g_signal_new ("handle-get-unit", + G_TYPE_FROM_INTERFACE (iface), + G_SIGNAL_RUN_LAST, + G_STRUCT_OFFSET (Systemd1ManagerIface, handle_get_unit), + g_signal_accumulator_true_handled, + NULL, + g_cclosure_marshal_generic, + G_TYPE_BOOLEAN, + 2, + G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); + + /** + * Systemd1Manager::handle-get-unit-by-pid: + * @object: A #Systemd1Manager. + * @invocation: A #GDBusMethodInvocation. + * @arg_pid: Argument passed by remote caller. + * + * Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.GetUnitByPID">GetUnitByPID()</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 systemd1_manager_complete_get_unit_by_pid() 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: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. + */ + g_signal_new ("handle-get-unit-by-pid", + G_TYPE_FROM_INTERFACE (iface), + G_SIGNAL_RUN_LAST, + G_STRUCT_OFFSET (Systemd1ManagerIface, handle_get_unit_by_pid), + g_signal_accumulator_true_handled, + NULL, + g_cclosure_marshal_generic, + G_TYPE_BOOLEAN, + 2, + G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT); + + /** + * Systemd1Manager::handle-get-unit-by-invocation-id: + * @object: A #Systemd1Manager. + * @invocation: A #GDBusMethodInvocation. + * @arg_invocation_id: Argument passed by remote caller. + * + * Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.GetUnitByInvocationID">GetUnitByInvocationID()</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 systemd1_manager_complete_get_unit_by_invocation_id() 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: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. + */ + g_signal_new ("handle-get-unit-by-invocation-id", + G_TYPE_FROM_INTERFACE (iface), + G_SIGNAL_RUN_LAST, + G_STRUCT_OFFSET (Systemd1ManagerIface, handle_get_unit_by_invocation_id), + g_signal_accumulator_true_handled, + NULL, + g_cclosure_marshal_generic, + G_TYPE_BOOLEAN, + 2, + G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); + + /** + * Systemd1Manager::handle-get-unit-by-control-group: + * @object: A #Systemd1Manager. + * @invocation: A #GDBusMethodInvocation. + * @arg_cgroup: Argument passed by remote caller. + * + * Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.GetUnitByControlGroup">GetUnitByControlGroup()</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 systemd1_manager_complete_get_unit_by_control_group() 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: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. + */ + g_signal_new ("handle-get-unit-by-control-group", + G_TYPE_FROM_INTERFACE (iface), + G_SIGNAL_RUN_LAST, + G_STRUCT_OFFSET (Systemd1ManagerIface, handle_get_unit_by_control_group), + g_signal_accumulator_true_handled, + NULL, + g_cclosure_marshal_generic, + G_TYPE_BOOLEAN, + 2, + G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); + + /** + * Systemd1Manager::handle-load-unit: + * @object: A #Systemd1Manager. + * @invocation: A #GDBusMethodInvocation. + * @arg_name: Argument passed by remote caller. + * + * Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.LoadUnit">LoadUnit()</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 systemd1_manager_complete_load_unit() 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: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. + */ + g_signal_new ("handle-load-unit", + G_TYPE_FROM_INTERFACE (iface), + G_SIGNAL_RUN_LAST, + G_STRUCT_OFFSET (Systemd1ManagerIface, handle_load_unit), + g_signal_accumulator_true_handled, + NULL, + g_cclosure_marshal_generic, + G_TYPE_BOOLEAN, + 2, + G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); + + /** + * Systemd1Manager::handle-start-unit: + * @object: A #Systemd1Manager. + * @invocation: A #GDBusMethodInvocation. + * @arg_name: Argument passed by remote caller. + * @arg_mode: Argument passed by remote caller. + * + * Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.StartUnit">StartUnit()</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 systemd1_manager_complete_start_unit() 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: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. + */ + g_signal_new ("handle-start-unit", + G_TYPE_FROM_INTERFACE (iface), + G_SIGNAL_RUN_LAST, + G_STRUCT_OFFSET (Systemd1ManagerIface, handle_start_unit), + 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); + + /** + * Systemd1Manager::handle-start-unit-replace: + * @object: A #Systemd1Manager. + * @invocation: A #GDBusMethodInvocation. + * @arg_old_unit: Argument passed by remote caller. + * @arg_new_unit: Argument passed by remote caller. + * @arg_mode: Argument passed by remote caller. + * + * Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.StartUnitReplace">StartUnitReplace()</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 systemd1_manager_complete_start_unit_replace() 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: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. + */ + g_signal_new ("handle-start-unit-replace", + G_TYPE_FROM_INTERFACE (iface), + G_SIGNAL_RUN_LAST, + G_STRUCT_OFFSET (Systemd1ManagerIface, handle_start_unit_replace), + 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_STRING); + + /** + * Systemd1Manager::handle-stop-unit: + * @object: A #Systemd1Manager. + * @invocation: A #GDBusMethodInvocation. + * @arg_name: Argument passed by remote caller. + * @arg_mode: Argument passed by remote caller. + * + * Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.StopUnit">StopUnit()</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 systemd1_manager_complete_stop_unit() 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: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. + */ + g_signal_new ("handle-stop-unit", + G_TYPE_FROM_INTERFACE (iface), + G_SIGNAL_RUN_LAST, + G_STRUCT_OFFSET (Systemd1ManagerIface, handle_stop_unit), + 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); + + /** + * Systemd1Manager::handle-reload-unit: + * @object: A #Systemd1Manager. + * @invocation: A #GDBusMethodInvocation. + * @arg_name: Argument passed by remote caller. + * @arg_mode: Argument passed by remote caller. + * + * Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.ReloadUnit">ReloadUnit()</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 systemd1_manager_complete_reload_unit() 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: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. + */ + g_signal_new ("handle-reload-unit", + G_TYPE_FROM_INTERFACE (iface), + G_SIGNAL_RUN_LAST, + G_STRUCT_OFFSET (Systemd1ManagerIface, handle_reload_unit), + 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); + + /** + * Systemd1Manager::handle-restart-unit: + * @object: A #Systemd1Manager. + * @invocation: A #GDBusMethodInvocation. + * @arg_name: Argument passed by remote caller. + * @arg_mode: Argument passed by remote caller. + * + * Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.RestartUnit">RestartUnit()</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 systemd1_manager_complete_restart_unit() 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: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. + */ + g_signal_new ("handle-restart-unit", + G_TYPE_FROM_INTERFACE (iface), + G_SIGNAL_RUN_LAST, + G_STRUCT_OFFSET (Systemd1ManagerIface, handle_restart_unit), + 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); + + /** + * Systemd1Manager::handle-try-restart-unit: + * @object: A #Systemd1Manager. + * @invocation: A #GDBusMethodInvocation. + * @arg_name: Argument passed by remote caller. + * @arg_mode: Argument passed by remote caller. + * + * Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.TryRestartUnit">TryRestartUnit()</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 systemd1_manager_complete_try_restart_unit() 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: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. + */ + g_signal_new ("handle-try-restart-unit", + G_TYPE_FROM_INTERFACE (iface), + G_SIGNAL_RUN_LAST, + G_STRUCT_OFFSET (Systemd1ManagerIface, handle_try_restart_unit), + 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); + + /** + * Systemd1Manager::handle-reload-or-restart-unit: + * @object: A #Systemd1Manager. + * @invocation: A #GDBusMethodInvocation. + * @arg_name: Argument passed by remote caller. + * @arg_mode: Argument passed by remote caller. + * + * Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.ReloadOrRestartUnit">ReloadOrRestartUnit()</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 systemd1_manager_complete_reload_or_restart_unit() 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: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. + */ + g_signal_new ("handle-reload-or-restart-unit", + G_TYPE_FROM_INTERFACE (iface), + G_SIGNAL_RUN_LAST, + G_STRUCT_OFFSET (Systemd1ManagerIface, handle_reload_or_restart_unit), + 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); + + /** + * Systemd1Manager::handle-reload-or-try-restart-unit: + * @object: A #Systemd1Manager. + * @invocation: A #GDBusMethodInvocation. + * @arg_name: Argument passed by remote caller. + * @arg_mode: Argument passed by remote caller. + * + * Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.ReloadOrTryRestartUnit">ReloadOrTryRestartUnit()</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 systemd1_manager_complete_reload_or_try_restart_unit() 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: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. + */ + g_signal_new ("handle-reload-or-try-restart-unit", + G_TYPE_FROM_INTERFACE (iface), + G_SIGNAL_RUN_LAST, + G_STRUCT_OFFSET (Systemd1ManagerIface, handle_reload_or_try_restart_unit), + 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); + + /** + * Systemd1Manager::handle-enqueue-unit-job: + * @object: A #Systemd1Manager. + * @invocation: A #GDBusMethodInvocation. + * @arg_name: Argument passed by remote caller. + * @arg_job_type: Argument passed by remote caller. + * @arg_job_mode: Argument passed by remote caller. + * + * Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.EnqueueUnitJob">EnqueueUnitJob()</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 systemd1_manager_complete_enqueue_unit_job() 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: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. + */ + g_signal_new ("handle-enqueue-unit-job", + G_TYPE_FROM_INTERFACE (iface), + G_SIGNAL_RUN_LAST, + G_STRUCT_OFFSET (Systemd1ManagerIface, handle_enqueue_unit_job), + 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_STRING); + + /** + * Systemd1Manager::handle-kill-unit: + * @object: A #Systemd1Manager. + * @invocation: A #GDBusMethodInvocation. + * @arg_name: Argument passed by remote caller. + * @arg_whom: Argument passed by remote caller. + * @arg_signal: Argument passed by remote caller. + * + * Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.KillUnit">KillUnit()</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 systemd1_manager_complete_kill_unit() 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: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. + */ + g_signal_new ("handle-kill-unit", + G_TYPE_FROM_INTERFACE (iface), + G_SIGNAL_RUN_LAST, + G_STRUCT_OFFSET (Systemd1ManagerIface, handle_kill_unit), + 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_INT); + + /** + * Systemd1Manager::handle-clean-unit: + * @object: A #Systemd1Manager. + * @invocation: A #GDBusMethodInvocation. + * @arg_name: Argument passed by remote caller. + * @arg_mask: Argument passed by remote caller. + * + * Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.CleanUnit">CleanUnit()</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 systemd1_manager_complete_clean_unit() 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: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. + */ + g_signal_new ("handle-clean-unit", + G_TYPE_FROM_INTERFACE (iface), + G_SIGNAL_RUN_LAST, + G_STRUCT_OFFSET (Systemd1ManagerIface, handle_clean_unit), + 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); + + /** + * Systemd1Manager::handle-freeze-unit: + * @object: A #Systemd1Manager. + * @invocation: A #GDBusMethodInvocation. + * @arg_name: Argument passed by remote caller. + * + * Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.FreezeUnit">FreezeUnit()</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 systemd1_manager_complete_freeze_unit() 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: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. + */ + g_signal_new ("handle-freeze-unit", + G_TYPE_FROM_INTERFACE (iface), + G_SIGNAL_RUN_LAST, + G_STRUCT_OFFSET (Systemd1ManagerIface, handle_freeze_unit), + g_signal_accumulator_true_handled, + NULL, + g_cclosure_marshal_generic, + G_TYPE_BOOLEAN, + 2, + G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); + + /** + * Systemd1Manager::handle-thaw-unit: + * @object: A #Systemd1Manager. + * @invocation: A #GDBusMethodInvocation. + * @arg_name: Argument passed by remote caller. + * + * Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.ThawUnit">ThawUnit()</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 systemd1_manager_complete_thaw_unit() 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: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. + */ + g_signal_new ("handle-thaw-unit", + G_TYPE_FROM_INTERFACE (iface), + G_SIGNAL_RUN_LAST, + G_STRUCT_OFFSET (Systemd1ManagerIface, handle_thaw_unit), + g_signal_accumulator_true_handled, + NULL, + g_cclosure_marshal_generic, + G_TYPE_BOOLEAN, + 2, + G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); + + /** + * Systemd1Manager::handle-reset-failed-unit: + * @object: A #Systemd1Manager. + * @invocation: A #GDBusMethodInvocation. + * @arg_name: Argument passed by remote caller. + * + * Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.ResetFailedUnit">ResetFailedUnit()</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 systemd1_manager_complete_reset_failed_unit() 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: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. + */ + g_signal_new ("handle-reset-failed-unit", + G_TYPE_FROM_INTERFACE (iface), + G_SIGNAL_RUN_LAST, + G_STRUCT_OFFSET (Systemd1ManagerIface, handle_reset_failed_unit), + g_signal_accumulator_true_handled, + NULL, + g_cclosure_marshal_generic, + G_TYPE_BOOLEAN, + 2, + G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); + + /** + * Systemd1Manager::handle-set-unit-properties: + * @object: A #Systemd1Manager. + * @invocation: A #GDBusMethodInvocation. + * @arg_name: Argument passed by remote caller. + * @arg_runtime: Argument passed by remote caller. + * @arg_properties: Argument passed by remote caller. + * + * Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.SetUnitProperties">SetUnitProperties()</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 systemd1_manager_complete_set_unit_properties() 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: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. + */ + g_signal_new ("handle-set-unit-properties", + G_TYPE_FROM_INTERFACE (iface), + G_SIGNAL_RUN_LAST, + G_STRUCT_OFFSET (Systemd1ManagerIface, handle_set_unit_properties), + g_signal_accumulator_true_handled, + NULL, + g_cclosure_marshal_generic, + G_TYPE_BOOLEAN, + 4, + G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING, G_TYPE_BOOLEAN, G_TYPE_VARIANT); + + /** + * Systemd1Manager::handle-bind-mount-unit: + * @object: A #Systemd1Manager. + * @invocation: A #GDBusMethodInvocation. + * @arg_name: Argument passed by remote caller. + * @arg_source: Argument passed by remote caller. + * @arg_destination: Argument passed by remote caller. + * @arg_read_only: Argument passed by remote caller. + * @arg_mkdir: Argument passed by remote caller. + * + * Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.BindMountUnit">BindMountUnit()</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 systemd1_manager_complete_bind_mount_unit() 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: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. + */ + g_signal_new ("handle-bind-mount-unit", + G_TYPE_FROM_INTERFACE (iface), + G_SIGNAL_RUN_LAST, + G_STRUCT_OFFSET (Systemd1ManagerIface, handle_bind_mount_unit), + g_signal_accumulator_true_handled, + NULL, + g_cclosure_marshal_generic, + G_TYPE_BOOLEAN, + 6, + G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_BOOLEAN, G_TYPE_BOOLEAN); + + /** + * Systemd1Manager::handle-mount-image-unit: + * @object: A #Systemd1Manager. + * @invocation: A #GDBusMethodInvocation. + * @arg_name: Argument passed by remote caller. + * @arg_source: Argument passed by remote caller. + * @arg_destination: Argument passed by remote caller. + * @arg_read_only: Argument passed by remote caller. + * @arg_mkdir: 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-systemd1-Manager.MountImageUnit">MountImageUnit()</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 systemd1_manager_complete_mount_image_unit() 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: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. + */ + g_signal_new ("handle-mount-image-unit", + G_TYPE_FROM_INTERFACE (iface), + G_SIGNAL_RUN_LAST, + G_STRUCT_OFFSET (Systemd1ManagerIface, handle_mount_image_unit), + g_signal_accumulator_true_handled, + NULL, + g_cclosure_marshal_generic, + G_TYPE_BOOLEAN, + 7, + G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_BOOLEAN, G_TYPE_BOOLEAN, G_TYPE_VARIANT); + + /** + * Systemd1Manager::handle-ref-unit: + * @object: A #Systemd1Manager. + * @invocation: A #GDBusMethodInvocation. + * @arg_name: Argument passed by remote caller. + * + * Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.RefUnit">RefUnit()</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 systemd1_manager_complete_ref_unit() 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: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. + */ + g_signal_new ("handle-ref-unit", + G_TYPE_FROM_INTERFACE (iface), + G_SIGNAL_RUN_LAST, + G_STRUCT_OFFSET (Systemd1ManagerIface, handle_ref_unit), + g_signal_accumulator_true_handled, + NULL, + g_cclosure_marshal_generic, + G_TYPE_BOOLEAN, + 2, + G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); + + /** + * Systemd1Manager::handle-unref-unit: + * @object: A #Systemd1Manager. + * @invocation: A #GDBusMethodInvocation. + * @arg_name: Argument passed by remote caller. + * + * Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.UnrefUnit">UnrefUnit()</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 systemd1_manager_complete_unref_unit() 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: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. + */ + g_signal_new ("handle-unref-unit", + G_TYPE_FROM_INTERFACE (iface), + G_SIGNAL_RUN_LAST, + G_STRUCT_OFFSET (Systemd1ManagerIface, handle_unref_unit), + g_signal_accumulator_true_handled, + NULL, + g_cclosure_marshal_generic, + G_TYPE_BOOLEAN, + 2, + G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); + + /** + * Systemd1Manager::handle-start-transient-unit: + * @object: A #Systemd1Manager. + * @invocation: A #GDBusMethodInvocation. + * @arg_name: Argument passed by remote caller. + * @arg_mode: Argument passed by remote caller. + * @arg_properties: Argument passed by remote caller. + * @arg_aux: Argument passed by remote caller. + * + * Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.StartTransientUnit">StartTransientUnit()</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 systemd1_manager_complete_start_transient_unit() 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: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. + */ + g_signal_new ("handle-start-transient-unit", + G_TYPE_FROM_INTERFACE (iface), + G_SIGNAL_RUN_LAST, + G_STRUCT_OFFSET (Systemd1ManagerIface, handle_start_transient_unit), + g_signal_accumulator_true_handled, + NULL, + g_cclosure_marshal_generic, + G_TYPE_BOOLEAN, + 5, + G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_VARIANT, G_TYPE_VARIANT); + + /** + * Systemd1Manager::handle-get-unit-processes: + * @object: A #Systemd1Manager. + * @invocation: A #GDBusMethodInvocation. + * @arg_name: Argument passed by remote caller. + * + * Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.GetUnitProcesses">GetUnitProcesses()</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 systemd1_manager_complete_get_unit_processes() 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: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. + */ + g_signal_new ("handle-get-unit-processes", + G_TYPE_FROM_INTERFACE (iface), + G_SIGNAL_RUN_LAST, + G_STRUCT_OFFSET (Systemd1ManagerIface, handle_get_unit_processes), + g_signal_accumulator_true_handled, + NULL, + g_cclosure_marshal_generic, + G_TYPE_BOOLEAN, + 2, + G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); + + /** + * Systemd1Manager::handle-attach-processes-to-unit: + * @object: A #Systemd1Manager. + * @invocation: A #GDBusMethodInvocation. + * @arg_unit_name: Argument passed by remote caller. + * @arg_subcgroup: Argument passed by remote caller. + * @arg_pids: Argument passed by remote caller. + * + * Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.AttachProcessesToUnit">AttachProcessesToUnit()</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 systemd1_manager_complete_attach_processes_to_unit() 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: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. + */ + g_signal_new ("handle-attach-processes-to-unit", + G_TYPE_FROM_INTERFACE (iface), + G_SIGNAL_RUN_LAST, + G_STRUCT_OFFSET (Systemd1ManagerIface, handle_attach_processes_to_unit), + 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_VARIANT); + + /** + * Systemd1Manager::handle-abandon-scope: + * @object: A #Systemd1Manager. + * @invocation: A #GDBusMethodInvocation. + * @arg_name: Argument passed by remote caller. + * + * Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.AbandonScope">AbandonScope()</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 systemd1_manager_complete_abandon_scope() 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: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. + */ + g_signal_new ("handle-abandon-scope", + G_TYPE_FROM_INTERFACE (iface), + G_SIGNAL_RUN_LAST, + G_STRUCT_OFFSET (Systemd1ManagerIface, handle_abandon_scope), + g_signal_accumulator_true_handled, + NULL, + g_cclosure_marshal_generic, + G_TYPE_BOOLEAN, + 2, + G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); + + /** + * Systemd1Manager::handle-get-job: + * @object: A #Systemd1Manager. + * @invocation: A #GDBusMethodInvocation. + * @arg_id: Argument passed by remote caller. + * + * Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.GetJob">GetJob()</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 systemd1_manager_complete_get_job() 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: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. + */ + g_signal_new ("handle-get-job", + G_TYPE_FROM_INTERFACE (iface), + G_SIGNAL_RUN_LAST, + G_STRUCT_OFFSET (Systemd1ManagerIface, handle_get_job), + g_signal_accumulator_true_handled, + NULL, + g_cclosure_marshal_generic, + G_TYPE_BOOLEAN, + 2, + G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT); + + /** + * Systemd1Manager::handle-get-job-after: + * @object: A #Systemd1Manager. + * @invocation: A #GDBusMethodInvocation. + * @arg_id: Argument passed by remote caller. + * + * Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.GetJobAfter">GetJobAfter()</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 systemd1_manager_complete_get_job_after() 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: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. + */ + g_signal_new ("handle-get-job-after", + G_TYPE_FROM_INTERFACE (iface), + G_SIGNAL_RUN_LAST, + G_STRUCT_OFFSET (Systemd1ManagerIface, handle_get_job_after), + g_signal_accumulator_true_handled, + NULL, + g_cclosure_marshal_generic, + G_TYPE_BOOLEAN, + 2, + G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT); + + /** + * Systemd1Manager::handle-get-job-before: + * @object: A #Systemd1Manager. + * @invocation: A #GDBusMethodInvocation. + * @arg_id: Argument passed by remote caller. + * + * Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.GetJobBefore">GetJobBefore()</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 systemd1_manager_complete_get_job_before() 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: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. + */ + g_signal_new ("handle-get-job-before", + G_TYPE_FROM_INTERFACE (iface), + G_SIGNAL_RUN_LAST, + G_STRUCT_OFFSET (Systemd1ManagerIface, handle_get_job_before), + g_signal_accumulator_true_handled, + NULL, + g_cclosure_marshal_generic, + G_TYPE_BOOLEAN, + 2, + G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT); + + /** + * Systemd1Manager::handle-cancel-job: + * @object: A #Systemd1Manager. + * @invocation: A #GDBusMethodInvocation. + * @arg_id: Argument passed by remote caller. + * + * Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.CancelJob">CancelJob()</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 systemd1_manager_complete_cancel_job() 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: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. + */ + g_signal_new ("handle-cancel-job", + G_TYPE_FROM_INTERFACE (iface), + G_SIGNAL_RUN_LAST, + G_STRUCT_OFFSET (Systemd1ManagerIface, handle_cancel_job), + g_signal_accumulator_true_handled, + NULL, + g_cclosure_marshal_generic, + G_TYPE_BOOLEAN, + 2, + G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT); + + /** + * Systemd1Manager::handle-clear-jobs: + * @object: A #Systemd1Manager. + * @invocation: A #GDBusMethodInvocation. + * + * Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.ClearJobs">ClearJobs()</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 systemd1_manager_complete_clear_jobs() 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: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. + */ + g_signal_new ("handle-clear-jobs", + G_TYPE_FROM_INTERFACE (iface), + G_SIGNAL_RUN_LAST, + G_STRUCT_OFFSET (Systemd1ManagerIface, handle_clear_jobs), + g_signal_accumulator_true_handled, + NULL, + g_cclosure_marshal_generic, + G_TYPE_BOOLEAN, + 1, + G_TYPE_DBUS_METHOD_INVOCATION); + + /** + * Systemd1Manager::handle-reset-failed: + * @object: A #Systemd1Manager. + * @invocation: A #GDBusMethodInvocation. + * + * Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.ResetFailed">ResetFailed()</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 systemd1_manager_complete_reset_failed() 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: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. + */ + g_signal_new ("handle-reset-failed", + G_TYPE_FROM_INTERFACE (iface), + G_SIGNAL_RUN_LAST, + G_STRUCT_OFFSET (Systemd1ManagerIface, handle_reset_failed), + g_signal_accumulator_true_handled, + NULL, + g_cclosure_marshal_generic, + G_TYPE_BOOLEAN, + 1, + G_TYPE_DBUS_METHOD_INVOCATION); + + /** + * Systemd1Manager::handle-set-show-status: + * @object: A #Systemd1Manager. + * @invocation: A #GDBusMethodInvocation. + * @arg_mode: Argument passed by remote caller. + * + * Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.SetShowStatus">SetShowStatus()</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 systemd1_manager_complete_set_show_status() 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: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. + */ + g_signal_new ("handle-set-show-status", + G_TYPE_FROM_INTERFACE (iface), + G_SIGNAL_RUN_LAST, + G_STRUCT_OFFSET (Systemd1ManagerIface, handle_set_show_status), + g_signal_accumulator_true_handled, + NULL, + g_cclosure_marshal_generic, + G_TYPE_BOOLEAN, + 2, + G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); + + /** + * Systemd1Manager::handle-list-units: + * @object: A #Systemd1Manager. + * @invocation: A #GDBusMethodInvocation. + * + * Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.ListUnits">ListUnits()</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 systemd1_manager_complete_list_units() 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: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. + */ + g_signal_new ("handle-list-units", + G_TYPE_FROM_INTERFACE (iface), + G_SIGNAL_RUN_LAST, + G_STRUCT_OFFSET (Systemd1ManagerIface, handle_list_units), + g_signal_accumulator_true_handled, + NULL, + g_cclosure_marshal_generic, + G_TYPE_BOOLEAN, + 1, + G_TYPE_DBUS_METHOD_INVOCATION); + + /** + * Systemd1Manager::handle-list-units-filtered: + * @object: A #Systemd1Manager. + * @invocation: A #GDBusMethodInvocation. + * @arg_states: Argument passed by remote caller. + * + * Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.ListUnitsFiltered">ListUnitsFiltered()</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 systemd1_manager_complete_list_units_filtered() 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: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. + */ + g_signal_new ("handle-list-units-filtered", + G_TYPE_FROM_INTERFACE (iface), + G_SIGNAL_RUN_LAST, + G_STRUCT_OFFSET (Systemd1ManagerIface, handle_list_units_filtered), + g_signal_accumulator_true_handled, + NULL, + g_cclosure_marshal_generic, + G_TYPE_BOOLEAN, + 2, + G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); + + /** + * Systemd1Manager::handle-list-units-by-patterns: + * @object: A #Systemd1Manager. + * @invocation: A #GDBusMethodInvocation. + * @arg_states: Argument passed by remote caller. + * @arg_patterns: Argument passed by remote caller. + * + * Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.ListUnitsByPatterns">ListUnitsByPatterns()</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 systemd1_manager_complete_list_units_by_patterns() 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: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. + */ + g_signal_new ("handle-list-units-by-patterns", + G_TYPE_FROM_INTERFACE (iface), + G_SIGNAL_RUN_LAST, + G_STRUCT_OFFSET (Systemd1ManagerIface, handle_list_units_by_patterns), + 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); + + /** + * Systemd1Manager::handle-list-units-by-names: + * @object: A #Systemd1Manager. + * @invocation: A #GDBusMethodInvocation. + * @arg_names: Argument passed by remote caller. + * + * Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.ListUnitsByNames">ListUnitsByNames()</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 systemd1_manager_complete_list_units_by_names() 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: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. + */ + g_signal_new ("handle-list-units-by-names", + G_TYPE_FROM_INTERFACE (iface), + G_SIGNAL_RUN_LAST, + G_STRUCT_OFFSET (Systemd1ManagerIface, handle_list_units_by_names), + g_signal_accumulator_true_handled, + NULL, + g_cclosure_marshal_generic, + G_TYPE_BOOLEAN, + 2, + G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); + + /** + * Systemd1Manager::handle-list-jobs: + * @object: A #Systemd1Manager. + * @invocation: A #GDBusMethodInvocation. + * + * Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.ListJobs">ListJobs()</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 systemd1_manager_complete_list_jobs() 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: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. + */ + g_signal_new ("handle-list-jobs", + G_TYPE_FROM_INTERFACE (iface), + G_SIGNAL_RUN_LAST, + G_STRUCT_OFFSET (Systemd1ManagerIface, handle_list_jobs), + g_signal_accumulator_true_handled, + NULL, + g_cclosure_marshal_generic, + G_TYPE_BOOLEAN, + 1, + G_TYPE_DBUS_METHOD_INVOCATION); + + /** + * Systemd1Manager::handle-subscribe: + * @object: A #Systemd1Manager. + * @invocation: A #GDBusMethodInvocation. + * + * Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.Subscribe">Subscribe()</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 systemd1_manager_complete_subscribe() 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: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. + */ + g_signal_new ("handle-subscribe", + G_TYPE_FROM_INTERFACE (iface), + G_SIGNAL_RUN_LAST, + G_STRUCT_OFFSET (Systemd1ManagerIface, handle_subscribe), + g_signal_accumulator_true_handled, + NULL, + g_cclosure_marshal_generic, + G_TYPE_BOOLEAN, + 1, + G_TYPE_DBUS_METHOD_INVOCATION); + + /** + * Systemd1Manager::handle-unsubscribe: + * @object: A #Systemd1Manager. + * @invocation: A #GDBusMethodInvocation. + * + * Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.Unsubscribe">Unsubscribe()</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 systemd1_manager_complete_unsubscribe() 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: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. + */ + g_signal_new ("handle-unsubscribe", + G_TYPE_FROM_INTERFACE (iface), + G_SIGNAL_RUN_LAST, + G_STRUCT_OFFSET (Systemd1ManagerIface, handle_unsubscribe), + g_signal_accumulator_true_handled, + NULL, + g_cclosure_marshal_generic, + G_TYPE_BOOLEAN, + 1, + G_TYPE_DBUS_METHOD_INVOCATION); + + /** + * Systemd1Manager::handle-dump: + * @object: A #Systemd1Manager. + * @invocation: A #GDBusMethodInvocation. + * + * Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.Dump">Dump()</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 systemd1_manager_complete_dump() 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: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. + */ + g_signal_new ("handle-dump", + G_TYPE_FROM_INTERFACE (iface), + G_SIGNAL_RUN_LAST, + G_STRUCT_OFFSET (Systemd1ManagerIface, handle_dump), + g_signal_accumulator_true_handled, + NULL, + g_cclosure_marshal_generic, + G_TYPE_BOOLEAN, + 1, + G_TYPE_DBUS_METHOD_INVOCATION); + + /** + * Systemd1Manager::handle-dump-by-file-descriptor: + * @object: A #Systemd1Manager. + * @invocation: A #GDBusMethodInvocation. + * + * Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.DumpByFileDescriptor">DumpByFileDescriptor()</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 systemd1_manager_complete_dump_by_file_descriptor() 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: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. + */ + g_signal_new ("handle-dump-by-file-descriptor", + G_TYPE_FROM_INTERFACE (iface), + G_SIGNAL_RUN_LAST, + G_STRUCT_OFFSET (Systemd1ManagerIface, handle_dump_by_file_descriptor), + g_signal_accumulator_true_handled, + NULL, + g_cclosure_marshal_generic, + G_TYPE_BOOLEAN, + 1, + G_TYPE_DBUS_METHOD_INVOCATION); + + /** + * Systemd1Manager::handle-reload: + * @object: A #Systemd1Manager. + * @invocation: A #GDBusMethodInvocation. + * + * Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.Reload">Reload()</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 systemd1_manager_complete_reload() 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: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. + */ + g_signal_new ("handle-reload", + G_TYPE_FROM_INTERFACE (iface), + G_SIGNAL_RUN_LAST, + G_STRUCT_OFFSET (Systemd1ManagerIface, handle_reload), + g_signal_accumulator_true_handled, + NULL, + g_cclosure_marshal_generic, + G_TYPE_BOOLEAN, + 1, + G_TYPE_DBUS_METHOD_INVOCATION); + + /** + * Systemd1Manager::handle-reexecute: + * @object: A #Systemd1Manager. + * @invocation: A #GDBusMethodInvocation. + * + * Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.Reexecute">Reexecute()</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 systemd1_manager_complete_reexecute() 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: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. + */ + g_signal_new ("handle-reexecute", + G_TYPE_FROM_INTERFACE (iface), + G_SIGNAL_RUN_LAST, + G_STRUCT_OFFSET (Systemd1ManagerIface, handle_reexecute), + g_signal_accumulator_true_handled, + NULL, + g_cclosure_marshal_generic, + G_TYPE_BOOLEAN, + 1, + G_TYPE_DBUS_METHOD_INVOCATION); + + /** + * Systemd1Manager::handle-exit: + * @object: A #Systemd1Manager. + * @invocation: A #GDBusMethodInvocation. + * + * Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.Exit">Exit()</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 systemd1_manager_complete_exit() 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: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. + */ + g_signal_new ("handle-exit", + G_TYPE_FROM_INTERFACE (iface), + G_SIGNAL_RUN_LAST, + G_STRUCT_OFFSET (Systemd1ManagerIface, handle_exit), + g_signal_accumulator_true_handled, + NULL, + g_cclosure_marshal_generic, + G_TYPE_BOOLEAN, + 1, + G_TYPE_DBUS_METHOD_INVOCATION); + + /** + * Systemd1Manager::handle-reboot: + * @object: A #Systemd1Manager. + * @invocation: A #GDBusMethodInvocation. + * + * Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.Reboot">Reboot()</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 systemd1_manager_complete_reboot() 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: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. + */ + g_signal_new ("handle-reboot", + G_TYPE_FROM_INTERFACE (iface), + G_SIGNAL_RUN_LAST, + G_STRUCT_OFFSET (Systemd1ManagerIface, handle_reboot), + g_signal_accumulator_true_handled, + NULL, + g_cclosure_marshal_generic, + G_TYPE_BOOLEAN, + 1, + G_TYPE_DBUS_METHOD_INVOCATION); + + /** + * Systemd1Manager::handle-power-off: + * @object: A #Systemd1Manager. + * @invocation: A #GDBusMethodInvocation. + * + * Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.PowerOff">PowerOff()</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 systemd1_manager_complete_power_off() 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: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. + */ + g_signal_new ("handle-power-off", + G_TYPE_FROM_INTERFACE (iface), + G_SIGNAL_RUN_LAST, + G_STRUCT_OFFSET (Systemd1ManagerIface, handle_power_off), + g_signal_accumulator_true_handled, + NULL, + g_cclosure_marshal_generic, + G_TYPE_BOOLEAN, + 1, + G_TYPE_DBUS_METHOD_INVOCATION); + + /** + * Systemd1Manager::handle-halt: + * @object: A #Systemd1Manager. + * @invocation: A #GDBusMethodInvocation. + * + * Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.Halt">Halt()</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 systemd1_manager_complete_halt() 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: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. + */ + g_signal_new ("handle-halt", + G_TYPE_FROM_INTERFACE (iface), + G_SIGNAL_RUN_LAST, + G_STRUCT_OFFSET (Systemd1ManagerIface, handle_halt), + g_signal_accumulator_true_handled, + NULL, + g_cclosure_marshal_generic, + G_TYPE_BOOLEAN, + 1, + G_TYPE_DBUS_METHOD_INVOCATION); + + /** + * Systemd1Manager::handle-kexec: + * @object: A #Systemd1Manager. + * @invocation: A #GDBusMethodInvocation. + * + * Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.KExec">KExec()</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 systemd1_manager_complete_kexec() 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: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. + */ + g_signal_new ("handle-kexec", + G_TYPE_FROM_INTERFACE (iface), + G_SIGNAL_RUN_LAST, + G_STRUCT_OFFSET (Systemd1ManagerIface, handle_kexec), + g_signal_accumulator_true_handled, + NULL, + g_cclosure_marshal_generic, + G_TYPE_BOOLEAN, + 1, + G_TYPE_DBUS_METHOD_INVOCATION); + + /** + * Systemd1Manager::handle-switch-root: + * @object: A #Systemd1Manager. + * @invocation: A #GDBusMethodInvocation. + * @arg_new_root: Argument passed by remote caller. + * @arg_init: Argument passed by remote caller. + * + * Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.SwitchRoot">SwitchRoot()</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 systemd1_manager_complete_switch_root() 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: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. + */ + g_signal_new ("handle-switch-root", + G_TYPE_FROM_INTERFACE (iface), + G_SIGNAL_RUN_LAST, + G_STRUCT_OFFSET (Systemd1ManagerIface, handle_switch_root), + 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); + + /** + * Systemd1Manager::handle-set-environment: + * @object: A #Systemd1Manager. + * @invocation: A #GDBusMethodInvocation. + * @arg_assignments: Argument passed by remote caller. + * + * Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.SetEnvironment">SetEnvironment()</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 systemd1_manager_complete_set_environment() 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: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. + */ + g_signal_new ("handle-set-environment", + G_TYPE_FROM_INTERFACE (iface), + G_SIGNAL_RUN_LAST, + G_STRUCT_OFFSET (Systemd1ManagerIface, handle_set_environment), + g_signal_accumulator_true_handled, + NULL, + g_cclosure_marshal_generic, + G_TYPE_BOOLEAN, + 2, + G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); + + /** + * Systemd1Manager::handle-unset-environment: + * @object: A #Systemd1Manager. + * @invocation: A #GDBusMethodInvocation. + * @arg_names: Argument passed by remote caller. + * + * Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.UnsetEnvironment">UnsetEnvironment()</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 systemd1_manager_complete_unset_environment() 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: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. + */ + g_signal_new ("handle-unset-environment", + G_TYPE_FROM_INTERFACE (iface), + G_SIGNAL_RUN_LAST, + G_STRUCT_OFFSET (Systemd1ManagerIface, handle_unset_environment), + g_signal_accumulator_true_handled, + NULL, + g_cclosure_marshal_generic, + G_TYPE_BOOLEAN, + 2, + G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); + + /** + * Systemd1Manager::handle-unset-and-set-environment: + * @object: A #Systemd1Manager. + * @invocation: A #GDBusMethodInvocation. + * @arg_names: Argument passed by remote caller. + * @arg_assignments: Argument passed by remote caller. + * + * Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.UnsetAndSetEnvironment">UnsetAndSetEnvironment()</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 systemd1_manager_complete_unset_and_set_environment() 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: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. + */ + g_signal_new ("handle-unset-and-set-environment", + G_TYPE_FROM_INTERFACE (iface), + G_SIGNAL_RUN_LAST, + G_STRUCT_OFFSET (Systemd1ManagerIface, handle_unset_and_set_environment), + 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); + + /** + * Systemd1Manager::handle-enqueue-marked-jobs: + * @object: A #Systemd1Manager. + * @invocation: A #GDBusMethodInvocation. + * + * Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.EnqueueMarkedJobs">EnqueueMarkedJobs()</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 systemd1_manager_complete_enqueue_marked_jobs() 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: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. + */ + g_signal_new ("handle-enqueue-marked-jobs", + G_TYPE_FROM_INTERFACE (iface), + G_SIGNAL_RUN_LAST, + G_STRUCT_OFFSET (Systemd1ManagerIface, handle_enqueue_marked_jobs), + g_signal_accumulator_true_handled, + NULL, + g_cclosure_marshal_generic, + G_TYPE_BOOLEAN, + 1, + G_TYPE_DBUS_METHOD_INVOCATION); + + /** + * Systemd1Manager::handle-list-unit-files: + * @object: A #Systemd1Manager. + * @invocation: A #GDBusMethodInvocation. + * + * Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.ListUnitFiles">ListUnitFiles()</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 systemd1_manager_complete_list_unit_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: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. + */ + g_signal_new ("handle-list-unit-files", + G_TYPE_FROM_INTERFACE (iface), + G_SIGNAL_RUN_LAST, + G_STRUCT_OFFSET (Systemd1ManagerIface, handle_list_unit_files), + g_signal_accumulator_true_handled, + NULL, + g_cclosure_marshal_generic, + G_TYPE_BOOLEAN, + 1, + G_TYPE_DBUS_METHOD_INVOCATION); + + /** + * Systemd1Manager::handle-list-unit-files-by-patterns: + * @object: A #Systemd1Manager. + * @invocation: A #GDBusMethodInvocation. + * @arg_states: Argument passed by remote caller. + * @arg_patterns: Argument passed by remote caller. + * + * Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.ListUnitFilesByPatterns">ListUnitFilesByPatterns()</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 systemd1_manager_complete_list_unit_files_by_patterns() 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: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. + */ + g_signal_new ("handle-list-unit-files-by-patterns", + G_TYPE_FROM_INTERFACE (iface), + G_SIGNAL_RUN_LAST, + G_STRUCT_OFFSET (Systemd1ManagerIface, handle_list_unit_files_by_patterns), + 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); + + /** + * Systemd1Manager::handle-get-unit-file-state: + * @object: A #Systemd1Manager. + * @invocation: A #GDBusMethodInvocation. + * @arg_file: Argument passed by remote caller. + * + * Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.GetUnitFileState">GetUnitFileState()</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 systemd1_manager_complete_get_unit_file_state() 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: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. + */ + g_signal_new ("handle-get-unit-file-state", + G_TYPE_FROM_INTERFACE (iface), + G_SIGNAL_RUN_LAST, + G_STRUCT_OFFSET (Systemd1ManagerIface, handle_get_unit_file_state), + g_signal_accumulator_true_handled, + NULL, + g_cclosure_marshal_generic, + G_TYPE_BOOLEAN, + 2, + G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); + + /** + * Systemd1Manager::handle-enable-unit-files: + * @object: A #Systemd1Manager. + * @invocation: A #GDBusMethodInvocation. + * @arg_files: Argument passed by remote caller. + * @arg_runtime: Argument passed by remote caller. + * @arg_force: Argument passed by remote caller. + * + * Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.EnableUnitFiles">EnableUnitFiles()</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 systemd1_manager_complete_enable_unit_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: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. + */ + g_signal_new ("handle-enable-unit-files", + G_TYPE_FROM_INTERFACE (iface), + G_SIGNAL_RUN_LAST, + G_STRUCT_OFFSET (Systemd1ManagerIface, handle_enable_unit_files), + g_signal_accumulator_true_handled, + NULL, + g_cclosure_marshal_generic, + G_TYPE_BOOLEAN, + 4, + G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV, G_TYPE_BOOLEAN, G_TYPE_BOOLEAN); + + /** + * Systemd1Manager::handle-disable-unit-files: + * @object: A #Systemd1Manager. + * @invocation: A #GDBusMethodInvocation. + * @arg_files: Argument passed by remote caller. + * @arg_runtime: Argument passed by remote caller. + * + * Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.DisableUnitFiles">DisableUnitFiles()</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 systemd1_manager_complete_disable_unit_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: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. + */ + g_signal_new ("handle-disable-unit-files", + G_TYPE_FROM_INTERFACE (iface), + G_SIGNAL_RUN_LAST, + G_STRUCT_OFFSET (Systemd1ManagerIface, handle_disable_unit_files), + g_signal_accumulator_true_handled, + NULL, + g_cclosure_marshal_generic, + G_TYPE_BOOLEAN, + 3, + G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV, G_TYPE_BOOLEAN); + + /** + * Systemd1Manager::handle-enable-unit-files-with-flags: + * @object: A #Systemd1Manager. + * @invocation: A #GDBusMethodInvocation. + * @arg_files: 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-systemd1-Manager.EnableUnitFilesWithFlags">EnableUnitFilesWithFlags()</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 systemd1_manager_complete_enable_unit_files_with_flags() 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: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. + */ + g_signal_new ("handle-enable-unit-files-with-flags", + G_TYPE_FROM_INTERFACE (iface), + G_SIGNAL_RUN_LAST, + G_STRUCT_OFFSET (Systemd1ManagerIface, handle_enable_unit_files_with_flags), + g_signal_accumulator_true_handled, + NULL, + g_cclosure_marshal_generic, + G_TYPE_BOOLEAN, + 3, + G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV, G_TYPE_UINT64); + + /** + * Systemd1Manager::handle-disable-unit-files-with-flags: + * @object: A #Systemd1Manager. + * @invocation: A #GDBusMethodInvocation. + * @arg_files: 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-systemd1-Manager.DisableUnitFilesWithFlags">DisableUnitFilesWithFlags()</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 systemd1_manager_complete_disable_unit_files_with_flags() 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: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. + */ + g_signal_new ("handle-disable-unit-files-with-flags", + G_TYPE_FROM_INTERFACE (iface), + G_SIGNAL_RUN_LAST, + G_STRUCT_OFFSET (Systemd1ManagerIface, handle_disable_unit_files_with_flags), + g_signal_accumulator_true_handled, + NULL, + g_cclosure_marshal_generic, + G_TYPE_BOOLEAN, + 3, + G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV, G_TYPE_UINT64); + + /** + * Systemd1Manager::handle-reenable-unit-files: + * @object: A #Systemd1Manager. + * @invocation: A #GDBusMethodInvocation. + * @arg_files: Argument passed by remote caller. + * @arg_runtime: Argument passed by remote caller. + * @arg_force: Argument passed by remote caller. + * + * Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.ReenableUnitFiles">ReenableUnitFiles()</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 systemd1_manager_complete_reenable_unit_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: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. + */ + g_signal_new ("handle-reenable-unit-files", + G_TYPE_FROM_INTERFACE (iface), + G_SIGNAL_RUN_LAST, + G_STRUCT_OFFSET (Systemd1ManagerIface, handle_reenable_unit_files), + g_signal_accumulator_true_handled, + NULL, + g_cclosure_marshal_generic, + G_TYPE_BOOLEAN, + 4, + G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV, G_TYPE_BOOLEAN, G_TYPE_BOOLEAN); + + /** + * Systemd1Manager::handle-link-unit-files: + * @object: A #Systemd1Manager. + * @invocation: A #GDBusMethodInvocation. + * @arg_files: Argument passed by remote caller. + * @arg_runtime: Argument passed by remote caller. + * @arg_force: Argument passed by remote caller. + * + * Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.LinkUnitFiles">LinkUnitFiles()</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 systemd1_manager_complete_link_unit_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: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. + */ + g_signal_new ("handle-link-unit-files", + G_TYPE_FROM_INTERFACE (iface), + G_SIGNAL_RUN_LAST, + G_STRUCT_OFFSET (Systemd1ManagerIface, handle_link_unit_files), + g_signal_accumulator_true_handled, + NULL, + g_cclosure_marshal_generic, + G_TYPE_BOOLEAN, + 4, + G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV, G_TYPE_BOOLEAN, G_TYPE_BOOLEAN); + + /** + * Systemd1Manager::handle-preset-unit-files: + * @object: A #Systemd1Manager. + * @invocation: A #GDBusMethodInvocation. + * @arg_files: Argument passed by remote caller. + * @arg_runtime: Argument passed by remote caller. + * @arg_force: Argument passed by remote caller. + * + * Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.PresetUnitFiles">PresetUnitFiles()</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 systemd1_manager_complete_preset_unit_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: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. + */ + g_signal_new ("handle-preset-unit-files", + G_TYPE_FROM_INTERFACE (iface), + G_SIGNAL_RUN_LAST, + G_STRUCT_OFFSET (Systemd1ManagerIface, handle_preset_unit_files), + g_signal_accumulator_true_handled, + NULL, + g_cclosure_marshal_generic, + G_TYPE_BOOLEAN, + 4, + G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV, G_TYPE_BOOLEAN, G_TYPE_BOOLEAN); + + /** + * Systemd1Manager::handle-preset-unit-files-with-mode: + * @object: A #Systemd1Manager. + * @invocation: A #GDBusMethodInvocation. + * @arg_files: Argument passed by remote caller. + * @arg_mode: Argument passed by remote caller. + * @arg_runtime: Argument passed by remote caller. + * @arg_force: Argument passed by remote caller. + * + * Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.PresetUnitFilesWithMode">PresetUnitFilesWithMode()</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 systemd1_manager_complete_preset_unit_files_with_mode() 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: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. + */ + g_signal_new ("handle-preset-unit-files-with-mode", + G_TYPE_FROM_INTERFACE (iface), + G_SIGNAL_RUN_LAST, + G_STRUCT_OFFSET (Systemd1ManagerIface, handle_preset_unit_files_with_mode), + g_signal_accumulator_true_handled, + NULL, + g_cclosure_marshal_generic, + G_TYPE_BOOLEAN, + 5, + G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV, G_TYPE_STRING, G_TYPE_BOOLEAN, G_TYPE_BOOLEAN); + + /** + * Systemd1Manager::handle-mask-unit-files: + * @object: A #Systemd1Manager. + * @invocation: A #GDBusMethodInvocation. + * @arg_files: Argument passed by remote caller. + * @arg_runtime: Argument passed by remote caller. + * @arg_force: Argument passed by remote caller. + * + * Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.MaskUnitFiles">MaskUnitFiles()</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 systemd1_manager_complete_mask_unit_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: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. + */ + g_signal_new ("handle-mask-unit-files", + G_TYPE_FROM_INTERFACE (iface), + G_SIGNAL_RUN_LAST, + G_STRUCT_OFFSET (Systemd1ManagerIface, handle_mask_unit_files), + g_signal_accumulator_true_handled, + NULL, + g_cclosure_marshal_generic, + G_TYPE_BOOLEAN, + 4, + G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV, G_TYPE_BOOLEAN, G_TYPE_BOOLEAN); + + /** + * Systemd1Manager::handle-unmask-unit-files: + * @object: A #Systemd1Manager. + * @invocation: A #GDBusMethodInvocation. + * @arg_files: Argument passed by remote caller. + * @arg_runtime: Argument passed by remote caller. + * + * Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.UnmaskUnitFiles">UnmaskUnitFiles()</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 systemd1_manager_complete_unmask_unit_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: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. + */ + g_signal_new ("handle-unmask-unit-files", + G_TYPE_FROM_INTERFACE (iface), + G_SIGNAL_RUN_LAST, + G_STRUCT_OFFSET (Systemd1ManagerIface, handle_unmask_unit_files), + g_signal_accumulator_true_handled, + NULL, + g_cclosure_marshal_generic, + G_TYPE_BOOLEAN, + 3, + G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV, G_TYPE_BOOLEAN); + + /** + * Systemd1Manager::handle-revert-unit-files: + * @object: A #Systemd1Manager. + * @invocation: A #GDBusMethodInvocation. + * @arg_files: Argument passed by remote caller. + * + * Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.RevertUnitFiles">RevertUnitFiles()</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 systemd1_manager_complete_revert_unit_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: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. + */ + g_signal_new ("handle-revert-unit-files", + G_TYPE_FROM_INTERFACE (iface), + G_SIGNAL_RUN_LAST, + G_STRUCT_OFFSET (Systemd1ManagerIface, handle_revert_unit_files), + g_signal_accumulator_true_handled, + NULL, + g_cclosure_marshal_generic, + G_TYPE_BOOLEAN, + 2, + G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); + + /** + * Systemd1Manager::handle-set-default-target: + * @object: A #Systemd1Manager. + * @invocation: A #GDBusMethodInvocation. + * @arg_name: Argument passed by remote caller. + * @arg_force: Argument passed by remote caller. + * + * Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.SetDefaultTarget">SetDefaultTarget()</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 systemd1_manager_complete_set_default_target() 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: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. + */ + g_signal_new ("handle-set-default-target", + G_TYPE_FROM_INTERFACE (iface), + G_SIGNAL_RUN_LAST, + G_STRUCT_OFFSET (Systemd1ManagerIface, handle_set_default_target), + g_signal_accumulator_true_handled, + NULL, + g_cclosure_marshal_generic, + G_TYPE_BOOLEAN, + 3, + G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING, G_TYPE_BOOLEAN); + + /** + * Systemd1Manager::handle-get-default-target: + * @object: A #Systemd1Manager. + * @invocation: A #GDBusMethodInvocation. + * + * Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.GetDefaultTarget">GetDefaultTarget()</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 systemd1_manager_complete_get_default_target() 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: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. + */ + g_signal_new ("handle-get-default-target", + G_TYPE_FROM_INTERFACE (iface), + G_SIGNAL_RUN_LAST, + G_STRUCT_OFFSET (Systemd1ManagerIface, handle_get_default_target), + g_signal_accumulator_true_handled, + NULL, + g_cclosure_marshal_generic, + G_TYPE_BOOLEAN, + 1, + G_TYPE_DBUS_METHOD_INVOCATION); + + /** + * Systemd1Manager::handle-preset-all-unit-files: + * @object: A #Systemd1Manager. + * @invocation: A #GDBusMethodInvocation. + * @arg_mode: Argument passed by remote caller. + * @arg_runtime: Argument passed by remote caller. + * @arg_force: Argument passed by remote caller. + * + * Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.PresetAllUnitFiles">PresetAllUnitFiles()</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 systemd1_manager_complete_preset_all_unit_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: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. + */ + g_signal_new ("handle-preset-all-unit-files", + G_TYPE_FROM_INTERFACE (iface), + G_SIGNAL_RUN_LAST, + G_STRUCT_OFFSET (Systemd1ManagerIface, handle_preset_all_unit_files), + g_signal_accumulator_true_handled, + NULL, + g_cclosure_marshal_generic, + G_TYPE_BOOLEAN, + 4, + G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING, G_TYPE_BOOLEAN, G_TYPE_BOOLEAN); + + /** + * Systemd1Manager::handle-add-dependency-unit-files: + * @object: A #Systemd1Manager. + * @invocation: A #GDBusMethodInvocation. + * @arg_files: Argument passed by remote caller. + * @arg_target: Argument passed by remote caller. + * @arg_type: Argument passed by remote caller. + * @arg_runtime: Argument passed by remote caller. + * @arg_force: Argument passed by remote caller. + * + * Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.AddDependencyUnitFiles">AddDependencyUnitFiles()</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 systemd1_manager_complete_add_dependency_unit_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: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. + */ + g_signal_new ("handle-add-dependency-unit-files", + G_TYPE_FROM_INTERFACE (iface), + G_SIGNAL_RUN_LAST, + G_STRUCT_OFFSET (Systemd1ManagerIface, handle_add_dependency_unit_files), + g_signal_accumulator_true_handled, + NULL, + g_cclosure_marshal_generic, + G_TYPE_BOOLEAN, + 6, + G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_BOOLEAN, G_TYPE_BOOLEAN); + + /** + * Systemd1Manager::handle-get-unit-file-links: + * @object: A #Systemd1Manager. + * @invocation: A #GDBusMethodInvocation. + * @arg_name: Argument passed by remote caller. + * @arg_runtime: Argument passed by remote caller. + * + * Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.GetUnitFileLinks">GetUnitFileLinks()</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 systemd1_manager_complete_get_unit_file_links() 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: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. + */ + g_signal_new ("handle-get-unit-file-links", + G_TYPE_FROM_INTERFACE (iface), + G_SIGNAL_RUN_LAST, + G_STRUCT_OFFSET (Systemd1ManagerIface, handle_get_unit_file_links), + g_signal_accumulator_true_handled, + NULL, + g_cclosure_marshal_generic, + G_TYPE_BOOLEAN, + 3, + G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING, G_TYPE_BOOLEAN); + + /** + * Systemd1Manager::handle-set-exit-code: + * @object: A #Systemd1Manager. + * @invocation: A #GDBusMethodInvocation. + * @arg_number: Argument passed by remote caller. + * + * Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.SetExitCode">SetExitCode()</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 systemd1_manager_complete_set_exit_code() 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: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. + */ + g_signal_new ("handle-set-exit-code", + G_TYPE_FROM_INTERFACE (iface), + G_SIGNAL_RUN_LAST, + G_STRUCT_OFFSET (Systemd1ManagerIface, handle_set_exit_code), + g_signal_accumulator_true_handled, + NULL, + g_cclosure_marshal_generic, + G_TYPE_BOOLEAN, + 2, + G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UCHAR); + + /** + * Systemd1Manager::handle-lookup-dynamic-user-by-name: + * @object: A #Systemd1Manager. + * @invocation: A #GDBusMethodInvocation. + * @arg_name: Argument passed by remote caller. + * + * Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.LookupDynamicUserByName">LookupDynamicUserByName()</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 systemd1_manager_complete_lookup_dynamic_user_by_name() 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: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. + */ + g_signal_new ("handle-lookup-dynamic-user-by-name", + G_TYPE_FROM_INTERFACE (iface), + G_SIGNAL_RUN_LAST, + G_STRUCT_OFFSET (Systemd1ManagerIface, handle_lookup_dynamic_user_by_name), + g_signal_accumulator_true_handled, + NULL, + g_cclosure_marshal_generic, + G_TYPE_BOOLEAN, + 2, + G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); + + /** + * Systemd1Manager::handle-lookup-dynamic-user-by-uid: + * @object: A #Systemd1Manager. + * @invocation: A #GDBusMethodInvocation. + * @arg_uid: Argument passed by remote caller. + * + * Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.LookupDynamicUserByUID">LookupDynamicUserByUID()</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 systemd1_manager_complete_lookup_dynamic_user_by_uid() 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: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. + */ + g_signal_new ("handle-lookup-dynamic-user-by-uid", + G_TYPE_FROM_INTERFACE (iface), + G_SIGNAL_RUN_LAST, + G_STRUCT_OFFSET (Systemd1ManagerIface, handle_lookup_dynamic_user_by_uid), + g_signal_accumulator_true_handled, + NULL, + g_cclosure_marshal_generic, + G_TYPE_BOOLEAN, + 2, + G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT); + + /** + * Systemd1Manager::handle-get-dynamic-users: + * @object: A #Systemd1Manager. + * @invocation: A #GDBusMethodInvocation. + * + * Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.GetDynamicUsers">GetDynamicUsers()</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 systemd1_manager_complete_get_dynamic_users() 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: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. + */ + g_signal_new ("handle-get-dynamic-users", + G_TYPE_FROM_INTERFACE (iface), + G_SIGNAL_RUN_LAST, + G_STRUCT_OFFSET (Systemd1ManagerIface, handle_get_dynamic_users), + g_signal_accumulator_true_handled, + NULL, + g_cclosure_marshal_generic, + G_TYPE_BOOLEAN, + 1, + G_TYPE_DBUS_METHOD_INVOCATION); + + /* GObject signals for received D-Bus signals: */ + /** + * Systemd1Manager::unit-new: + * @object: A #Systemd1Manager. + * @arg_id: Argument. + * @arg_unit: Argument. + * + * On the client-side, this signal is emitted whenever the D-Bus signal <link linkend="gdbus-signal-org-freedesktop-systemd1-Manager.UnitNew">"UnitNew"</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 ("unit-new", + G_TYPE_FROM_INTERFACE (iface), + G_SIGNAL_RUN_LAST, + G_STRUCT_OFFSET (Systemd1ManagerIface, unit_new), + NULL, + NULL, + g_cclosure_marshal_generic, + G_TYPE_NONE, + 2, G_TYPE_STRING, G_TYPE_STRING); + + /** + * Systemd1Manager::unit-removed: + * @object: A #Systemd1Manager. + * @arg_id: Argument. + * @arg_unit: Argument. + * + * On the client-side, this signal is emitted whenever the D-Bus signal <link linkend="gdbus-signal-org-freedesktop-systemd1-Manager.UnitRemoved">"UnitRemoved"</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 ("unit-removed", + G_TYPE_FROM_INTERFACE (iface), + G_SIGNAL_RUN_LAST, + G_STRUCT_OFFSET (Systemd1ManagerIface, unit_removed), + NULL, + NULL, + g_cclosure_marshal_generic, + G_TYPE_NONE, + 2, G_TYPE_STRING, G_TYPE_STRING); + + /** + * Systemd1Manager::job-new: + * @object: A #Systemd1Manager. + * @arg_id: Argument. + * @arg_job: Argument. + * @arg_unit: Argument. + * + * On the client-side, this signal is emitted whenever the D-Bus signal <link linkend="gdbus-signal-org-freedesktop-systemd1-Manager.JobNew">"JobNew"</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-new", + G_TYPE_FROM_INTERFACE (iface), + G_SIGNAL_RUN_LAST, + G_STRUCT_OFFSET (Systemd1ManagerIface, job_new), + NULL, + NULL, + g_cclosure_marshal_generic, + G_TYPE_NONE, + 3, G_TYPE_UINT, G_TYPE_STRING, G_TYPE_STRING); + + /** + * Systemd1Manager::job-removed: + * @object: A #Systemd1Manager. + * @arg_id: Argument. + * @arg_job: Argument. + * @arg_unit: Argument. + * @arg_result: Argument. + * + * On the client-side, this signal is emitted whenever the D-Bus signal <link linkend="gdbus-signal-org-freedesktop-systemd1-Manager.JobRemoved">"JobRemoved"</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-removed", + G_TYPE_FROM_INTERFACE (iface), + G_SIGNAL_RUN_LAST, + G_STRUCT_OFFSET (Systemd1ManagerIface, job_removed), + NULL, + NULL, + g_cclosure_marshal_generic, + G_TYPE_NONE, + 4, G_TYPE_UINT, G_TYPE_STRING, G_TYPE_STRING, G_TYPE_STRING); + + /** + * Systemd1Manager::startup-finished: + * @object: A #Systemd1Manager. + * @arg_firmware: Argument. + * @arg_loader: Argument. + * @arg_kernel: Argument. + * @arg_initrd: Argument. + * @arg_userspace: Argument. + * @arg_total: Argument. + * + * On the client-side, this signal is emitted whenever the D-Bus signal <link linkend="gdbus-signal-org-freedesktop-systemd1-Manager.StartupFinished">"StartupFinished"</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 ("startup-finished", + G_TYPE_FROM_INTERFACE (iface), + G_SIGNAL_RUN_LAST, + G_STRUCT_OFFSET (Systemd1ManagerIface, startup_finished), + NULL, + NULL, + g_cclosure_marshal_generic, + G_TYPE_NONE, + 6, G_TYPE_UINT64, G_TYPE_UINT64, G_TYPE_UINT64, G_TYPE_UINT64, G_TYPE_UINT64, G_TYPE_UINT64); + + /** + * Systemd1Manager::unit-files-changed: + * @object: A #Systemd1Manager. + * + * On the client-side, this signal is emitted whenever the D-Bus signal <link linkend="gdbus-signal-org-freedesktop-systemd1-Manager.UnitFilesChanged">"UnitFilesChanged"</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 ("unit-files-changed", + G_TYPE_FROM_INTERFACE (iface), + G_SIGNAL_RUN_LAST, + G_STRUCT_OFFSET (Systemd1ManagerIface, unit_files_changed), + NULL, + NULL, + g_cclosure_marshal_generic, + G_TYPE_NONE, + 0); + + /** + * Systemd1Manager::reloading: + * @object: A #Systemd1Manager. + * @arg_active: Argument. + * + * On the client-side, this signal is emitted whenever the D-Bus signal <link linkend="gdbus-signal-org-freedesktop-systemd1-Manager.Reloading">"Reloading"</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 ("reloading", + G_TYPE_FROM_INTERFACE (iface), + G_SIGNAL_RUN_LAST, + G_STRUCT_OFFSET (Systemd1ManagerIface, reloading), + NULL, + NULL, + g_cclosure_marshal_generic, + G_TYPE_NONE, + 1, G_TYPE_BOOLEAN); + + /* GObject properties for D-Bus properties: */ + /** + * Systemd1Manager:version: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.Version">"Version"</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 ("version", "Version", "Version", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Manager:features: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.Features">"Features"</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 ("features", "Features", "Features", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Manager:virtualization: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.Virtualization">"Virtualization"</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 ("virtualization", "Virtualization", "Virtualization", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Manager:architecture: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.Architecture">"Architecture"</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 ("architecture", "Architecture", "Architecture", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Manager:tainted: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.Tainted">"Tainted"</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 ("tainted", "Tainted", "Tainted", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Manager:firmware-timestamp: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.FirmwareTimestamp">"FirmwareTimestamp"</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 ("firmware-timestamp", "FirmwareTimestamp", "FirmwareTimestamp", 0, G_MAXUINT64, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Manager:firmware-timestamp-monotonic: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.FirmwareTimestampMonotonic">"FirmwareTimestampMonotonic"</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 ("firmware-timestamp-monotonic", "FirmwareTimestampMonotonic", "FirmwareTimestampMonotonic", 0, G_MAXUINT64, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Manager:loader-timestamp: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.LoaderTimestamp">"LoaderTimestamp"</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 ("loader-timestamp", "LoaderTimestamp", "LoaderTimestamp", 0, G_MAXUINT64, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Manager:loader-timestamp-monotonic: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.LoaderTimestampMonotonic">"LoaderTimestampMonotonic"</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 ("loader-timestamp-monotonic", "LoaderTimestampMonotonic", "LoaderTimestampMonotonic", 0, G_MAXUINT64, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Manager:kernel-timestamp: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.KernelTimestamp">"KernelTimestamp"</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 ("kernel-timestamp", "KernelTimestamp", "KernelTimestamp", 0, G_MAXUINT64, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Manager:kernel-timestamp-monotonic: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.KernelTimestampMonotonic">"KernelTimestampMonotonic"</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 ("kernel-timestamp-monotonic", "KernelTimestampMonotonic", "KernelTimestampMonotonic", 0, G_MAXUINT64, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Manager:init-rdtimestamp: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.InitRDTimestamp">"InitRDTimestamp"</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 ("init-rdtimestamp", "InitRDTimestamp", "InitRDTimestamp", 0, G_MAXUINT64, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Manager:init-rdtimestamp-monotonic: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.InitRDTimestampMonotonic">"InitRDTimestampMonotonic"</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 ("init-rdtimestamp-monotonic", "InitRDTimestampMonotonic", "InitRDTimestampMonotonic", 0, G_MAXUINT64, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Manager:userspace-timestamp: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.UserspaceTimestamp">"UserspaceTimestamp"</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 ("userspace-timestamp", "UserspaceTimestamp", "UserspaceTimestamp", 0, G_MAXUINT64, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Manager:userspace-timestamp-monotonic: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.UserspaceTimestampMonotonic">"UserspaceTimestampMonotonic"</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 ("userspace-timestamp-monotonic", "UserspaceTimestampMonotonic", "UserspaceTimestampMonotonic", 0, G_MAXUINT64, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Manager:finish-timestamp: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.FinishTimestamp">"FinishTimestamp"</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 ("finish-timestamp", "FinishTimestamp", "FinishTimestamp", 0, G_MAXUINT64, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Manager:finish-timestamp-monotonic: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.FinishTimestampMonotonic">"FinishTimestampMonotonic"</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 ("finish-timestamp-monotonic", "FinishTimestampMonotonic", "FinishTimestampMonotonic", 0, G_MAXUINT64, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Manager:security-start-timestamp: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.SecurityStartTimestamp">"SecurityStartTimestamp"</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 ("security-start-timestamp", "SecurityStartTimestamp", "SecurityStartTimestamp", 0, G_MAXUINT64, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Manager:security-start-timestamp-monotonic: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.SecurityStartTimestampMonotonic">"SecurityStartTimestampMonotonic"</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 ("security-start-timestamp-monotonic", "SecurityStartTimestampMonotonic", "SecurityStartTimestampMonotonic", 0, G_MAXUINT64, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Manager:security-finish-timestamp: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.SecurityFinishTimestamp">"SecurityFinishTimestamp"</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 ("security-finish-timestamp", "SecurityFinishTimestamp", "SecurityFinishTimestamp", 0, G_MAXUINT64, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Manager:security-finish-timestamp-monotonic: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.SecurityFinishTimestampMonotonic">"SecurityFinishTimestampMonotonic"</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 ("security-finish-timestamp-monotonic", "SecurityFinishTimestampMonotonic", "SecurityFinishTimestampMonotonic", 0, G_MAXUINT64, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Manager:generators-start-timestamp: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.GeneratorsStartTimestamp">"GeneratorsStartTimestamp"</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 ("generators-start-timestamp", "GeneratorsStartTimestamp", "GeneratorsStartTimestamp", 0, G_MAXUINT64, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Manager:generators-start-timestamp-monotonic: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.GeneratorsStartTimestampMonotonic">"GeneratorsStartTimestampMonotonic"</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 ("generators-start-timestamp-monotonic", "GeneratorsStartTimestampMonotonic", "GeneratorsStartTimestampMonotonic", 0, G_MAXUINT64, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Manager:generators-finish-timestamp: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.GeneratorsFinishTimestamp">"GeneratorsFinishTimestamp"</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 ("generators-finish-timestamp", "GeneratorsFinishTimestamp", "GeneratorsFinishTimestamp", 0, G_MAXUINT64, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Manager:generators-finish-timestamp-monotonic: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.GeneratorsFinishTimestampMonotonic">"GeneratorsFinishTimestampMonotonic"</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 ("generators-finish-timestamp-monotonic", "GeneratorsFinishTimestampMonotonic", "GeneratorsFinishTimestampMonotonic", 0, G_MAXUINT64, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Manager:units-load-start-timestamp: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.UnitsLoadStartTimestamp">"UnitsLoadStartTimestamp"</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 ("units-load-start-timestamp", "UnitsLoadStartTimestamp", "UnitsLoadStartTimestamp", 0, G_MAXUINT64, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Manager:units-load-start-timestamp-monotonic: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.UnitsLoadStartTimestampMonotonic">"UnitsLoadStartTimestampMonotonic"</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 ("units-load-start-timestamp-monotonic", "UnitsLoadStartTimestampMonotonic", "UnitsLoadStartTimestampMonotonic", 0, G_MAXUINT64, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Manager:units-load-finish-timestamp: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.UnitsLoadFinishTimestamp">"UnitsLoadFinishTimestamp"</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 ("units-load-finish-timestamp", "UnitsLoadFinishTimestamp", "UnitsLoadFinishTimestamp", 0, G_MAXUINT64, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Manager:units-load-finish-timestamp-monotonic: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.UnitsLoadFinishTimestampMonotonic">"UnitsLoadFinishTimestampMonotonic"</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 ("units-load-finish-timestamp-monotonic", "UnitsLoadFinishTimestampMonotonic", "UnitsLoadFinishTimestampMonotonic", 0, G_MAXUINT64, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Manager:init-rdsecurity-start-timestamp: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.InitRDSecurityStartTimestamp">"InitRDSecurityStartTimestamp"</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 ("init-rdsecurity-start-timestamp", "InitRDSecurityStartTimestamp", "InitRDSecurityStartTimestamp", 0, G_MAXUINT64, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Manager:init-rdsecurity-start-timestamp-monotonic: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.InitRDSecurityStartTimestampMonotonic">"InitRDSecurityStartTimestampMonotonic"</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 ("init-rdsecurity-start-timestamp-monotonic", "InitRDSecurityStartTimestampMonotonic", "InitRDSecurityStartTimestampMonotonic", 0, G_MAXUINT64, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Manager:init-rdsecurity-finish-timestamp: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.InitRDSecurityFinishTimestamp">"InitRDSecurityFinishTimestamp"</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 ("init-rdsecurity-finish-timestamp", "InitRDSecurityFinishTimestamp", "InitRDSecurityFinishTimestamp", 0, G_MAXUINT64, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Manager:init-rdsecurity-finish-timestamp-monotonic: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.InitRDSecurityFinishTimestampMonotonic">"InitRDSecurityFinishTimestampMonotonic"</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 ("init-rdsecurity-finish-timestamp-monotonic", "InitRDSecurityFinishTimestampMonotonic", "InitRDSecurityFinishTimestampMonotonic", 0, G_MAXUINT64, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Manager:init-rdgenerators-start-timestamp: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.InitRDGeneratorsStartTimestamp">"InitRDGeneratorsStartTimestamp"</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 ("init-rdgenerators-start-timestamp", "InitRDGeneratorsStartTimestamp", "InitRDGeneratorsStartTimestamp", 0, G_MAXUINT64, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Manager:init-rdgenerators-start-timestamp-monotonic: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.InitRDGeneratorsStartTimestampMonotonic">"InitRDGeneratorsStartTimestampMonotonic"</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 ("init-rdgenerators-start-timestamp-monotonic", "InitRDGeneratorsStartTimestampMonotonic", "InitRDGeneratorsStartTimestampMonotonic", 0, G_MAXUINT64, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Manager:init-rdgenerators-finish-timestamp: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.InitRDGeneratorsFinishTimestamp">"InitRDGeneratorsFinishTimestamp"</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 ("init-rdgenerators-finish-timestamp", "InitRDGeneratorsFinishTimestamp", "InitRDGeneratorsFinishTimestamp", 0, G_MAXUINT64, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Manager:init-rdgenerators-finish-timestamp-monotonic: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.InitRDGeneratorsFinishTimestampMonotonic">"InitRDGeneratorsFinishTimestampMonotonic"</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 ("init-rdgenerators-finish-timestamp-monotonic", "InitRDGeneratorsFinishTimestampMonotonic", "InitRDGeneratorsFinishTimestampMonotonic", 0, G_MAXUINT64, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Manager:init-rdunits-load-start-timestamp: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.InitRDUnitsLoadStartTimestamp">"InitRDUnitsLoadStartTimestamp"</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 ("init-rdunits-load-start-timestamp", "InitRDUnitsLoadStartTimestamp", "InitRDUnitsLoadStartTimestamp", 0, G_MAXUINT64, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Manager:init-rdunits-load-start-timestamp-monotonic: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.InitRDUnitsLoadStartTimestampMonotonic">"InitRDUnitsLoadStartTimestampMonotonic"</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 ("init-rdunits-load-start-timestamp-monotonic", "InitRDUnitsLoadStartTimestampMonotonic", "InitRDUnitsLoadStartTimestampMonotonic", 0, G_MAXUINT64, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Manager:init-rdunits-load-finish-timestamp: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.InitRDUnitsLoadFinishTimestamp">"InitRDUnitsLoadFinishTimestamp"</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 ("init-rdunits-load-finish-timestamp", "InitRDUnitsLoadFinishTimestamp", "InitRDUnitsLoadFinishTimestamp", 0, G_MAXUINT64, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Manager:init-rdunits-load-finish-timestamp-monotonic: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.InitRDUnitsLoadFinishTimestampMonotonic">"InitRDUnitsLoadFinishTimestampMonotonic"</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 ("init-rdunits-load-finish-timestamp-monotonic", "InitRDUnitsLoadFinishTimestampMonotonic", "InitRDUnitsLoadFinishTimestampMonotonic", 0, G_MAXUINT64, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Manager:log-level: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.LogLevel">"LogLevel"</link>. + * + * Since the D-Bus property for this #GObject property is both readable and writable, it is meaningful to both read from it and write to it on both the service- and client-side. + */ + g_object_interface_install_property (iface, + g_param_spec_string ("log-level", "LogLevel", "LogLevel", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Manager:log-target: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.LogTarget">"LogTarget"</link>. + * + * Since the D-Bus property for this #GObject property is both readable and writable, it is meaningful to both read from it and write to it on both the service- and client-side. + */ + g_object_interface_install_property (iface, + g_param_spec_string ("log-target", "LogTarget", "LogTarget", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Manager:nnames: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.NNames">"NNames"</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 ("nnames", "NNames", "NNames", 0, G_MAXUINT32, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Manager:nfailed-units: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.NFailedUnits">"NFailedUnits"</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 ("nfailed-units", "NFailedUnits", "NFailedUnits", 0, G_MAXUINT32, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Manager:njobs: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.NJobs">"NJobs"</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 ("njobs", "NJobs", "NJobs", 0, G_MAXUINT32, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Manager:ninstalled-jobs: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.NInstalledJobs">"NInstalledJobs"</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 ("ninstalled-jobs", "NInstalledJobs", "NInstalledJobs", 0, G_MAXUINT32, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Manager:nfailed-jobs: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.NFailedJobs">"NFailedJobs"</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 ("nfailed-jobs", "NFailedJobs", "NFailedJobs", 0, G_MAXUINT32, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Manager:progress: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.Progress">"Progress"</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 ("progress", "Progress", "Progress", -G_MAXDOUBLE, G_MAXDOUBLE, 0.0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Manager:environment: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.Environment">"Environment"</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 ("environment", "Environment", "Environment", G_TYPE_STRV, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Manager:confirm-spawn: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.ConfirmSpawn">"ConfirmSpawn"</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 ("confirm-spawn", "ConfirmSpawn", "ConfirmSpawn", FALSE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Manager:show-status: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.ShowStatus">"ShowStatus"</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 ("show-status", "ShowStatus", "ShowStatus", FALSE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Manager:unit-path: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.UnitPath">"UnitPath"</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 ("unit-path", "UnitPath", "UnitPath", G_TYPE_STRV, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Manager:default-standard-output: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.DefaultStandardOutput">"DefaultStandardOutput"</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 ("default-standard-output", "DefaultStandardOutput", "DefaultStandardOutput", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Manager:default-standard-error: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.DefaultStandardError">"DefaultStandardError"</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 ("default-standard-error", "DefaultStandardError", "DefaultStandardError", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Manager:runtime-watchdog-usec: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.RuntimeWatchdogUSec">"RuntimeWatchdogUSec"</link>. + * + * Since the D-Bus property for this #GObject property is both readable and writable, it is meaningful to both read from it and write to it on both the service- and client-side. + */ + g_object_interface_install_property (iface, + g_param_spec_uint64 ("runtime-watchdog-usec", "RuntimeWatchdogUSec", "RuntimeWatchdogUSec", 0, G_MAXUINT64, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Manager:reboot-watchdog-usec: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.RebootWatchdogUSec">"RebootWatchdogUSec"</link>. + * + * Since the D-Bus property for this #GObject property is both readable and writable, it is meaningful to both read from it and write to it on both the service- and client-side. + */ + g_object_interface_install_property (iface, + g_param_spec_uint64 ("reboot-watchdog-usec", "RebootWatchdogUSec", "RebootWatchdogUSec", 0, G_MAXUINT64, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Manager:kexec-watchdog-usec: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.KExecWatchdogUSec">"KExecWatchdogUSec"</link>. + * + * Since the D-Bus property for this #GObject property is both readable and writable, it is meaningful to both read from it and write to it on both the service- and client-side. + */ + g_object_interface_install_property (iface, + g_param_spec_uint64 ("kexec-watchdog-usec", "KExecWatchdogUSec", "KExecWatchdogUSec", 0, G_MAXUINT64, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Manager:service-watchdogs: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.ServiceWatchdogs">"ServiceWatchdogs"</link>. + * + * Since the D-Bus property for this #GObject property is both readable and writable, it is meaningful to both read from it and write to it on both the service- and client-side. + */ + g_object_interface_install_property (iface, + g_param_spec_boolean ("service-watchdogs", "ServiceWatchdogs", "ServiceWatchdogs", FALSE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Manager:control-group: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.ControlGroup">"ControlGroup"</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 ("control-group", "ControlGroup", "ControlGroup", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Manager:system-state: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.SystemState">"SystemState"</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 ("system-state", "SystemState", "SystemState", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Manager:exit-code: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.ExitCode">"ExitCode"</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_uchar ("exit-code", "ExitCode", "ExitCode", 0, 255, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Manager:default-timer-accuracy-usec: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.DefaultTimerAccuracyUSec">"DefaultTimerAccuracyUSec"</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 ("default-timer-accuracy-usec", "DefaultTimerAccuracyUSec", "DefaultTimerAccuracyUSec", 0, G_MAXUINT64, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Manager:default-timeout-start-usec: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.DefaultTimeoutStartUSec">"DefaultTimeoutStartUSec"</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 ("default-timeout-start-usec", "DefaultTimeoutStartUSec", "DefaultTimeoutStartUSec", 0, G_MAXUINT64, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Manager:default-timeout-stop-usec: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.DefaultTimeoutStopUSec">"DefaultTimeoutStopUSec"</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 ("default-timeout-stop-usec", "DefaultTimeoutStopUSec", "DefaultTimeoutStopUSec", 0, G_MAXUINT64, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Manager:default-timeout-abort-usec: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.DefaultTimeoutAbortUSec">"DefaultTimeoutAbortUSec"</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 ("default-timeout-abort-usec", "DefaultTimeoutAbortUSec", "DefaultTimeoutAbortUSec", 0, G_MAXUINT64, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Manager:default-restart-usec: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.DefaultRestartUSec">"DefaultRestartUSec"</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 ("default-restart-usec", "DefaultRestartUSec", "DefaultRestartUSec", 0, G_MAXUINT64, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Manager:default-start-limit-interval-usec: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.DefaultStartLimitIntervalUSec">"DefaultStartLimitIntervalUSec"</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 ("default-start-limit-interval-usec", "DefaultStartLimitIntervalUSec", "DefaultStartLimitIntervalUSec", 0, G_MAXUINT64, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Manager:default-start-limit-burst: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.DefaultStartLimitBurst">"DefaultStartLimitBurst"</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 ("default-start-limit-burst", "DefaultStartLimitBurst", "DefaultStartLimitBurst", 0, G_MAXUINT32, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Manager:default-cpuaccounting: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.DefaultCPUAccounting">"DefaultCPUAccounting"</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 ("default-cpuaccounting", "DefaultCPUAccounting", "DefaultCPUAccounting", FALSE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Manager:default-block-ioaccounting: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.DefaultBlockIOAccounting">"DefaultBlockIOAccounting"</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 ("default-block-ioaccounting", "DefaultBlockIOAccounting", "DefaultBlockIOAccounting", FALSE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Manager:default-memory-accounting: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.DefaultMemoryAccounting">"DefaultMemoryAccounting"</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 ("default-memory-accounting", "DefaultMemoryAccounting", "DefaultMemoryAccounting", FALSE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Manager:default-tasks-accounting: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.DefaultTasksAccounting">"DefaultTasksAccounting"</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 ("default-tasks-accounting", "DefaultTasksAccounting", "DefaultTasksAccounting", FALSE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Manager:default-limit-cpu: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.DefaultLimitCPU">"DefaultLimitCPU"</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 ("default-limit-cpu", "DefaultLimitCPU", "DefaultLimitCPU", 0, G_MAXUINT64, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Manager:default-limit-cpusoft: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.DefaultLimitCPUSoft">"DefaultLimitCPUSoft"</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 ("default-limit-cpusoft", "DefaultLimitCPUSoft", "DefaultLimitCPUSoft", 0, G_MAXUINT64, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Manager:default-limit-fsize: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.DefaultLimitFSIZE">"DefaultLimitFSIZE"</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 ("default-limit-fsize", "DefaultLimitFSIZE", "DefaultLimitFSIZE", 0, G_MAXUINT64, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Manager:default-limit-fsizesoft: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.DefaultLimitFSIZESoft">"DefaultLimitFSIZESoft"</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 ("default-limit-fsizesoft", "DefaultLimitFSIZESoft", "DefaultLimitFSIZESoft", 0, G_MAXUINT64, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Manager:default-limit-data: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.DefaultLimitDATA">"DefaultLimitDATA"</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 ("default-limit-data", "DefaultLimitDATA", "DefaultLimitDATA", 0, G_MAXUINT64, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Manager:default-limit-datasoft: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.DefaultLimitDATASoft">"DefaultLimitDATASoft"</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 ("default-limit-datasoft", "DefaultLimitDATASoft", "DefaultLimitDATASoft", 0, G_MAXUINT64, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Manager:default-limit-stack: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.DefaultLimitSTACK">"DefaultLimitSTACK"</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 ("default-limit-stack", "DefaultLimitSTACK", "DefaultLimitSTACK", 0, G_MAXUINT64, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Manager:default-limit-stacksoft: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.DefaultLimitSTACKSoft">"DefaultLimitSTACKSoft"</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 ("default-limit-stacksoft", "DefaultLimitSTACKSoft", "DefaultLimitSTACKSoft", 0, G_MAXUINT64, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Manager:default-limit-core: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.DefaultLimitCORE">"DefaultLimitCORE"</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 ("default-limit-core", "DefaultLimitCORE", "DefaultLimitCORE", 0, G_MAXUINT64, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Manager:default-limit-coresoft: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.DefaultLimitCORESoft">"DefaultLimitCORESoft"</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 ("default-limit-coresoft", "DefaultLimitCORESoft", "DefaultLimitCORESoft", 0, G_MAXUINT64, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Manager:default-limit-rss: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.DefaultLimitRSS">"DefaultLimitRSS"</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 ("default-limit-rss", "DefaultLimitRSS", "DefaultLimitRSS", 0, G_MAXUINT64, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Manager:default-limit-rsssoft: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.DefaultLimitRSSSoft">"DefaultLimitRSSSoft"</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 ("default-limit-rsssoft", "DefaultLimitRSSSoft", "DefaultLimitRSSSoft", 0, G_MAXUINT64, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Manager:default-limit-nofile: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.DefaultLimitNOFILE">"DefaultLimitNOFILE"</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 ("default-limit-nofile", "DefaultLimitNOFILE", "DefaultLimitNOFILE", 0, G_MAXUINT64, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Manager:default-limit-nofilesoft: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.DefaultLimitNOFILESoft">"DefaultLimitNOFILESoft"</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 ("default-limit-nofilesoft", "DefaultLimitNOFILESoft", "DefaultLimitNOFILESoft", 0, G_MAXUINT64, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Manager:default-limit-as: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.DefaultLimitAS">"DefaultLimitAS"</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 ("default-limit-as", "DefaultLimitAS", "DefaultLimitAS", 0, G_MAXUINT64, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Manager:default-limit-assoft: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.DefaultLimitASSoft">"DefaultLimitASSoft"</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 ("default-limit-assoft", "DefaultLimitASSoft", "DefaultLimitASSoft", 0, G_MAXUINT64, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Manager:default-limit-nproc: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.DefaultLimitNPROC">"DefaultLimitNPROC"</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 ("default-limit-nproc", "DefaultLimitNPROC", "DefaultLimitNPROC", 0, G_MAXUINT64, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Manager:default-limit-nprocsoft: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.DefaultLimitNPROCSoft">"DefaultLimitNPROCSoft"</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 ("default-limit-nprocsoft", "DefaultLimitNPROCSoft", "DefaultLimitNPROCSoft", 0, G_MAXUINT64, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Manager:default-limit-memlock: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.DefaultLimitMEMLOCK">"DefaultLimitMEMLOCK"</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 ("default-limit-memlock", "DefaultLimitMEMLOCK", "DefaultLimitMEMLOCK", 0, G_MAXUINT64, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Manager:default-limit-memlocksoft: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.DefaultLimitMEMLOCKSoft">"DefaultLimitMEMLOCKSoft"</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 ("default-limit-memlocksoft", "DefaultLimitMEMLOCKSoft", "DefaultLimitMEMLOCKSoft", 0, G_MAXUINT64, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Manager:default-limit-locks: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.DefaultLimitLOCKS">"DefaultLimitLOCKS"</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 ("default-limit-locks", "DefaultLimitLOCKS", "DefaultLimitLOCKS", 0, G_MAXUINT64, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Manager:default-limit-lockssoft: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.DefaultLimitLOCKSSoft">"DefaultLimitLOCKSSoft"</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 ("default-limit-lockssoft", "DefaultLimitLOCKSSoft", "DefaultLimitLOCKSSoft", 0, G_MAXUINT64, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Manager:default-limit-sigpending: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.DefaultLimitSIGPENDING">"DefaultLimitSIGPENDING"</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 ("default-limit-sigpending", "DefaultLimitSIGPENDING", "DefaultLimitSIGPENDING", 0, G_MAXUINT64, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Manager:default-limit-sigpendingsoft: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.DefaultLimitSIGPENDINGSoft">"DefaultLimitSIGPENDINGSoft"</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 ("default-limit-sigpendingsoft", "DefaultLimitSIGPENDINGSoft", "DefaultLimitSIGPENDINGSoft", 0, G_MAXUINT64, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Manager:default-limit-msgqueue: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.DefaultLimitMSGQUEUE">"DefaultLimitMSGQUEUE"</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 ("default-limit-msgqueue", "DefaultLimitMSGQUEUE", "DefaultLimitMSGQUEUE", 0, G_MAXUINT64, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Manager:default-limit-msgqueuesoft: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.DefaultLimitMSGQUEUESoft">"DefaultLimitMSGQUEUESoft"</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 ("default-limit-msgqueuesoft", "DefaultLimitMSGQUEUESoft", "DefaultLimitMSGQUEUESoft", 0, G_MAXUINT64, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Manager:default-limit-nice: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.DefaultLimitNICE">"DefaultLimitNICE"</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 ("default-limit-nice", "DefaultLimitNICE", "DefaultLimitNICE", 0, G_MAXUINT64, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Manager:default-limit-nicesoft: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.DefaultLimitNICESoft">"DefaultLimitNICESoft"</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 ("default-limit-nicesoft", "DefaultLimitNICESoft", "DefaultLimitNICESoft", 0, G_MAXUINT64, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Manager:default-limit-rtprio: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.DefaultLimitRTPRIO">"DefaultLimitRTPRIO"</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 ("default-limit-rtprio", "DefaultLimitRTPRIO", "DefaultLimitRTPRIO", 0, G_MAXUINT64, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Manager:default-limit-rtpriosoft: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.DefaultLimitRTPRIOSoft">"DefaultLimitRTPRIOSoft"</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 ("default-limit-rtpriosoft", "DefaultLimitRTPRIOSoft", "DefaultLimitRTPRIOSoft", 0, G_MAXUINT64, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Manager:default-limit-rttime: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.DefaultLimitRTTIME">"DefaultLimitRTTIME"</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 ("default-limit-rttime", "DefaultLimitRTTIME", "DefaultLimitRTTIME", 0, G_MAXUINT64, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Manager:default-limit-rttimesoft: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.DefaultLimitRTTIMESoft">"DefaultLimitRTTIMESoft"</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 ("default-limit-rttimesoft", "DefaultLimitRTTIMESoft", "DefaultLimitRTTIMESoft", 0, G_MAXUINT64, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Manager:default-tasks-max: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.DefaultTasksMax">"DefaultTasksMax"</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 ("default-tasks-max", "DefaultTasksMax", "DefaultTasksMax", 0, G_MAXUINT64, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Manager:timer-slack-nsec: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.TimerSlackNSec">"TimerSlackNSec"</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 ("timer-slack-nsec", "TimerSlackNSec", "TimerSlackNSec", 0, G_MAXUINT64, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Manager:default-oompolicy: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.DefaultOOMPolicy">"DefaultOOMPolicy"</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 ("default-oompolicy", "DefaultOOMPolicy", "DefaultOOMPolicy", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Manager:ctrl-alt-del-burst-action: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.CtrlAltDelBurstAction">"CtrlAltDelBurstAction"</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 ("ctrl-alt-del-burst-action", "CtrlAltDelBurstAction", "CtrlAltDelBurstAction", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); +} + +/** + * systemd1_manager_get_version: (skip) + * @object: A #Systemd1Manager. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.Version">"Version"</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. + * + * 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 systemd1_manager_dup_version() if on another thread. + * + * Returns: (transfer none) (nullable): The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object. + */ +const gchar * +systemd1_manager_get_version (Systemd1Manager *object) +{ + return SYSTEMD1_MANAGER_GET_IFACE (object)->get_version (object); +} + +/** + * systemd1_manager_dup_version: (skip) + * @object: A #Systemd1Manager. + * + * Gets a copy of the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.Version">"Version"</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) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_free(). + */ +gchar * +systemd1_manager_dup_version (Systemd1Manager *object) +{ + gchar *value; + g_object_get (G_OBJECT (object), "version", &value, NULL); + return value; +} + +/** + * systemd1_manager_set_version: (skip) + * @object: A #Systemd1Manager. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.Version">"Version"</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 +systemd1_manager_set_version (Systemd1Manager *object, const gchar *value) +{ + g_object_set (G_OBJECT (object), "version", value, NULL); +} + +/** + * systemd1_manager_get_features: (skip) + * @object: A #Systemd1Manager. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.Features">"Features"</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. + * + * 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 systemd1_manager_dup_features() if on another thread. + * + * Returns: (transfer none) (nullable): The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object. + */ +const gchar * +systemd1_manager_get_features (Systemd1Manager *object) +{ + return SYSTEMD1_MANAGER_GET_IFACE (object)->get_features (object); +} + +/** + * systemd1_manager_dup_features: (skip) + * @object: A #Systemd1Manager. + * + * Gets a copy of the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.Features">"Features"</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) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_free(). + */ +gchar * +systemd1_manager_dup_features (Systemd1Manager *object) +{ + gchar *value; + g_object_get (G_OBJECT (object), "features", &value, NULL); + return value; +} + +/** + * systemd1_manager_set_features: (skip) + * @object: A #Systemd1Manager. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.Features">"Features"</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 +systemd1_manager_set_features (Systemd1Manager *object, const gchar *value) +{ + g_object_set (G_OBJECT (object), "features", value, NULL); +} + +/** + * systemd1_manager_get_virtualization: (skip) + * @object: A #Systemd1Manager. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.Virtualization">"Virtualization"</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. + * + * 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 systemd1_manager_dup_virtualization() if on another thread. + * + * Returns: (transfer none) (nullable): The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object. + */ +const gchar * +systemd1_manager_get_virtualization (Systemd1Manager *object) +{ + return SYSTEMD1_MANAGER_GET_IFACE (object)->get_virtualization (object); +} + +/** + * systemd1_manager_dup_virtualization: (skip) + * @object: A #Systemd1Manager. + * + * Gets a copy of the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.Virtualization">"Virtualization"</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) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_free(). + */ +gchar * +systemd1_manager_dup_virtualization (Systemd1Manager *object) +{ + gchar *value; + g_object_get (G_OBJECT (object), "virtualization", &value, NULL); + return value; +} + +/** + * systemd1_manager_set_virtualization: (skip) + * @object: A #Systemd1Manager. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.Virtualization">"Virtualization"</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 +systemd1_manager_set_virtualization (Systemd1Manager *object, const gchar *value) +{ + g_object_set (G_OBJECT (object), "virtualization", value, NULL); +} + +/** + * systemd1_manager_get_architecture: (skip) + * @object: A #Systemd1Manager. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.Architecture">"Architecture"</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. + * + * 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 systemd1_manager_dup_architecture() if on another thread. + * + * Returns: (transfer none) (nullable): The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object. + */ +const gchar * +systemd1_manager_get_architecture (Systemd1Manager *object) +{ + return SYSTEMD1_MANAGER_GET_IFACE (object)->get_architecture (object); +} + +/** + * systemd1_manager_dup_architecture: (skip) + * @object: A #Systemd1Manager. + * + * Gets a copy of the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.Architecture">"Architecture"</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) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_free(). + */ +gchar * +systemd1_manager_dup_architecture (Systemd1Manager *object) +{ + gchar *value; + g_object_get (G_OBJECT (object), "architecture", &value, NULL); + return value; +} + +/** + * systemd1_manager_set_architecture: (skip) + * @object: A #Systemd1Manager. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.Architecture">"Architecture"</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 +systemd1_manager_set_architecture (Systemd1Manager *object, const gchar *value) +{ + g_object_set (G_OBJECT (object), "architecture", value, NULL); +} + +/** + * systemd1_manager_get_tainted: (skip) + * @object: A #Systemd1Manager. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.Tainted">"Tainted"</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. + * + * 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 systemd1_manager_dup_tainted() if on another thread. + * + * Returns: (transfer none) (nullable): The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object. + */ +const gchar * +systemd1_manager_get_tainted (Systemd1Manager *object) +{ + return SYSTEMD1_MANAGER_GET_IFACE (object)->get_tainted (object); +} + +/** + * systemd1_manager_dup_tainted: (skip) + * @object: A #Systemd1Manager. + * + * Gets a copy of the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.Tainted">"Tainted"</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) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_free(). + */ +gchar * +systemd1_manager_dup_tainted (Systemd1Manager *object) +{ + gchar *value; + g_object_get (G_OBJECT (object), "tainted", &value, NULL); + return value; +} + +/** + * systemd1_manager_set_tainted: (skip) + * @object: A #Systemd1Manager. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.Tainted">"Tainted"</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 +systemd1_manager_set_tainted (Systemd1Manager *object, const gchar *value) +{ + g_object_set (G_OBJECT (object), "tainted", value, NULL); +} + +/** + * systemd1_manager_get_firmware_timestamp: (skip) + * @object: A #Systemd1Manager. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.FirmwareTimestamp">"FirmwareTimestamp"</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 +systemd1_manager_get_firmware_timestamp (Systemd1Manager *object) +{ + return SYSTEMD1_MANAGER_GET_IFACE (object)->get_firmware_timestamp (object); +} + +/** + * systemd1_manager_set_firmware_timestamp: (skip) + * @object: A #Systemd1Manager. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.FirmwareTimestamp">"FirmwareTimestamp"</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 +systemd1_manager_set_firmware_timestamp (Systemd1Manager *object, guint64 value) +{ + g_object_set (G_OBJECT (object), "firmware-timestamp", value, NULL); +} + +/** + * systemd1_manager_get_firmware_timestamp_monotonic: (skip) + * @object: A #Systemd1Manager. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.FirmwareTimestampMonotonic">"FirmwareTimestampMonotonic"</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 +systemd1_manager_get_firmware_timestamp_monotonic (Systemd1Manager *object) +{ + return SYSTEMD1_MANAGER_GET_IFACE (object)->get_firmware_timestamp_monotonic (object); +} + +/** + * systemd1_manager_set_firmware_timestamp_monotonic: (skip) + * @object: A #Systemd1Manager. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.FirmwareTimestampMonotonic">"FirmwareTimestampMonotonic"</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 +systemd1_manager_set_firmware_timestamp_monotonic (Systemd1Manager *object, guint64 value) +{ + g_object_set (G_OBJECT (object), "firmware-timestamp-monotonic", value, NULL); +} + +/** + * systemd1_manager_get_loader_timestamp: (skip) + * @object: A #Systemd1Manager. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.LoaderTimestamp">"LoaderTimestamp"</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 +systemd1_manager_get_loader_timestamp (Systemd1Manager *object) +{ + return SYSTEMD1_MANAGER_GET_IFACE (object)->get_loader_timestamp (object); +} + +/** + * systemd1_manager_set_loader_timestamp: (skip) + * @object: A #Systemd1Manager. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.LoaderTimestamp">"LoaderTimestamp"</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 +systemd1_manager_set_loader_timestamp (Systemd1Manager *object, guint64 value) +{ + g_object_set (G_OBJECT (object), "loader-timestamp", value, NULL); +} + +/** + * systemd1_manager_get_loader_timestamp_monotonic: (skip) + * @object: A #Systemd1Manager. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.LoaderTimestampMonotonic">"LoaderTimestampMonotonic"</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 +systemd1_manager_get_loader_timestamp_monotonic (Systemd1Manager *object) +{ + return SYSTEMD1_MANAGER_GET_IFACE (object)->get_loader_timestamp_monotonic (object); +} + +/** + * systemd1_manager_set_loader_timestamp_monotonic: (skip) + * @object: A #Systemd1Manager. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.LoaderTimestampMonotonic">"LoaderTimestampMonotonic"</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 +systemd1_manager_set_loader_timestamp_monotonic (Systemd1Manager *object, guint64 value) +{ + g_object_set (G_OBJECT (object), "loader-timestamp-monotonic", value, NULL); +} + +/** + * systemd1_manager_get_kernel_timestamp: (skip) + * @object: A #Systemd1Manager. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.KernelTimestamp">"KernelTimestamp"</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 +systemd1_manager_get_kernel_timestamp (Systemd1Manager *object) +{ + return SYSTEMD1_MANAGER_GET_IFACE (object)->get_kernel_timestamp (object); +} + +/** + * systemd1_manager_set_kernel_timestamp: (skip) + * @object: A #Systemd1Manager. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.KernelTimestamp">"KernelTimestamp"</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 +systemd1_manager_set_kernel_timestamp (Systemd1Manager *object, guint64 value) +{ + g_object_set (G_OBJECT (object), "kernel-timestamp", value, NULL); +} + +/** + * systemd1_manager_get_kernel_timestamp_monotonic: (skip) + * @object: A #Systemd1Manager. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.KernelTimestampMonotonic">"KernelTimestampMonotonic"</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 +systemd1_manager_get_kernel_timestamp_monotonic (Systemd1Manager *object) +{ + return SYSTEMD1_MANAGER_GET_IFACE (object)->get_kernel_timestamp_monotonic (object); +} + +/** + * systemd1_manager_set_kernel_timestamp_monotonic: (skip) + * @object: A #Systemd1Manager. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.KernelTimestampMonotonic">"KernelTimestampMonotonic"</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 +systemd1_manager_set_kernel_timestamp_monotonic (Systemd1Manager *object, guint64 value) +{ + g_object_set (G_OBJECT (object), "kernel-timestamp-monotonic", value, NULL); +} + +/** + * systemd1_manager_get_init_rdtimestamp: (skip) + * @object: A #Systemd1Manager. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.InitRDTimestamp">"InitRDTimestamp"</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 +systemd1_manager_get_init_rdtimestamp (Systemd1Manager *object) +{ + return SYSTEMD1_MANAGER_GET_IFACE (object)->get_init_rdtimestamp (object); +} + +/** + * systemd1_manager_set_init_rdtimestamp: (skip) + * @object: A #Systemd1Manager. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.InitRDTimestamp">"InitRDTimestamp"</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 +systemd1_manager_set_init_rdtimestamp (Systemd1Manager *object, guint64 value) +{ + g_object_set (G_OBJECT (object), "init-rdtimestamp", value, NULL); +} + +/** + * systemd1_manager_get_init_rdtimestamp_monotonic: (skip) + * @object: A #Systemd1Manager. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.InitRDTimestampMonotonic">"InitRDTimestampMonotonic"</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 +systemd1_manager_get_init_rdtimestamp_monotonic (Systemd1Manager *object) +{ + return SYSTEMD1_MANAGER_GET_IFACE (object)->get_init_rdtimestamp_monotonic (object); +} + +/** + * systemd1_manager_set_init_rdtimestamp_monotonic: (skip) + * @object: A #Systemd1Manager. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.InitRDTimestampMonotonic">"InitRDTimestampMonotonic"</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 +systemd1_manager_set_init_rdtimestamp_monotonic (Systemd1Manager *object, guint64 value) +{ + g_object_set (G_OBJECT (object), "init-rdtimestamp-monotonic", value, NULL); +} + +/** + * systemd1_manager_get_userspace_timestamp: (skip) + * @object: A #Systemd1Manager. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.UserspaceTimestamp">"UserspaceTimestamp"</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 +systemd1_manager_get_userspace_timestamp (Systemd1Manager *object) +{ + return SYSTEMD1_MANAGER_GET_IFACE (object)->get_userspace_timestamp (object); +} + +/** + * systemd1_manager_set_userspace_timestamp: (skip) + * @object: A #Systemd1Manager. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.UserspaceTimestamp">"UserspaceTimestamp"</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 +systemd1_manager_set_userspace_timestamp (Systemd1Manager *object, guint64 value) +{ + g_object_set (G_OBJECT (object), "userspace-timestamp", value, NULL); +} + +/** + * systemd1_manager_get_userspace_timestamp_monotonic: (skip) + * @object: A #Systemd1Manager. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.UserspaceTimestampMonotonic">"UserspaceTimestampMonotonic"</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 +systemd1_manager_get_userspace_timestamp_monotonic (Systemd1Manager *object) +{ + return SYSTEMD1_MANAGER_GET_IFACE (object)->get_userspace_timestamp_monotonic (object); +} + +/** + * systemd1_manager_set_userspace_timestamp_monotonic: (skip) + * @object: A #Systemd1Manager. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.UserspaceTimestampMonotonic">"UserspaceTimestampMonotonic"</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 +systemd1_manager_set_userspace_timestamp_monotonic (Systemd1Manager *object, guint64 value) +{ + g_object_set (G_OBJECT (object), "userspace-timestamp-monotonic", value, NULL); +} + +/** + * systemd1_manager_get_finish_timestamp: (skip) + * @object: A #Systemd1Manager. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.FinishTimestamp">"FinishTimestamp"</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 +systemd1_manager_get_finish_timestamp (Systemd1Manager *object) +{ + return SYSTEMD1_MANAGER_GET_IFACE (object)->get_finish_timestamp (object); +} + +/** + * systemd1_manager_set_finish_timestamp: (skip) + * @object: A #Systemd1Manager. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.FinishTimestamp">"FinishTimestamp"</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 +systemd1_manager_set_finish_timestamp (Systemd1Manager *object, guint64 value) +{ + g_object_set (G_OBJECT (object), "finish-timestamp", value, NULL); +} + +/** + * systemd1_manager_get_finish_timestamp_monotonic: (skip) + * @object: A #Systemd1Manager. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.FinishTimestampMonotonic">"FinishTimestampMonotonic"</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 +systemd1_manager_get_finish_timestamp_monotonic (Systemd1Manager *object) +{ + return SYSTEMD1_MANAGER_GET_IFACE (object)->get_finish_timestamp_monotonic (object); +} + +/** + * systemd1_manager_set_finish_timestamp_monotonic: (skip) + * @object: A #Systemd1Manager. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.FinishTimestampMonotonic">"FinishTimestampMonotonic"</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 +systemd1_manager_set_finish_timestamp_monotonic (Systemd1Manager *object, guint64 value) +{ + g_object_set (G_OBJECT (object), "finish-timestamp-monotonic", value, NULL); +} + +/** + * systemd1_manager_get_security_start_timestamp: (skip) + * @object: A #Systemd1Manager. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.SecurityStartTimestamp">"SecurityStartTimestamp"</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 +systemd1_manager_get_security_start_timestamp (Systemd1Manager *object) +{ + return SYSTEMD1_MANAGER_GET_IFACE (object)->get_security_start_timestamp (object); +} + +/** + * systemd1_manager_set_security_start_timestamp: (skip) + * @object: A #Systemd1Manager. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.SecurityStartTimestamp">"SecurityStartTimestamp"</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 +systemd1_manager_set_security_start_timestamp (Systemd1Manager *object, guint64 value) +{ + g_object_set (G_OBJECT (object), "security-start-timestamp", value, NULL); +} + +/** + * systemd1_manager_get_security_start_timestamp_monotonic: (skip) + * @object: A #Systemd1Manager. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.SecurityStartTimestampMonotonic">"SecurityStartTimestampMonotonic"</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 +systemd1_manager_get_security_start_timestamp_monotonic (Systemd1Manager *object) +{ + return SYSTEMD1_MANAGER_GET_IFACE (object)->get_security_start_timestamp_monotonic (object); +} + +/** + * systemd1_manager_set_security_start_timestamp_monotonic: (skip) + * @object: A #Systemd1Manager. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.SecurityStartTimestampMonotonic">"SecurityStartTimestampMonotonic"</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 +systemd1_manager_set_security_start_timestamp_monotonic (Systemd1Manager *object, guint64 value) +{ + g_object_set (G_OBJECT (object), "security-start-timestamp-monotonic", value, NULL); +} + +/** + * systemd1_manager_get_security_finish_timestamp: (skip) + * @object: A #Systemd1Manager. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.SecurityFinishTimestamp">"SecurityFinishTimestamp"</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 +systemd1_manager_get_security_finish_timestamp (Systemd1Manager *object) +{ + return SYSTEMD1_MANAGER_GET_IFACE (object)->get_security_finish_timestamp (object); +} + +/** + * systemd1_manager_set_security_finish_timestamp: (skip) + * @object: A #Systemd1Manager. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.SecurityFinishTimestamp">"SecurityFinishTimestamp"</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 +systemd1_manager_set_security_finish_timestamp (Systemd1Manager *object, guint64 value) +{ + g_object_set (G_OBJECT (object), "security-finish-timestamp", value, NULL); +} + +/** + * systemd1_manager_get_security_finish_timestamp_monotonic: (skip) + * @object: A #Systemd1Manager. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.SecurityFinishTimestampMonotonic">"SecurityFinishTimestampMonotonic"</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 +systemd1_manager_get_security_finish_timestamp_monotonic (Systemd1Manager *object) +{ + return SYSTEMD1_MANAGER_GET_IFACE (object)->get_security_finish_timestamp_monotonic (object); +} + +/** + * systemd1_manager_set_security_finish_timestamp_monotonic: (skip) + * @object: A #Systemd1Manager. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.SecurityFinishTimestampMonotonic">"SecurityFinishTimestampMonotonic"</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 +systemd1_manager_set_security_finish_timestamp_monotonic (Systemd1Manager *object, guint64 value) +{ + g_object_set (G_OBJECT (object), "security-finish-timestamp-monotonic", value, NULL); +} + +/** + * systemd1_manager_get_generators_start_timestamp: (skip) + * @object: A #Systemd1Manager. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.GeneratorsStartTimestamp">"GeneratorsStartTimestamp"</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 +systemd1_manager_get_generators_start_timestamp (Systemd1Manager *object) +{ + return SYSTEMD1_MANAGER_GET_IFACE (object)->get_generators_start_timestamp (object); +} + +/** + * systemd1_manager_set_generators_start_timestamp: (skip) + * @object: A #Systemd1Manager. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.GeneratorsStartTimestamp">"GeneratorsStartTimestamp"</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 +systemd1_manager_set_generators_start_timestamp (Systemd1Manager *object, guint64 value) +{ + g_object_set (G_OBJECT (object), "generators-start-timestamp", value, NULL); +} + +/** + * systemd1_manager_get_generators_start_timestamp_monotonic: (skip) + * @object: A #Systemd1Manager. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.GeneratorsStartTimestampMonotonic">"GeneratorsStartTimestampMonotonic"</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 +systemd1_manager_get_generators_start_timestamp_monotonic (Systemd1Manager *object) +{ + return SYSTEMD1_MANAGER_GET_IFACE (object)->get_generators_start_timestamp_monotonic (object); +} + +/** + * systemd1_manager_set_generators_start_timestamp_monotonic: (skip) + * @object: A #Systemd1Manager. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.GeneratorsStartTimestampMonotonic">"GeneratorsStartTimestampMonotonic"</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 +systemd1_manager_set_generators_start_timestamp_monotonic (Systemd1Manager *object, guint64 value) +{ + g_object_set (G_OBJECT (object), "generators-start-timestamp-monotonic", value, NULL); +} + +/** + * systemd1_manager_get_generators_finish_timestamp: (skip) + * @object: A #Systemd1Manager. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.GeneratorsFinishTimestamp">"GeneratorsFinishTimestamp"</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 +systemd1_manager_get_generators_finish_timestamp (Systemd1Manager *object) +{ + return SYSTEMD1_MANAGER_GET_IFACE (object)->get_generators_finish_timestamp (object); +} + +/** + * systemd1_manager_set_generators_finish_timestamp: (skip) + * @object: A #Systemd1Manager. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.GeneratorsFinishTimestamp">"GeneratorsFinishTimestamp"</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 +systemd1_manager_set_generators_finish_timestamp (Systemd1Manager *object, guint64 value) +{ + g_object_set (G_OBJECT (object), "generators-finish-timestamp", value, NULL); +} + +/** + * systemd1_manager_get_generators_finish_timestamp_monotonic: (skip) + * @object: A #Systemd1Manager. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.GeneratorsFinishTimestampMonotonic">"GeneratorsFinishTimestampMonotonic"</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 +systemd1_manager_get_generators_finish_timestamp_monotonic (Systemd1Manager *object) +{ + return SYSTEMD1_MANAGER_GET_IFACE (object)->get_generators_finish_timestamp_monotonic (object); +} + +/** + * systemd1_manager_set_generators_finish_timestamp_monotonic: (skip) + * @object: A #Systemd1Manager. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.GeneratorsFinishTimestampMonotonic">"GeneratorsFinishTimestampMonotonic"</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 +systemd1_manager_set_generators_finish_timestamp_monotonic (Systemd1Manager *object, guint64 value) +{ + g_object_set (G_OBJECT (object), "generators-finish-timestamp-monotonic", value, NULL); +} + +/** + * systemd1_manager_get_units_load_start_timestamp: (skip) + * @object: A #Systemd1Manager. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.UnitsLoadStartTimestamp">"UnitsLoadStartTimestamp"</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 +systemd1_manager_get_units_load_start_timestamp (Systemd1Manager *object) +{ + return SYSTEMD1_MANAGER_GET_IFACE (object)->get_units_load_start_timestamp (object); +} + +/** + * systemd1_manager_set_units_load_start_timestamp: (skip) + * @object: A #Systemd1Manager. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.UnitsLoadStartTimestamp">"UnitsLoadStartTimestamp"</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 +systemd1_manager_set_units_load_start_timestamp (Systemd1Manager *object, guint64 value) +{ + g_object_set (G_OBJECT (object), "units-load-start-timestamp", value, NULL); +} + +/** + * systemd1_manager_get_units_load_start_timestamp_monotonic: (skip) + * @object: A #Systemd1Manager. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.UnitsLoadStartTimestampMonotonic">"UnitsLoadStartTimestampMonotonic"</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 +systemd1_manager_get_units_load_start_timestamp_monotonic (Systemd1Manager *object) +{ + return SYSTEMD1_MANAGER_GET_IFACE (object)->get_units_load_start_timestamp_monotonic (object); +} + +/** + * systemd1_manager_set_units_load_start_timestamp_monotonic: (skip) + * @object: A #Systemd1Manager. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.UnitsLoadStartTimestampMonotonic">"UnitsLoadStartTimestampMonotonic"</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 +systemd1_manager_set_units_load_start_timestamp_monotonic (Systemd1Manager *object, guint64 value) +{ + g_object_set (G_OBJECT (object), "units-load-start-timestamp-monotonic", value, NULL); +} + +/** + * systemd1_manager_get_units_load_finish_timestamp: (skip) + * @object: A #Systemd1Manager. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.UnitsLoadFinishTimestamp">"UnitsLoadFinishTimestamp"</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 +systemd1_manager_get_units_load_finish_timestamp (Systemd1Manager *object) +{ + return SYSTEMD1_MANAGER_GET_IFACE (object)->get_units_load_finish_timestamp (object); +} + +/** + * systemd1_manager_set_units_load_finish_timestamp: (skip) + * @object: A #Systemd1Manager. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.UnitsLoadFinishTimestamp">"UnitsLoadFinishTimestamp"</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 +systemd1_manager_set_units_load_finish_timestamp (Systemd1Manager *object, guint64 value) +{ + g_object_set (G_OBJECT (object), "units-load-finish-timestamp", value, NULL); +} + +/** + * systemd1_manager_get_units_load_finish_timestamp_monotonic: (skip) + * @object: A #Systemd1Manager. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.UnitsLoadFinishTimestampMonotonic">"UnitsLoadFinishTimestampMonotonic"</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 +systemd1_manager_get_units_load_finish_timestamp_monotonic (Systemd1Manager *object) +{ + return SYSTEMD1_MANAGER_GET_IFACE (object)->get_units_load_finish_timestamp_monotonic (object); +} + +/** + * systemd1_manager_set_units_load_finish_timestamp_monotonic: (skip) + * @object: A #Systemd1Manager. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.UnitsLoadFinishTimestampMonotonic">"UnitsLoadFinishTimestampMonotonic"</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 +systemd1_manager_set_units_load_finish_timestamp_monotonic (Systemd1Manager *object, guint64 value) +{ + g_object_set (G_OBJECT (object), "units-load-finish-timestamp-monotonic", value, NULL); +} + +/** + * systemd1_manager_get_init_rdsecurity_start_timestamp: (skip) + * @object: A #Systemd1Manager. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.InitRDSecurityStartTimestamp">"InitRDSecurityStartTimestamp"</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 +systemd1_manager_get_init_rdsecurity_start_timestamp (Systemd1Manager *object) +{ + return SYSTEMD1_MANAGER_GET_IFACE (object)->get_init_rdsecurity_start_timestamp (object); +} + +/** + * systemd1_manager_set_init_rdsecurity_start_timestamp: (skip) + * @object: A #Systemd1Manager. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.InitRDSecurityStartTimestamp">"InitRDSecurityStartTimestamp"</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 +systemd1_manager_set_init_rdsecurity_start_timestamp (Systemd1Manager *object, guint64 value) +{ + g_object_set (G_OBJECT (object), "init-rdsecurity-start-timestamp", value, NULL); +} + +/** + * systemd1_manager_get_init_rdsecurity_start_timestamp_monotonic: (skip) + * @object: A #Systemd1Manager. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.InitRDSecurityStartTimestampMonotonic">"InitRDSecurityStartTimestampMonotonic"</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 +systemd1_manager_get_init_rdsecurity_start_timestamp_monotonic (Systemd1Manager *object) +{ + return SYSTEMD1_MANAGER_GET_IFACE (object)->get_init_rdsecurity_start_timestamp_monotonic (object); +} + +/** + * systemd1_manager_set_init_rdsecurity_start_timestamp_monotonic: (skip) + * @object: A #Systemd1Manager. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.InitRDSecurityStartTimestampMonotonic">"InitRDSecurityStartTimestampMonotonic"</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 +systemd1_manager_set_init_rdsecurity_start_timestamp_monotonic (Systemd1Manager *object, guint64 value) +{ + g_object_set (G_OBJECT (object), "init-rdsecurity-start-timestamp-monotonic", value, NULL); +} + +/** + * systemd1_manager_get_init_rdsecurity_finish_timestamp: (skip) + * @object: A #Systemd1Manager. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.InitRDSecurityFinishTimestamp">"InitRDSecurityFinishTimestamp"</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 +systemd1_manager_get_init_rdsecurity_finish_timestamp (Systemd1Manager *object) +{ + return SYSTEMD1_MANAGER_GET_IFACE (object)->get_init_rdsecurity_finish_timestamp (object); +} + +/** + * systemd1_manager_set_init_rdsecurity_finish_timestamp: (skip) + * @object: A #Systemd1Manager. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.InitRDSecurityFinishTimestamp">"InitRDSecurityFinishTimestamp"</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 +systemd1_manager_set_init_rdsecurity_finish_timestamp (Systemd1Manager *object, guint64 value) +{ + g_object_set (G_OBJECT (object), "init-rdsecurity-finish-timestamp", value, NULL); +} + +/** + * systemd1_manager_get_init_rdsecurity_finish_timestamp_monotonic: (skip) + * @object: A #Systemd1Manager. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.InitRDSecurityFinishTimestampMonotonic">"InitRDSecurityFinishTimestampMonotonic"</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 +systemd1_manager_get_init_rdsecurity_finish_timestamp_monotonic (Systemd1Manager *object) +{ + return SYSTEMD1_MANAGER_GET_IFACE (object)->get_init_rdsecurity_finish_timestamp_monotonic (object); +} + +/** + * systemd1_manager_set_init_rdsecurity_finish_timestamp_monotonic: (skip) + * @object: A #Systemd1Manager. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.InitRDSecurityFinishTimestampMonotonic">"InitRDSecurityFinishTimestampMonotonic"</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 +systemd1_manager_set_init_rdsecurity_finish_timestamp_monotonic (Systemd1Manager *object, guint64 value) +{ + g_object_set (G_OBJECT (object), "init-rdsecurity-finish-timestamp-monotonic", value, NULL); +} + +/** + * systemd1_manager_get_init_rdgenerators_start_timestamp: (skip) + * @object: A #Systemd1Manager. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.InitRDGeneratorsStartTimestamp">"InitRDGeneratorsStartTimestamp"</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 +systemd1_manager_get_init_rdgenerators_start_timestamp (Systemd1Manager *object) +{ + return SYSTEMD1_MANAGER_GET_IFACE (object)->get_init_rdgenerators_start_timestamp (object); +} + +/** + * systemd1_manager_set_init_rdgenerators_start_timestamp: (skip) + * @object: A #Systemd1Manager. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.InitRDGeneratorsStartTimestamp">"InitRDGeneratorsStartTimestamp"</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 +systemd1_manager_set_init_rdgenerators_start_timestamp (Systemd1Manager *object, guint64 value) +{ + g_object_set (G_OBJECT (object), "init-rdgenerators-start-timestamp", value, NULL); +} + +/** + * systemd1_manager_get_init_rdgenerators_start_timestamp_monotonic: (skip) + * @object: A #Systemd1Manager. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.InitRDGeneratorsStartTimestampMonotonic">"InitRDGeneratorsStartTimestampMonotonic"</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 +systemd1_manager_get_init_rdgenerators_start_timestamp_monotonic (Systemd1Manager *object) +{ + return SYSTEMD1_MANAGER_GET_IFACE (object)->get_init_rdgenerators_start_timestamp_monotonic (object); +} + +/** + * systemd1_manager_set_init_rdgenerators_start_timestamp_monotonic: (skip) + * @object: A #Systemd1Manager. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.InitRDGeneratorsStartTimestampMonotonic">"InitRDGeneratorsStartTimestampMonotonic"</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 +systemd1_manager_set_init_rdgenerators_start_timestamp_monotonic (Systemd1Manager *object, guint64 value) +{ + g_object_set (G_OBJECT (object), "init-rdgenerators-start-timestamp-monotonic", value, NULL); +} + +/** + * systemd1_manager_get_init_rdgenerators_finish_timestamp: (skip) + * @object: A #Systemd1Manager. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.InitRDGeneratorsFinishTimestamp">"InitRDGeneratorsFinishTimestamp"</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 +systemd1_manager_get_init_rdgenerators_finish_timestamp (Systemd1Manager *object) +{ + return SYSTEMD1_MANAGER_GET_IFACE (object)->get_init_rdgenerators_finish_timestamp (object); +} + +/** + * systemd1_manager_set_init_rdgenerators_finish_timestamp: (skip) + * @object: A #Systemd1Manager. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.InitRDGeneratorsFinishTimestamp">"InitRDGeneratorsFinishTimestamp"</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 +systemd1_manager_set_init_rdgenerators_finish_timestamp (Systemd1Manager *object, guint64 value) +{ + g_object_set (G_OBJECT (object), "init-rdgenerators-finish-timestamp", value, NULL); +} + +/** + * systemd1_manager_get_init_rdgenerators_finish_timestamp_monotonic: (skip) + * @object: A #Systemd1Manager. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.InitRDGeneratorsFinishTimestampMonotonic">"InitRDGeneratorsFinishTimestampMonotonic"</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 +systemd1_manager_get_init_rdgenerators_finish_timestamp_monotonic (Systemd1Manager *object) +{ + return SYSTEMD1_MANAGER_GET_IFACE (object)->get_init_rdgenerators_finish_timestamp_monotonic (object); +} + +/** + * systemd1_manager_set_init_rdgenerators_finish_timestamp_monotonic: (skip) + * @object: A #Systemd1Manager. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.InitRDGeneratorsFinishTimestampMonotonic">"InitRDGeneratorsFinishTimestampMonotonic"</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 +systemd1_manager_set_init_rdgenerators_finish_timestamp_monotonic (Systemd1Manager *object, guint64 value) +{ + g_object_set (G_OBJECT (object), "init-rdgenerators-finish-timestamp-monotonic", value, NULL); +} + +/** + * systemd1_manager_get_init_rdunits_load_start_timestamp: (skip) + * @object: A #Systemd1Manager. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.InitRDUnitsLoadStartTimestamp">"InitRDUnitsLoadStartTimestamp"</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 +systemd1_manager_get_init_rdunits_load_start_timestamp (Systemd1Manager *object) +{ + return SYSTEMD1_MANAGER_GET_IFACE (object)->get_init_rdunits_load_start_timestamp (object); +} + +/** + * systemd1_manager_set_init_rdunits_load_start_timestamp: (skip) + * @object: A #Systemd1Manager. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.InitRDUnitsLoadStartTimestamp">"InitRDUnitsLoadStartTimestamp"</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 +systemd1_manager_set_init_rdunits_load_start_timestamp (Systemd1Manager *object, guint64 value) +{ + g_object_set (G_OBJECT (object), "init-rdunits-load-start-timestamp", value, NULL); +} + +/** + * systemd1_manager_get_init_rdunits_load_start_timestamp_monotonic: (skip) + * @object: A #Systemd1Manager. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.InitRDUnitsLoadStartTimestampMonotonic">"InitRDUnitsLoadStartTimestampMonotonic"</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 +systemd1_manager_get_init_rdunits_load_start_timestamp_monotonic (Systemd1Manager *object) +{ + return SYSTEMD1_MANAGER_GET_IFACE (object)->get_init_rdunits_load_start_timestamp_monotonic (object); +} + +/** + * systemd1_manager_set_init_rdunits_load_start_timestamp_monotonic: (skip) + * @object: A #Systemd1Manager. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.InitRDUnitsLoadStartTimestampMonotonic">"InitRDUnitsLoadStartTimestampMonotonic"</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 +systemd1_manager_set_init_rdunits_load_start_timestamp_monotonic (Systemd1Manager *object, guint64 value) +{ + g_object_set (G_OBJECT (object), "init-rdunits-load-start-timestamp-monotonic", value, NULL); +} + +/** + * systemd1_manager_get_init_rdunits_load_finish_timestamp: (skip) + * @object: A #Systemd1Manager. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.InitRDUnitsLoadFinishTimestamp">"InitRDUnitsLoadFinishTimestamp"</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 +systemd1_manager_get_init_rdunits_load_finish_timestamp (Systemd1Manager *object) +{ + return SYSTEMD1_MANAGER_GET_IFACE (object)->get_init_rdunits_load_finish_timestamp (object); +} + +/** + * systemd1_manager_set_init_rdunits_load_finish_timestamp: (skip) + * @object: A #Systemd1Manager. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.InitRDUnitsLoadFinishTimestamp">"InitRDUnitsLoadFinishTimestamp"</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 +systemd1_manager_set_init_rdunits_load_finish_timestamp (Systemd1Manager *object, guint64 value) +{ + g_object_set (G_OBJECT (object), "init-rdunits-load-finish-timestamp", value, NULL); +} + +/** + * systemd1_manager_get_init_rdunits_load_finish_timestamp_monotonic: (skip) + * @object: A #Systemd1Manager. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.InitRDUnitsLoadFinishTimestampMonotonic">"InitRDUnitsLoadFinishTimestampMonotonic"</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 +systemd1_manager_get_init_rdunits_load_finish_timestamp_monotonic (Systemd1Manager *object) +{ + return SYSTEMD1_MANAGER_GET_IFACE (object)->get_init_rdunits_load_finish_timestamp_monotonic (object); +} + +/** + * systemd1_manager_set_init_rdunits_load_finish_timestamp_monotonic: (skip) + * @object: A #Systemd1Manager. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.InitRDUnitsLoadFinishTimestampMonotonic">"InitRDUnitsLoadFinishTimestampMonotonic"</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 +systemd1_manager_set_init_rdunits_load_finish_timestamp_monotonic (Systemd1Manager *object, guint64 value) +{ + g_object_set (G_OBJECT (object), "init-rdunits-load-finish-timestamp-monotonic", value, NULL); +} + +/** + * systemd1_manager_get_log_level: (skip) + * @object: A #Systemd1Manager. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.LogLevel">"LogLevel"</link> D-Bus property. + * + * Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side. + * + * 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 systemd1_manager_dup_log_level() if on another thread. + * + * Returns: (transfer none) (nullable): The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object. + */ +const gchar * +systemd1_manager_get_log_level (Systemd1Manager *object) +{ + return SYSTEMD1_MANAGER_GET_IFACE (object)->get_log_level (object); +} + +/** + * systemd1_manager_dup_log_level: (skip) + * @object: A #Systemd1Manager. + * + * Gets a copy of the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.LogLevel">"LogLevel"</link> D-Bus property. + * + * Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side. + * + * Returns: (transfer full) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_free(). + */ +gchar * +systemd1_manager_dup_log_level (Systemd1Manager *object) +{ + gchar *value; + g_object_get (G_OBJECT (object), "log-level", &value, NULL); + return value; +} + +/** + * systemd1_manager_set_log_level: (skip) + * @object: A #Systemd1Manager. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.LogLevel">"LogLevel"</link> D-Bus property to @value. + * + * Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side. + */ +void +systemd1_manager_set_log_level (Systemd1Manager *object, const gchar *value) +{ + g_object_set (G_OBJECT (object), "log-level", value, NULL); +} + +/** + * systemd1_manager_get_log_target: (skip) + * @object: A #Systemd1Manager. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.LogTarget">"LogTarget"</link> D-Bus property. + * + * Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side. + * + * 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 systemd1_manager_dup_log_target() if on another thread. + * + * Returns: (transfer none) (nullable): The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object. + */ +const gchar * +systemd1_manager_get_log_target (Systemd1Manager *object) +{ + return SYSTEMD1_MANAGER_GET_IFACE (object)->get_log_target (object); +} + +/** + * systemd1_manager_dup_log_target: (skip) + * @object: A #Systemd1Manager. + * + * Gets a copy of the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.LogTarget">"LogTarget"</link> D-Bus property. + * + * Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side. + * + * Returns: (transfer full) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_free(). + */ +gchar * +systemd1_manager_dup_log_target (Systemd1Manager *object) +{ + gchar *value; + g_object_get (G_OBJECT (object), "log-target", &value, NULL); + return value; +} + +/** + * systemd1_manager_set_log_target: (skip) + * @object: A #Systemd1Manager. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.LogTarget">"LogTarget"</link> D-Bus property to @value. + * + * Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side. + */ +void +systemd1_manager_set_log_target (Systemd1Manager *object, const gchar *value) +{ + g_object_set (G_OBJECT (object), "log-target", value, NULL); +} + +/** + * systemd1_manager_get_nnames: (skip) + * @object: A #Systemd1Manager. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.NNames">"NNames"</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 +systemd1_manager_get_nnames (Systemd1Manager *object) +{ + return SYSTEMD1_MANAGER_GET_IFACE (object)->get_nnames (object); +} + +/** + * systemd1_manager_set_nnames: (skip) + * @object: A #Systemd1Manager. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.NNames">"NNames"</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 +systemd1_manager_set_nnames (Systemd1Manager *object, guint value) +{ + g_object_set (G_OBJECT (object), "nnames", value, NULL); +} + +/** + * systemd1_manager_get_nfailed_units: (skip) + * @object: A #Systemd1Manager. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.NFailedUnits">"NFailedUnits"</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 +systemd1_manager_get_nfailed_units (Systemd1Manager *object) +{ + return SYSTEMD1_MANAGER_GET_IFACE (object)->get_nfailed_units (object); +} + +/** + * systemd1_manager_set_nfailed_units: (skip) + * @object: A #Systemd1Manager. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.NFailedUnits">"NFailedUnits"</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 +systemd1_manager_set_nfailed_units (Systemd1Manager *object, guint value) +{ + g_object_set (G_OBJECT (object), "nfailed-units", value, NULL); +} + +/** + * systemd1_manager_get_njobs: (skip) + * @object: A #Systemd1Manager. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.NJobs">"NJobs"</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 +systemd1_manager_get_njobs (Systemd1Manager *object) +{ + return SYSTEMD1_MANAGER_GET_IFACE (object)->get_njobs (object); +} + +/** + * systemd1_manager_set_njobs: (skip) + * @object: A #Systemd1Manager. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.NJobs">"NJobs"</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 +systemd1_manager_set_njobs (Systemd1Manager *object, guint value) +{ + g_object_set (G_OBJECT (object), "njobs", value, NULL); +} + +/** + * systemd1_manager_get_ninstalled_jobs: (skip) + * @object: A #Systemd1Manager. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.NInstalledJobs">"NInstalledJobs"</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 +systemd1_manager_get_ninstalled_jobs (Systemd1Manager *object) +{ + return SYSTEMD1_MANAGER_GET_IFACE (object)->get_ninstalled_jobs (object); +} + +/** + * systemd1_manager_set_ninstalled_jobs: (skip) + * @object: A #Systemd1Manager. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.NInstalledJobs">"NInstalledJobs"</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 +systemd1_manager_set_ninstalled_jobs (Systemd1Manager *object, guint value) +{ + g_object_set (G_OBJECT (object), "ninstalled-jobs", value, NULL); +} + +/** + * systemd1_manager_get_nfailed_jobs: (skip) + * @object: A #Systemd1Manager. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.NFailedJobs">"NFailedJobs"</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 +systemd1_manager_get_nfailed_jobs (Systemd1Manager *object) +{ + return SYSTEMD1_MANAGER_GET_IFACE (object)->get_nfailed_jobs (object); +} + +/** + * systemd1_manager_set_nfailed_jobs: (skip) + * @object: A #Systemd1Manager. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.NFailedJobs">"NFailedJobs"</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 +systemd1_manager_set_nfailed_jobs (Systemd1Manager *object, guint value) +{ + g_object_set (G_OBJECT (object), "nfailed-jobs", value, NULL); +} + +/** + * systemd1_manager_get_progress: (skip) + * @object: A #Systemd1Manager. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.Progress">"Progress"</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 +systemd1_manager_get_progress (Systemd1Manager *object) +{ + return SYSTEMD1_MANAGER_GET_IFACE (object)->get_progress (object); +} + +/** + * systemd1_manager_set_progress: (skip) + * @object: A #Systemd1Manager. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.Progress">"Progress"</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 +systemd1_manager_set_progress (Systemd1Manager *object, gdouble value) +{ + g_object_set (G_OBJECT (object), "progress", value, NULL); +} + +/** + * systemd1_manager_get_environment: (skip) + * @object: A #Systemd1Manager. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.Environment">"Environment"</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. + * + * 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 systemd1_manager_dup_environment() if on another thread. + * + * Returns: (transfer none) (nullable): The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object. + */ +const gchar *const * +systemd1_manager_get_environment (Systemd1Manager *object) +{ + return SYSTEMD1_MANAGER_GET_IFACE (object)->get_environment (object); +} + +/** + * systemd1_manager_dup_environment: (skip) + * @object: A #Systemd1Manager. + * + * Gets a copy of the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.Environment">"Environment"</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) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_strfreev(). + */ +gchar ** +systemd1_manager_dup_environment (Systemd1Manager *object) +{ + gchar **value; + g_object_get (G_OBJECT (object), "environment", &value, NULL); + return value; +} + +/** + * systemd1_manager_set_environment: (skip) + * @object: A #Systemd1Manager. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.Environment">"Environment"</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 +systemd1_manager_set_environment (Systemd1Manager *object, const gchar *const *value) +{ + g_object_set (G_OBJECT (object), "environment", value, NULL); +} + +/** + * systemd1_manager_get_confirm_spawn: (skip) + * @object: A #Systemd1Manager. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.ConfirmSpawn">"ConfirmSpawn"</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 +systemd1_manager_get_confirm_spawn (Systemd1Manager *object) +{ + return SYSTEMD1_MANAGER_GET_IFACE (object)->get_confirm_spawn (object); +} + +/** + * systemd1_manager_set_confirm_spawn: (skip) + * @object: A #Systemd1Manager. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.ConfirmSpawn">"ConfirmSpawn"</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 +systemd1_manager_set_confirm_spawn (Systemd1Manager *object, gboolean value) +{ + g_object_set (G_OBJECT (object), "confirm-spawn", value, NULL); +} + +/** + * systemd1_manager_get_show_status: (skip) + * @object: A #Systemd1Manager. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.ShowStatus">"ShowStatus"</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 +systemd1_manager_get_show_status (Systemd1Manager *object) +{ + return SYSTEMD1_MANAGER_GET_IFACE (object)->get_show_status (object); +} + +/** + * systemd1_manager_set_show_status: (skip) + * @object: A #Systemd1Manager. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.ShowStatus">"ShowStatus"</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 +systemd1_manager_set_show_status (Systemd1Manager *object, gboolean value) +{ + g_object_set (G_OBJECT (object), "show-status", value, NULL); +} + +/** + * systemd1_manager_get_unit_path: (skip) + * @object: A #Systemd1Manager. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.UnitPath">"UnitPath"</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. + * + * 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 systemd1_manager_dup_unit_path() if on another thread. + * + * Returns: (transfer none) (nullable): The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object. + */ +const gchar *const * +systemd1_manager_get_unit_path (Systemd1Manager *object) +{ + return SYSTEMD1_MANAGER_GET_IFACE (object)->get_unit_path (object); +} + +/** + * systemd1_manager_dup_unit_path: (skip) + * @object: A #Systemd1Manager. + * + * Gets a copy of the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.UnitPath">"UnitPath"</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) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_strfreev(). + */ +gchar ** +systemd1_manager_dup_unit_path (Systemd1Manager *object) +{ + gchar **value; + g_object_get (G_OBJECT (object), "unit-path", &value, NULL); + return value; +} + +/** + * systemd1_manager_set_unit_path: (skip) + * @object: A #Systemd1Manager. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.UnitPath">"UnitPath"</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 +systemd1_manager_set_unit_path (Systemd1Manager *object, const gchar *const *value) +{ + g_object_set (G_OBJECT (object), "unit-path", value, NULL); +} + +/** + * systemd1_manager_get_default_standard_output: (skip) + * @object: A #Systemd1Manager. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.DefaultStandardOutput">"DefaultStandardOutput"</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. + * + * 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 systemd1_manager_dup_default_standard_output() if on another thread. + * + * Returns: (transfer none) (nullable): The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object. + */ +const gchar * +systemd1_manager_get_default_standard_output (Systemd1Manager *object) +{ + return SYSTEMD1_MANAGER_GET_IFACE (object)->get_default_standard_output (object); +} + +/** + * systemd1_manager_dup_default_standard_output: (skip) + * @object: A #Systemd1Manager. + * + * Gets a copy of the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.DefaultStandardOutput">"DefaultStandardOutput"</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) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_free(). + */ +gchar * +systemd1_manager_dup_default_standard_output (Systemd1Manager *object) +{ + gchar *value; + g_object_get (G_OBJECT (object), "default-standard-output", &value, NULL); + return value; +} + +/** + * systemd1_manager_set_default_standard_output: (skip) + * @object: A #Systemd1Manager. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.DefaultStandardOutput">"DefaultStandardOutput"</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 +systemd1_manager_set_default_standard_output (Systemd1Manager *object, const gchar *value) +{ + g_object_set (G_OBJECT (object), "default-standard-output", value, NULL); +} + +/** + * systemd1_manager_get_default_standard_error: (skip) + * @object: A #Systemd1Manager. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.DefaultStandardError">"DefaultStandardError"</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. + * + * 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 systemd1_manager_dup_default_standard_error() if on another thread. + * + * Returns: (transfer none) (nullable): The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object. + */ +const gchar * +systemd1_manager_get_default_standard_error (Systemd1Manager *object) +{ + return SYSTEMD1_MANAGER_GET_IFACE (object)->get_default_standard_error (object); +} + +/** + * systemd1_manager_dup_default_standard_error: (skip) + * @object: A #Systemd1Manager. + * + * Gets a copy of the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.DefaultStandardError">"DefaultStandardError"</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) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_free(). + */ +gchar * +systemd1_manager_dup_default_standard_error (Systemd1Manager *object) +{ + gchar *value; + g_object_get (G_OBJECT (object), "default-standard-error", &value, NULL); + return value; +} + +/** + * systemd1_manager_set_default_standard_error: (skip) + * @object: A #Systemd1Manager. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.DefaultStandardError">"DefaultStandardError"</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 +systemd1_manager_set_default_standard_error (Systemd1Manager *object, const gchar *value) +{ + g_object_set (G_OBJECT (object), "default-standard-error", value, NULL); +} + +/** + * systemd1_manager_get_runtime_watchdog_usec: (skip) + * @object: A #Systemd1Manager. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.RuntimeWatchdogUSec">"RuntimeWatchdogUSec"</link> D-Bus property. + * + * Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side. + * + * Returns: The property value. + */ +guint64 +systemd1_manager_get_runtime_watchdog_usec (Systemd1Manager *object) +{ + return SYSTEMD1_MANAGER_GET_IFACE (object)->get_runtime_watchdog_usec (object); +} + +/** + * systemd1_manager_set_runtime_watchdog_usec: (skip) + * @object: A #Systemd1Manager. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.RuntimeWatchdogUSec">"RuntimeWatchdogUSec"</link> D-Bus property to @value. + * + * Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side. + */ +void +systemd1_manager_set_runtime_watchdog_usec (Systemd1Manager *object, guint64 value) +{ + g_object_set (G_OBJECT (object), "runtime-watchdog-usec", value, NULL); +} + +/** + * systemd1_manager_get_reboot_watchdog_usec: (skip) + * @object: A #Systemd1Manager. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.RebootWatchdogUSec">"RebootWatchdogUSec"</link> D-Bus property. + * + * Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side. + * + * Returns: The property value. + */ +guint64 +systemd1_manager_get_reboot_watchdog_usec (Systemd1Manager *object) +{ + return SYSTEMD1_MANAGER_GET_IFACE (object)->get_reboot_watchdog_usec (object); +} + +/** + * systemd1_manager_set_reboot_watchdog_usec: (skip) + * @object: A #Systemd1Manager. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.RebootWatchdogUSec">"RebootWatchdogUSec"</link> D-Bus property to @value. + * + * Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side. + */ +void +systemd1_manager_set_reboot_watchdog_usec (Systemd1Manager *object, guint64 value) +{ + g_object_set (G_OBJECT (object), "reboot-watchdog-usec", value, NULL); +} + +/** + * systemd1_manager_get_kexec_watchdog_usec: (skip) + * @object: A #Systemd1Manager. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.KExecWatchdogUSec">"KExecWatchdogUSec"</link> D-Bus property. + * + * Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side. + * + * Returns: The property value. + */ +guint64 +systemd1_manager_get_kexec_watchdog_usec (Systemd1Manager *object) +{ + return SYSTEMD1_MANAGER_GET_IFACE (object)->get_kexec_watchdog_usec (object); +} + +/** + * systemd1_manager_set_kexec_watchdog_usec: (skip) + * @object: A #Systemd1Manager. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.KExecWatchdogUSec">"KExecWatchdogUSec"</link> D-Bus property to @value. + * + * Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side. + */ +void +systemd1_manager_set_kexec_watchdog_usec (Systemd1Manager *object, guint64 value) +{ + g_object_set (G_OBJECT (object), "kexec-watchdog-usec", value, NULL); +} + +/** + * systemd1_manager_get_service_watchdogs: (skip) + * @object: A #Systemd1Manager. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.ServiceWatchdogs">"ServiceWatchdogs"</link> D-Bus property. + * + * Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side. + * + * Returns: The property value. + */ +gboolean +systemd1_manager_get_service_watchdogs (Systemd1Manager *object) +{ + return SYSTEMD1_MANAGER_GET_IFACE (object)->get_service_watchdogs (object); +} + +/** + * systemd1_manager_set_service_watchdogs: (skip) + * @object: A #Systemd1Manager. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.ServiceWatchdogs">"ServiceWatchdogs"</link> D-Bus property to @value. + * + * Since this D-Bus property is both readable and writable, it is meaningful to use this function on both the client- and service-side. + */ +void +systemd1_manager_set_service_watchdogs (Systemd1Manager *object, gboolean value) +{ + g_object_set (G_OBJECT (object), "service-watchdogs", value, NULL); +} + +/** + * systemd1_manager_get_control_group: (skip) + * @object: A #Systemd1Manager. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.ControlGroup">"ControlGroup"</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. + * + * 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 systemd1_manager_dup_control_group() if on another thread. + * + * Returns: (transfer none) (nullable): The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object. + */ +const gchar * +systemd1_manager_get_control_group (Systemd1Manager *object) +{ + return SYSTEMD1_MANAGER_GET_IFACE (object)->get_control_group (object); +} + +/** + * systemd1_manager_dup_control_group: (skip) + * @object: A #Systemd1Manager. + * + * Gets a copy of the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.ControlGroup">"ControlGroup"</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) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_free(). + */ +gchar * +systemd1_manager_dup_control_group (Systemd1Manager *object) +{ + gchar *value; + g_object_get (G_OBJECT (object), "control-group", &value, NULL); + return value; +} + +/** + * systemd1_manager_set_control_group: (skip) + * @object: A #Systemd1Manager. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.ControlGroup">"ControlGroup"</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 +systemd1_manager_set_control_group (Systemd1Manager *object, const gchar *value) +{ + g_object_set (G_OBJECT (object), "control-group", value, NULL); +} + +/** + * systemd1_manager_get_system_state: (skip) + * @object: A #Systemd1Manager. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.SystemState">"SystemState"</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. + * + * 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 systemd1_manager_dup_system_state() if on another thread. + * + * Returns: (transfer none) (nullable): The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object. + */ +const gchar * +systemd1_manager_get_system_state (Systemd1Manager *object) +{ + return SYSTEMD1_MANAGER_GET_IFACE (object)->get_system_state (object); +} + +/** + * systemd1_manager_dup_system_state: (skip) + * @object: A #Systemd1Manager. + * + * Gets a copy of the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.SystemState">"SystemState"</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) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_free(). + */ +gchar * +systemd1_manager_dup_system_state (Systemd1Manager *object) +{ + gchar *value; + g_object_get (G_OBJECT (object), "system-state", &value, NULL); + return value; +} + +/** + * systemd1_manager_set_system_state: (skip) + * @object: A #Systemd1Manager. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.SystemState">"SystemState"</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 +systemd1_manager_set_system_state (Systemd1Manager *object, const gchar *value) +{ + g_object_set (G_OBJECT (object), "system-state", value, NULL); +} + +/** + * systemd1_manager_get_exit_code: (skip) + * @object: A #Systemd1Manager. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.ExitCode">"ExitCode"</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. + */ +guchar +systemd1_manager_get_exit_code (Systemd1Manager *object) +{ + return SYSTEMD1_MANAGER_GET_IFACE (object)->get_exit_code (object); +} + +/** + * systemd1_manager_set_exit_code: (skip) + * @object: A #Systemd1Manager. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.ExitCode">"ExitCode"</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 +systemd1_manager_set_exit_code (Systemd1Manager *object, guchar value) +{ + g_object_set (G_OBJECT (object), "exit-code", value, NULL); +} + +/** + * systemd1_manager_get_default_timer_accuracy_usec: (skip) + * @object: A #Systemd1Manager. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.DefaultTimerAccuracyUSec">"DefaultTimerAccuracyUSec"</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 +systemd1_manager_get_default_timer_accuracy_usec (Systemd1Manager *object) +{ + return SYSTEMD1_MANAGER_GET_IFACE (object)->get_default_timer_accuracy_usec (object); +} + +/** + * systemd1_manager_set_default_timer_accuracy_usec: (skip) + * @object: A #Systemd1Manager. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.DefaultTimerAccuracyUSec">"DefaultTimerAccuracyUSec"</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 +systemd1_manager_set_default_timer_accuracy_usec (Systemd1Manager *object, guint64 value) +{ + g_object_set (G_OBJECT (object), "default-timer-accuracy-usec", value, NULL); +} + +/** + * systemd1_manager_get_default_timeout_start_usec: (skip) + * @object: A #Systemd1Manager. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.DefaultTimeoutStartUSec">"DefaultTimeoutStartUSec"</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 +systemd1_manager_get_default_timeout_start_usec (Systemd1Manager *object) +{ + return SYSTEMD1_MANAGER_GET_IFACE (object)->get_default_timeout_start_usec (object); +} + +/** + * systemd1_manager_set_default_timeout_start_usec: (skip) + * @object: A #Systemd1Manager. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.DefaultTimeoutStartUSec">"DefaultTimeoutStartUSec"</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 +systemd1_manager_set_default_timeout_start_usec (Systemd1Manager *object, guint64 value) +{ + g_object_set (G_OBJECT (object), "default-timeout-start-usec", value, NULL); +} + +/** + * systemd1_manager_get_default_timeout_stop_usec: (skip) + * @object: A #Systemd1Manager. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.DefaultTimeoutStopUSec">"DefaultTimeoutStopUSec"</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 +systemd1_manager_get_default_timeout_stop_usec (Systemd1Manager *object) +{ + return SYSTEMD1_MANAGER_GET_IFACE (object)->get_default_timeout_stop_usec (object); +} + +/** + * systemd1_manager_set_default_timeout_stop_usec: (skip) + * @object: A #Systemd1Manager. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.DefaultTimeoutStopUSec">"DefaultTimeoutStopUSec"</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 +systemd1_manager_set_default_timeout_stop_usec (Systemd1Manager *object, guint64 value) +{ + g_object_set (G_OBJECT (object), "default-timeout-stop-usec", value, NULL); +} + +/** + * systemd1_manager_get_default_timeout_abort_usec: (skip) + * @object: A #Systemd1Manager. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.DefaultTimeoutAbortUSec">"DefaultTimeoutAbortUSec"</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 +systemd1_manager_get_default_timeout_abort_usec (Systemd1Manager *object) +{ + return SYSTEMD1_MANAGER_GET_IFACE (object)->get_default_timeout_abort_usec (object); +} + +/** + * systemd1_manager_set_default_timeout_abort_usec: (skip) + * @object: A #Systemd1Manager. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.DefaultTimeoutAbortUSec">"DefaultTimeoutAbortUSec"</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 +systemd1_manager_set_default_timeout_abort_usec (Systemd1Manager *object, guint64 value) +{ + g_object_set (G_OBJECT (object), "default-timeout-abort-usec", value, NULL); +} + +/** + * systemd1_manager_get_default_restart_usec: (skip) + * @object: A #Systemd1Manager. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.DefaultRestartUSec">"DefaultRestartUSec"</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 +systemd1_manager_get_default_restart_usec (Systemd1Manager *object) +{ + return SYSTEMD1_MANAGER_GET_IFACE (object)->get_default_restart_usec (object); +} + +/** + * systemd1_manager_set_default_restart_usec: (skip) + * @object: A #Systemd1Manager. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.DefaultRestartUSec">"DefaultRestartUSec"</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 +systemd1_manager_set_default_restart_usec (Systemd1Manager *object, guint64 value) +{ + g_object_set (G_OBJECT (object), "default-restart-usec", value, NULL); +} + +/** + * systemd1_manager_get_default_start_limit_interval_usec: (skip) + * @object: A #Systemd1Manager. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.DefaultStartLimitIntervalUSec">"DefaultStartLimitIntervalUSec"</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 +systemd1_manager_get_default_start_limit_interval_usec (Systemd1Manager *object) +{ + return SYSTEMD1_MANAGER_GET_IFACE (object)->get_default_start_limit_interval_usec (object); +} + +/** + * systemd1_manager_set_default_start_limit_interval_usec: (skip) + * @object: A #Systemd1Manager. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.DefaultStartLimitIntervalUSec">"DefaultStartLimitIntervalUSec"</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 +systemd1_manager_set_default_start_limit_interval_usec (Systemd1Manager *object, guint64 value) +{ + g_object_set (G_OBJECT (object), "default-start-limit-interval-usec", value, NULL); +} + +/** + * systemd1_manager_get_default_start_limit_burst: (skip) + * @object: A #Systemd1Manager. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.DefaultStartLimitBurst">"DefaultStartLimitBurst"</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 +systemd1_manager_get_default_start_limit_burst (Systemd1Manager *object) +{ + return SYSTEMD1_MANAGER_GET_IFACE (object)->get_default_start_limit_burst (object); +} + +/** + * systemd1_manager_set_default_start_limit_burst: (skip) + * @object: A #Systemd1Manager. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.DefaultStartLimitBurst">"DefaultStartLimitBurst"</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 +systemd1_manager_set_default_start_limit_burst (Systemd1Manager *object, guint value) +{ + g_object_set (G_OBJECT (object), "default-start-limit-burst", value, NULL); +} + +/** + * systemd1_manager_get_default_cpuaccounting: (skip) + * @object: A #Systemd1Manager. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.DefaultCPUAccounting">"DefaultCPUAccounting"</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 +systemd1_manager_get_default_cpuaccounting (Systemd1Manager *object) +{ + return SYSTEMD1_MANAGER_GET_IFACE (object)->get_default_cpuaccounting (object); +} + +/** + * systemd1_manager_set_default_cpuaccounting: (skip) + * @object: A #Systemd1Manager. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.DefaultCPUAccounting">"DefaultCPUAccounting"</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 +systemd1_manager_set_default_cpuaccounting (Systemd1Manager *object, gboolean value) +{ + g_object_set (G_OBJECT (object), "default-cpuaccounting", value, NULL); +} + +/** + * systemd1_manager_get_default_block_ioaccounting: (skip) + * @object: A #Systemd1Manager. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.DefaultBlockIOAccounting">"DefaultBlockIOAccounting"</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 +systemd1_manager_get_default_block_ioaccounting (Systemd1Manager *object) +{ + return SYSTEMD1_MANAGER_GET_IFACE (object)->get_default_block_ioaccounting (object); +} + +/** + * systemd1_manager_set_default_block_ioaccounting: (skip) + * @object: A #Systemd1Manager. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.DefaultBlockIOAccounting">"DefaultBlockIOAccounting"</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 +systemd1_manager_set_default_block_ioaccounting (Systemd1Manager *object, gboolean value) +{ + g_object_set (G_OBJECT (object), "default-block-ioaccounting", value, NULL); +} + +/** + * systemd1_manager_get_default_memory_accounting: (skip) + * @object: A #Systemd1Manager. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.DefaultMemoryAccounting">"DefaultMemoryAccounting"</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 +systemd1_manager_get_default_memory_accounting (Systemd1Manager *object) +{ + return SYSTEMD1_MANAGER_GET_IFACE (object)->get_default_memory_accounting (object); +} + +/** + * systemd1_manager_set_default_memory_accounting: (skip) + * @object: A #Systemd1Manager. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.DefaultMemoryAccounting">"DefaultMemoryAccounting"</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 +systemd1_manager_set_default_memory_accounting (Systemd1Manager *object, gboolean value) +{ + g_object_set (G_OBJECT (object), "default-memory-accounting", value, NULL); +} + +/** + * systemd1_manager_get_default_tasks_accounting: (skip) + * @object: A #Systemd1Manager. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.DefaultTasksAccounting">"DefaultTasksAccounting"</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 +systemd1_manager_get_default_tasks_accounting (Systemd1Manager *object) +{ + return SYSTEMD1_MANAGER_GET_IFACE (object)->get_default_tasks_accounting (object); +} + +/** + * systemd1_manager_set_default_tasks_accounting: (skip) + * @object: A #Systemd1Manager. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.DefaultTasksAccounting">"DefaultTasksAccounting"</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 +systemd1_manager_set_default_tasks_accounting (Systemd1Manager *object, gboolean value) +{ + g_object_set (G_OBJECT (object), "default-tasks-accounting", value, NULL); +} + +/** + * systemd1_manager_get_default_limit_cpu: (skip) + * @object: A #Systemd1Manager. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.DefaultLimitCPU">"DefaultLimitCPU"</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 +systemd1_manager_get_default_limit_cpu (Systemd1Manager *object) +{ + return SYSTEMD1_MANAGER_GET_IFACE (object)->get_default_limit_cpu (object); +} + +/** + * systemd1_manager_set_default_limit_cpu: (skip) + * @object: A #Systemd1Manager. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.DefaultLimitCPU">"DefaultLimitCPU"</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 +systemd1_manager_set_default_limit_cpu (Systemd1Manager *object, guint64 value) +{ + g_object_set (G_OBJECT (object), "default-limit-cpu", value, NULL); +} + +/** + * systemd1_manager_get_default_limit_cpusoft: (skip) + * @object: A #Systemd1Manager. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.DefaultLimitCPUSoft">"DefaultLimitCPUSoft"</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 +systemd1_manager_get_default_limit_cpusoft (Systemd1Manager *object) +{ + return SYSTEMD1_MANAGER_GET_IFACE (object)->get_default_limit_cpusoft (object); +} + +/** + * systemd1_manager_set_default_limit_cpusoft: (skip) + * @object: A #Systemd1Manager. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.DefaultLimitCPUSoft">"DefaultLimitCPUSoft"</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 +systemd1_manager_set_default_limit_cpusoft (Systemd1Manager *object, guint64 value) +{ + g_object_set (G_OBJECT (object), "default-limit-cpusoft", value, NULL); +} + +/** + * systemd1_manager_get_default_limit_fsize: (skip) + * @object: A #Systemd1Manager. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.DefaultLimitFSIZE">"DefaultLimitFSIZE"</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 +systemd1_manager_get_default_limit_fsize (Systemd1Manager *object) +{ + return SYSTEMD1_MANAGER_GET_IFACE (object)->get_default_limit_fsize (object); +} + +/** + * systemd1_manager_set_default_limit_fsize: (skip) + * @object: A #Systemd1Manager. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.DefaultLimitFSIZE">"DefaultLimitFSIZE"</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 +systemd1_manager_set_default_limit_fsize (Systemd1Manager *object, guint64 value) +{ + g_object_set (G_OBJECT (object), "default-limit-fsize", value, NULL); +} + +/** + * systemd1_manager_get_default_limit_fsizesoft: (skip) + * @object: A #Systemd1Manager. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.DefaultLimitFSIZESoft">"DefaultLimitFSIZESoft"</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 +systemd1_manager_get_default_limit_fsizesoft (Systemd1Manager *object) +{ + return SYSTEMD1_MANAGER_GET_IFACE (object)->get_default_limit_fsizesoft (object); +} + +/** + * systemd1_manager_set_default_limit_fsizesoft: (skip) + * @object: A #Systemd1Manager. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.DefaultLimitFSIZESoft">"DefaultLimitFSIZESoft"</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 +systemd1_manager_set_default_limit_fsizesoft (Systemd1Manager *object, guint64 value) +{ + g_object_set (G_OBJECT (object), "default-limit-fsizesoft", value, NULL); +} + +/** + * systemd1_manager_get_default_limit_data: (skip) + * @object: A #Systemd1Manager. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.DefaultLimitDATA">"DefaultLimitDATA"</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 +systemd1_manager_get_default_limit_data (Systemd1Manager *object) +{ + return SYSTEMD1_MANAGER_GET_IFACE (object)->get_default_limit_data (object); +} + +/** + * systemd1_manager_set_default_limit_data: (skip) + * @object: A #Systemd1Manager. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.DefaultLimitDATA">"DefaultLimitDATA"</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 +systemd1_manager_set_default_limit_data (Systemd1Manager *object, guint64 value) +{ + g_object_set (G_OBJECT (object), "default-limit-data", value, NULL); +} + +/** + * systemd1_manager_get_default_limit_datasoft: (skip) + * @object: A #Systemd1Manager. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.DefaultLimitDATASoft">"DefaultLimitDATASoft"</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 +systemd1_manager_get_default_limit_datasoft (Systemd1Manager *object) +{ + return SYSTEMD1_MANAGER_GET_IFACE (object)->get_default_limit_datasoft (object); +} + +/** + * systemd1_manager_set_default_limit_datasoft: (skip) + * @object: A #Systemd1Manager. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.DefaultLimitDATASoft">"DefaultLimitDATASoft"</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 +systemd1_manager_set_default_limit_datasoft (Systemd1Manager *object, guint64 value) +{ + g_object_set (G_OBJECT (object), "default-limit-datasoft", value, NULL); +} + +/** + * systemd1_manager_get_default_limit_stack: (skip) + * @object: A #Systemd1Manager. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.DefaultLimitSTACK">"DefaultLimitSTACK"</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 +systemd1_manager_get_default_limit_stack (Systemd1Manager *object) +{ + return SYSTEMD1_MANAGER_GET_IFACE (object)->get_default_limit_stack (object); +} + +/** + * systemd1_manager_set_default_limit_stack: (skip) + * @object: A #Systemd1Manager. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.DefaultLimitSTACK">"DefaultLimitSTACK"</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 +systemd1_manager_set_default_limit_stack (Systemd1Manager *object, guint64 value) +{ + g_object_set (G_OBJECT (object), "default-limit-stack", value, NULL); +} + +/** + * systemd1_manager_get_default_limit_stacksoft: (skip) + * @object: A #Systemd1Manager. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.DefaultLimitSTACKSoft">"DefaultLimitSTACKSoft"</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 +systemd1_manager_get_default_limit_stacksoft (Systemd1Manager *object) +{ + return SYSTEMD1_MANAGER_GET_IFACE (object)->get_default_limit_stacksoft (object); +} + +/** + * systemd1_manager_set_default_limit_stacksoft: (skip) + * @object: A #Systemd1Manager. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.DefaultLimitSTACKSoft">"DefaultLimitSTACKSoft"</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 +systemd1_manager_set_default_limit_stacksoft (Systemd1Manager *object, guint64 value) +{ + g_object_set (G_OBJECT (object), "default-limit-stacksoft", value, NULL); +} + +/** + * systemd1_manager_get_default_limit_core: (skip) + * @object: A #Systemd1Manager. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.DefaultLimitCORE">"DefaultLimitCORE"</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 +systemd1_manager_get_default_limit_core (Systemd1Manager *object) +{ + return SYSTEMD1_MANAGER_GET_IFACE (object)->get_default_limit_core (object); +} + +/** + * systemd1_manager_set_default_limit_core: (skip) + * @object: A #Systemd1Manager. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.DefaultLimitCORE">"DefaultLimitCORE"</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 +systemd1_manager_set_default_limit_core (Systemd1Manager *object, guint64 value) +{ + g_object_set (G_OBJECT (object), "default-limit-core", value, NULL); +} + +/** + * systemd1_manager_get_default_limit_coresoft: (skip) + * @object: A #Systemd1Manager. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.DefaultLimitCORESoft">"DefaultLimitCORESoft"</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 +systemd1_manager_get_default_limit_coresoft (Systemd1Manager *object) +{ + return SYSTEMD1_MANAGER_GET_IFACE (object)->get_default_limit_coresoft (object); +} + +/** + * systemd1_manager_set_default_limit_coresoft: (skip) + * @object: A #Systemd1Manager. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.DefaultLimitCORESoft">"DefaultLimitCORESoft"</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 +systemd1_manager_set_default_limit_coresoft (Systemd1Manager *object, guint64 value) +{ + g_object_set (G_OBJECT (object), "default-limit-coresoft", value, NULL); +} + +/** + * systemd1_manager_get_default_limit_rss: (skip) + * @object: A #Systemd1Manager. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.DefaultLimitRSS">"DefaultLimitRSS"</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 +systemd1_manager_get_default_limit_rss (Systemd1Manager *object) +{ + return SYSTEMD1_MANAGER_GET_IFACE (object)->get_default_limit_rss (object); +} + +/** + * systemd1_manager_set_default_limit_rss: (skip) + * @object: A #Systemd1Manager. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.DefaultLimitRSS">"DefaultLimitRSS"</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 +systemd1_manager_set_default_limit_rss (Systemd1Manager *object, guint64 value) +{ + g_object_set (G_OBJECT (object), "default-limit-rss", value, NULL); +} + +/** + * systemd1_manager_get_default_limit_rsssoft: (skip) + * @object: A #Systemd1Manager. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.DefaultLimitRSSSoft">"DefaultLimitRSSSoft"</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 +systemd1_manager_get_default_limit_rsssoft (Systemd1Manager *object) +{ + return SYSTEMD1_MANAGER_GET_IFACE (object)->get_default_limit_rsssoft (object); +} + +/** + * systemd1_manager_set_default_limit_rsssoft: (skip) + * @object: A #Systemd1Manager. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.DefaultLimitRSSSoft">"DefaultLimitRSSSoft"</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 +systemd1_manager_set_default_limit_rsssoft (Systemd1Manager *object, guint64 value) +{ + g_object_set (G_OBJECT (object), "default-limit-rsssoft", value, NULL); +} + +/** + * systemd1_manager_get_default_limit_nofile: (skip) + * @object: A #Systemd1Manager. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.DefaultLimitNOFILE">"DefaultLimitNOFILE"</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 +systemd1_manager_get_default_limit_nofile (Systemd1Manager *object) +{ + return SYSTEMD1_MANAGER_GET_IFACE (object)->get_default_limit_nofile (object); +} + +/** + * systemd1_manager_set_default_limit_nofile: (skip) + * @object: A #Systemd1Manager. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.DefaultLimitNOFILE">"DefaultLimitNOFILE"</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 +systemd1_manager_set_default_limit_nofile (Systemd1Manager *object, guint64 value) +{ + g_object_set (G_OBJECT (object), "default-limit-nofile", value, NULL); +} + +/** + * systemd1_manager_get_default_limit_nofilesoft: (skip) + * @object: A #Systemd1Manager. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.DefaultLimitNOFILESoft">"DefaultLimitNOFILESoft"</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 +systemd1_manager_get_default_limit_nofilesoft (Systemd1Manager *object) +{ + return SYSTEMD1_MANAGER_GET_IFACE (object)->get_default_limit_nofilesoft (object); +} + +/** + * systemd1_manager_set_default_limit_nofilesoft: (skip) + * @object: A #Systemd1Manager. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.DefaultLimitNOFILESoft">"DefaultLimitNOFILESoft"</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 +systemd1_manager_set_default_limit_nofilesoft (Systemd1Manager *object, guint64 value) +{ + g_object_set (G_OBJECT (object), "default-limit-nofilesoft", value, NULL); +} + +/** + * systemd1_manager_get_default_limit_as: (skip) + * @object: A #Systemd1Manager. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.DefaultLimitAS">"DefaultLimitAS"</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 +systemd1_manager_get_default_limit_as (Systemd1Manager *object) +{ + return SYSTEMD1_MANAGER_GET_IFACE (object)->get_default_limit_as (object); +} + +/** + * systemd1_manager_set_default_limit_as: (skip) + * @object: A #Systemd1Manager. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.DefaultLimitAS">"DefaultLimitAS"</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 +systemd1_manager_set_default_limit_as (Systemd1Manager *object, guint64 value) +{ + g_object_set (G_OBJECT (object), "default-limit-as", value, NULL); +} + +/** + * systemd1_manager_get_default_limit_assoft: (skip) + * @object: A #Systemd1Manager. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.DefaultLimitASSoft">"DefaultLimitASSoft"</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 +systemd1_manager_get_default_limit_assoft (Systemd1Manager *object) +{ + return SYSTEMD1_MANAGER_GET_IFACE (object)->get_default_limit_assoft (object); +} + +/** + * systemd1_manager_set_default_limit_assoft: (skip) + * @object: A #Systemd1Manager. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.DefaultLimitASSoft">"DefaultLimitASSoft"</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 +systemd1_manager_set_default_limit_assoft (Systemd1Manager *object, guint64 value) +{ + g_object_set (G_OBJECT (object), "default-limit-assoft", value, NULL); +} + +/** + * systemd1_manager_get_default_limit_nproc: (skip) + * @object: A #Systemd1Manager. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.DefaultLimitNPROC">"DefaultLimitNPROC"</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 +systemd1_manager_get_default_limit_nproc (Systemd1Manager *object) +{ + return SYSTEMD1_MANAGER_GET_IFACE (object)->get_default_limit_nproc (object); +} + +/** + * systemd1_manager_set_default_limit_nproc: (skip) + * @object: A #Systemd1Manager. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.DefaultLimitNPROC">"DefaultLimitNPROC"</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 +systemd1_manager_set_default_limit_nproc (Systemd1Manager *object, guint64 value) +{ + g_object_set (G_OBJECT (object), "default-limit-nproc", value, NULL); +} + +/** + * systemd1_manager_get_default_limit_nprocsoft: (skip) + * @object: A #Systemd1Manager. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.DefaultLimitNPROCSoft">"DefaultLimitNPROCSoft"</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 +systemd1_manager_get_default_limit_nprocsoft (Systemd1Manager *object) +{ + return SYSTEMD1_MANAGER_GET_IFACE (object)->get_default_limit_nprocsoft (object); +} + +/** + * systemd1_manager_set_default_limit_nprocsoft: (skip) + * @object: A #Systemd1Manager. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.DefaultLimitNPROCSoft">"DefaultLimitNPROCSoft"</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 +systemd1_manager_set_default_limit_nprocsoft (Systemd1Manager *object, guint64 value) +{ + g_object_set (G_OBJECT (object), "default-limit-nprocsoft", value, NULL); +} + +/** + * systemd1_manager_get_default_limit_memlock: (skip) + * @object: A #Systemd1Manager. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.DefaultLimitMEMLOCK">"DefaultLimitMEMLOCK"</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 +systemd1_manager_get_default_limit_memlock (Systemd1Manager *object) +{ + return SYSTEMD1_MANAGER_GET_IFACE (object)->get_default_limit_memlock (object); +} + +/** + * systemd1_manager_set_default_limit_memlock: (skip) + * @object: A #Systemd1Manager. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.DefaultLimitMEMLOCK">"DefaultLimitMEMLOCK"</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 +systemd1_manager_set_default_limit_memlock (Systemd1Manager *object, guint64 value) +{ + g_object_set (G_OBJECT (object), "default-limit-memlock", value, NULL); +} + +/** + * systemd1_manager_get_default_limit_memlocksoft: (skip) + * @object: A #Systemd1Manager. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.DefaultLimitMEMLOCKSoft">"DefaultLimitMEMLOCKSoft"</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 +systemd1_manager_get_default_limit_memlocksoft (Systemd1Manager *object) +{ + return SYSTEMD1_MANAGER_GET_IFACE (object)->get_default_limit_memlocksoft (object); +} + +/** + * systemd1_manager_set_default_limit_memlocksoft: (skip) + * @object: A #Systemd1Manager. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.DefaultLimitMEMLOCKSoft">"DefaultLimitMEMLOCKSoft"</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 +systemd1_manager_set_default_limit_memlocksoft (Systemd1Manager *object, guint64 value) +{ + g_object_set (G_OBJECT (object), "default-limit-memlocksoft", value, NULL); +} + +/** + * systemd1_manager_get_default_limit_locks: (skip) + * @object: A #Systemd1Manager. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.DefaultLimitLOCKS">"DefaultLimitLOCKS"</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 +systemd1_manager_get_default_limit_locks (Systemd1Manager *object) +{ + return SYSTEMD1_MANAGER_GET_IFACE (object)->get_default_limit_locks (object); +} + +/** + * systemd1_manager_set_default_limit_locks: (skip) + * @object: A #Systemd1Manager. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.DefaultLimitLOCKS">"DefaultLimitLOCKS"</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 +systemd1_manager_set_default_limit_locks (Systemd1Manager *object, guint64 value) +{ + g_object_set (G_OBJECT (object), "default-limit-locks", value, NULL); +} + +/** + * systemd1_manager_get_default_limit_lockssoft: (skip) + * @object: A #Systemd1Manager. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.DefaultLimitLOCKSSoft">"DefaultLimitLOCKSSoft"</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 +systemd1_manager_get_default_limit_lockssoft (Systemd1Manager *object) +{ + return SYSTEMD1_MANAGER_GET_IFACE (object)->get_default_limit_lockssoft (object); +} + +/** + * systemd1_manager_set_default_limit_lockssoft: (skip) + * @object: A #Systemd1Manager. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.DefaultLimitLOCKSSoft">"DefaultLimitLOCKSSoft"</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 +systemd1_manager_set_default_limit_lockssoft (Systemd1Manager *object, guint64 value) +{ + g_object_set (G_OBJECT (object), "default-limit-lockssoft", value, NULL); +} + +/** + * systemd1_manager_get_default_limit_sigpending: (skip) + * @object: A #Systemd1Manager. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.DefaultLimitSIGPENDING">"DefaultLimitSIGPENDING"</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 +systemd1_manager_get_default_limit_sigpending (Systemd1Manager *object) +{ + return SYSTEMD1_MANAGER_GET_IFACE (object)->get_default_limit_sigpending (object); +} + +/** + * systemd1_manager_set_default_limit_sigpending: (skip) + * @object: A #Systemd1Manager. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.DefaultLimitSIGPENDING">"DefaultLimitSIGPENDING"</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 +systemd1_manager_set_default_limit_sigpending (Systemd1Manager *object, guint64 value) +{ + g_object_set (G_OBJECT (object), "default-limit-sigpending", value, NULL); +} + +/** + * systemd1_manager_get_default_limit_sigpendingsoft: (skip) + * @object: A #Systemd1Manager. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.DefaultLimitSIGPENDINGSoft">"DefaultLimitSIGPENDINGSoft"</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 +systemd1_manager_get_default_limit_sigpendingsoft (Systemd1Manager *object) +{ + return SYSTEMD1_MANAGER_GET_IFACE (object)->get_default_limit_sigpendingsoft (object); +} + +/** + * systemd1_manager_set_default_limit_sigpendingsoft: (skip) + * @object: A #Systemd1Manager. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.DefaultLimitSIGPENDINGSoft">"DefaultLimitSIGPENDINGSoft"</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 +systemd1_manager_set_default_limit_sigpendingsoft (Systemd1Manager *object, guint64 value) +{ + g_object_set (G_OBJECT (object), "default-limit-sigpendingsoft", value, NULL); +} + +/** + * systemd1_manager_get_default_limit_msgqueue: (skip) + * @object: A #Systemd1Manager. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.DefaultLimitMSGQUEUE">"DefaultLimitMSGQUEUE"</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 +systemd1_manager_get_default_limit_msgqueue (Systemd1Manager *object) +{ + return SYSTEMD1_MANAGER_GET_IFACE (object)->get_default_limit_msgqueue (object); +} + +/** + * systemd1_manager_set_default_limit_msgqueue: (skip) + * @object: A #Systemd1Manager. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.DefaultLimitMSGQUEUE">"DefaultLimitMSGQUEUE"</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 +systemd1_manager_set_default_limit_msgqueue (Systemd1Manager *object, guint64 value) +{ + g_object_set (G_OBJECT (object), "default-limit-msgqueue", value, NULL); +} + +/** + * systemd1_manager_get_default_limit_msgqueuesoft: (skip) + * @object: A #Systemd1Manager. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.DefaultLimitMSGQUEUESoft">"DefaultLimitMSGQUEUESoft"</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 +systemd1_manager_get_default_limit_msgqueuesoft (Systemd1Manager *object) +{ + return SYSTEMD1_MANAGER_GET_IFACE (object)->get_default_limit_msgqueuesoft (object); +} + +/** + * systemd1_manager_set_default_limit_msgqueuesoft: (skip) + * @object: A #Systemd1Manager. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.DefaultLimitMSGQUEUESoft">"DefaultLimitMSGQUEUESoft"</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 +systemd1_manager_set_default_limit_msgqueuesoft (Systemd1Manager *object, guint64 value) +{ + g_object_set (G_OBJECT (object), "default-limit-msgqueuesoft", value, NULL); +} + +/** + * systemd1_manager_get_default_limit_nice: (skip) + * @object: A #Systemd1Manager. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.DefaultLimitNICE">"DefaultLimitNICE"</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 +systemd1_manager_get_default_limit_nice (Systemd1Manager *object) +{ + return SYSTEMD1_MANAGER_GET_IFACE (object)->get_default_limit_nice (object); +} + +/** + * systemd1_manager_set_default_limit_nice: (skip) + * @object: A #Systemd1Manager. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.DefaultLimitNICE">"DefaultLimitNICE"</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 +systemd1_manager_set_default_limit_nice (Systemd1Manager *object, guint64 value) +{ + g_object_set (G_OBJECT (object), "default-limit-nice", value, NULL); +} + +/** + * systemd1_manager_get_default_limit_nicesoft: (skip) + * @object: A #Systemd1Manager. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.DefaultLimitNICESoft">"DefaultLimitNICESoft"</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 +systemd1_manager_get_default_limit_nicesoft (Systemd1Manager *object) +{ + return SYSTEMD1_MANAGER_GET_IFACE (object)->get_default_limit_nicesoft (object); +} + +/** + * systemd1_manager_set_default_limit_nicesoft: (skip) + * @object: A #Systemd1Manager. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.DefaultLimitNICESoft">"DefaultLimitNICESoft"</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 +systemd1_manager_set_default_limit_nicesoft (Systemd1Manager *object, guint64 value) +{ + g_object_set (G_OBJECT (object), "default-limit-nicesoft", value, NULL); +} + +/** + * systemd1_manager_get_default_limit_rtprio: (skip) + * @object: A #Systemd1Manager. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.DefaultLimitRTPRIO">"DefaultLimitRTPRIO"</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 +systemd1_manager_get_default_limit_rtprio (Systemd1Manager *object) +{ + return SYSTEMD1_MANAGER_GET_IFACE (object)->get_default_limit_rtprio (object); +} + +/** + * systemd1_manager_set_default_limit_rtprio: (skip) + * @object: A #Systemd1Manager. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.DefaultLimitRTPRIO">"DefaultLimitRTPRIO"</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 +systemd1_manager_set_default_limit_rtprio (Systemd1Manager *object, guint64 value) +{ + g_object_set (G_OBJECT (object), "default-limit-rtprio", value, NULL); +} + +/** + * systemd1_manager_get_default_limit_rtpriosoft: (skip) + * @object: A #Systemd1Manager. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.DefaultLimitRTPRIOSoft">"DefaultLimitRTPRIOSoft"</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 +systemd1_manager_get_default_limit_rtpriosoft (Systemd1Manager *object) +{ + return SYSTEMD1_MANAGER_GET_IFACE (object)->get_default_limit_rtpriosoft (object); +} + +/** + * systemd1_manager_set_default_limit_rtpriosoft: (skip) + * @object: A #Systemd1Manager. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.DefaultLimitRTPRIOSoft">"DefaultLimitRTPRIOSoft"</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 +systemd1_manager_set_default_limit_rtpriosoft (Systemd1Manager *object, guint64 value) +{ + g_object_set (G_OBJECT (object), "default-limit-rtpriosoft", value, NULL); +} + +/** + * systemd1_manager_get_default_limit_rttime: (skip) + * @object: A #Systemd1Manager. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.DefaultLimitRTTIME">"DefaultLimitRTTIME"</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 +systemd1_manager_get_default_limit_rttime (Systemd1Manager *object) +{ + return SYSTEMD1_MANAGER_GET_IFACE (object)->get_default_limit_rttime (object); +} + +/** + * systemd1_manager_set_default_limit_rttime: (skip) + * @object: A #Systemd1Manager. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.DefaultLimitRTTIME">"DefaultLimitRTTIME"</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 +systemd1_manager_set_default_limit_rttime (Systemd1Manager *object, guint64 value) +{ + g_object_set (G_OBJECT (object), "default-limit-rttime", value, NULL); +} + +/** + * systemd1_manager_get_default_limit_rttimesoft: (skip) + * @object: A #Systemd1Manager. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.DefaultLimitRTTIMESoft">"DefaultLimitRTTIMESoft"</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 +systemd1_manager_get_default_limit_rttimesoft (Systemd1Manager *object) +{ + return SYSTEMD1_MANAGER_GET_IFACE (object)->get_default_limit_rttimesoft (object); +} + +/** + * systemd1_manager_set_default_limit_rttimesoft: (skip) + * @object: A #Systemd1Manager. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.DefaultLimitRTTIMESoft">"DefaultLimitRTTIMESoft"</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 +systemd1_manager_set_default_limit_rttimesoft (Systemd1Manager *object, guint64 value) +{ + g_object_set (G_OBJECT (object), "default-limit-rttimesoft", value, NULL); +} + +/** + * systemd1_manager_get_default_tasks_max: (skip) + * @object: A #Systemd1Manager. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.DefaultTasksMax">"DefaultTasksMax"</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 +systemd1_manager_get_default_tasks_max (Systemd1Manager *object) +{ + return SYSTEMD1_MANAGER_GET_IFACE (object)->get_default_tasks_max (object); +} + +/** + * systemd1_manager_set_default_tasks_max: (skip) + * @object: A #Systemd1Manager. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.DefaultTasksMax">"DefaultTasksMax"</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 +systemd1_manager_set_default_tasks_max (Systemd1Manager *object, guint64 value) +{ + g_object_set (G_OBJECT (object), "default-tasks-max", value, NULL); +} + +/** + * systemd1_manager_get_timer_slack_nsec: (skip) + * @object: A #Systemd1Manager. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.TimerSlackNSec">"TimerSlackNSec"</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 +systemd1_manager_get_timer_slack_nsec (Systemd1Manager *object) +{ + return SYSTEMD1_MANAGER_GET_IFACE (object)->get_timer_slack_nsec (object); +} + +/** + * systemd1_manager_set_timer_slack_nsec: (skip) + * @object: A #Systemd1Manager. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.TimerSlackNSec">"TimerSlackNSec"</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 +systemd1_manager_set_timer_slack_nsec (Systemd1Manager *object, guint64 value) +{ + g_object_set (G_OBJECT (object), "timer-slack-nsec", value, NULL); +} + +/** + * systemd1_manager_get_default_oompolicy: (skip) + * @object: A #Systemd1Manager. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.DefaultOOMPolicy">"DefaultOOMPolicy"</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. + * + * 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 systemd1_manager_dup_default_oompolicy() if on another thread. + * + * Returns: (transfer none) (nullable): The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object. + */ +const gchar * +systemd1_manager_get_default_oompolicy (Systemd1Manager *object) +{ + return SYSTEMD1_MANAGER_GET_IFACE (object)->get_default_oompolicy (object); +} + +/** + * systemd1_manager_dup_default_oompolicy: (skip) + * @object: A #Systemd1Manager. + * + * Gets a copy of the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.DefaultOOMPolicy">"DefaultOOMPolicy"</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) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_free(). + */ +gchar * +systemd1_manager_dup_default_oompolicy (Systemd1Manager *object) +{ + gchar *value; + g_object_get (G_OBJECT (object), "default-oompolicy", &value, NULL); + return value; +} + +/** + * systemd1_manager_set_default_oompolicy: (skip) + * @object: A #Systemd1Manager. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.DefaultOOMPolicy">"DefaultOOMPolicy"</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 +systemd1_manager_set_default_oompolicy (Systemd1Manager *object, const gchar *value) +{ + g_object_set (G_OBJECT (object), "default-oompolicy", value, NULL); +} + +/** + * systemd1_manager_get_ctrl_alt_del_burst_action: (skip) + * @object: A #Systemd1Manager. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.CtrlAltDelBurstAction">"CtrlAltDelBurstAction"</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. + * + * 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 systemd1_manager_dup_ctrl_alt_del_burst_action() if on another thread. + * + * Returns: (transfer none) (nullable): The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object. + */ +const gchar * +systemd1_manager_get_ctrl_alt_del_burst_action (Systemd1Manager *object) +{ + return SYSTEMD1_MANAGER_GET_IFACE (object)->get_ctrl_alt_del_burst_action (object); +} + +/** + * systemd1_manager_dup_ctrl_alt_del_burst_action: (skip) + * @object: A #Systemd1Manager. + * + * Gets a copy of the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.CtrlAltDelBurstAction">"CtrlAltDelBurstAction"</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) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_free(). + */ +gchar * +systemd1_manager_dup_ctrl_alt_del_burst_action (Systemd1Manager *object) +{ + gchar *value; + g_object_get (G_OBJECT (object), "ctrl-alt-del-burst-action", &value, NULL); + return value; +} + +/** + * systemd1_manager_set_ctrl_alt_del_burst_action: (skip) + * @object: A #Systemd1Manager. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Manager.CtrlAltDelBurstAction">"CtrlAltDelBurstAction"</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 +systemd1_manager_set_ctrl_alt_del_burst_action (Systemd1Manager *object, const gchar *value) +{ + g_object_set (G_OBJECT (object), "ctrl-alt-del-burst-action", value, NULL); +} + +/** + * systemd1_manager_emit_unit_new: + * @object: A #Systemd1Manager. + * @arg_id: Argument to pass with the signal. + * @arg_unit: Argument to pass with the signal. + * + * Emits the <link linkend="gdbus-signal-org-freedesktop-systemd1-Manager.UnitNew">"UnitNew"</link> D-Bus signal. + */ +void +systemd1_manager_emit_unit_new ( + Systemd1Manager *object, + const gchar *arg_id, + const gchar *arg_unit) +{ + g_signal_emit_by_name (object, "unit-new", arg_id, arg_unit); +} + +/** + * systemd1_manager_emit_unit_removed: + * @object: A #Systemd1Manager. + * @arg_id: Argument to pass with the signal. + * @arg_unit: Argument to pass with the signal. + * + * Emits the <link linkend="gdbus-signal-org-freedesktop-systemd1-Manager.UnitRemoved">"UnitRemoved"</link> D-Bus signal. + */ +void +systemd1_manager_emit_unit_removed ( + Systemd1Manager *object, + const gchar *arg_id, + const gchar *arg_unit) +{ + g_signal_emit_by_name (object, "unit-removed", arg_id, arg_unit); +} + +/** + * systemd1_manager_emit_job_new: + * @object: A #Systemd1Manager. + * @arg_id: Argument to pass with the signal. + * @arg_job: Argument to pass with the signal. + * @arg_unit: Argument to pass with the signal. + * + * Emits the <link linkend="gdbus-signal-org-freedesktop-systemd1-Manager.JobNew">"JobNew"</link> D-Bus signal. + */ +void +systemd1_manager_emit_job_new ( + Systemd1Manager *object, + guint arg_id, + const gchar *arg_job, + const gchar *arg_unit) +{ + g_signal_emit_by_name (object, "job-new", arg_id, arg_job, arg_unit); +} + +/** + * systemd1_manager_emit_job_removed: + * @object: A #Systemd1Manager. + * @arg_id: Argument to pass with the signal. + * @arg_job: Argument to pass with the signal. + * @arg_unit: Argument to pass with the signal. + * @arg_result: Argument to pass with the signal. + * + * Emits the <link linkend="gdbus-signal-org-freedesktop-systemd1-Manager.JobRemoved">"JobRemoved"</link> D-Bus signal. + */ +void +systemd1_manager_emit_job_removed ( + Systemd1Manager *object, + guint arg_id, + const gchar *arg_job, + const gchar *arg_unit, + const gchar *arg_result) +{ + g_signal_emit_by_name (object, "job-removed", arg_id, arg_job, arg_unit, arg_result); +} + +/** + * systemd1_manager_emit_startup_finished: + * @object: A #Systemd1Manager. + * @arg_firmware: Argument to pass with the signal. + * @arg_loader: Argument to pass with the signal. + * @arg_kernel: Argument to pass with the signal. + * @arg_initrd: Argument to pass with the signal. + * @arg_userspace: Argument to pass with the signal. + * @arg_total: Argument to pass with the signal. + * + * Emits the <link linkend="gdbus-signal-org-freedesktop-systemd1-Manager.StartupFinished">"StartupFinished"</link> D-Bus signal. + */ +void +systemd1_manager_emit_startup_finished ( + Systemd1Manager *object, + guint64 arg_firmware, + guint64 arg_loader, + guint64 arg_kernel, + guint64 arg_initrd, + guint64 arg_userspace, + guint64 arg_total) +{ + g_signal_emit_by_name (object, "startup-finished", arg_firmware, arg_loader, arg_kernel, arg_initrd, arg_userspace, arg_total); +} + +/** + * systemd1_manager_emit_unit_files_changed: + * @object: A #Systemd1Manager. + * + * Emits the <link linkend="gdbus-signal-org-freedesktop-systemd1-Manager.UnitFilesChanged">"UnitFilesChanged"</link> D-Bus signal. + */ +void +systemd1_manager_emit_unit_files_changed ( + Systemd1Manager *object) +{ + g_signal_emit_by_name (object, "unit-files-changed"); +} + +/** + * systemd1_manager_emit_reloading: + * @object: A #Systemd1Manager. + * @arg_active: Argument to pass with the signal. + * + * Emits the <link linkend="gdbus-signal-org-freedesktop-systemd1-Manager.Reloading">"Reloading"</link> D-Bus signal. + */ +void +systemd1_manager_emit_reloading ( + Systemd1Manager *object, + gboolean arg_active) +{ + g_signal_emit_by_name (object, "reloading", arg_active); +} + +/** + * systemd1_manager_call_get_unit: + * @proxy: A #Systemd1ManagerProxy. + * @arg_name: Argument to pass with the method invocation. + * @cancellable: (nullable): 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-systemd1-Manager.GetUnit">GetUnit()</link> D-Bus method on @proxy. + * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). + * You can then call systemd1_manager_call_get_unit_finish() to get the result of the operation. + * + * See systemd1_manager_call_get_unit_sync() for the synchronous, blocking version of this method. + */ +void +systemd1_manager_call_get_unit ( + Systemd1Manager *proxy, + const gchar *arg_name, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data) +{ + g_dbus_proxy_call (G_DBUS_PROXY (proxy), + "GetUnit", + g_variant_new ("(s)", + arg_name), + G_DBUS_CALL_FLAGS_NONE, + -1, + cancellable, + callback, + user_data); +} + +/** + * systemd1_manager_call_get_unit_finish: + * @proxy: A #Systemd1ManagerProxy. + * @out_unit: (out) (optional): Return location for return parameter or %NULL to ignore. + * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to systemd1_manager_call_get_unit(). + * @error: Return location for error or %NULL. + * + * Finishes an operation started with systemd1_manager_call_get_unit(). + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_manager_call_get_unit_finish ( + Systemd1Manager *proxy, + gchar **out_unit, + 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_unit); + g_variant_unref (_ret); +_out: + return _ret != NULL; +} + +/** + * systemd1_manager_call_get_unit_sync: + * @proxy: A #Systemd1ManagerProxy. + * @arg_name: Argument to pass with the method invocation. + * @out_unit: (out) (optional): Return location for return parameter or %NULL to ignore. + * @cancellable: (nullable): A #GCancellable or %NULL. + * @error: Return location for error or %NULL. + * + * Synchronously invokes the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.GetUnit">GetUnit()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received. + * + * See systemd1_manager_call_get_unit() for the asynchronous version of this method. + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_manager_call_get_unit_sync ( + Systemd1Manager *proxy, + const gchar *arg_name, + gchar **out_unit, + GCancellable *cancellable, + GError **error) +{ + GVariant *_ret; + _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), + "GetUnit", + g_variant_new ("(s)", + arg_name), + G_DBUS_CALL_FLAGS_NONE, + -1, + cancellable, + error); + if (_ret == NULL) + goto _out; + g_variant_get (_ret, + "(o)", + out_unit); + g_variant_unref (_ret); +_out: + return _ret != NULL; +} + +/** + * systemd1_manager_call_get_unit_by_pid: + * @proxy: A #Systemd1ManagerProxy. + * @arg_pid: Argument to pass with the method invocation. + * @cancellable: (nullable): 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-systemd1-Manager.GetUnitByPID">GetUnitByPID()</link> D-Bus method on @proxy. + * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). + * You can then call systemd1_manager_call_get_unit_by_pid_finish() to get the result of the operation. + * + * See systemd1_manager_call_get_unit_by_pid_sync() for the synchronous, blocking version of this method. + */ +void +systemd1_manager_call_get_unit_by_pid ( + Systemd1Manager *proxy, + guint arg_pid, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data) +{ + g_dbus_proxy_call (G_DBUS_PROXY (proxy), + "GetUnitByPID", + g_variant_new ("(u)", + arg_pid), + G_DBUS_CALL_FLAGS_NONE, + -1, + cancellable, + callback, + user_data); +} + +/** + * systemd1_manager_call_get_unit_by_pid_finish: + * @proxy: A #Systemd1ManagerProxy. + * @out_unit: (out) (optional): Return location for return parameter or %NULL to ignore. + * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to systemd1_manager_call_get_unit_by_pid(). + * @error: Return location for error or %NULL. + * + * Finishes an operation started with systemd1_manager_call_get_unit_by_pid(). + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_manager_call_get_unit_by_pid_finish ( + Systemd1Manager *proxy, + gchar **out_unit, + 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_unit); + g_variant_unref (_ret); +_out: + return _ret != NULL; +} + +/** + * systemd1_manager_call_get_unit_by_pid_sync: + * @proxy: A #Systemd1ManagerProxy. + * @arg_pid: Argument to pass with the method invocation. + * @out_unit: (out) (optional): Return location for return parameter or %NULL to ignore. + * @cancellable: (nullable): A #GCancellable or %NULL. + * @error: Return location for error or %NULL. + * + * Synchronously invokes the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.GetUnitByPID">GetUnitByPID()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received. + * + * See systemd1_manager_call_get_unit_by_pid() for the asynchronous version of this method. + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_manager_call_get_unit_by_pid_sync ( + Systemd1Manager *proxy, + guint arg_pid, + gchar **out_unit, + GCancellable *cancellable, + GError **error) +{ + GVariant *_ret; + _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), + "GetUnitByPID", + g_variant_new ("(u)", + arg_pid), + G_DBUS_CALL_FLAGS_NONE, + -1, + cancellable, + error); + if (_ret == NULL) + goto _out; + g_variant_get (_ret, + "(o)", + out_unit); + g_variant_unref (_ret); +_out: + return _ret != NULL; +} + +/** + * systemd1_manager_call_get_unit_by_invocation_id: + * @proxy: A #Systemd1ManagerProxy. + * @arg_invocation_id: Argument to pass with the method invocation. + * @cancellable: (nullable): 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-systemd1-Manager.GetUnitByInvocationID">GetUnitByInvocationID()</link> D-Bus method on @proxy. + * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). + * You can then call systemd1_manager_call_get_unit_by_invocation_id_finish() to get the result of the operation. + * + * See systemd1_manager_call_get_unit_by_invocation_id_sync() for the synchronous, blocking version of this method. + */ +void +systemd1_manager_call_get_unit_by_invocation_id ( + Systemd1Manager *proxy, + const gchar *arg_invocation_id, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data) +{ + g_dbus_proxy_call (G_DBUS_PROXY (proxy), + "GetUnitByInvocationID", + g_variant_new ("(^ay)", + arg_invocation_id), + G_DBUS_CALL_FLAGS_NONE, + -1, + cancellable, + callback, + user_data); +} + +/** + * systemd1_manager_call_get_unit_by_invocation_id_finish: + * @proxy: A #Systemd1ManagerProxy. + * @out_unit: (out) (optional): Return location for return parameter or %NULL to ignore. + * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to systemd1_manager_call_get_unit_by_invocation_id(). + * @error: Return location for error or %NULL. + * + * Finishes an operation started with systemd1_manager_call_get_unit_by_invocation_id(). + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_manager_call_get_unit_by_invocation_id_finish ( + Systemd1Manager *proxy, + gchar **out_unit, + 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_unit); + g_variant_unref (_ret); +_out: + return _ret != NULL; +} + +/** + * systemd1_manager_call_get_unit_by_invocation_id_sync: + * @proxy: A #Systemd1ManagerProxy. + * @arg_invocation_id: Argument to pass with the method invocation. + * @out_unit: (out) (optional): Return location for return parameter or %NULL to ignore. + * @cancellable: (nullable): A #GCancellable or %NULL. + * @error: Return location for error or %NULL. + * + * Synchronously invokes the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.GetUnitByInvocationID">GetUnitByInvocationID()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received. + * + * See systemd1_manager_call_get_unit_by_invocation_id() for the asynchronous version of this method. + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_manager_call_get_unit_by_invocation_id_sync ( + Systemd1Manager *proxy, + const gchar *arg_invocation_id, + gchar **out_unit, + GCancellable *cancellable, + GError **error) +{ + GVariant *_ret; + _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), + "GetUnitByInvocationID", + g_variant_new ("(^ay)", + arg_invocation_id), + G_DBUS_CALL_FLAGS_NONE, + -1, + cancellable, + error); + if (_ret == NULL) + goto _out; + g_variant_get (_ret, + "(o)", + out_unit); + g_variant_unref (_ret); +_out: + return _ret != NULL; +} + +/** + * systemd1_manager_call_get_unit_by_control_group: + * @proxy: A #Systemd1ManagerProxy. + * @arg_cgroup: Argument to pass with the method invocation. + * @cancellable: (nullable): 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-systemd1-Manager.GetUnitByControlGroup">GetUnitByControlGroup()</link> D-Bus method on @proxy. + * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). + * You can then call systemd1_manager_call_get_unit_by_control_group_finish() to get the result of the operation. + * + * See systemd1_manager_call_get_unit_by_control_group_sync() for the synchronous, blocking version of this method. + */ +void +systemd1_manager_call_get_unit_by_control_group ( + Systemd1Manager *proxy, + const gchar *arg_cgroup, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data) +{ + g_dbus_proxy_call (G_DBUS_PROXY (proxy), + "GetUnitByControlGroup", + g_variant_new ("(s)", + arg_cgroup), + G_DBUS_CALL_FLAGS_NONE, + -1, + cancellable, + callback, + user_data); +} + +/** + * systemd1_manager_call_get_unit_by_control_group_finish: + * @proxy: A #Systemd1ManagerProxy. + * @out_unit: (out) (optional): Return location for return parameter or %NULL to ignore. + * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to systemd1_manager_call_get_unit_by_control_group(). + * @error: Return location for error or %NULL. + * + * Finishes an operation started with systemd1_manager_call_get_unit_by_control_group(). + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_manager_call_get_unit_by_control_group_finish ( + Systemd1Manager *proxy, + gchar **out_unit, + 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_unit); + g_variant_unref (_ret); +_out: + return _ret != NULL; +} + +/** + * systemd1_manager_call_get_unit_by_control_group_sync: + * @proxy: A #Systemd1ManagerProxy. + * @arg_cgroup: Argument to pass with the method invocation. + * @out_unit: (out) (optional): Return location for return parameter or %NULL to ignore. + * @cancellable: (nullable): A #GCancellable or %NULL. + * @error: Return location for error or %NULL. + * + * Synchronously invokes the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.GetUnitByControlGroup">GetUnitByControlGroup()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received. + * + * See systemd1_manager_call_get_unit_by_control_group() for the asynchronous version of this method. + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_manager_call_get_unit_by_control_group_sync ( + Systemd1Manager *proxy, + const gchar *arg_cgroup, + gchar **out_unit, + GCancellable *cancellable, + GError **error) +{ + GVariant *_ret; + _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), + "GetUnitByControlGroup", + g_variant_new ("(s)", + arg_cgroup), + G_DBUS_CALL_FLAGS_NONE, + -1, + cancellable, + error); + if (_ret == NULL) + goto _out; + g_variant_get (_ret, + "(o)", + out_unit); + g_variant_unref (_ret); +_out: + return _ret != NULL; +} + +/** + * systemd1_manager_call_load_unit: + * @proxy: A #Systemd1ManagerProxy. + * @arg_name: Argument to pass with the method invocation. + * @cancellable: (nullable): 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-systemd1-Manager.LoadUnit">LoadUnit()</link> D-Bus method on @proxy. + * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). + * You can then call systemd1_manager_call_load_unit_finish() to get the result of the operation. + * + * See systemd1_manager_call_load_unit_sync() for the synchronous, blocking version of this method. + */ +void +systemd1_manager_call_load_unit ( + Systemd1Manager *proxy, + const gchar *arg_name, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data) +{ + g_dbus_proxy_call (G_DBUS_PROXY (proxy), + "LoadUnit", + g_variant_new ("(s)", + arg_name), + G_DBUS_CALL_FLAGS_NONE, + -1, + cancellable, + callback, + user_data); +} + +/** + * systemd1_manager_call_load_unit_finish: + * @proxy: A #Systemd1ManagerProxy. + * @out_unit: (out) (optional): Return location for return parameter or %NULL to ignore. + * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to systemd1_manager_call_load_unit(). + * @error: Return location for error or %NULL. + * + * Finishes an operation started with systemd1_manager_call_load_unit(). + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_manager_call_load_unit_finish ( + Systemd1Manager *proxy, + gchar **out_unit, + 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_unit); + g_variant_unref (_ret); +_out: + return _ret != NULL; +} + +/** + * systemd1_manager_call_load_unit_sync: + * @proxy: A #Systemd1ManagerProxy. + * @arg_name: Argument to pass with the method invocation. + * @out_unit: (out) (optional): Return location for return parameter or %NULL to ignore. + * @cancellable: (nullable): A #GCancellable or %NULL. + * @error: Return location for error or %NULL. + * + * Synchronously invokes the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.LoadUnit">LoadUnit()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received. + * + * See systemd1_manager_call_load_unit() for the asynchronous version of this method. + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_manager_call_load_unit_sync ( + Systemd1Manager *proxy, + const gchar *arg_name, + gchar **out_unit, + GCancellable *cancellable, + GError **error) +{ + GVariant *_ret; + _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), + "LoadUnit", + g_variant_new ("(s)", + arg_name), + G_DBUS_CALL_FLAGS_NONE, + -1, + cancellable, + error); + if (_ret == NULL) + goto _out; + g_variant_get (_ret, + "(o)", + out_unit); + g_variant_unref (_ret); +_out: + return _ret != NULL; +} + +/** + * systemd1_manager_call_start_unit: + * @proxy: A #Systemd1ManagerProxy. + * @arg_name: Argument to pass with the method invocation. + * @arg_mode: Argument to pass with the method invocation. + * @cancellable: (nullable): 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-systemd1-Manager.StartUnit">StartUnit()</link> D-Bus method on @proxy. + * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). + * You can then call systemd1_manager_call_start_unit_finish() to get the result of the operation. + * + * See systemd1_manager_call_start_unit_sync() for the synchronous, blocking version of this method. + */ +void +systemd1_manager_call_start_unit ( + Systemd1Manager *proxy, + const gchar *arg_name, + const gchar *arg_mode, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data) +{ + g_dbus_proxy_call (G_DBUS_PROXY (proxy), + "StartUnit", + g_variant_new ("(ss)", + arg_name, + arg_mode), + G_DBUS_CALL_FLAGS_NONE, + -1, + cancellable, + callback, + user_data); +} + +/** + * systemd1_manager_call_start_unit_finish: + * @proxy: A #Systemd1ManagerProxy. + * @out_job: (out) (optional): Return location for return parameter or %NULL to ignore. + * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to systemd1_manager_call_start_unit(). + * @error: Return location for error or %NULL. + * + * Finishes an operation started with systemd1_manager_call_start_unit(). + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_manager_call_start_unit_finish ( + Systemd1Manager *proxy, + gchar **out_job, + 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_job); + g_variant_unref (_ret); +_out: + return _ret != NULL; +} + +/** + * systemd1_manager_call_start_unit_sync: + * @proxy: A #Systemd1ManagerProxy. + * @arg_name: Argument to pass with the method invocation. + * @arg_mode: Argument to pass with the method invocation. + * @out_job: (out) (optional): Return location for return parameter or %NULL to ignore. + * @cancellable: (nullable): A #GCancellable or %NULL. + * @error: Return location for error or %NULL. + * + * Synchronously invokes the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.StartUnit">StartUnit()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received. + * + * See systemd1_manager_call_start_unit() for the asynchronous version of this method. + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_manager_call_start_unit_sync ( + Systemd1Manager *proxy, + const gchar *arg_name, + const gchar *arg_mode, + gchar **out_job, + GCancellable *cancellable, + GError **error) +{ + GVariant *_ret; + _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), + "StartUnit", + g_variant_new ("(ss)", + arg_name, + arg_mode), + G_DBUS_CALL_FLAGS_NONE, + -1, + cancellable, + error); + if (_ret == NULL) + goto _out; + g_variant_get (_ret, + "(o)", + out_job); + g_variant_unref (_ret); +_out: + return _ret != NULL; +} + +/** + * systemd1_manager_call_start_unit_replace: + * @proxy: A #Systemd1ManagerProxy. + * @arg_old_unit: Argument to pass with the method invocation. + * @arg_new_unit: Argument to pass with the method invocation. + * @arg_mode: Argument to pass with the method invocation. + * @cancellable: (nullable): 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-systemd1-Manager.StartUnitReplace">StartUnitReplace()</link> D-Bus method on @proxy. + * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). + * You can then call systemd1_manager_call_start_unit_replace_finish() to get the result of the operation. + * + * See systemd1_manager_call_start_unit_replace_sync() for the synchronous, blocking version of this method. + */ +void +systemd1_manager_call_start_unit_replace ( + Systemd1Manager *proxy, + const gchar *arg_old_unit, + const gchar *arg_new_unit, + const gchar *arg_mode, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data) +{ + g_dbus_proxy_call (G_DBUS_PROXY (proxy), + "StartUnitReplace", + g_variant_new ("(sss)", + arg_old_unit, + arg_new_unit, + arg_mode), + G_DBUS_CALL_FLAGS_NONE, + -1, + cancellable, + callback, + user_data); +} + +/** + * systemd1_manager_call_start_unit_replace_finish: + * @proxy: A #Systemd1ManagerProxy. + * @out_job: (out) (optional): Return location for return parameter or %NULL to ignore. + * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to systemd1_manager_call_start_unit_replace(). + * @error: Return location for error or %NULL. + * + * Finishes an operation started with systemd1_manager_call_start_unit_replace(). + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_manager_call_start_unit_replace_finish ( + Systemd1Manager *proxy, + gchar **out_job, + 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_job); + g_variant_unref (_ret); +_out: + return _ret != NULL; +} + +/** + * systemd1_manager_call_start_unit_replace_sync: + * @proxy: A #Systemd1ManagerProxy. + * @arg_old_unit: Argument to pass with the method invocation. + * @arg_new_unit: Argument to pass with the method invocation. + * @arg_mode: Argument to pass with the method invocation. + * @out_job: (out) (optional): Return location for return parameter or %NULL to ignore. + * @cancellable: (nullable): A #GCancellable or %NULL. + * @error: Return location for error or %NULL. + * + * Synchronously invokes the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.StartUnitReplace">StartUnitReplace()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received. + * + * See systemd1_manager_call_start_unit_replace() for the asynchronous version of this method. + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_manager_call_start_unit_replace_sync ( + Systemd1Manager *proxy, + const gchar *arg_old_unit, + const gchar *arg_new_unit, + const gchar *arg_mode, + gchar **out_job, + GCancellable *cancellable, + GError **error) +{ + GVariant *_ret; + _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), + "StartUnitReplace", + g_variant_new ("(sss)", + arg_old_unit, + arg_new_unit, + arg_mode), + G_DBUS_CALL_FLAGS_NONE, + -1, + cancellable, + error); + if (_ret == NULL) + goto _out; + g_variant_get (_ret, + "(o)", + out_job); + g_variant_unref (_ret); +_out: + return _ret != NULL; +} + +/** + * systemd1_manager_call_stop_unit: + * @proxy: A #Systemd1ManagerProxy. + * @arg_name: Argument to pass with the method invocation. + * @arg_mode: Argument to pass with the method invocation. + * @cancellable: (nullable): 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-systemd1-Manager.StopUnit">StopUnit()</link> D-Bus method on @proxy. + * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). + * You can then call systemd1_manager_call_stop_unit_finish() to get the result of the operation. + * + * See systemd1_manager_call_stop_unit_sync() for the synchronous, blocking version of this method. + */ +void +systemd1_manager_call_stop_unit ( + Systemd1Manager *proxy, + const gchar *arg_name, + const gchar *arg_mode, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data) +{ + g_dbus_proxy_call (G_DBUS_PROXY (proxy), + "StopUnit", + g_variant_new ("(ss)", + arg_name, + arg_mode), + G_DBUS_CALL_FLAGS_NONE, + -1, + cancellable, + callback, + user_data); +} + +/** + * systemd1_manager_call_stop_unit_finish: + * @proxy: A #Systemd1ManagerProxy. + * @out_job: (out) (optional): Return location for return parameter or %NULL to ignore. + * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to systemd1_manager_call_stop_unit(). + * @error: Return location for error or %NULL. + * + * Finishes an operation started with systemd1_manager_call_stop_unit(). + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_manager_call_stop_unit_finish ( + Systemd1Manager *proxy, + gchar **out_job, + 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_job); + g_variant_unref (_ret); +_out: + return _ret != NULL; +} + +/** + * systemd1_manager_call_stop_unit_sync: + * @proxy: A #Systemd1ManagerProxy. + * @arg_name: Argument to pass with the method invocation. + * @arg_mode: Argument to pass with the method invocation. + * @out_job: (out) (optional): Return location for return parameter or %NULL to ignore. + * @cancellable: (nullable): A #GCancellable or %NULL. + * @error: Return location for error or %NULL. + * + * Synchronously invokes the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.StopUnit">StopUnit()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received. + * + * See systemd1_manager_call_stop_unit() for the asynchronous version of this method. + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_manager_call_stop_unit_sync ( + Systemd1Manager *proxy, + const gchar *arg_name, + const gchar *arg_mode, + gchar **out_job, + GCancellable *cancellable, + GError **error) +{ + GVariant *_ret; + _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), + "StopUnit", + g_variant_new ("(ss)", + arg_name, + arg_mode), + G_DBUS_CALL_FLAGS_NONE, + -1, + cancellable, + error); + if (_ret == NULL) + goto _out; + g_variant_get (_ret, + "(o)", + out_job); + g_variant_unref (_ret); +_out: + return _ret != NULL; +} + +/** + * systemd1_manager_call_reload_unit: + * @proxy: A #Systemd1ManagerProxy. + * @arg_name: Argument to pass with the method invocation. + * @arg_mode: Argument to pass with the method invocation. + * @cancellable: (nullable): 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-systemd1-Manager.ReloadUnit">ReloadUnit()</link> D-Bus method on @proxy. + * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). + * You can then call systemd1_manager_call_reload_unit_finish() to get the result of the operation. + * + * See systemd1_manager_call_reload_unit_sync() for the synchronous, blocking version of this method. + */ +void +systemd1_manager_call_reload_unit ( + Systemd1Manager *proxy, + const gchar *arg_name, + const gchar *arg_mode, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data) +{ + g_dbus_proxy_call (G_DBUS_PROXY (proxy), + "ReloadUnit", + g_variant_new ("(ss)", + arg_name, + arg_mode), + G_DBUS_CALL_FLAGS_NONE, + -1, + cancellable, + callback, + user_data); +} + +/** + * systemd1_manager_call_reload_unit_finish: + * @proxy: A #Systemd1ManagerProxy. + * @out_job: (out) (optional): Return location for return parameter or %NULL to ignore. + * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to systemd1_manager_call_reload_unit(). + * @error: Return location for error or %NULL. + * + * Finishes an operation started with systemd1_manager_call_reload_unit(). + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_manager_call_reload_unit_finish ( + Systemd1Manager *proxy, + gchar **out_job, + 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_job); + g_variant_unref (_ret); +_out: + return _ret != NULL; +} + +/** + * systemd1_manager_call_reload_unit_sync: + * @proxy: A #Systemd1ManagerProxy. + * @arg_name: Argument to pass with the method invocation. + * @arg_mode: Argument to pass with the method invocation. + * @out_job: (out) (optional): Return location for return parameter or %NULL to ignore. + * @cancellable: (nullable): A #GCancellable or %NULL. + * @error: Return location for error or %NULL. + * + * Synchronously invokes the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.ReloadUnit">ReloadUnit()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received. + * + * See systemd1_manager_call_reload_unit() for the asynchronous version of this method. + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_manager_call_reload_unit_sync ( + Systemd1Manager *proxy, + const gchar *arg_name, + const gchar *arg_mode, + gchar **out_job, + GCancellable *cancellable, + GError **error) +{ + GVariant *_ret; + _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), + "ReloadUnit", + g_variant_new ("(ss)", + arg_name, + arg_mode), + G_DBUS_CALL_FLAGS_NONE, + -1, + cancellable, + error); + if (_ret == NULL) + goto _out; + g_variant_get (_ret, + "(o)", + out_job); + g_variant_unref (_ret); +_out: + return _ret != NULL; +} + +/** + * systemd1_manager_call_restart_unit: + * @proxy: A #Systemd1ManagerProxy. + * @arg_name: Argument to pass with the method invocation. + * @arg_mode: Argument to pass with the method invocation. + * @cancellable: (nullable): 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-systemd1-Manager.RestartUnit">RestartUnit()</link> D-Bus method on @proxy. + * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). + * You can then call systemd1_manager_call_restart_unit_finish() to get the result of the operation. + * + * See systemd1_manager_call_restart_unit_sync() for the synchronous, blocking version of this method. + */ +void +systemd1_manager_call_restart_unit ( + Systemd1Manager *proxy, + const gchar *arg_name, + const gchar *arg_mode, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data) +{ + g_dbus_proxy_call (G_DBUS_PROXY (proxy), + "RestartUnit", + g_variant_new ("(ss)", + arg_name, + arg_mode), + G_DBUS_CALL_FLAGS_NONE, + -1, + cancellable, + callback, + user_data); +} + +/** + * systemd1_manager_call_restart_unit_finish: + * @proxy: A #Systemd1ManagerProxy. + * @out_job: (out) (optional): Return location for return parameter or %NULL to ignore. + * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to systemd1_manager_call_restart_unit(). + * @error: Return location for error or %NULL. + * + * Finishes an operation started with systemd1_manager_call_restart_unit(). + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_manager_call_restart_unit_finish ( + Systemd1Manager *proxy, + gchar **out_job, + 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_job); + g_variant_unref (_ret); +_out: + return _ret != NULL; +} + +/** + * systemd1_manager_call_restart_unit_sync: + * @proxy: A #Systemd1ManagerProxy. + * @arg_name: Argument to pass with the method invocation. + * @arg_mode: Argument to pass with the method invocation. + * @out_job: (out) (optional): Return location for return parameter or %NULL to ignore. + * @cancellable: (nullable): A #GCancellable or %NULL. + * @error: Return location for error or %NULL. + * + * Synchronously invokes the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.RestartUnit">RestartUnit()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received. + * + * See systemd1_manager_call_restart_unit() for the asynchronous version of this method. + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_manager_call_restart_unit_sync ( + Systemd1Manager *proxy, + const gchar *arg_name, + const gchar *arg_mode, + gchar **out_job, + GCancellable *cancellable, + GError **error) +{ + GVariant *_ret; + _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), + "RestartUnit", + g_variant_new ("(ss)", + arg_name, + arg_mode), + G_DBUS_CALL_FLAGS_NONE, + -1, + cancellable, + error); + if (_ret == NULL) + goto _out; + g_variant_get (_ret, + "(o)", + out_job); + g_variant_unref (_ret); +_out: + return _ret != NULL; +} + +/** + * systemd1_manager_call_try_restart_unit: + * @proxy: A #Systemd1ManagerProxy. + * @arg_name: Argument to pass with the method invocation. + * @arg_mode: Argument to pass with the method invocation. + * @cancellable: (nullable): 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-systemd1-Manager.TryRestartUnit">TryRestartUnit()</link> D-Bus method on @proxy. + * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). + * You can then call systemd1_manager_call_try_restart_unit_finish() to get the result of the operation. + * + * See systemd1_manager_call_try_restart_unit_sync() for the synchronous, blocking version of this method. + */ +void +systemd1_manager_call_try_restart_unit ( + Systemd1Manager *proxy, + const gchar *arg_name, + const gchar *arg_mode, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data) +{ + g_dbus_proxy_call (G_DBUS_PROXY (proxy), + "TryRestartUnit", + g_variant_new ("(ss)", + arg_name, + arg_mode), + G_DBUS_CALL_FLAGS_NONE, + -1, + cancellable, + callback, + user_data); +} + +/** + * systemd1_manager_call_try_restart_unit_finish: + * @proxy: A #Systemd1ManagerProxy. + * @out_job: (out) (optional): Return location for return parameter or %NULL to ignore. + * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to systemd1_manager_call_try_restart_unit(). + * @error: Return location for error or %NULL. + * + * Finishes an operation started with systemd1_manager_call_try_restart_unit(). + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_manager_call_try_restart_unit_finish ( + Systemd1Manager *proxy, + gchar **out_job, + 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_job); + g_variant_unref (_ret); +_out: + return _ret != NULL; +} + +/** + * systemd1_manager_call_try_restart_unit_sync: + * @proxy: A #Systemd1ManagerProxy. + * @arg_name: Argument to pass with the method invocation. + * @arg_mode: Argument to pass with the method invocation. + * @out_job: (out) (optional): Return location for return parameter or %NULL to ignore. + * @cancellable: (nullable): A #GCancellable or %NULL. + * @error: Return location for error or %NULL. + * + * Synchronously invokes the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.TryRestartUnit">TryRestartUnit()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received. + * + * See systemd1_manager_call_try_restart_unit() for the asynchronous version of this method. + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_manager_call_try_restart_unit_sync ( + Systemd1Manager *proxy, + const gchar *arg_name, + const gchar *arg_mode, + gchar **out_job, + GCancellable *cancellable, + GError **error) +{ + GVariant *_ret; + _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), + "TryRestartUnit", + g_variant_new ("(ss)", + arg_name, + arg_mode), + G_DBUS_CALL_FLAGS_NONE, + -1, + cancellable, + error); + if (_ret == NULL) + goto _out; + g_variant_get (_ret, + "(o)", + out_job); + g_variant_unref (_ret); +_out: + return _ret != NULL; +} + +/** + * systemd1_manager_call_reload_or_restart_unit: + * @proxy: A #Systemd1ManagerProxy. + * @arg_name: Argument to pass with the method invocation. + * @arg_mode: Argument to pass with the method invocation. + * @cancellable: (nullable): 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-systemd1-Manager.ReloadOrRestartUnit">ReloadOrRestartUnit()</link> D-Bus method on @proxy. + * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). + * You can then call systemd1_manager_call_reload_or_restart_unit_finish() to get the result of the operation. + * + * See systemd1_manager_call_reload_or_restart_unit_sync() for the synchronous, blocking version of this method. + */ +void +systemd1_manager_call_reload_or_restart_unit ( + Systemd1Manager *proxy, + const gchar *arg_name, + const gchar *arg_mode, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data) +{ + g_dbus_proxy_call (G_DBUS_PROXY (proxy), + "ReloadOrRestartUnit", + g_variant_new ("(ss)", + arg_name, + arg_mode), + G_DBUS_CALL_FLAGS_NONE, + -1, + cancellable, + callback, + user_data); +} + +/** + * systemd1_manager_call_reload_or_restart_unit_finish: + * @proxy: A #Systemd1ManagerProxy. + * @out_job: (out) (optional): Return location for return parameter or %NULL to ignore. + * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to systemd1_manager_call_reload_or_restart_unit(). + * @error: Return location for error or %NULL. + * + * Finishes an operation started with systemd1_manager_call_reload_or_restart_unit(). + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_manager_call_reload_or_restart_unit_finish ( + Systemd1Manager *proxy, + gchar **out_job, + 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_job); + g_variant_unref (_ret); +_out: + return _ret != NULL; +} + +/** + * systemd1_manager_call_reload_or_restart_unit_sync: + * @proxy: A #Systemd1ManagerProxy. + * @arg_name: Argument to pass with the method invocation. + * @arg_mode: Argument to pass with the method invocation. + * @out_job: (out) (optional): Return location for return parameter or %NULL to ignore. + * @cancellable: (nullable): A #GCancellable or %NULL. + * @error: Return location for error or %NULL. + * + * Synchronously invokes the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.ReloadOrRestartUnit">ReloadOrRestartUnit()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received. + * + * See systemd1_manager_call_reload_or_restart_unit() for the asynchronous version of this method. + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_manager_call_reload_or_restart_unit_sync ( + Systemd1Manager *proxy, + const gchar *arg_name, + const gchar *arg_mode, + gchar **out_job, + GCancellable *cancellable, + GError **error) +{ + GVariant *_ret; + _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), + "ReloadOrRestartUnit", + g_variant_new ("(ss)", + arg_name, + arg_mode), + G_DBUS_CALL_FLAGS_NONE, + -1, + cancellable, + error); + if (_ret == NULL) + goto _out; + g_variant_get (_ret, + "(o)", + out_job); + g_variant_unref (_ret); +_out: + return _ret != NULL; +} + +/** + * systemd1_manager_call_reload_or_try_restart_unit: + * @proxy: A #Systemd1ManagerProxy. + * @arg_name: Argument to pass with the method invocation. + * @arg_mode: Argument to pass with the method invocation. + * @cancellable: (nullable): 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-systemd1-Manager.ReloadOrTryRestartUnit">ReloadOrTryRestartUnit()</link> D-Bus method on @proxy. + * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). + * You can then call systemd1_manager_call_reload_or_try_restart_unit_finish() to get the result of the operation. + * + * See systemd1_manager_call_reload_or_try_restart_unit_sync() for the synchronous, blocking version of this method. + */ +void +systemd1_manager_call_reload_or_try_restart_unit ( + Systemd1Manager *proxy, + const gchar *arg_name, + const gchar *arg_mode, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data) +{ + g_dbus_proxy_call (G_DBUS_PROXY (proxy), + "ReloadOrTryRestartUnit", + g_variant_new ("(ss)", + arg_name, + arg_mode), + G_DBUS_CALL_FLAGS_NONE, + -1, + cancellable, + callback, + user_data); +} + +/** + * systemd1_manager_call_reload_or_try_restart_unit_finish: + * @proxy: A #Systemd1ManagerProxy. + * @out_job: (out) (optional): Return location for return parameter or %NULL to ignore. + * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to systemd1_manager_call_reload_or_try_restart_unit(). + * @error: Return location for error or %NULL. + * + * Finishes an operation started with systemd1_manager_call_reload_or_try_restart_unit(). + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_manager_call_reload_or_try_restart_unit_finish ( + Systemd1Manager *proxy, + gchar **out_job, + 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_job); + g_variant_unref (_ret); +_out: + return _ret != NULL; +} + +/** + * systemd1_manager_call_reload_or_try_restart_unit_sync: + * @proxy: A #Systemd1ManagerProxy. + * @arg_name: Argument to pass with the method invocation. + * @arg_mode: Argument to pass with the method invocation. + * @out_job: (out) (optional): Return location for return parameter or %NULL to ignore. + * @cancellable: (nullable): A #GCancellable or %NULL. + * @error: Return location for error or %NULL. + * + * Synchronously invokes the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.ReloadOrTryRestartUnit">ReloadOrTryRestartUnit()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received. + * + * See systemd1_manager_call_reload_or_try_restart_unit() for the asynchronous version of this method. + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_manager_call_reload_or_try_restart_unit_sync ( + Systemd1Manager *proxy, + const gchar *arg_name, + const gchar *arg_mode, + gchar **out_job, + GCancellable *cancellable, + GError **error) +{ + GVariant *_ret; + _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), + "ReloadOrTryRestartUnit", + g_variant_new ("(ss)", + arg_name, + arg_mode), + G_DBUS_CALL_FLAGS_NONE, + -1, + cancellable, + error); + if (_ret == NULL) + goto _out; + g_variant_get (_ret, + "(o)", + out_job); + g_variant_unref (_ret); +_out: + return _ret != NULL; +} + +/** + * systemd1_manager_call_enqueue_unit_job: + * @proxy: A #Systemd1ManagerProxy. + * @arg_name: Argument to pass with the method invocation. + * @arg_job_type: Argument to pass with the method invocation. + * @arg_job_mode: Argument to pass with the method invocation. + * @cancellable: (nullable): 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-systemd1-Manager.EnqueueUnitJob">EnqueueUnitJob()</link> D-Bus method on @proxy. + * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). + * You can then call systemd1_manager_call_enqueue_unit_job_finish() to get the result of the operation. + * + * See systemd1_manager_call_enqueue_unit_job_sync() for the synchronous, blocking version of this method. + */ +void +systemd1_manager_call_enqueue_unit_job ( + Systemd1Manager *proxy, + const gchar *arg_name, + const gchar *arg_job_type, + const gchar *arg_job_mode, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data) +{ + g_dbus_proxy_call (G_DBUS_PROXY (proxy), + "EnqueueUnitJob", + g_variant_new ("(sss)", + arg_name, + arg_job_type, + arg_job_mode), + G_DBUS_CALL_FLAGS_NONE, + -1, + cancellable, + callback, + user_data); +} + +/** + * systemd1_manager_call_enqueue_unit_job_finish: + * @proxy: A #Systemd1ManagerProxy. + * @out_job_id: (out) (optional): Return location for return parameter or %NULL to ignore. + * @out_job_path: (out) (optional): Return location for return parameter or %NULL to ignore. + * @out_unit_id: (out) (optional): Return location for return parameter or %NULL to ignore. + * @out_unit_path: (out) (optional): Return location for return parameter or %NULL to ignore. + * @out_job_type: (out) (optional): Return location for return parameter or %NULL to ignore. + * @out_affected_jobs: (out) (optional): Return location for return parameter or %NULL to ignore. + * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to systemd1_manager_call_enqueue_unit_job(). + * @error: Return location for error or %NULL. + * + * Finishes an operation started with systemd1_manager_call_enqueue_unit_job(). + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_manager_call_enqueue_unit_job_finish ( + Systemd1Manager *proxy, + guint *out_job_id, + gchar **out_job_path, + gchar **out_unit_id, + gchar **out_unit_path, + gchar **out_job_type, + GVariant **out_affected_jobs, + 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, + "(uosos@a(uosos))", + out_job_id, + out_job_path, + out_unit_id, + out_unit_path, + out_job_type, + out_affected_jobs); + g_variant_unref (_ret); +_out: + return _ret != NULL; +} + +/** + * systemd1_manager_call_enqueue_unit_job_sync: + * @proxy: A #Systemd1ManagerProxy. + * @arg_name: Argument to pass with the method invocation. + * @arg_job_type: Argument to pass with the method invocation. + * @arg_job_mode: Argument to pass with the method invocation. + * @out_job_id: (out) (optional): Return location for return parameter or %NULL to ignore. + * @out_job_path: (out) (optional): Return location for return parameter or %NULL to ignore. + * @out_unit_id: (out) (optional): Return location for return parameter or %NULL to ignore. + * @out_unit_path: (out) (optional): Return location for return parameter or %NULL to ignore. + * @out_job_type: (out) (optional): Return location for return parameter or %NULL to ignore. + * @out_affected_jobs: (out) (optional): Return location for return parameter or %NULL to ignore. + * @cancellable: (nullable): A #GCancellable or %NULL. + * @error: Return location for error or %NULL. + * + * Synchronously invokes the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.EnqueueUnitJob">EnqueueUnitJob()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received. + * + * See systemd1_manager_call_enqueue_unit_job() for the asynchronous version of this method. + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_manager_call_enqueue_unit_job_sync ( + Systemd1Manager *proxy, + const gchar *arg_name, + const gchar *arg_job_type, + const gchar *arg_job_mode, + guint *out_job_id, + gchar **out_job_path, + gchar **out_unit_id, + gchar **out_unit_path, + gchar **out_job_type, + GVariant **out_affected_jobs, + GCancellable *cancellable, + GError **error) +{ + GVariant *_ret; + _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), + "EnqueueUnitJob", + g_variant_new ("(sss)", + arg_name, + arg_job_type, + arg_job_mode), + G_DBUS_CALL_FLAGS_NONE, + -1, + cancellable, + error); + if (_ret == NULL) + goto _out; + g_variant_get (_ret, + "(uosos@a(uosos))", + out_job_id, + out_job_path, + out_unit_id, + out_unit_path, + out_job_type, + out_affected_jobs); + g_variant_unref (_ret); +_out: + return _ret != NULL; +} + +/** + * systemd1_manager_call_kill_unit: + * @proxy: A #Systemd1ManagerProxy. + * @arg_name: Argument to pass with the method invocation. + * @arg_whom: Argument to pass with the method invocation. + * @arg_signal: Argument to pass with the method invocation. + * @cancellable: (nullable): 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-systemd1-Manager.KillUnit">KillUnit()</link> D-Bus method on @proxy. + * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). + * You can then call systemd1_manager_call_kill_unit_finish() to get the result of the operation. + * + * See systemd1_manager_call_kill_unit_sync() for the synchronous, blocking version of this method. + */ +void +systemd1_manager_call_kill_unit ( + Systemd1Manager *proxy, + const gchar *arg_name, + const gchar *arg_whom, + gint arg_signal, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data) +{ + g_dbus_proxy_call (G_DBUS_PROXY (proxy), + "KillUnit", + g_variant_new ("(ssi)", + arg_name, + arg_whom, + arg_signal), + G_DBUS_CALL_FLAGS_NONE, + -1, + cancellable, + callback, + user_data); +} + +/** + * systemd1_manager_call_kill_unit_finish: + * @proxy: A #Systemd1ManagerProxy. + * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to systemd1_manager_call_kill_unit(). + * @error: Return location for error or %NULL. + * + * Finishes an operation started with systemd1_manager_call_kill_unit(). + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_manager_call_kill_unit_finish ( + Systemd1Manager *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; +} + +/** + * systemd1_manager_call_kill_unit_sync: + * @proxy: A #Systemd1ManagerProxy. + * @arg_name: Argument to pass with the method invocation. + * @arg_whom: Argument to pass with the method invocation. + * @arg_signal: Argument to pass with the method invocation. + * @cancellable: (nullable): A #GCancellable or %NULL. + * @error: Return location for error or %NULL. + * + * Synchronously invokes the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.KillUnit">KillUnit()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received. + * + * See systemd1_manager_call_kill_unit() for the asynchronous version of this method. + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_manager_call_kill_unit_sync ( + Systemd1Manager *proxy, + const gchar *arg_name, + const gchar *arg_whom, + gint arg_signal, + GCancellable *cancellable, + GError **error) +{ + GVariant *_ret; + _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), + "KillUnit", + g_variant_new ("(ssi)", + arg_name, + arg_whom, + arg_signal), + 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; +} + +/** + * systemd1_manager_call_clean_unit: + * @proxy: A #Systemd1ManagerProxy. + * @arg_name: Argument to pass with the method invocation. + * @arg_mask: Argument to pass with the method invocation. + * @cancellable: (nullable): 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-systemd1-Manager.CleanUnit">CleanUnit()</link> D-Bus method on @proxy. + * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). + * You can then call systemd1_manager_call_clean_unit_finish() to get the result of the operation. + * + * See systemd1_manager_call_clean_unit_sync() for the synchronous, blocking version of this method. + */ +void +systemd1_manager_call_clean_unit ( + Systemd1Manager *proxy, + const gchar *arg_name, + const gchar *const *arg_mask, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data) +{ + g_dbus_proxy_call (G_DBUS_PROXY (proxy), + "CleanUnit", + g_variant_new ("(s^as)", + arg_name, + arg_mask), + G_DBUS_CALL_FLAGS_NONE, + -1, + cancellable, + callback, + user_data); +} + +/** + * systemd1_manager_call_clean_unit_finish: + * @proxy: A #Systemd1ManagerProxy. + * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to systemd1_manager_call_clean_unit(). + * @error: Return location for error or %NULL. + * + * Finishes an operation started with systemd1_manager_call_clean_unit(). + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_manager_call_clean_unit_finish ( + Systemd1Manager *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; +} + +/** + * systemd1_manager_call_clean_unit_sync: + * @proxy: A #Systemd1ManagerProxy. + * @arg_name: Argument to pass with the method invocation. + * @arg_mask: Argument to pass with the method invocation. + * @cancellable: (nullable): A #GCancellable or %NULL. + * @error: Return location for error or %NULL. + * + * Synchronously invokes the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.CleanUnit">CleanUnit()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received. + * + * See systemd1_manager_call_clean_unit() for the asynchronous version of this method. + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_manager_call_clean_unit_sync ( + Systemd1Manager *proxy, + const gchar *arg_name, + const gchar *const *arg_mask, + GCancellable *cancellable, + GError **error) +{ + GVariant *_ret; + _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), + "CleanUnit", + g_variant_new ("(s^as)", + arg_name, + arg_mask), + 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; +} + +/** + * systemd1_manager_call_freeze_unit: + * @proxy: A #Systemd1ManagerProxy. + * @arg_name: Argument to pass with the method invocation. + * @cancellable: (nullable): 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-systemd1-Manager.FreezeUnit">FreezeUnit()</link> D-Bus method on @proxy. + * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). + * You can then call systemd1_manager_call_freeze_unit_finish() to get the result of the operation. + * + * See systemd1_manager_call_freeze_unit_sync() for the synchronous, blocking version of this method. + */ +void +systemd1_manager_call_freeze_unit ( + Systemd1Manager *proxy, + const gchar *arg_name, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data) +{ + g_dbus_proxy_call (G_DBUS_PROXY (proxy), + "FreezeUnit", + g_variant_new ("(s)", + arg_name), + G_DBUS_CALL_FLAGS_NONE, + -1, + cancellable, + callback, + user_data); +} + +/** + * systemd1_manager_call_freeze_unit_finish: + * @proxy: A #Systemd1ManagerProxy. + * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to systemd1_manager_call_freeze_unit(). + * @error: Return location for error or %NULL. + * + * Finishes an operation started with systemd1_manager_call_freeze_unit(). + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_manager_call_freeze_unit_finish ( + Systemd1Manager *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; +} + +/** + * systemd1_manager_call_freeze_unit_sync: + * @proxy: A #Systemd1ManagerProxy. + * @arg_name: Argument to pass with the method invocation. + * @cancellable: (nullable): A #GCancellable or %NULL. + * @error: Return location for error or %NULL. + * + * Synchronously invokes the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.FreezeUnit">FreezeUnit()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received. + * + * See systemd1_manager_call_freeze_unit() for the asynchronous version of this method. + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_manager_call_freeze_unit_sync ( + Systemd1Manager *proxy, + const gchar *arg_name, + GCancellable *cancellable, + GError **error) +{ + GVariant *_ret; + _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), + "FreezeUnit", + g_variant_new ("(s)", + arg_name), + 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; +} + +/** + * systemd1_manager_call_thaw_unit: + * @proxy: A #Systemd1ManagerProxy. + * @arg_name: Argument to pass with the method invocation. + * @cancellable: (nullable): 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-systemd1-Manager.ThawUnit">ThawUnit()</link> D-Bus method on @proxy. + * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). + * You can then call systemd1_manager_call_thaw_unit_finish() to get the result of the operation. + * + * See systemd1_manager_call_thaw_unit_sync() for the synchronous, blocking version of this method. + */ +void +systemd1_manager_call_thaw_unit ( + Systemd1Manager *proxy, + const gchar *arg_name, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data) +{ + g_dbus_proxy_call (G_DBUS_PROXY (proxy), + "ThawUnit", + g_variant_new ("(s)", + arg_name), + G_DBUS_CALL_FLAGS_NONE, + -1, + cancellable, + callback, + user_data); +} + +/** + * systemd1_manager_call_thaw_unit_finish: + * @proxy: A #Systemd1ManagerProxy. + * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to systemd1_manager_call_thaw_unit(). + * @error: Return location for error or %NULL. + * + * Finishes an operation started with systemd1_manager_call_thaw_unit(). + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_manager_call_thaw_unit_finish ( + Systemd1Manager *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; +} + +/** + * systemd1_manager_call_thaw_unit_sync: + * @proxy: A #Systemd1ManagerProxy. + * @arg_name: Argument to pass with the method invocation. + * @cancellable: (nullable): A #GCancellable or %NULL. + * @error: Return location for error or %NULL. + * + * Synchronously invokes the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.ThawUnit">ThawUnit()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received. + * + * See systemd1_manager_call_thaw_unit() for the asynchronous version of this method. + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_manager_call_thaw_unit_sync ( + Systemd1Manager *proxy, + const gchar *arg_name, + GCancellable *cancellable, + GError **error) +{ + GVariant *_ret; + _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), + "ThawUnit", + g_variant_new ("(s)", + arg_name), + 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; +} + +/** + * systemd1_manager_call_reset_failed_unit: + * @proxy: A #Systemd1ManagerProxy. + * @arg_name: Argument to pass with the method invocation. + * @cancellable: (nullable): 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-systemd1-Manager.ResetFailedUnit">ResetFailedUnit()</link> D-Bus method on @proxy. + * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). + * You can then call systemd1_manager_call_reset_failed_unit_finish() to get the result of the operation. + * + * See systemd1_manager_call_reset_failed_unit_sync() for the synchronous, blocking version of this method. + */ +void +systemd1_manager_call_reset_failed_unit ( + Systemd1Manager *proxy, + const gchar *arg_name, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data) +{ + g_dbus_proxy_call (G_DBUS_PROXY (proxy), + "ResetFailedUnit", + g_variant_new ("(s)", + arg_name), + G_DBUS_CALL_FLAGS_NONE, + -1, + cancellable, + callback, + user_data); +} + +/** + * systemd1_manager_call_reset_failed_unit_finish: + * @proxy: A #Systemd1ManagerProxy. + * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to systemd1_manager_call_reset_failed_unit(). + * @error: Return location for error or %NULL. + * + * Finishes an operation started with systemd1_manager_call_reset_failed_unit(). + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_manager_call_reset_failed_unit_finish ( + Systemd1Manager *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; +} + +/** + * systemd1_manager_call_reset_failed_unit_sync: + * @proxy: A #Systemd1ManagerProxy. + * @arg_name: Argument to pass with the method invocation. + * @cancellable: (nullable): A #GCancellable or %NULL. + * @error: Return location for error or %NULL. + * + * Synchronously invokes the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.ResetFailedUnit">ResetFailedUnit()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received. + * + * See systemd1_manager_call_reset_failed_unit() for the asynchronous version of this method. + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_manager_call_reset_failed_unit_sync ( + Systemd1Manager *proxy, + const gchar *arg_name, + GCancellable *cancellable, + GError **error) +{ + GVariant *_ret; + _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), + "ResetFailedUnit", + g_variant_new ("(s)", + arg_name), + 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; +} + +/** + * systemd1_manager_call_set_unit_properties: + * @proxy: A #Systemd1ManagerProxy. + * @arg_name: Argument to pass with the method invocation. + * @arg_runtime: Argument to pass with the method invocation. + * @arg_properties: Argument to pass with the method invocation. + * @cancellable: (nullable): 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-systemd1-Manager.SetUnitProperties">SetUnitProperties()</link> D-Bus method on @proxy. + * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). + * You can then call systemd1_manager_call_set_unit_properties_finish() to get the result of the operation. + * + * See systemd1_manager_call_set_unit_properties_sync() for the synchronous, blocking version of this method. + */ +void +systemd1_manager_call_set_unit_properties ( + Systemd1Manager *proxy, + const gchar *arg_name, + gboolean arg_runtime, + GVariant *arg_properties, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data) +{ + g_dbus_proxy_call (G_DBUS_PROXY (proxy), + "SetUnitProperties", + g_variant_new ("(sb@a(sv))", + arg_name, + arg_runtime, + arg_properties), + G_DBUS_CALL_FLAGS_NONE, + -1, + cancellable, + callback, + user_data); +} + +/** + * systemd1_manager_call_set_unit_properties_finish: + * @proxy: A #Systemd1ManagerProxy. + * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to systemd1_manager_call_set_unit_properties(). + * @error: Return location for error or %NULL. + * + * Finishes an operation started with systemd1_manager_call_set_unit_properties(). + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_manager_call_set_unit_properties_finish ( + Systemd1Manager *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; +} + +/** + * systemd1_manager_call_set_unit_properties_sync: + * @proxy: A #Systemd1ManagerProxy. + * @arg_name: Argument to pass with the method invocation. + * @arg_runtime: Argument to pass with the method invocation. + * @arg_properties: Argument to pass with the method invocation. + * @cancellable: (nullable): A #GCancellable or %NULL. + * @error: Return location for error or %NULL. + * + * Synchronously invokes the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.SetUnitProperties">SetUnitProperties()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received. + * + * See systemd1_manager_call_set_unit_properties() for the asynchronous version of this method. + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_manager_call_set_unit_properties_sync ( + Systemd1Manager *proxy, + const gchar *arg_name, + gboolean arg_runtime, + GVariant *arg_properties, + GCancellable *cancellable, + GError **error) +{ + GVariant *_ret; + _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), + "SetUnitProperties", + g_variant_new ("(sb@a(sv))", + arg_name, + arg_runtime, + arg_properties), + 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; +} + +/** + * systemd1_manager_call_bind_mount_unit: + * @proxy: A #Systemd1ManagerProxy. + * @arg_name: Argument to pass with the method invocation. + * @arg_source: Argument to pass with the method invocation. + * @arg_destination: Argument to pass with the method invocation. + * @arg_read_only: Argument to pass with the method invocation. + * @arg_mkdir: Argument to pass with the method invocation. + * @cancellable: (nullable): 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-systemd1-Manager.BindMountUnit">BindMountUnit()</link> D-Bus method on @proxy. + * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). + * You can then call systemd1_manager_call_bind_mount_unit_finish() to get the result of the operation. + * + * See systemd1_manager_call_bind_mount_unit_sync() for the synchronous, blocking version of this method. + */ +void +systemd1_manager_call_bind_mount_unit ( + Systemd1Manager *proxy, + const gchar *arg_name, + const gchar *arg_source, + const gchar *arg_destination, + gboolean arg_read_only, + gboolean arg_mkdir, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data) +{ + g_dbus_proxy_call (G_DBUS_PROXY (proxy), + "BindMountUnit", + g_variant_new ("(sssbb)", + arg_name, + arg_source, + arg_destination, + arg_read_only, + arg_mkdir), + G_DBUS_CALL_FLAGS_NONE, + -1, + cancellable, + callback, + user_data); +} + +/** + * systemd1_manager_call_bind_mount_unit_finish: + * @proxy: A #Systemd1ManagerProxy. + * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to systemd1_manager_call_bind_mount_unit(). + * @error: Return location for error or %NULL. + * + * Finishes an operation started with systemd1_manager_call_bind_mount_unit(). + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_manager_call_bind_mount_unit_finish ( + Systemd1Manager *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; +} + +/** + * systemd1_manager_call_bind_mount_unit_sync: + * @proxy: A #Systemd1ManagerProxy. + * @arg_name: Argument to pass with the method invocation. + * @arg_source: Argument to pass with the method invocation. + * @arg_destination: Argument to pass with the method invocation. + * @arg_read_only: Argument to pass with the method invocation. + * @arg_mkdir: Argument to pass with the method invocation. + * @cancellable: (nullable): A #GCancellable or %NULL. + * @error: Return location for error or %NULL. + * + * Synchronously invokes the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.BindMountUnit">BindMountUnit()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received. + * + * See systemd1_manager_call_bind_mount_unit() for the asynchronous version of this method. + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_manager_call_bind_mount_unit_sync ( + Systemd1Manager *proxy, + const gchar *arg_name, + const gchar *arg_source, + const gchar *arg_destination, + gboolean arg_read_only, + gboolean arg_mkdir, + GCancellable *cancellable, + GError **error) +{ + GVariant *_ret; + _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), + "BindMountUnit", + g_variant_new ("(sssbb)", + arg_name, + arg_source, + arg_destination, + arg_read_only, + arg_mkdir), + 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; +} + +/** + * systemd1_manager_call_mount_image_unit: + * @proxy: A #Systemd1ManagerProxy. + * @arg_name: Argument to pass with the method invocation. + * @arg_source: Argument to pass with the method invocation. + * @arg_destination: Argument to pass with the method invocation. + * @arg_read_only: Argument to pass with the method invocation. + * @arg_mkdir: Argument to pass with the method invocation. + * @arg_options: Argument to pass with the method invocation. + * @cancellable: (nullable): 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-systemd1-Manager.MountImageUnit">MountImageUnit()</link> D-Bus method on @proxy. + * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). + * You can then call systemd1_manager_call_mount_image_unit_finish() to get the result of the operation. + * + * See systemd1_manager_call_mount_image_unit_sync() for the synchronous, blocking version of this method. + */ +void +systemd1_manager_call_mount_image_unit ( + Systemd1Manager *proxy, + const gchar *arg_name, + const gchar *arg_source, + const gchar *arg_destination, + gboolean arg_read_only, + gboolean arg_mkdir, + GVariant *arg_options, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data) +{ + g_dbus_proxy_call (G_DBUS_PROXY (proxy), + "MountImageUnit", + g_variant_new ("(sssbb@a(ss))", + arg_name, + arg_source, + arg_destination, + arg_read_only, + arg_mkdir, + arg_options), + G_DBUS_CALL_FLAGS_NONE, + -1, + cancellable, + callback, + user_data); +} + +/** + * systemd1_manager_call_mount_image_unit_finish: + * @proxy: A #Systemd1ManagerProxy. + * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to systemd1_manager_call_mount_image_unit(). + * @error: Return location for error or %NULL. + * + * Finishes an operation started with systemd1_manager_call_mount_image_unit(). + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_manager_call_mount_image_unit_finish ( + Systemd1Manager *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; +} + +/** + * systemd1_manager_call_mount_image_unit_sync: + * @proxy: A #Systemd1ManagerProxy. + * @arg_name: Argument to pass with the method invocation. + * @arg_source: Argument to pass with the method invocation. + * @arg_destination: Argument to pass with the method invocation. + * @arg_read_only: Argument to pass with the method invocation. + * @arg_mkdir: Argument to pass with the method invocation. + * @arg_options: Argument to pass with the method invocation. + * @cancellable: (nullable): A #GCancellable or %NULL. + * @error: Return location for error or %NULL. + * + * Synchronously invokes the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.MountImageUnit">MountImageUnit()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received. + * + * See systemd1_manager_call_mount_image_unit() for the asynchronous version of this method. + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_manager_call_mount_image_unit_sync ( + Systemd1Manager *proxy, + const gchar *arg_name, + const gchar *arg_source, + const gchar *arg_destination, + gboolean arg_read_only, + gboolean arg_mkdir, + GVariant *arg_options, + GCancellable *cancellable, + GError **error) +{ + GVariant *_ret; + _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), + "MountImageUnit", + g_variant_new ("(sssbb@a(ss))", + arg_name, + arg_source, + arg_destination, + arg_read_only, + arg_mkdir, + 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; +} + +/** + * systemd1_manager_call_ref_unit: + * @proxy: A #Systemd1ManagerProxy. + * @arg_name: Argument to pass with the method invocation. + * @cancellable: (nullable): 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-systemd1-Manager.RefUnit">RefUnit()</link> D-Bus method on @proxy. + * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). + * You can then call systemd1_manager_call_ref_unit_finish() to get the result of the operation. + * + * See systemd1_manager_call_ref_unit_sync() for the synchronous, blocking version of this method. + */ +void +systemd1_manager_call_ref_unit ( + Systemd1Manager *proxy, + const gchar *arg_name, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data) +{ + g_dbus_proxy_call (G_DBUS_PROXY (proxy), + "RefUnit", + g_variant_new ("(s)", + arg_name), + G_DBUS_CALL_FLAGS_NONE, + -1, + cancellable, + callback, + user_data); +} + +/** + * systemd1_manager_call_ref_unit_finish: + * @proxy: A #Systemd1ManagerProxy. + * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to systemd1_manager_call_ref_unit(). + * @error: Return location for error or %NULL. + * + * Finishes an operation started with systemd1_manager_call_ref_unit(). + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_manager_call_ref_unit_finish ( + Systemd1Manager *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; +} + +/** + * systemd1_manager_call_ref_unit_sync: + * @proxy: A #Systemd1ManagerProxy. + * @arg_name: Argument to pass with the method invocation. + * @cancellable: (nullable): A #GCancellable or %NULL. + * @error: Return location for error or %NULL. + * + * Synchronously invokes the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.RefUnit">RefUnit()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received. + * + * See systemd1_manager_call_ref_unit() for the asynchronous version of this method. + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_manager_call_ref_unit_sync ( + Systemd1Manager *proxy, + const gchar *arg_name, + GCancellable *cancellable, + GError **error) +{ + GVariant *_ret; + _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), + "RefUnit", + g_variant_new ("(s)", + arg_name), + 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; +} + +/** + * systemd1_manager_call_unref_unit: + * @proxy: A #Systemd1ManagerProxy. + * @arg_name: Argument to pass with the method invocation. + * @cancellable: (nullable): 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-systemd1-Manager.UnrefUnit">UnrefUnit()</link> D-Bus method on @proxy. + * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). + * You can then call systemd1_manager_call_unref_unit_finish() to get the result of the operation. + * + * See systemd1_manager_call_unref_unit_sync() for the synchronous, blocking version of this method. + */ +void +systemd1_manager_call_unref_unit ( + Systemd1Manager *proxy, + const gchar *arg_name, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data) +{ + g_dbus_proxy_call (G_DBUS_PROXY (proxy), + "UnrefUnit", + g_variant_new ("(s)", + arg_name), + G_DBUS_CALL_FLAGS_NONE, + -1, + cancellable, + callback, + user_data); +} + +/** + * systemd1_manager_call_unref_unit_finish: + * @proxy: A #Systemd1ManagerProxy. + * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to systemd1_manager_call_unref_unit(). + * @error: Return location for error or %NULL. + * + * Finishes an operation started with systemd1_manager_call_unref_unit(). + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_manager_call_unref_unit_finish ( + Systemd1Manager *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; +} + +/** + * systemd1_manager_call_unref_unit_sync: + * @proxy: A #Systemd1ManagerProxy. + * @arg_name: Argument to pass with the method invocation. + * @cancellable: (nullable): A #GCancellable or %NULL. + * @error: Return location for error or %NULL. + * + * Synchronously invokes the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.UnrefUnit">UnrefUnit()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received. + * + * See systemd1_manager_call_unref_unit() for the asynchronous version of this method. + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_manager_call_unref_unit_sync ( + Systemd1Manager *proxy, + const gchar *arg_name, + GCancellable *cancellable, + GError **error) +{ + GVariant *_ret; + _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), + "UnrefUnit", + g_variant_new ("(s)", + arg_name), + 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; +} + +/** + * systemd1_manager_call_start_transient_unit: + * @proxy: A #Systemd1ManagerProxy. + * @arg_name: Argument to pass with the method invocation. + * @arg_mode: Argument to pass with the method invocation. + * @arg_properties: Argument to pass with the method invocation. + * @arg_aux: Argument to pass with the method invocation. + * @cancellable: (nullable): 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-systemd1-Manager.StartTransientUnit">StartTransientUnit()</link> D-Bus method on @proxy. + * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). + * You can then call systemd1_manager_call_start_transient_unit_finish() to get the result of the operation. + * + * See systemd1_manager_call_start_transient_unit_sync() for the synchronous, blocking version of this method. + */ +void +systemd1_manager_call_start_transient_unit ( + Systemd1Manager *proxy, + const gchar *arg_name, + const gchar *arg_mode, + GVariant *arg_properties, + GVariant *arg_aux, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data) +{ + g_dbus_proxy_call (G_DBUS_PROXY (proxy), + "StartTransientUnit", + g_variant_new ("(ss@a(sv)@a(sa(sv)))", + arg_name, + arg_mode, + arg_properties, + arg_aux), + G_DBUS_CALL_FLAGS_NONE, + -1, + cancellable, + callback, + user_data); +} + +/** + * systemd1_manager_call_start_transient_unit_finish: + * @proxy: A #Systemd1ManagerProxy. + * @out_job: (out) (optional): Return location for return parameter or %NULL to ignore. + * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to systemd1_manager_call_start_transient_unit(). + * @error: Return location for error or %NULL. + * + * Finishes an operation started with systemd1_manager_call_start_transient_unit(). + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_manager_call_start_transient_unit_finish ( + Systemd1Manager *proxy, + gchar **out_job, + 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_job); + g_variant_unref (_ret); +_out: + return _ret != NULL; +} + +/** + * systemd1_manager_call_start_transient_unit_sync: + * @proxy: A #Systemd1ManagerProxy. + * @arg_name: Argument to pass with the method invocation. + * @arg_mode: Argument to pass with the method invocation. + * @arg_properties: Argument to pass with the method invocation. + * @arg_aux: Argument to pass with the method invocation. + * @out_job: (out) (optional): Return location for return parameter or %NULL to ignore. + * @cancellable: (nullable): A #GCancellable or %NULL. + * @error: Return location for error or %NULL. + * + * Synchronously invokes the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.StartTransientUnit">StartTransientUnit()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received. + * + * See systemd1_manager_call_start_transient_unit() for the asynchronous version of this method. + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_manager_call_start_transient_unit_sync ( + Systemd1Manager *proxy, + const gchar *arg_name, + const gchar *arg_mode, + GVariant *arg_properties, + GVariant *arg_aux, + gchar **out_job, + GCancellable *cancellable, + GError **error) +{ + GVariant *_ret; + _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), + "StartTransientUnit", + g_variant_new ("(ss@a(sv)@a(sa(sv)))", + arg_name, + arg_mode, + arg_properties, + arg_aux), + G_DBUS_CALL_FLAGS_NONE, + -1, + cancellable, + error); + if (_ret == NULL) + goto _out; + g_variant_get (_ret, + "(o)", + out_job); + g_variant_unref (_ret); +_out: + return _ret != NULL; +} + +/** + * systemd1_manager_call_get_unit_processes: + * @proxy: A #Systemd1ManagerProxy. + * @arg_name: Argument to pass with the method invocation. + * @cancellable: (nullable): 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-systemd1-Manager.GetUnitProcesses">GetUnitProcesses()</link> D-Bus method on @proxy. + * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). + * You can then call systemd1_manager_call_get_unit_processes_finish() to get the result of the operation. + * + * See systemd1_manager_call_get_unit_processes_sync() for the synchronous, blocking version of this method. + */ +void +systemd1_manager_call_get_unit_processes ( + Systemd1Manager *proxy, + const gchar *arg_name, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data) +{ + g_dbus_proxy_call (G_DBUS_PROXY (proxy), + "GetUnitProcesses", + g_variant_new ("(s)", + arg_name), + G_DBUS_CALL_FLAGS_NONE, + -1, + cancellable, + callback, + user_data); +} + +/** + * systemd1_manager_call_get_unit_processes_finish: + * @proxy: A #Systemd1ManagerProxy. + * @out_processes: (out) (optional): Return location for return parameter or %NULL to ignore. + * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to systemd1_manager_call_get_unit_processes(). + * @error: Return location for error or %NULL. + * + * Finishes an operation started with systemd1_manager_call_get_unit_processes(). + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_manager_call_get_unit_processes_finish ( + Systemd1Manager *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(sus))", + out_processes); + g_variant_unref (_ret); +_out: + return _ret != NULL; +} + +/** + * systemd1_manager_call_get_unit_processes_sync: + * @proxy: A #Systemd1ManagerProxy. + * @arg_name: Argument to pass with the method invocation. + * @out_processes: (out) (optional): Return location for return parameter or %NULL to ignore. + * @cancellable: (nullable): A #GCancellable or %NULL. + * @error: Return location for error or %NULL. + * + * Synchronously invokes the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.GetUnitProcesses">GetUnitProcesses()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received. + * + * See systemd1_manager_call_get_unit_processes() for the asynchronous version of this method. + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_manager_call_get_unit_processes_sync ( + Systemd1Manager *proxy, + const gchar *arg_name, + GVariant **out_processes, + GCancellable *cancellable, + GError **error) +{ + GVariant *_ret; + _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), + "GetUnitProcesses", + g_variant_new ("(s)", + arg_name), + G_DBUS_CALL_FLAGS_NONE, + -1, + cancellable, + error); + if (_ret == NULL) + goto _out; + g_variant_get (_ret, + "(@a(sus))", + out_processes); + g_variant_unref (_ret); +_out: + return _ret != NULL; +} + +/** + * systemd1_manager_call_attach_processes_to_unit: + * @proxy: A #Systemd1ManagerProxy. + * @arg_unit_name: Argument to pass with the method invocation. + * @arg_subcgroup: Argument to pass with the method invocation. + * @arg_pids: Argument to pass with the method invocation. + * @cancellable: (nullable): 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-systemd1-Manager.AttachProcessesToUnit">AttachProcessesToUnit()</link> D-Bus method on @proxy. + * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). + * You can then call systemd1_manager_call_attach_processes_to_unit_finish() to get the result of the operation. + * + * See systemd1_manager_call_attach_processes_to_unit_sync() for the synchronous, blocking version of this method. + */ +void +systemd1_manager_call_attach_processes_to_unit ( + Systemd1Manager *proxy, + const gchar *arg_unit_name, + const gchar *arg_subcgroup, + GVariant *arg_pids, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data) +{ + g_dbus_proxy_call (G_DBUS_PROXY (proxy), + "AttachProcessesToUnit", + g_variant_new ("(ss@au)", + arg_unit_name, + arg_subcgroup, + arg_pids), + G_DBUS_CALL_FLAGS_NONE, + -1, + cancellable, + callback, + user_data); +} + +/** + * systemd1_manager_call_attach_processes_to_unit_finish: + * @proxy: A #Systemd1ManagerProxy. + * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to systemd1_manager_call_attach_processes_to_unit(). + * @error: Return location for error or %NULL. + * + * Finishes an operation started with systemd1_manager_call_attach_processes_to_unit(). + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_manager_call_attach_processes_to_unit_finish ( + Systemd1Manager *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; +} + +/** + * systemd1_manager_call_attach_processes_to_unit_sync: + * @proxy: A #Systemd1ManagerProxy. + * @arg_unit_name: Argument to pass with the method invocation. + * @arg_subcgroup: Argument to pass with the method invocation. + * @arg_pids: Argument to pass with the method invocation. + * @cancellable: (nullable): A #GCancellable or %NULL. + * @error: Return location for error or %NULL. + * + * Synchronously invokes the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.AttachProcessesToUnit">AttachProcessesToUnit()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received. + * + * See systemd1_manager_call_attach_processes_to_unit() for the asynchronous version of this method. + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_manager_call_attach_processes_to_unit_sync ( + Systemd1Manager *proxy, + const gchar *arg_unit_name, + const gchar *arg_subcgroup, + GVariant *arg_pids, + GCancellable *cancellable, + GError **error) +{ + GVariant *_ret; + _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), + "AttachProcessesToUnit", + g_variant_new ("(ss@au)", + arg_unit_name, + arg_subcgroup, + arg_pids), + 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; +} + +/** + * systemd1_manager_call_abandon_scope: + * @proxy: A #Systemd1ManagerProxy. + * @arg_name: Argument to pass with the method invocation. + * @cancellable: (nullable): 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-systemd1-Manager.AbandonScope">AbandonScope()</link> D-Bus method on @proxy. + * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). + * You can then call systemd1_manager_call_abandon_scope_finish() to get the result of the operation. + * + * See systemd1_manager_call_abandon_scope_sync() for the synchronous, blocking version of this method. + */ +void +systemd1_manager_call_abandon_scope ( + Systemd1Manager *proxy, + const gchar *arg_name, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data) +{ + g_dbus_proxy_call (G_DBUS_PROXY (proxy), + "AbandonScope", + g_variant_new ("(s)", + arg_name), + G_DBUS_CALL_FLAGS_NONE, + -1, + cancellable, + callback, + user_data); +} + +/** + * systemd1_manager_call_abandon_scope_finish: + * @proxy: A #Systemd1ManagerProxy. + * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to systemd1_manager_call_abandon_scope(). + * @error: Return location for error or %NULL. + * + * Finishes an operation started with systemd1_manager_call_abandon_scope(). + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_manager_call_abandon_scope_finish ( + Systemd1Manager *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; +} + +/** + * systemd1_manager_call_abandon_scope_sync: + * @proxy: A #Systemd1ManagerProxy. + * @arg_name: Argument to pass with the method invocation. + * @cancellable: (nullable): A #GCancellable or %NULL. + * @error: Return location for error or %NULL. + * + * Synchronously invokes the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.AbandonScope">AbandonScope()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received. + * + * See systemd1_manager_call_abandon_scope() for the asynchronous version of this method. + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_manager_call_abandon_scope_sync ( + Systemd1Manager *proxy, + const gchar *arg_name, + GCancellable *cancellable, + GError **error) +{ + GVariant *_ret; + _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), + "AbandonScope", + g_variant_new ("(s)", + arg_name), + 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; +} + +/** + * systemd1_manager_call_get_job: + * @proxy: A #Systemd1ManagerProxy. + * @arg_id: Argument to pass with the method invocation. + * @cancellable: (nullable): 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-systemd1-Manager.GetJob">GetJob()</link> D-Bus method on @proxy. + * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). + * You can then call systemd1_manager_call_get_job_finish() to get the result of the operation. + * + * See systemd1_manager_call_get_job_sync() for the synchronous, blocking version of this method. + */ +void +systemd1_manager_call_get_job ( + Systemd1Manager *proxy, + guint arg_id, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data) +{ + g_dbus_proxy_call (G_DBUS_PROXY (proxy), + "GetJob", + g_variant_new ("(u)", + arg_id), + G_DBUS_CALL_FLAGS_NONE, + -1, + cancellable, + callback, + user_data); +} + +/** + * systemd1_manager_call_get_job_finish: + * @proxy: A #Systemd1ManagerProxy. + * @out_job: (out) (optional): Return location for return parameter or %NULL to ignore. + * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to systemd1_manager_call_get_job(). + * @error: Return location for error or %NULL. + * + * Finishes an operation started with systemd1_manager_call_get_job(). + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_manager_call_get_job_finish ( + Systemd1Manager *proxy, + gchar **out_job, + 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_job); + g_variant_unref (_ret); +_out: + return _ret != NULL; +} + +/** + * systemd1_manager_call_get_job_sync: + * @proxy: A #Systemd1ManagerProxy. + * @arg_id: Argument to pass with the method invocation. + * @out_job: (out) (optional): Return location for return parameter or %NULL to ignore. + * @cancellable: (nullable): A #GCancellable or %NULL. + * @error: Return location for error or %NULL. + * + * Synchronously invokes the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.GetJob">GetJob()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received. + * + * See systemd1_manager_call_get_job() for the asynchronous version of this method. + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_manager_call_get_job_sync ( + Systemd1Manager *proxy, + guint arg_id, + gchar **out_job, + GCancellable *cancellable, + GError **error) +{ + GVariant *_ret; + _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), + "GetJob", + g_variant_new ("(u)", + arg_id), + G_DBUS_CALL_FLAGS_NONE, + -1, + cancellable, + error); + if (_ret == NULL) + goto _out; + g_variant_get (_ret, + "(o)", + out_job); + g_variant_unref (_ret); +_out: + return _ret != NULL; +} + +/** + * systemd1_manager_call_get_job_after: + * @proxy: A #Systemd1ManagerProxy. + * @arg_id: Argument to pass with the method invocation. + * @cancellable: (nullable): 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-systemd1-Manager.GetJobAfter">GetJobAfter()</link> D-Bus method on @proxy. + * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). + * You can then call systemd1_manager_call_get_job_after_finish() to get the result of the operation. + * + * See systemd1_manager_call_get_job_after_sync() for the synchronous, blocking version of this method. + */ +void +systemd1_manager_call_get_job_after ( + Systemd1Manager *proxy, + guint arg_id, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data) +{ + g_dbus_proxy_call (G_DBUS_PROXY (proxy), + "GetJobAfter", + g_variant_new ("(u)", + arg_id), + G_DBUS_CALL_FLAGS_NONE, + -1, + cancellable, + callback, + user_data); +} + +/** + * systemd1_manager_call_get_job_after_finish: + * @proxy: A #Systemd1ManagerProxy. + * @out_jobs: (out) (optional): Return location for return parameter or %NULL to ignore. + * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to systemd1_manager_call_get_job_after(). + * @error: Return location for error or %NULL. + * + * Finishes an operation started with systemd1_manager_call_get_job_after(). + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_manager_call_get_job_after_finish ( + Systemd1Manager *proxy, + GVariant **out_jobs, + 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(usssoo))", + out_jobs); + g_variant_unref (_ret); +_out: + return _ret != NULL; +} + +/** + * systemd1_manager_call_get_job_after_sync: + * @proxy: A #Systemd1ManagerProxy. + * @arg_id: Argument to pass with the method invocation. + * @out_jobs: (out) (optional): Return location for return parameter or %NULL to ignore. + * @cancellable: (nullable): A #GCancellable or %NULL. + * @error: Return location for error or %NULL. + * + * Synchronously invokes the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.GetJobAfter">GetJobAfter()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received. + * + * See systemd1_manager_call_get_job_after() for the asynchronous version of this method. + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_manager_call_get_job_after_sync ( + Systemd1Manager *proxy, + guint arg_id, + GVariant **out_jobs, + GCancellable *cancellable, + GError **error) +{ + GVariant *_ret; + _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), + "GetJobAfter", + g_variant_new ("(u)", + arg_id), + G_DBUS_CALL_FLAGS_NONE, + -1, + cancellable, + error); + if (_ret == NULL) + goto _out; + g_variant_get (_ret, + "(@a(usssoo))", + out_jobs); + g_variant_unref (_ret); +_out: + return _ret != NULL; +} + +/** + * systemd1_manager_call_get_job_before: + * @proxy: A #Systemd1ManagerProxy. + * @arg_id: Argument to pass with the method invocation. + * @cancellable: (nullable): 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-systemd1-Manager.GetJobBefore">GetJobBefore()</link> D-Bus method on @proxy. + * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). + * You can then call systemd1_manager_call_get_job_before_finish() to get the result of the operation. + * + * See systemd1_manager_call_get_job_before_sync() for the synchronous, blocking version of this method. + */ +void +systemd1_manager_call_get_job_before ( + Systemd1Manager *proxy, + guint arg_id, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data) +{ + g_dbus_proxy_call (G_DBUS_PROXY (proxy), + "GetJobBefore", + g_variant_new ("(u)", + arg_id), + G_DBUS_CALL_FLAGS_NONE, + -1, + cancellable, + callback, + user_data); +} + +/** + * systemd1_manager_call_get_job_before_finish: + * @proxy: A #Systemd1ManagerProxy. + * @out_jobs: (out) (optional): Return location for return parameter or %NULL to ignore. + * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to systemd1_manager_call_get_job_before(). + * @error: Return location for error or %NULL. + * + * Finishes an operation started with systemd1_manager_call_get_job_before(). + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_manager_call_get_job_before_finish ( + Systemd1Manager *proxy, + GVariant **out_jobs, + 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(usssoo))", + out_jobs); + g_variant_unref (_ret); +_out: + return _ret != NULL; +} + +/** + * systemd1_manager_call_get_job_before_sync: + * @proxy: A #Systemd1ManagerProxy. + * @arg_id: Argument to pass with the method invocation. + * @out_jobs: (out) (optional): Return location for return parameter or %NULL to ignore. + * @cancellable: (nullable): A #GCancellable or %NULL. + * @error: Return location for error or %NULL. + * + * Synchronously invokes the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.GetJobBefore">GetJobBefore()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received. + * + * See systemd1_manager_call_get_job_before() for the asynchronous version of this method. + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_manager_call_get_job_before_sync ( + Systemd1Manager *proxy, + guint arg_id, + GVariant **out_jobs, + GCancellable *cancellable, + GError **error) +{ + GVariant *_ret; + _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), + "GetJobBefore", + g_variant_new ("(u)", + arg_id), + G_DBUS_CALL_FLAGS_NONE, + -1, + cancellable, + error); + if (_ret == NULL) + goto _out; + g_variant_get (_ret, + "(@a(usssoo))", + out_jobs); + g_variant_unref (_ret); +_out: + return _ret != NULL; +} + +/** + * systemd1_manager_call_cancel_job: + * @proxy: A #Systemd1ManagerProxy. + * @arg_id: Argument to pass with the method invocation. + * @cancellable: (nullable): 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-systemd1-Manager.CancelJob">CancelJob()</link> D-Bus method on @proxy. + * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). + * You can then call systemd1_manager_call_cancel_job_finish() to get the result of the operation. + * + * See systemd1_manager_call_cancel_job_sync() for the synchronous, blocking version of this method. + */ +void +systemd1_manager_call_cancel_job ( + Systemd1Manager *proxy, + guint arg_id, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data) +{ + g_dbus_proxy_call (G_DBUS_PROXY (proxy), + "CancelJob", + g_variant_new ("(u)", + arg_id), + G_DBUS_CALL_FLAGS_NONE, + -1, + cancellable, + callback, + user_data); +} + +/** + * systemd1_manager_call_cancel_job_finish: + * @proxy: A #Systemd1ManagerProxy. + * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to systemd1_manager_call_cancel_job(). + * @error: Return location for error or %NULL. + * + * Finishes an operation started with systemd1_manager_call_cancel_job(). + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_manager_call_cancel_job_finish ( + Systemd1Manager *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; +} + +/** + * systemd1_manager_call_cancel_job_sync: + * @proxy: A #Systemd1ManagerProxy. + * @arg_id: Argument to pass with the method invocation. + * @cancellable: (nullable): A #GCancellable or %NULL. + * @error: Return location for error or %NULL. + * + * Synchronously invokes the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.CancelJob">CancelJob()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received. + * + * See systemd1_manager_call_cancel_job() for the asynchronous version of this method. + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_manager_call_cancel_job_sync ( + Systemd1Manager *proxy, + guint arg_id, + GCancellable *cancellable, + GError **error) +{ + GVariant *_ret; + _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), + "CancelJob", + g_variant_new ("(u)", + arg_id), + 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; +} + +/** + * systemd1_manager_call_clear_jobs: + * @proxy: A #Systemd1ManagerProxy. + * @cancellable: (nullable): 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-systemd1-Manager.ClearJobs">ClearJobs()</link> D-Bus method on @proxy. + * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). + * You can then call systemd1_manager_call_clear_jobs_finish() to get the result of the operation. + * + * See systemd1_manager_call_clear_jobs_sync() for the synchronous, blocking version of this method. + */ +void +systemd1_manager_call_clear_jobs ( + Systemd1Manager *proxy, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data) +{ + g_dbus_proxy_call (G_DBUS_PROXY (proxy), + "ClearJobs", + g_variant_new ("()"), + G_DBUS_CALL_FLAGS_NONE, + -1, + cancellable, + callback, + user_data); +} + +/** + * systemd1_manager_call_clear_jobs_finish: + * @proxy: A #Systemd1ManagerProxy. + * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to systemd1_manager_call_clear_jobs(). + * @error: Return location for error or %NULL. + * + * Finishes an operation started with systemd1_manager_call_clear_jobs(). + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_manager_call_clear_jobs_finish ( + Systemd1Manager *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; +} + +/** + * systemd1_manager_call_clear_jobs_sync: + * @proxy: A #Systemd1ManagerProxy. + * @cancellable: (nullable): A #GCancellable or %NULL. + * @error: Return location for error or %NULL. + * + * Synchronously invokes the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.ClearJobs">ClearJobs()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received. + * + * See systemd1_manager_call_clear_jobs() for the asynchronous version of this method. + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_manager_call_clear_jobs_sync ( + Systemd1Manager *proxy, + GCancellable *cancellable, + GError **error) +{ + GVariant *_ret; + _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), + "ClearJobs", + 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; +} + +/** + * systemd1_manager_call_reset_failed: + * @proxy: A #Systemd1ManagerProxy. + * @cancellable: (nullable): 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-systemd1-Manager.ResetFailed">ResetFailed()</link> D-Bus method on @proxy. + * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). + * You can then call systemd1_manager_call_reset_failed_finish() to get the result of the operation. + * + * See systemd1_manager_call_reset_failed_sync() for the synchronous, blocking version of this method. + */ +void +systemd1_manager_call_reset_failed ( + Systemd1Manager *proxy, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data) +{ + g_dbus_proxy_call (G_DBUS_PROXY (proxy), + "ResetFailed", + g_variant_new ("()"), + G_DBUS_CALL_FLAGS_NONE, + -1, + cancellable, + callback, + user_data); +} + +/** + * systemd1_manager_call_reset_failed_finish: + * @proxy: A #Systemd1ManagerProxy. + * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to systemd1_manager_call_reset_failed(). + * @error: Return location for error or %NULL. + * + * Finishes an operation started with systemd1_manager_call_reset_failed(). + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_manager_call_reset_failed_finish ( + Systemd1Manager *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; +} + +/** + * systemd1_manager_call_reset_failed_sync: + * @proxy: A #Systemd1ManagerProxy. + * @cancellable: (nullable): A #GCancellable or %NULL. + * @error: Return location for error or %NULL. + * + * Synchronously invokes the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.ResetFailed">ResetFailed()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received. + * + * See systemd1_manager_call_reset_failed() for the asynchronous version of this method. + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_manager_call_reset_failed_sync ( + Systemd1Manager *proxy, + GCancellable *cancellable, + GError **error) +{ + GVariant *_ret; + _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), + "ResetFailed", + 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; +} + +/** + * systemd1_manager_call_set_show_status: + * @proxy: A #Systemd1ManagerProxy. + * @arg_mode: Argument to pass with the method invocation. + * @cancellable: (nullable): 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-systemd1-Manager.SetShowStatus">SetShowStatus()</link> D-Bus method on @proxy. + * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). + * You can then call systemd1_manager_call_set_show_status_finish() to get the result of the operation. + * + * See systemd1_manager_call_set_show_status_sync() for the synchronous, blocking version of this method. + */ +void +systemd1_manager_call_set_show_status ( + Systemd1Manager *proxy, + const gchar *arg_mode, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data) +{ + g_dbus_proxy_call (G_DBUS_PROXY (proxy), + "SetShowStatus", + g_variant_new ("(s)", + arg_mode), + G_DBUS_CALL_FLAGS_NONE, + -1, + cancellable, + callback, + user_data); +} + +/** + * systemd1_manager_call_set_show_status_finish: + * @proxy: A #Systemd1ManagerProxy. + * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to systemd1_manager_call_set_show_status(). + * @error: Return location for error or %NULL. + * + * Finishes an operation started with systemd1_manager_call_set_show_status(). + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_manager_call_set_show_status_finish ( + Systemd1Manager *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; +} + +/** + * systemd1_manager_call_set_show_status_sync: + * @proxy: A #Systemd1ManagerProxy. + * @arg_mode: Argument to pass with the method invocation. + * @cancellable: (nullable): A #GCancellable or %NULL. + * @error: Return location for error or %NULL. + * + * Synchronously invokes the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.SetShowStatus">SetShowStatus()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received. + * + * See systemd1_manager_call_set_show_status() for the asynchronous version of this method. + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_manager_call_set_show_status_sync ( + Systemd1Manager *proxy, + const gchar *arg_mode, + GCancellable *cancellable, + GError **error) +{ + GVariant *_ret; + _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), + "SetShowStatus", + g_variant_new ("(s)", + arg_mode), + 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; +} + +/** + * systemd1_manager_call_list_units: + * @proxy: A #Systemd1ManagerProxy. + * @cancellable: (nullable): 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-systemd1-Manager.ListUnits">ListUnits()</link> D-Bus method on @proxy. + * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). + * You can then call systemd1_manager_call_list_units_finish() to get the result of the operation. + * + * See systemd1_manager_call_list_units_sync() for the synchronous, blocking version of this method. + */ +void +systemd1_manager_call_list_units ( + Systemd1Manager *proxy, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data) +{ + g_dbus_proxy_call (G_DBUS_PROXY (proxy), + "ListUnits", + g_variant_new ("()"), + G_DBUS_CALL_FLAGS_NONE, + -1, + cancellable, + callback, + user_data); +} + +/** + * systemd1_manager_call_list_units_finish: + * @proxy: A #Systemd1ManagerProxy. + * @out_units: (out) (optional): Return location for return parameter or %NULL to ignore. + * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to systemd1_manager_call_list_units(). + * @error: Return location for error or %NULL. + * + * Finishes an operation started with systemd1_manager_call_list_units(). + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_manager_call_list_units_finish ( + Systemd1Manager *proxy, + GVariant **out_units, + 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(ssssssouso))", + out_units); + g_variant_unref (_ret); +_out: + return _ret != NULL; +} + +/** + * systemd1_manager_call_list_units_sync: + * @proxy: A #Systemd1ManagerProxy. + * @out_units: (out) (optional): Return location for return parameter or %NULL to ignore. + * @cancellable: (nullable): A #GCancellable or %NULL. + * @error: Return location for error or %NULL. + * + * Synchronously invokes the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.ListUnits">ListUnits()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received. + * + * See systemd1_manager_call_list_units() for the asynchronous version of this method. + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_manager_call_list_units_sync ( + Systemd1Manager *proxy, + GVariant **out_units, + GCancellable *cancellable, + GError **error) +{ + GVariant *_ret; + _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), + "ListUnits", + g_variant_new ("()"), + G_DBUS_CALL_FLAGS_NONE, + -1, + cancellable, + error); + if (_ret == NULL) + goto _out; + g_variant_get (_ret, + "(@a(ssssssouso))", + out_units); + g_variant_unref (_ret); +_out: + return _ret != NULL; +} + +/** + * systemd1_manager_call_list_units_filtered: + * @proxy: A #Systemd1ManagerProxy. + * @arg_states: Argument to pass with the method invocation. + * @cancellable: (nullable): 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-systemd1-Manager.ListUnitsFiltered">ListUnitsFiltered()</link> D-Bus method on @proxy. + * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). + * You can then call systemd1_manager_call_list_units_filtered_finish() to get the result of the operation. + * + * See systemd1_manager_call_list_units_filtered_sync() for the synchronous, blocking version of this method. + */ +void +systemd1_manager_call_list_units_filtered ( + Systemd1Manager *proxy, + const gchar *const *arg_states, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data) +{ + g_dbus_proxy_call (G_DBUS_PROXY (proxy), + "ListUnitsFiltered", + g_variant_new ("(^as)", + arg_states), + G_DBUS_CALL_FLAGS_NONE, + -1, + cancellable, + callback, + user_data); +} + +/** + * systemd1_manager_call_list_units_filtered_finish: + * @proxy: A #Systemd1ManagerProxy. + * @out_units: (out) (optional): Return location for return parameter or %NULL to ignore. + * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to systemd1_manager_call_list_units_filtered(). + * @error: Return location for error or %NULL. + * + * Finishes an operation started with systemd1_manager_call_list_units_filtered(). + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_manager_call_list_units_filtered_finish ( + Systemd1Manager *proxy, + GVariant **out_units, + 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(ssssssouso))", + out_units); + g_variant_unref (_ret); +_out: + return _ret != NULL; +} + +/** + * systemd1_manager_call_list_units_filtered_sync: + * @proxy: A #Systemd1ManagerProxy. + * @arg_states: Argument to pass with the method invocation. + * @out_units: (out) (optional): Return location for return parameter or %NULL to ignore. + * @cancellable: (nullable): A #GCancellable or %NULL. + * @error: Return location for error or %NULL. + * + * Synchronously invokes the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.ListUnitsFiltered">ListUnitsFiltered()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received. + * + * See systemd1_manager_call_list_units_filtered() for the asynchronous version of this method. + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_manager_call_list_units_filtered_sync ( + Systemd1Manager *proxy, + const gchar *const *arg_states, + GVariant **out_units, + GCancellable *cancellable, + GError **error) +{ + GVariant *_ret; + _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), + "ListUnitsFiltered", + g_variant_new ("(^as)", + arg_states), + G_DBUS_CALL_FLAGS_NONE, + -1, + cancellable, + error); + if (_ret == NULL) + goto _out; + g_variant_get (_ret, + "(@a(ssssssouso))", + out_units); + g_variant_unref (_ret); +_out: + return _ret != NULL; +} + +/** + * systemd1_manager_call_list_units_by_patterns: + * @proxy: A #Systemd1ManagerProxy. + * @arg_states: Argument to pass with the method invocation. + * @arg_patterns: Argument to pass with the method invocation. + * @cancellable: (nullable): 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-systemd1-Manager.ListUnitsByPatterns">ListUnitsByPatterns()</link> D-Bus method on @proxy. + * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). + * You can then call systemd1_manager_call_list_units_by_patterns_finish() to get the result of the operation. + * + * See systemd1_manager_call_list_units_by_patterns_sync() for the synchronous, blocking version of this method. + */ +void +systemd1_manager_call_list_units_by_patterns ( + Systemd1Manager *proxy, + const gchar *const *arg_states, + const gchar *const *arg_patterns, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data) +{ + g_dbus_proxy_call (G_DBUS_PROXY (proxy), + "ListUnitsByPatterns", + g_variant_new ("(^as^as)", + arg_states, + arg_patterns), + G_DBUS_CALL_FLAGS_NONE, + -1, + cancellable, + callback, + user_data); +} + +/** + * systemd1_manager_call_list_units_by_patterns_finish: + * @proxy: A #Systemd1ManagerProxy. + * @out_units: (out) (optional): Return location for return parameter or %NULL to ignore. + * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to systemd1_manager_call_list_units_by_patterns(). + * @error: Return location for error or %NULL. + * + * Finishes an operation started with systemd1_manager_call_list_units_by_patterns(). + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_manager_call_list_units_by_patterns_finish ( + Systemd1Manager *proxy, + GVariant **out_units, + 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(ssssssouso))", + out_units); + g_variant_unref (_ret); +_out: + return _ret != NULL; +} + +/** + * systemd1_manager_call_list_units_by_patterns_sync: + * @proxy: A #Systemd1ManagerProxy. + * @arg_states: Argument to pass with the method invocation. + * @arg_patterns: Argument to pass with the method invocation. + * @out_units: (out) (optional): Return location for return parameter or %NULL to ignore. + * @cancellable: (nullable): A #GCancellable or %NULL. + * @error: Return location for error or %NULL. + * + * Synchronously invokes the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.ListUnitsByPatterns">ListUnitsByPatterns()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received. + * + * See systemd1_manager_call_list_units_by_patterns() for the asynchronous version of this method. + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_manager_call_list_units_by_patterns_sync ( + Systemd1Manager *proxy, + const gchar *const *arg_states, + const gchar *const *arg_patterns, + GVariant **out_units, + GCancellable *cancellable, + GError **error) +{ + GVariant *_ret; + _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), + "ListUnitsByPatterns", + g_variant_new ("(^as^as)", + arg_states, + arg_patterns), + G_DBUS_CALL_FLAGS_NONE, + -1, + cancellable, + error); + if (_ret == NULL) + goto _out; + g_variant_get (_ret, + "(@a(ssssssouso))", + out_units); + g_variant_unref (_ret); +_out: + return _ret != NULL; +} + +/** + * systemd1_manager_call_list_units_by_names: + * @proxy: A #Systemd1ManagerProxy. + * @arg_names: Argument to pass with the method invocation. + * @cancellable: (nullable): 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-systemd1-Manager.ListUnitsByNames">ListUnitsByNames()</link> D-Bus method on @proxy. + * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). + * You can then call systemd1_manager_call_list_units_by_names_finish() to get the result of the operation. + * + * See systemd1_manager_call_list_units_by_names_sync() for the synchronous, blocking version of this method. + */ +void +systemd1_manager_call_list_units_by_names ( + Systemd1Manager *proxy, + const gchar *const *arg_names, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data) +{ + g_dbus_proxy_call (G_DBUS_PROXY (proxy), + "ListUnitsByNames", + g_variant_new ("(^as)", + arg_names), + G_DBUS_CALL_FLAGS_NONE, + -1, + cancellable, + callback, + user_data); +} + +/** + * systemd1_manager_call_list_units_by_names_finish: + * @proxy: A #Systemd1ManagerProxy. + * @out_units: (out) (optional): Return location for return parameter or %NULL to ignore. + * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to systemd1_manager_call_list_units_by_names(). + * @error: Return location for error or %NULL. + * + * Finishes an operation started with systemd1_manager_call_list_units_by_names(). + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_manager_call_list_units_by_names_finish ( + Systemd1Manager *proxy, + GVariant **out_units, + 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(ssssssouso))", + out_units); + g_variant_unref (_ret); +_out: + return _ret != NULL; +} + +/** + * systemd1_manager_call_list_units_by_names_sync: + * @proxy: A #Systemd1ManagerProxy. + * @arg_names: Argument to pass with the method invocation. + * @out_units: (out) (optional): Return location for return parameter or %NULL to ignore. + * @cancellable: (nullable): A #GCancellable or %NULL. + * @error: Return location for error or %NULL. + * + * Synchronously invokes the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.ListUnitsByNames">ListUnitsByNames()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received. + * + * See systemd1_manager_call_list_units_by_names() for the asynchronous version of this method. + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_manager_call_list_units_by_names_sync ( + Systemd1Manager *proxy, + const gchar *const *arg_names, + GVariant **out_units, + GCancellable *cancellable, + GError **error) +{ + GVariant *_ret; + _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), + "ListUnitsByNames", + g_variant_new ("(^as)", + arg_names), + G_DBUS_CALL_FLAGS_NONE, + -1, + cancellable, + error); + if (_ret == NULL) + goto _out; + g_variant_get (_ret, + "(@a(ssssssouso))", + out_units); + g_variant_unref (_ret); +_out: + return _ret != NULL; +} + +/** + * systemd1_manager_call_list_jobs: + * @proxy: A #Systemd1ManagerProxy. + * @cancellable: (nullable): 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-systemd1-Manager.ListJobs">ListJobs()</link> D-Bus method on @proxy. + * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). + * You can then call systemd1_manager_call_list_jobs_finish() to get the result of the operation. + * + * See systemd1_manager_call_list_jobs_sync() for the synchronous, blocking version of this method. + */ +void +systemd1_manager_call_list_jobs ( + Systemd1Manager *proxy, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data) +{ + g_dbus_proxy_call (G_DBUS_PROXY (proxy), + "ListJobs", + g_variant_new ("()"), + G_DBUS_CALL_FLAGS_NONE, + -1, + cancellable, + callback, + user_data); +} + +/** + * systemd1_manager_call_list_jobs_finish: + * @proxy: A #Systemd1ManagerProxy. + * @out_jobs: (out) (optional): Return location for return parameter or %NULL to ignore. + * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to systemd1_manager_call_list_jobs(). + * @error: Return location for error or %NULL. + * + * Finishes an operation started with systemd1_manager_call_list_jobs(). + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_manager_call_list_jobs_finish ( + Systemd1Manager *proxy, + GVariant **out_jobs, + 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(usssoo))", + out_jobs); + g_variant_unref (_ret); +_out: + return _ret != NULL; +} + +/** + * systemd1_manager_call_list_jobs_sync: + * @proxy: A #Systemd1ManagerProxy. + * @out_jobs: (out) (optional): Return location for return parameter or %NULL to ignore. + * @cancellable: (nullable): A #GCancellable or %NULL. + * @error: Return location for error or %NULL. + * + * Synchronously invokes the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.ListJobs">ListJobs()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received. + * + * See systemd1_manager_call_list_jobs() for the asynchronous version of this method. + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_manager_call_list_jobs_sync ( + Systemd1Manager *proxy, + GVariant **out_jobs, + GCancellable *cancellable, + GError **error) +{ + GVariant *_ret; + _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), + "ListJobs", + g_variant_new ("()"), + G_DBUS_CALL_FLAGS_NONE, + -1, + cancellable, + error); + if (_ret == NULL) + goto _out; + g_variant_get (_ret, + "(@a(usssoo))", + out_jobs); + g_variant_unref (_ret); +_out: + return _ret != NULL; +} + +/** + * systemd1_manager_call_subscribe: + * @proxy: A #Systemd1ManagerProxy. + * @cancellable: (nullable): 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-systemd1-Manager.Subscribe">Subscribe()</link> D-Bus method on @proxy. + * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). + * You can then call systemd1_manager_call_subscribe_finish() to get the result of the operation. + * + * See systemd1_manager_call_subscribe_sync() for the synchronous, blocking version of this method. + */ +void +systemd1_manager_call_subscribe ( + Systemd1Manager *proxy, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data) +{ + g_dbus_proxy_call (G_DBUS_PROXY (proxy), + "Subscribe", + g_variant_new ("()"), + G_DBUS_CALL_FLAGS_NONE, + -1, + cancellable, + callback, + user_data); +} + +/** + * systemd1_manager_call_subscribe_finish: + * @proxy: A #Systemd1ManagerProxy. + * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to systemd1_manager_call_subscribe(). + * @error: Return location for error or %NULL. + * + * Finishes an operation started with systemd1_manager_call_subscribe(). + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_manager_call_subscribe_finish ( + Systemd1Manager *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; +} + +/** + * systemd1_manager_call_subscribe_sync: + * @proxy: A #Systemd1ManagerProxy. + * @cancellable: (nullable): A #GCancellable or %NULL. + * @error: Return location for error or %NULL. + * + * Synchronously invokes the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.Subscribe">Subscribe()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received. + * + * See systemd1_manager_call_subscribe() for the asynchronous version of this method. + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_manager_call_subscribe_sync ( + Systemd1Manager *proxy, + GCancellable *cancellable, + GError **error) +{ + GVariant *_ret; + _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), + "Subscribe", + 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; +} + +/** + * systemd1_manager_call_unsubscribe: + * @proxy: A #Systemd1ManagerProxy. + * @cancellable: (nullable): 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-systemd1-Manager.Unsubscribe">Unsubscribe()</link> D-Bus method on @proxy. + * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). + * You can then call systemd1_manager_call_unsubscribe_finish() to get the result of the operation. + * + * See systemd1_manager_call_unsubscribe_sync() for the synchronous, blocking version of this method. + */ +void +systemd1_manager_call_unsubscribe ( + Systemd1Manager *proxy, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data) +{ + g_dbus_proxy_call (G_DBUS_PROXY (proxy), + "Unsubscribe", + g_variant_new ("()"), + G_DBUS_CALL_FLAGS_NONE, + -1, + cancellable, + callback, + user_data); +} + +/** + * systemd1_manager_call_unsubscribe_finish: + * @proxy: A #Systemd1ManagerProxy. + * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to systemd1_manager_call_unsubscribe(). + * @error: Return location for error or %NULL. + * + * Finishes an operation started with systemd1_manager_call_unsubscribe(). + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_manager_call_unsubscribe_finish ( + Systemd1Manager *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; +} + +/** + * systemd1_manager_call_unsubscribe_sync: + * @proxy: A #Systemd1ManagerProxy. + * @cancellable: (nullable): A #GCancellable or %NULL. + * @error: Return location for error or %NULL. + * + * Synchronously invokes the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.Unsubscribe">Unsubscribe()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received. + * + * See systemd1_manager_call_unsubscribe() for the asynchronous version of this method. + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_manager_call_unsubscribe_sync ( + Systemd1Manager *proxy, + GCancellable *cancellable, + GError **error) +{ + GVariant *_ret; + _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), + "Unsubscribe", + 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; +} + +/** + * systemd1_manager_call_dump: + * @proxy: A #Systemd1ManagerProxy. + * @cancellable: (nullable): 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-systemd1-Manager.Dump">Dump()</link> D-Bus method on @proxy. + * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). + * You can then call systemd1_manager_call_dump_finish() to get the result of the operation. + * + * See systemd1_manager_call_dump_sync() for the synchronous, blocking version of this method. + */ +void +systemd1_manager_call_dump ( + Systemd1Manager *proxy, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data) +{ + g_dbus_proxy_call (G_DBUS_PROXY (proxy), + "Dump", + g_variant_new ("()"), + G_DBUS_CALL_FLAGS_NONE, + -1, + cancellable, + callback, + user_data); +} + +/** + * systemd1_manager_call_dump_finish: + * @proxy: A #Systemd1ManagerProxy. + * @out_output: (out) (optional): Return location for return parameter or %NULL to ignore. + * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to systemd1_manager_call_dump(). + * @error: Return location for error or %NULL. + * + * Finishes an operation started with systemd1_manager_call_dump(). + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_manager_call_dump_finish ( + Systemd1Manager *proxy, + gchar **out_output, + 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_output); + g_variant_unref (_ret); +_out: + return _ret != NULL; +} + +/** + * systemd1_manager_call_dump_sync: + * @proxy: A #Systemd1ManagerProxy. + * @out_output: (out) (optional): Return location for return parameter or %NULL to ignore. + * @cancellable: (nullable): A #GCancellable or %NULL. + * @error: Return location for error or %NULL. + * + * Synchronously invokes the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.Dump">Dump()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received. + * + * See systemd1_manager_call_dump() for the asynchronous version of this method. + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_manager_call_dump_sync ( + Systemd1Manager *proxy, + gchar **out_output, + GCancellable *cancellable, + GError **error) +{ + GVariant *_ret; + _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), + "Dump", + g_variant_new ("()"), + G_DBUS_CALL_FLAGS_NONE, + -1, + cancellable, + error); + if (_ret == NULL) + goto _out; + g_variant_get (_ret, + "(s)", + out_output); + g_variant_unref (_ret); +_out: + return _ret != NULL; +} + +/** + * systemd1_manager_call_dump_by_file_descriptor: + * @proxy: A #Systemd1ManagerProxy. + * @cancellable: (nullable): 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-systemd1-Manager.DumpByFileDescriptor">DumpByFileDescriptor()</link> D-Bus method on @proxy. + * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). + * You can then call systemd1_manager_call_dump_by_file_descriptor_finish() to get the result of the operation. + * + * See systemd1_manager_call_dump_by_file_descriptor_sync() for the synchronous, blocking version of this method. + */ +void +systemd1_manager_call_dump_by_file_descriptor ( + Systemd1Manager *proxy, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data) +{ + g_dbus_proxy_call (G_DBUS_PROXY (proxy), + "DumpByFileDescriptor", + g_variant_new ("()"), + G_DBUS_CALL_FLAGS_NONE, + -1, + cancellable, + callback, + user_data); +} + +/** + * systemd1_manager_call_dump_by_file_descriptor_finish: + * @proxy: A #Systemd1ManagerProxy. + * @out_fd: (out) (optional): Return location for return parameter or %NULL to ignore. + * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to systemd1_manager_call_dump_by_file_descriptor(). + * @error: Return location for error or %NULL. + * + * Finishes an operation started with systemd1_manager_call_dump_by_file_descriptor(). + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_manager_call_dump_by_file_descriptor_finish ( + Systemd1Manager *proxy, + GVariant **out_fd, + 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, + "(@h)", + out_fd); + g_variant_unref (_ret); +_out: + return _ret != NULL; +} + +/** + * systemd1_manager_call_dump_by_file_descriptor_sync: + * @proxy: A #Systemd1ManagerProxy. + * @out_fd: (out) (optional): Return location for return parameter or %NULL to ignore. + * @cancellable: (nullable): A #GCancellable or %NULL. + * @error: Return location for error or %NULL. + * + * Synchronously invokes the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.DumpByFileDescriptor">DumpByFileDescriptor()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received. + * + * See systemd1_manager_call_dump_by_file_descriptor() for the asynchronous version of this method. + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_manager_call_dump_by_file_descriptor_sync ( + Systemd1Manager *proxy, + GVariant **out_fd, + GCancellable *cancellable, + GError **error) +{ + GVariant *_ret; + _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), + "DumpByFileDescriptor", + g_variant_new ("()"), + G_DBUS_CALL_FLAGS_NONE, + -1, + cancellable, + error); + if (_ret == NULL) + goto _out; + g_variant_get (_ret, + "(@h)", + out_fd); + g_variant_unref (_ret); +_out: + return _ret != NULL; +} + +/** + * systemd1_manager_call_reload: + * @proxy: A #Systemd1ManagerProxy. + * @cancellable: (nullable): 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-systemd1-Manager.Reload">Reload()</link> D-Bus method on @proxy. + * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). + * You can then call systemd1_manager_call_reload_finish() to get the result of the operation. + * + * See systemd1_manager_call_reload_sync() for the synchronous, blocking version of this method. + */ +void +systemd1_manager_call_reload ( + Systemd1Manager *proxy, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data) +{ + g_dbus_proxy_call (G_DBUS_PROXY (proxy), + "Reload", + g_variant_new ("()"), + G_DBUS_CALL_FLAGS_NONE, + -1, + cancellable, + callback, + user_data); +} + +/** + * systemd1_manager_call_reload_finish: + * @proxy: A #Systemd1ManagerProxy. + * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to systemd1_manager_call_reload(). + * @error: Return location for error or %NULL. + * + * Finishes an operation started with systemd1_manager_call_reload(). + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_manager_call_reload_finish ( + Systemd1Manager *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; +} + +/** + * systemd1_manager_call_reload_sync: + * @proxy: A #Systemd1ManagerProxy. + * @cancellable: (nullable): A #GCancellable or %NULL. + * @error: Return location for error or %NULL. + * + * Synchronously invokes the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.Reload">Reload()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received. + * + * See systemd1_manager_call_reload() for the asynchronous version of this method. + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_manager_call_reload_sync ( + Systemd1Manager *proxy, + GCancellable *cancellable, + GError **error) +{ + GVariant *_ret; + _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), + "Reload", + 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; +} + +/** + * systemd1_manager_call_reexecute: + * @proxy: A #Systemd1ManagerProxy. + * @cancellable: (nullable): 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-systemd1-Manager.Reexecute">Reexecute()</link> D-Bus method on @proxy. + * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). + * You can then call systemd1_manager_call_reexecute_finish() to get the result of the operation. + * + * See systemd1_manager_call_reexecute_sync() for the synchronous, blocking version of this method. + */ +void +systemd1_manager_call_reexecute ( + Systemd1Manager *proxy, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data) +{ + g_dbus_proxy_call (G_DBUS_PROXY (proxy), + "Reexecute", + g_variant_new ("()"), + G_DBUS_CALL_FLAGS_NONE, + -1, + cancellable, + callback, + user_data); +} + +/** + * systemd1_manager_call_reexecute_finish: + * @proxy: A #Systemd1ManagerProxy. + * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to systemd1_manager_call_reexecute(). + * @error: Return location for error or %NULL. + * + * Finishes an operation started with systemd1_manager_call_reexecute(). + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_manager_call_reexecute_finish ( + Systemd1Manager *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; +} + +/** + * systemd1_manager_call_reexecute_sync: + * @proxy: A #Systemd1ManagerProxy. + * @cancellable: (nullable): A #GCancellable or %NULL. + * @error: Return location for error or %NULL. + * + * Synchronously invokes the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.Reexecute">Reexecute()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received. + * + * See systemd1_manager_call_reexecute() for the asynchronous version of this method. + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_manager_call_reexecute_sync ( + Systemd1Manager *proxy, + GCancellable *cancellable, + GError **error) +{ + GVariant *_ret; + _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), + "Reexecute", + 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; +} + +/** + * systemd1_manager_call_exit: + * @proxy: A #Systemd1ManagerProxy. + * @cancellable: (nullable): 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-systemd1-Manager.Exit">Exit()</link> D-Bus method on @proxy. + * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). + * You can then call systemd1_manager_call_exit_finish() to get the result of the operation. + * + * See systemd1_manager_call_exit_sync() for the synchronous, blocking version of this method. + */ +void +systemd1_manager_call_exit ( + Systemd1Manager *proxy, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data) +{ + g_dbus_proxy_call (G_DBUS_PROXY (proxy), + "Exit", + g_variant_new ("()"), + G_DBUS_CALL_FLAGS_NONE, + -1, + cancellable, + callback, + user_data); +} + +/** + * systemd1_manager_call_exit_finish: + * @proxy: A #Systemd1ManagerProxy. + * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to systemd1_manager_call_exit(). + * @error: Return location for error or %NULL. + * + * Finishes an operation started with systemd1_manager_call_exit(). + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_manager_call_exit_finish ( + Systemd1Manager *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; +} + +/** + * systemd1_manager_call_exit_sync: + * @proxy: A #Systemd1ManagerProxy. + * @cancellable: (nullable): A #GCancellable or %NULL. + * @error: Return location for error or %NULL. + * + * Synchronously invokes the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.Exit">Exit()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received. + * + * See systemd1_manager_call_exit() for the asynchronous version of this method. + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_manager_call_exit_sync ( + Systemd1Manager *proxy, + GCancellable *cancellable, + GError **error) +{ + GVariant *_ret; + _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), + "Exit", + 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; +} + +/** + * systemd1_manager_call_reboot: + * @proxy: A #Systemd1ManagerProxy. + * @cancellable: (nullable): 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-systemd1-Manager.Reboot">Reboot()</link> D-Bus method on @proxy. + * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). + * You can then call systemd1_manager_call_reboot_finish() to get the result of the operation. + * + * See systemd1_manager_call_reboot_sync() for the synchronous, blocking version of this method. + */ +void +systemd1_manager_call_reboot ( + Systemd1Manager *proxy, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data) +{ + g_dbus_proxy_call (G_DBUS_PROXY (proxy), + "Reboot", + g_variant_new ("()"), + G_DBUS_CALL_FLAGS_NONE, + -1, + cancellable, + callback, + user_data); +} + +/** + * systemd1_manager_call_reboot_finish: + * @proxy: A #Systemd1ManagerProxy. + * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to systemd1_manager_call_reboot(). + * @error: Return location for error or %NULL. + * + * Finishes an operation started with systemd1_manager_call_reboot(). + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_manager_call_reboot_finish ( + Systemd1Manager *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; +} + +/** + * systemd1_manager_call_reboot_sync: + * @proxy: A #Systemd1ManagerProxy. + * @cancellable: (nullable): A #GCancellable or %NULL. + * @error: Return location for error or %NULL. + * + * Synchronously invokes the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.Reboot">Reboot()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received. + * + * See systemd1_manager_call_reboot() for the asynchronous version of this method. + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_manager_call_reboot_sync ( + Systemd1Manager *proxy, + GCancellable *cancellable, + GError **error) +{ + GVariant *_ret; + _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), + "Reboot", + 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; +} + +/** + * systemd1_manager_call_power_off: + * @proxy: A #Systemd1ManagerProxy. + * @cancellable: (nullable): 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-systemd1-Manager.PowerOff">PowerOff()</link> D-Bus method on @proxy. + * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). + * You can then call systemd1_manager_call_power_off_finish() to get the result of the operation. + * + * See systemd1_manager_call_power_off_sync() for the synchronous, blocking version of this method. + */ +void +systemd1_manager_call_power_off ( + Systemd1Manager *proxy, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data) +{ + g_dbus_proxy_call (G_DBUS_PROXY (proxy), + "PowerOff", + g_variant_new ("()"), + G_DBUS_CALL_FLAGS_NONE, + -1, + cancellable, + callback, + user_data); +} + +/** + * systemd1_manager_call_power_off_finish: + * @proxy: A #Systemd1ManagerProxy. + * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to systemd1_manager_call_power_off(). + * @error: Return location for error or %NULL. + * + * Finishes an operation started with systemd1_manager_call_power_off(). + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_manager_call_power_off_finish ( + Systemd1Manager *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; +} + +/** + * systemd1_manager_call_power_off_sync: + * @proxy: A #Systemd1ManagerProxy. + * @cancellable: (nullable): A #GCancellable or %NULL. + * @error: Return location for error or %NULL. + * + * Synchronously invokes the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.PowerOff">PowerOff()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received. + * + * See systemd1_manager_call_power_off() for the asynchronous version of this method. + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_manager_call_power_off_sync ( + Systemd1Manager *proxy, + GCancellable *cancellable, + GError **error) +{ + GVariant *_ret; + _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), + "PowerOff", + 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; +} + +/** + * systemd1_manager_call_halt: + * @proxy: A #Systemd1ManagerProxy. + * @cancellable: (nullable): 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-systemd1-Manager.Halt">Halt()</link> D-Bus method on @proxy. + * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). + * You can then call systemd1_manager_call_halt_finish() to get the result of the operation. + * + * See systemd1_manager_call_halt_sync() for the synchronous, blocking version of this method. + */ +void +systemd1_manager_call_halt ( + Systemd1Manager *proxy, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data) +{ + g_dbus_proxy_call (G_DBUS_PROXY (proxy), + "Halt", + g_variant_new ("()"), + G_DBUS_CALL_FLAGS_NONE, + -1, + cancellable, + callback, + user_data); +} + +/** + * systemd1_manager_call_halt_finish: + * @proxy: A #Systemd1ManagerProxy. + * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to systemd1_manager_call_halt(). + * @error: Return location for error or %NULL. + * + * Finishes an operation started with systemd1_manager_call_halt(). + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_manager_call_halt_finish ( + Systemd1Manager *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; +} + +/** + * systemd1_manager_call_halt_sync: + * @proxy: A #Systemd1ManagerProxy. + * @cancellable: (nullable): A #GCancellable or %NULL. + * @error: Return location for error or %NULL. + * + * Synchronously invokes the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.Halt">Halt()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received. + * + * See systemd1_manager_call_halt() for the asynchronous version of this method. + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_manager_call_halt_sync ( + Systemd1Manager *proxy, + GCancellable *cancellable, + GError **error) +{ + GVariant *_ret; + _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), + "Halt", + 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; +} + +/** + * systemd1_manager_call_kexec: + * @proxy: A #Systemd1ManagerProxy. + * @cancellable: (nullable): 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-systemd1-Manager.KExec">KExec()</link> D-Bus method on @proxy. + * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). + * You can then call systemd1_manager_call_kexec_finish() to get the result of the operation. + * + * See systemd1_manager_call_kexec_sync() for the synchronous, blocking version of this method. + */ +void +systemd1_manager_call_kexec ( + Systemd1Manager *proxy, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data) +{ + g_dbus_proxy_call (G_DBUS_PROXY (proxy), + "KExec", + g_variant_new ("()"), + G_DBUS_CALL_FLAGS_NONE, + -1, + cancellable, + callback, + user_data); +} + +/** + * systemd1_manager_call_kexec_finish: + * @proxy: A #Systemd1ManagerProxy. + * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to systemd1_manager_call_kexec(). + * @error: Return location for error or %NULL. + * + * Finishes an operation started with systemd1_manager_call_kexec(). + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_manager_call_kexec_finish ( + Systemd1Manager *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; +} + +/** + * systemd1_manager_call_kexec_sync: + * @proxy: A #Systemd1ManagerProxy. + * @cancellable: (nullable): A #GCancellable or %NULL. + * @error: Return location for error or %NULL. + * + * Synchronously invokes the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.KExec">KExec()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received. + * + * See systemd1_manager_call_kexec() for the asynchronous version of this method. + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_manager_call_kexec_sync ( + Systemd1Manager *proxy, + GCancellable *cancellable, + GError **error) +{ + GVariant *_ret; + _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), + "KExec", + 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; +} + +/** + * systemd1_manager_call_switch_root: + * @proxy: A #Systemd1ManagerProxy. + * @arg_new_root: Argument to pass with the method invocation. + * @arg_init: Argument to pass with the method invocation. + * @cancellable: (nullable): 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-systemd1-Manager.SwitchRoot">SwitchRoot()</link> D-Bus method on @proxy. + * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). + * You can then call systemd1_manager_call_switch_root_finish() to get the result of the operation. + * + * See systemd1_manager_call_switch_root_sync() for the synchronous, blocking version of this method. + */ +void +systemd1_manager_call_switch_root ( + Systemd1Manager *proxy, + const gchar *arg_new_root, + const gchar *arg_init, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data) +{ + g_dbus_proxy_call (G_DBUS_PROXY (proxy), + "SwitchRoot", + g_variant_new ("(ss)", + arg_new_root, + arg_init), + G_DBUS_CALL_FLAGS_NONE, + -1, + cancellable, + callback, + user_data); +} + +/** + * systemd1_manager_call_switch_root_finish: + * @proxy: A #Systemd1ManagerProxy. + * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to systemd1_manager_call_switch_root(). + * @error: Return location for error or %NULL. + * + * Finishes an operation started with systemd1_manager_call_switch_root(). + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_manager_call_switch_root_finish ( + Systemd1Manager *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; +} + +/** + * systemd1_manager_call_switch_root_sync: + * @proxy: A #Systemd1ManagerProxy. + * @arg_new_root: Argument to pass with the method invocation. + * @arg_init: Argument to pass with the method invocation. + * @cancellable: (nullable): A #GCancellable or %NULL. + * @error: Return location for error or %NULL. + * + * Synchronously invokes the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.SwitchRoot">SwitchRoot()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received. + * + * See systemd1_manager_call_switch_root() for the asynchronous version of this method. + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_manager_call_switch_root_sync ( + Systemd1Manager *proxy, + const gchar *arg_new_root, + const gchar *arg_init, + GCancellable *cancellable, + GError **error) +{ + GVariant *_ret; + _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), + "SwitchRoot", + g_variant_new ("(ss)", + arg_new_root, + arg_init), + 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; +} + +/** + * systemd1_manager_call_set_environment: + * @proxy: A #Systemd1ManagerProxy. + * @arg_assignments: Argument to pass with the method invocation. + * @cancellable: (nullable): 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-systemd1-Manager.SetEnvironment">SetEnvironment()</link> D-Bus method on @proxy. + * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). + * You can then call systemd1_manager_call_set_environment_finish() to get the result of the operation. + * + * See systemd1_manager_call_set_environment_sync() for the synchronous, blocking version of this method. + */ +void +systemd1_manager_call_set_environment ( + Systemd1Manager *proxy, + const gchar *const *arg_assignments, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data) +{ + g_dbus_proxy_call (G_DBUS_PROXY (proxy), + "SetEnvironment", + g_variant_new ("(^as)", + arg_assignments), + G_DBUS_CALL_FLAGS_NONE, + -1, + cancellable, + callback, + user_data); +} + +/** + * systemd1_manager_call_set_environment_finish: + * @proxy: A #Systemd1ManagerProxy. + * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to systemd1_manager_call_set_environment(). + * @error: Return location for error or %NULL. + * + * Finishes an operation started with systemd1_manager_call_set_environment(). + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_manager_call_set_environment_finish ( + Systemd1Manager *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; +} + +/** + * systemd1_manager_call_set_environment_sync: + * @proxy: A #Systemd1ManagerProxy. + * @arg_assignments: Argument to pass with the method invocation. + * @cancellable: (nullable): A #GCancellable or %NULL. + * @error: Return location for error or %NULL. + * + * Synchronously invokes the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.SetEnvironment">SetEnvironment()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received. + * + * See systemd1_manager_call_set_environment() for the asynchronous version of this method. + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_manager_call_set_environment_sync ( + Systemd1Manager *proxy, + const gchar *const *arg_assignments, + GCancellable *cancellable, + GError **error) +{ + GVariant *_ret; + _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), + "SetEnvironment", + g_variant_new ("(^as)", + arg_assignments), + 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; +} + +/** + * systemd1_manager_call_unset_environment: + * @proxy: A #Systemd1ManagerProxy. + * @arg_names: Argument to pass with the method invocation. + * @cancellable: (nullable): 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-systemd1-Manager.UnsetEnvironment">UnsetEnvironment()</link> D-Bus method on @proxy. + * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). + * You can then call systemd1_manager_call_unset_environment_finish() to get the result of the operation. + * + * See systemd1_manager_call_unset_environment_sync() for the synchronous, blocking version of this method. + */ +void +systemd1_manager_call_unset_environment ( + Systemd1Manager *proxy, + const gchar *const *arg_names, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data) +{ + g_dbus_proxy_call (G_DBUS_PROXY (proxy), + "UnsetEnvironment", + g_variant_new ("(^as)", + arg_names), + G_DBUS_CALL_FLAGS_NONE, + -1, + cancellable, + callback, + user_data); +} + +/** + * systemd1_manager_call_unset_environment_finish: + * @proxy: A #Systemd1ManagerProxy. + * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to systemd1_manager_call_unset_environment(). + * @error: Return location for error or %NULL. + * + * Finishes an operation started with systemd1_manager_call_unset_environment(). + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_manager_call_unset_environment_finish ( + Systemd1Manager *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; +} + +/** + * systemd1_manager_call_unset_environment_sync: + * @proxy: A #Systemd1ManagerProxy. + * @arg_names: Argument to pass with the method invocation. + * @cancellable: (nullable): A #GCancellable or %NULL. + * @error: Return location for error or %NULL. + * + * Synchronously invokes the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.UnsetEnvironment">UnsetEnvironment()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received. + * + * See systemd1_manager_call_unset_environment() for the asynchronous version of this method. + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_manager_call_unset_environment_sync ( + Systemd1Manager *proxy, + const gchar *const *arg_names, + GCancellable *cancellable, + GError **error) +{ + GVariant *_ret; + _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), + "UnsetEnvironment", + g_variant_new ("(^as)", + arg_names), + 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; +} + +/** + * systemd1_manager_call_unset_and_set_environment: + * @proxy: A #Systemd1ManagerProxy. + * @arg_names: Argument to pass with the method invocation. + * @arg_assignments: Argument to pass with the method invocation. + * @cancellable: (nullable): 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-systemd1-Manager.UnsetAndSetEnvironment">UnsetAndSetEnvironment()</link> D-Bus method on @proxy. + * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). + * You can then call systemd1_manager_call_unset_and_set_environment_finish() to get the result of the operation. + * + * See systemd1_manager_call_unset_and_set_environment_sync() for the synchronous, blocking version of this method. + */ +void +systemd1_manager_call_unset_and_set_environment ( + Systemd1Manager *proxy, + const gchar *const *arg_names, + const gchar *const *arg_assignments, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data) +{ + g_dbus_proxy_call (G_DBUS_PROXY (proxy), + "UnsetAndSetEnvironment", + g_variant_new ("(^as^as)", + arg_names, + arg_assignments), + G_DBUS_CALL_FLAGS_NONE, + -1, + cancellable, + callback, + user_data); +} + +/** + * systemd1_manager_call_unset_and_set_environment_finish: + * @proxy: A #Systemd1ManagerProxy. + * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to systemd1_manager_call_unset_and_set_environment(). + * @error: Return location for error or %NULL. + * + * Finishes an operation started with systemd1_manager_call_unset_and_set_environment(). + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_manager_call_unset_and_set_environment_finish ( + Systemd1Manager *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; +} + +/** + * systemd1_manager_call_unset_and_set_environment_sync: + * @proxy: A #Systemd1ManagerProxy. + * @arg_names: Argument to pass with the method invocation. + * @arg_assignments: Argument to pass with the method invocation. + * @cancellable: (nullable): A #GCancellable or %NULL. + * @error: Return location for error or %NULL. + * + * Synchronously invokes the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.UnsetAndSetEnvironment">UnsetAndSetEnvironment()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received. + * + * See systemd1_manager_call_unset_and_set_environment() for the asynchronous version of this method. + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_manager_call_unset_and_set_environment_sync ( + Systemd1Manager *proxy, + const gchar *const *arg_names, + const gchar *const *arg_assignments, + GCancellable *cancellable, + GError **error) +{ + GVariant *_ret; + _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), + "UnsetAndSetEnvironment", + g_variant_new ("(^as^as)", + arg_names, + arg_assignments), + 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; +} + +/** + * systemd1_manager_call_enqueue_marked_jobs: + * @proxy: A #Systemd1ManagerProxy. + * @cancellable: (nullable): 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-systemd1-Manager.EnqueueMarkedJobs">EnqueueMarkedJobs()</link> D-Bus method on @proxy. + * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). + * You can then call systemd1_manager_call_enqueue_marked_jobs_finish() to get the result of the operation. + * + * See systemd1_manager_call_enqueue_marked_jobs_sync() for the synchronous, blocking version of this method. + */ +void +systemd1_manager_call_enqueue_marked_jobs ( + Systemd1Manager *proxy, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data) +{ + g_dbus_proxy_call (G_DBUS_PROXY (proxy), + "EnqueueMarkedJobs", + g_variant_new ("()"), + G_DBUS_CALL_FLAGS_NONE, + -1, + cancellable, + callback, + user_data); +} + +/** + * systemd1_manager_call_enqueue_marked_jobs_finish: + * @proxy: A #Systemd1ManagerProxy. + * @out_jobs: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. + * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to systemd1_manager_call_enqueue_marked_jobs(). + * @error: Return location for error or %NULL. + * + * Finishes an operation started with systemd1_manager_call_enqueue_marked_jobs(). + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_manager_call_enqueue_marked_jobs_finish ( + Systemd1Manager *proxy, + gchar ***out_jobs, + 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, + "(^ao)", + out_jobs); + g_variant_unref (_ret); +_out: + return _ret != NULL; +} + +/** + * systemd1_manager_call_enqueue_marked_jobs_sync: + * @proxy: A #Systemd1ManagerProxy. + * @out_jobs: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. + * @cancellable: (nullable): A #GCancellable or %NULL. + * @error: Return location for error or %NULL. + * + * Synchronously invokes the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.EnqueueMarkedJobs">EnqueueMarkedJobs()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received. + * + * See systemd1_manager_call_enqueue_marked_jobs() for the asynchronous version of this method. + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_manager_call_enqueue_marked_jobs_sync ( + Systemd1Manager *proxy, + gchar ***out_jobs, + GCancellable *cancellable, + GError **error) +{ + GVariant *_ret; + _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), + "EnqueueMarkedJobs", + g_variant_new ("()"), + G_DBUS_CALL_FLAGS_NONE, + -1, + cancellable, + error); + if (_ret == NULL) + goto _out; + g_variant_get (_ret, + "(^ao)", + out_jobs); + g_variant_unref (_ret); +_out: + return _ret != NULL; +} + +/** + * systemd1_manager_call_list_unit_files: + * @proxy: A #Systemd1ManagerProxy. + * @cancellable: (nullable): 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-systemd1-Manager.ListUnitFiles">ListUnitFiles()</link> D-Bus method on @proxy. + * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). + * You can then call systemd1_manager_call_list_unit_files_finish() to get the result of the operation. + * + * See systemd1_manager_call_list_unit_files_sync() for the synchronous, blocking version of this method. + */ +void +systemd1_manager_call_list_unit_files ( + Systemd1Manager *proxy, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data) +{ + g_dbus_proxy_call (G_DBUS_PROXY (proxy), + "ListUnitFiles", + g_variant_new ("()"), + G_DBUS_CALL_FLAGS_NONE, + -1, + cancellable, + callback, + user_data); +} + +/** + * systemd1_manager_call_list_unit_files_finish: + * @proxy: A #Systemd1ManagerProxy. + * @out_unit_files: (out) (optional): Return location for return parameter or %NULL to ignore. + * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to systemd1_manager_call_list_unit_files(). + * @error: Return location for error or %NULL. + * + * Finishes an operation started with systemd1_manager_call_list_unit_files(). + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_manager_call_list_unit_files_finish ( + Systemd1Manager *proxy, + GVariant **out_unit_files, + 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(ss))", + out_unit_files); + g_variant_unref (_ret); +_out: + return _ret != NULL; +} + +/** + * systemd1_manager_call_list_unit_files_sync: + * @proxy: A #Systemd1ManagerProxy. + * @out_unit_files: (out) (optional): Return location for return parameter or %NULL to ignore. + * @cancellable: (nullable): A #GCancellable or %NULL. + * @error: Return location for error or %NULL. + * + * Synchronously invokes the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.ListUnitFiles">ListUnitFiles()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received. + * + * See systemd1_manager_call_list_unit_files() for the asynchronous version of this method. + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_manager_call_list_unit_files_sync ( + Systemd1Manager *proxy, + GVariant **out_unit_files, + GCancellable *cancellable, + GError **error) +{ + GVariant *_ret; + _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), + "ListUnitFiles", + g_variant_new ("()"), + G_DBUS_CALL_FLAGS_NONE, + -1, + cancellable, + error); + if (_ret == NULL) + goto _out; + g_variant_get (_ret, + "(@a(ss))", + out_unit_files); + g_variant_unref (_ret); +_out: + return _ret != NULL; +} + +/** + * systemd1_manager_call_list_unit_files_by_patterns: + * @proxy: A #Systemd1ManagerProxy. + * @arg_states: Argument to pass with the method invocation. + * @arg_patterns: Argument to pass with the method invocation. + * @cancellable: (nullable): 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-systemd1-Manager.ListUnitFilesByPatterns">ListUnitFilesByPatterns()</link> D-Bus method on @proxy. + * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). + * You can then call systemd1_manager_call_list_unit_files_by_patterns_finish() to get the result of the operation. + * + * See systemd1_manager_call_list_unit_files_by_patterns_sync() for the synchronous, blocking version of this method. + */ +void +systemd1_manager_call_list_unit_files_by_patterns ( + Systemd1Manager *proxy, + const gchar *const *arg_states, + const gchar *const *arg_patterns, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data) +{ + g_dbus_proxy_call (G_DBUS_PROXY (proxy), + "ListUnitFilesByPatterns", + g_variant_new ("(^as^as)", + arg_states, + arg_patterns), + G_DBUS_CALL_FLAGS_NONE, + -1, + cancellable, + callback, + user_data); +} + +/** + * systemd1_manager_call_list_unit_files_by_patterns_finish: + * @proxy: A #Systemd1ManagerProxy. + * @out_unit_files: (out) (optional): Return location for return parameter or %NULL to ignore. + * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to systemd1_manager_call_list_unit_files_by_patterns(). + * @error: Return location for error or %NULL. + * + * Finishes an operation started with systemd1_manager_call_list_unit_files_by_patterns(). + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_manager_call_list_unit_files_by_patterns_finish ( + Systemd1Manager *proxy, + GVariant **out_unit_files, + 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(ss))", + out_unit_files); + g_variant_unref (_ret); +_out: + return _ret != NULL; +} + +/** + * systemd1_manager_call_list_unit_files_by_patterns_sync: + * @proxy: A #Systemd1ManagerProxy. + * @arg_states: Argument to pass with the method invocation. + * @arg_patterns: Argument to pass with the method invocation. + * @out_unit_files: (out) (optional): Return location for return parameter or %NULL to ignore. + * @cancellable: (nullable): A #GCancellable or %NULL. + * @error: Return location for error or %NULL. + * + * Synchronously invokes the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.ListUnitFilesByPatterns">ListUnitFilesByPatterns()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received. + * + * See systemd1_manager_call_list_unit_files_by_patterns() for the asynchronous version of this method. + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_manager_call_list_unit_files_by_patterns_sync ( + Systemd1Manager *proxy, + const gchar *const *arg_states, + const gchar *const *arg_patterns, + GVariant **out_unit_files, + GCancellable *cancellable, + GError **error) +{ + GVariant *_ret; + _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), + "ListUnitFilesByPatterns", + g_variant_new ("(^as^as)", + arg_states, + arg_patterns), + G_DBUS_CALL_FLAGS_NONE, + -1, + cancellable, + error); + if (_ret == NULL) + goto _out; + g_variant_get (_ret, + "(@a(ss))", + out_unit_files); + g_variant_unref (_ret); +_out: + return _ret != NULL; +} + +/** + * systemd1_manager_call_get_unit_file_state: + * @proxy: A #Systemd1ManagerProxy. + * @arg_file: Argument to pass with the method invocation. + * @cancellable: (nullable): 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-systemd1-Manager.GetUnitFileState">GetUnitFileState()</link> D-Bus method on @proxy. + * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). + * You can then call systemd1_manager_call_get_unit_file_state_finish() to get the result of the operation. + * + * See systemd1_manager_call_get_unit_file_state_sync() for the synchronous, blocking version of this method. + */ +void +systemd1_manager_call_get_unit_file_state ( + Systemd1Manager *proxy, + const gchar *arg_file, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data) +{ + g_dbus_proxy_call (G_DBUS_PROXY (proxy), + "GetUnitFileState", + g_variant_new ("(s)", + arg_file), + G_DBUS_CALL_FLAGS_NONE, + -1, + cancellable, + callback, + user_data); +} + +/** + * systemd1_manager_call_get_unit_file_state_finish: + * @proxy: A #Systemd1ManagerProxy. + * @out_state: (out) (optional): Return location for return parameter or %NULL to ignore. + * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to systemd1_manager_call_get_unit_file_state(). + * @error: Return location for error or %NULL. + * + * Finishes an operation started with systemd1_manager_call_get_unit_file_state(). + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_manager_call_get_unit_file_state_finish ( + Systemd1Manager *proxy, + gchar **out_state, + 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_state); + g_variant_unref (_ret); +_out: + return _ret != NULL; +} + +/** + * systemd1_manager_call_get_unit_file_state_sync: + * @proxy: A #Systemd1ManagerProxy. + * @arg_file: Argument to pass with the method invocation. + * @out_state: (out) (optional): Return location for return parameter or %NULL to ignore. + * @cancellable: (nullable): A #GCancellable or %NULL. + * @error: Return location for error or %NULL. + * + * Synchronously invokes the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.GetUnitFileState">GetUnitFileState()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received. + * + * See systemd1_manager_call_get_unit_file_state() for the asynchronous version of this method. + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_manager_call_get_unit_file_state_sync ( + Systemd1Manager *proxy, + const gchar *arg_file, + gchar **out_state, + GCancellable *cancellable, + GError **error) +{ + GVariant *_ret; + _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), + "GetUnitFileState", + g_variant_new ("(s)", + arg_file), + G_DBUS_CALL_FLAGS_NONE, + -1, + cancellable, + error); + if (_ret == NULL) + goto _out; + g_variant_get (_ret, + "(s)", + out_state); + g_variant_unref (_ret); +_out: + return _ret != NULL; +} + +/** + * systemd1_manager_call_enable_unit_files: + * @proxy: A #Systemd1ManagerProxy. + * @arg_files: Argument to pass with the method invocation. + * @arg_runtime: Argument to pass with the method invocation. + * @arg_force: Argument to pass with the method invocation. + * @cancellable: (nullable): 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-systemd1-Manager.EnableUnitFiles">EnableUnitFiles()</link> D-Bus method on @proxy. + * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). + * You can then call systemd1_manager_call_enable_unit_files_finish() to get the result of the operation. + * + * See systemd1_manager_call_enable_unit_files_sync() for the synchronous, blocking version of this method. + */ +void +systemd1_manager_call_enable_unit_files ( + Systemd1Manager *proxy, + const gchar *const *arg_files, + gboolean arg_runtime, + gboolean arg_force, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data) +{ + g_dbus_proxy_call (G_DBUS_PROXY (proxy), + "EnableUnitFiles", + g_variant_new ("(^asbb)", + arg_files, + arg_runtime, + arg_force), + G_DBUS_CALL_FLAGS_NONE, + -1, + cancellable, + callback, + user_data); +} + +/** + * systemd1_manager_call_enable_unit_files_finish: + * @proxy: A #Systemd1ManagerProxy. + * @out_carries_install_info: (out) (optional): Return location for return parameter or %NULL to ignore. + * @out_changes: (out) (optional): Return location for return parameter or %NULL to ignore. + * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to systemd1_manager_call_enable_unit_files(). + * @error: Return location for error or %NULL. + * + * Finishes an operation started with systemd1_manager_call_enable_unit_files(). + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_manager_call_enable_unit_files_finish ( + Systemd1Manager *proxy, + gboolean *out_carries_install_info, + GVariant **out_changes, + 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@a(sss))", + out_carries_install_info, + out_changes); + g_variant_unref (_ret); +_out: + return _ret != NULL; +} + +/** + * systemd1_manager_call_enable_unit_files_sync: + * @proxy: A #Systemd1ManagerProxy. + * @arg_files: Argument to pass with the method invocation. + * @arg_runtime: Argument to pass with the method invocation. + * @arg_force: Argument to pass with the method invocation. + * @out_carries_install_info: (out) (optional): Return location for return parameter or %NULL to ignore. + * @out_changes: (out) (optional): Return location for return parameter or %NULL to ignore. + * @cancellable: (nullable): A #GCancellable or %NULL. + * @error: Return location for error or %NULL. + * + * Synchronously invokes the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.EnableUnitFiles">EnableUnitFiles()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received. + * + * See systemd1_manager_call_enable_unit_files() for the asynchronous version of this method. + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_manager_call_enable_unit_files_sync ( + Systemd1Manager *proxy, + const gchar *const *arg_files, + gboolean arg_runtime, + gboolean arg_force, + gboolean *out_carries_install_info, + GVariant **out_changes, + GCancellable *cancellable, + GError **error) +{ + GVariant *_ret; + _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), + "EnableUnitFiles", + g_variant_new ("(^asbb)", + arg_files, + arg_runtime, + arg_force), + G_DBUS_CALL_FLAGS_NONE, + -1, + cancellable, + error); + if (_ret == NULL) + goto _out; + g_variant_get (_ret, + "(b@a(sss))", + out_carries_install_info, + out_changes); + g_variant_unref (_ret); +_out: + return _ret != NULL; +} + +/** + * systemd1_manager_call_disable_unit_files: + * @proxy: A #Systemd1ManagerProxy. + * @arg_files: Argument to pass with the method invocation. + * @arg_runtime: Argument to pass with the method invocation. + * @cancellable: (nullable): 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-systemd1-Manager.DisableUnitFiles">DisableUnitFiles()</link> D-Bus method on @proxy. + * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). + * You can then call systemd1_manager_call_disable_unit_files_finish() to get the result of the operation. + * + * See systemd1_manager_call_disable_unit_files_sync() for the synchronous, blocking version of this method. + */ +void +systemd1_manager_call_disable_unit_files ( + Systemd1Manager *proxy, + const gchar *const *arg_files, + gboolean arg_runtime, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data) +{ + g_dbus_proxy_call (G_DBUS_PROXY (proxy), + "DisableUnitFiles", + g_variant_new ("(^asb)", + arg_files, + arg_runtime), + G_DBUS_CALL_FLAGS_NONE, + -1, + cancellable, + callback, + user_data); +} + +/** + * systemd1_manager_call_disable_unit_files_finish: + * @proxy: A #Systemd1ManagerProxy. + * @out_changes: (out) (optional): Return location for return parameter or %NULL to ignore. + * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to systemd1_manager_call_disable_unit_files(). + * @error: Return location for error or %NULL. + * + * Finishes an operation started with systemd1_manager_call_disable_unit_files(). + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_manager_call_disable_unit_files_finish ( + Systemd1Manager *proxy, + GVariant **out_changes, + 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(sss))", + out_changes); + g_variant_unref (_ret); +_out: + return _ret != NULL; +} + +/** + * systemd1_manager_call_disable_unit_files_sync: + * @proxy: A #Systemd1ManagerProxy. + * @arg_files: Argument to pass with the method invocation. + * @arg_runtime: Argument to pass with the method invocation. + * @out_changes: (out) (optional): Return location for return parameter or %NULL to ignore. + * @cancellable: (nullable): A #GCancellable or %NULL. + * @error: Return location for error or %NULL. + * + * Synchronously invokes the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.DisableUnitFiles">DisableUnitFiles()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received. + * + * See systemd1_manager_call_disable_unit_files() for the asynchronous version of this method. + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_manager_call_disable_unit_files_sync ( + Systemd1Manager *proxy, + const gchar *const *arg_files, + gboolean arg_runtime, + GVariant **out_changes, + GCancellable *cancellable, + GError **error) +{ + GVariant *_ret; + _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), + "DisableUnitFiles", + g_variant_new ("(^asb)", + arg_files, + arg_runtime), + G_DBUS_CALL_FLAGS_NONE, + -1, + cancellable, + error); + if (_ret == NULL) + goto _out; + g_variant_get (_ret, + "(@a(sss))", + out_changes); + g_variant_unref (_ret); +_out: + return _ret != NULL; +} + +/** + * systemd1_manager_call_enable_unit_files_with_flags: + * @proxy: A #Systemd1ManagerProxy. + * @arg_files: Argument to pass with the method invocation. + * @arg_flags: Argument to pass with the method invocation. + * @cancellable: (nullable): 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-systemd1-Manager.EnableUnitFilesWithFlags">EnableUnitFilesWithFlags()</link> D-Bus method on @proxy. + * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). + * You can then call systemd1_manager_call_enable_unit_files_with_flags_finish() to get the result of the operation. + * + * See systemd1_manager_call_enable_unit_files_with_flags_sync() for the synchronous, blocking version of this method. + */ +void +systemd1_manager_call_enable_unit_files_with_flags ( + Systemd1Manager *proxy, + const gchar *const *arg_files, + guint64 arg_flags, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data) +{ + g_dbus_proxy_call (G_DBUS_PROXY (proxy), + "EnableUnitFilesWithFlags", + g_variant_new ("(^ast)", + arg_files, + arg_flags), + G_DBUS_CALL_FLAGS_NONE, + -1, + cancellable, + callback, + user_data); +} + +/** + * systemd1_manager_call_enable_unit_files_with_flags_finish: + * @proxy: A #Systemd1ManagerProxy. + * @out_carries_install_info: (out) (optional): Return location for return parameter or %NULL to ignore. + * @out_changes: (out) (optional): Return location for return parameter or %NULL to ignore. + * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to systemd1_manager_call_enable_unit_files_with_flags(). + * @error: Return location for error or %NULL. + * + * Finishes an operation started with systemd1_manager_call_enable_unit_files_with_flags(). + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_manager_call_enable_unit_files_with_flags_finish ( + Systemd1Manager *proxy, + gboolean *out_carries_install_info, + GVariant **out_changes, + 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@a(sss))", + out_carries_install_info, + out_changes); + g_variant_unref (_ret); +_out: + return _ret != NULL; +} + +/** + * systemd1_manager_call_enable_unit_files_with_flags_sync: + * @proxy: A #Systemd1ManagerProxy. + * @arg_files: Argument to pass with the method invocation. + * @arg_flags: Argument to pass with the method invocation. + * @out_carries_install_info: (out) (optional): Return location for return parameter or %NULL to ignore. + * @out_changes: (out) (optional): Return location for return parameter or %NULL to ignore. + * @cancellable: (nullable): A #GCancellable or %NULL. + * @error: Return location for error or %NULL. + * + * Synchronously invokes the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.EnableUnitFilesWithFlags">EnableUnitFilesWithFlags()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received. + * + * See systemd1_manager_call_enable_unit_files_with_flags() for the asynchronous version of this method. + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_manager_call_enable_unit_files_with_flags_sync ( + Systemd1Manager *proxy, + const gchar *const *arg_files, + guint64 arg_flags, + gboolean *out_carries_install_info, + GVariant **out_changes, + GCancellable *cancellable, + GError **error) +{ + GVariant *_ret; + _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), + "EnableUnitFilesWithFlags", + g_variant_new ("(^ast)", + arg_files, + arg_flags), + G_DBUS_CALL_FLAGS_NONE, + -1, + cancellable, + error); + if (_ret == NULL) + goto _out; + g_variant_get (_ret, + "(b@a(sss))", + out_carries_install_info, + out_changes); + g_variant_unref (_ret); +_out: + return _ret != NULL; +} + +/** + * systemd1_manager_call_disable_unit_files_with_flags: + * @proxy: A #Systemd1ManagerProxy. + * @arg_files: Argument to pass with the method invocation. + * @arg_flags: Argument to pass with the method invocation. + * @cancellable: (nullable): 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-systemd1-Manager.DisableUnitFilesWithFlags">DisableUnitFilesWithFlags()</link> D-Bus method on @proxy. + * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). + * You can then call systemd1_manager_call_disable_unit_files_with_flags_finish() to get the result of the operation. + * + * See systemd1_manager_call_disable_unit_files_with_flags_sync() for the synchronous, blocking version of this method. + */ +void +systemd1_manager_call_disable_unit_files_with_flags ( + Systemd1Manager *proxy, + const gchar *const *arg_files, + guint64 arg_flags, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data) +{ + g_dbus_proxy_call (G_DBUS_PROXY (proxy), + "DisableUnitFilesWithFlags", + g_variant_new ("(^ast)", + arg_files, + arg_flags), + G_DBUS_CALL_FLAGS_NONE, + -1, + cancellable, + callback, + user_data); +} + +/** + * systemd1_manager_call_disable_unit_files_with_flags_finish: + * @proxy: A #Systemd1ManagerProxy. + * @out_changes: (out) (optional): Return location for return parameter or %NULL to ignore. + * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to systemd1_manager_call_disable_unit_files_with_flags(). + * @error: Return location for error or %NULL. + * + * Finishes an operation started with systemd1_manager_call_disable_unit_files_with_flags(). + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_manager_call_disable_unit_files_with_flags_finish ( + Systemd1Manager *proxy, + GVariant **out_changes, + 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(sss))", + out_changes); + g_variant_unref (_ret); +_out: + return _ret != NULL; +} + +/** + * systemd1_manager_call_disable_unit_files_with_flags_sync: + * @proxy: A #Systemd1ManagerProxy. + * @arg_files: Argument to pass with the method invocation. + * @arg_flags: Argument to pass with the method invocation. + * @out_changes: (out) (optional): Return location for return parameter or %NULL to ignore. + * @cancellable: (nullable): A #GCancellable or %NULL. + * @error: Return location for error or %NULL. + * + * Synchronously invokes the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.DisableUnitFilesWithFlags">DisableUnitFilesWithFlags()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received. + * + * See systemd1_manager_call_disable_unit_files_with_flags() for the asynchronous version of this method. + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_manager_call_disable_unit_files_with_flags_sync ( + Systemd1Manager *proxy, + const gchar *const *arg_files, + guint64 arg_flags, + GVariant **out_changes, + GCancellable *cancellable, + GError **error) +{ + GVariant *_ret; + _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), + "DisableUnitFilesWithFlags", + g_variant_new ("(^ast)", + arg_files, + arg_flags), + G_DBUS_CALL_FLAGS_NONE, + -1, + cancellable, + error); + if (_ret == NULL) + goto _out; + g_variant_get (_ret, + "(@a(sss))", + out_changes); + g_variant_unref (_ret); +_out: + return _ret != NULL; +} + +/** + * systemd1_manager_call_reenable_unit_files: + * @proxy: A #Systemd1ManagerProxy. + * @arg_files: Argument to pass with the method invocation. + * @arg_runtime: Argument to pass with the method invocation. + * @arg_force: Argument to pass with the method invocation. + * @cancellable: (nullable): 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-systemd1-Manager.ReenableUnitFiles">ReenableUnitFiles()</link> D-Bus method on @proxy. + * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). + * You can then call systemd1_manager_call_reenable_unit_files_finish() to get the result of the operation. + * + * See systemd1_manager_call_reenable_unit_files_sync() for the synchronous, blocking version of this method. + */ +void +systemd1_manager_call_reenable_unit_files ( + Systemd1Manager *proxy, + const gchar *const *arg_files, + gboolean arg_runtime, + gboolean arg_force, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data) +{ + g_dbus_proxy_call (G_DBUS_PROXY (proxy), + "ReenableUnitFiles", + g_variant_new ("(^asbb)", + arg_files, + arg_runtime, + arg_force), + G_DBUS_CALL_FLAGS_NONE, + -1, + cancellable, + callback, + user_data); +} + +/** + * systemd1_manager_call_reenable_unit_files_finish: + * @proxy: A #Systemd1ManagerProxy. + * @out_carries_install_info: (out) (optional): Return location for return parameter or %NULL to ignore. + * @out_changes: (out) (optional): Return location for return parameter or %NULL to ignore. + * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to systemd1_manager_call_reenable_unit_files(). + * @error: Return location for error or %NULL. + * + * Finishes an operation started with systemd1_manager_call_reenable_unit_files(). + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_manager_call_reenable_unit_files_finish ( + Systemd1Manager *proxy, + gboolean *out_carries_install_info, + GVariant **out_changes, + 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@a(sss))", + out_carries_install_info, + out_changes); + g_variant_unref (_ret); +_out: + return _ret != NULL; +} + +/** + * systemd1_manager_call_reenable_unit_files_sync: + * @proxy: A #Systemd1ManagerProxy. + * @arg_files: Argument to pass with the method invocation. + * @arg_runtime: Argument to pass with the method invocation. + * @arg_force: Argument to pass with the method invocation. + * @out_carries_install_info: (out) (optional): Return location for return parameter or %NULL to ignore. + * @out_changes: (out) (optional): Return location for return parameter or %NULL to ignore. + * @cancellable: (nullable): A #GCancellable or %NULL. + * @error: Return location for error or %NULL. + * + * Synchronously invokes the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.ReenableUnitFiles">ReenableUnitFiles()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received. + * + * See systemd1_manager_call_reenable_unit_files() for the asynchronous version of this method. + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_manager_call_reenable_unit_files_sync ( + Systemd1Manager *proxy, + const gchar *const *arg_files, + gboolean arg_runtime, + gboolean arg_force, + gboolean *out_carries_install_info, + GVariant **out_changes, + GCancellable *cancellable, + GError **error) +{ + GVariant *_ret; + _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), + "ReenableUnitFiles", + g_variant_new ("(^asbb)", + arg_files, + arg_runtime, + arg_force), + G_DBUS_CALL_FLAGS_NONE, + -1, + cancellable, + error); + if (_ret == NULL) + goto _out; + g_variant_get (_ret, + "(b@a(sss))", + out_carries_install_info, + out_changes); + g_variant_unref (_ret); +_out: + return _ret != NULL; +} + +/** + * systemd1_manager_call_link_unit_files: + * @proxy: A #Systemd1ManagerProxy. + * @arg_files: Argument to pass with the method invocation. + * @arg_runtime: Argument to pass with the method invocation. + * @arg_force: Argument to pass with the method invocation. + * @cancellable: (nullable): 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-systemd1-Manager.LinkUnitFiles">LinkUnitFiles()</link> D-Bus method on @proxy. + * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). + * You can then call systemd1_manager_call_link_unit_files_finish() to get the result of the operation. + * + * See systemd1_manager_call_link_unit_files_sync() for the synchronous, blocking version of this method. + */ +void +systemd1_manager_call_link_unit_files ( + Systemd1Manager *proxy, + const gchar *const *arg_files, + gboolean arg_runtime, + gboolean arg_force, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data) +{ + g_dbus_proxy_call (G_DBUS_PROXY (proxy), + "LinkUnitFiles", + g_variant_new ("(^asbb)", + arg_files, + arg_runtime, + arg_force), + G_DBUS_CALL_FLAGS_NONE, + -1, + cancellable, + callback, + user_data); +} + +/** + * systemd1_manager_call_link_unit_files_finish: + * @proxy: A #Systemd1ManagerProxy. + * @out_changes: (out) (optional): Return location for return parameter or %NULL to ignore. + * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to systemd1_manager_call_link_unit_files(). + * @error: Return location for error or %NULL. + * + * Finishes an operation started with systemd1_manager_call_link_unit_files(). + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_manager_call_link_unit_files_finish ( + Systemd1Manager *proxy, + GVariant **out_changes, + 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(sss))", + out_changes); + g_variant_unref (_ret); +_out: + return _ret != NULL; +} + +/** + * systemd1_manager_call_link_unit_files_sync: + * @proxy: A #Systemd1ManagerProxy. + * @arg_files: Argument to pass with the method invocation. + * @arg_runtime: Argument to pass with the method invocation. + * @arg_force: Argument to pass with the method invocation. + * @out_changes: (out) (optional): Return location for return parameter or %NULL to ignore. + * @cancellable: (nullable): A #GCancellable or %NULL. + * @error: Return location for error or %NULL. + * + * Synchronously invokes the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.LinkUnitFiles">LinkUnitFiles()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received. + * + * See systemd1_manager_call_link_unit_files() for the asynchronous version of this method. + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_manager_call_link_unit_files_sync ( + Systemd1Manager *proxy, + const gchar *const *arg_files, + gboolean arg_runtime, + gboolean arg_force, + GVariant **out_changes, + GCancellable *cancellable, + GError **error) +{ + GVariant *_ret; + _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), + "LinkUnitFiles", + g_variant_new ("(^asbb)", + arg_files, + arg_runtime, + arg_force), + G_DBUS_CALL_FLAGS_NONE, + -1, + cancellable, + error); + if (_ret == NULL) + goto _out; + g_variant_get (_ret, + "(@a(sss))", + out_changes); + g_variant_unref (_ret); +_out: + return _ret != NULL; +} + +/** + * systemd1_manager_call_preset_unit_files: + * @proxy: A #Systemd1ManagerProxy. + * @arg_files: Argument to pass with the method invocation. + * @arg_runtime: Argument to pass with the method invocation. + * @arg_force: Argument to pass with the method invocation. + * @cancellable: (nullable): 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-systemd1-Manager.PresetUnitFiles">PresetUnitFiles()</link> D-Bus method on @proxy. + * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). + * You can then call systemd1_manager_call_preset_unit_files_finish() to get the result of the operation. + * + * See systemd1_manager_call_preset_unit_files_sync() for the synchronous, blocking version of this method. + */ +void +systemd1_manager_call_preset_unit_files ( + Systemd1Manager *proxy, + const gchar *const *arg_files, + gboolean arg_runtime, + gboolean arg_force, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data) +{ + g_dbus_proxy_call (G_DBUS_PROXY (proxy), + "PresetUnitFiles", + g_variant_new ("(^asbb)", + arg_files, + arg_runtime, + arg_force), + G_DBUS_CALL_FLAGS_NONE, + -1, + cancellable, + callback, + user_data); +} + +/** + * systemd1_manager_call_preset_unit_files_finish: + * @proxy: A #Systemd1ManagerProxy. + * @out_carries_install_info: (out) (optional): Return location for return parameter or %NULL to ignore. + * @out_changes: (out) (optional): Return location for return parameter or %NULL to ignore. + * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to systemd1_manager_call_preset_unit_files(). + * @error: Return location for error or %NULL. + * + * Finishes an operation started with systemd1_manager_call_preset_unit_files(). + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_manager_call_preset_unit_files_finish ( + Systemd1Manager *proxy, + gboolean *out_carries_install_info, + GVariant **out_changes, + 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@a(sss))", + out_carries_install_info, + out_changes); + g_variant_unref (_ret); +_out: + return _ret != NULL; +} + +/** + * systemd1_manager_call_preset_unit_files_sync: + * @proxy: A #Systemd1ManagerProxy. + * @arg_files: Argument to pass with the method invocation. + * @arg_runtime: Argument to pass with the method invocation. + * @arg_force: Argument to pass with the method invocation. + * @out_carries_install_info: (out) (optional): Return location for return parameter or %NULL to ignore. + * @out_changes: (out) (optional): Return location for return parameter or %NULL to ignore. + * @cancellable: (nullable): A #GCancellable or %NULL. + * @error: Return location for error or %NULL. + * + * Synchronously invokes the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.PresetUnitFiles">PresetUnitFiles()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received. + * + * See systemd1_manager_call_preset_unit_files() for the asynchronous version of this method. + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_manager_call_preset_unit_files_sync ( + Systemd1Manager *proxy, + const gchar *const *arg_files, + gboolean arg_runtime, + gboolean arg_force, + gboolean *out_carries_install_info, + GVariant **out_changes, + GCancellable *cancellable, + GError **error) +{ + GVariant *_ret; + _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), + "PresetUnitFiles", + g_variant_new ("(^asbb)", + arg_files, + arg_runtime, + arg_force), + G_DBUS_CALL_FLAGS_NONE, + -1, + cancellable, + error); + if (_ret == NULL) + goto _out; + g_variant_get (_ret, + "(b@a(sss))", + out_carries_install_info, + out_changes); + g_variant_unref (_ret); +_out: + return _ret != NULL; +} + +/** + * systemd1_manager_call_preset_unit_files_with_mode: + * @proxy: A #Systemd1ManagerProxy. + * @arg_files: Argument to pass with the method invocation. + * @arg_mode: Argument to pass with the method invocation. + * @arg_runtime: Argument to pass with the method invocation. + * @arg_force: Argument to pass with the method invocation. + * @cancellable: (nullable): 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-systemd1-Manager.PresetUnitFilesWithMode">PresetUnitFilesWithMode()</link> D-Bus method on @proxy. + * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). + * You can then call systemd1_manager_call_preset_unit_files_with_mode_finish() to get the result of the operation. + * + * See systemd1_manager_call_preset_unit_files_with_mode_sync() for the synchronous, blocking version of this method. + */ +void +systemd1_manager_call_preset_unit_files_with_mode ( + Systemd1Manager *proxy, + const gchar *const *arg_files, + const gchar *arg_mode, + gboolean arg_runtime, + gboolean arg_force, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data) +{ + g_dbus_proxy_call (G_DBUS_PROXY (proxy), + "PresetUnitFilesWithMode", + g_variant_new ("(^assbb)", + arg_files, + arg_mode, + arg_runtime, + arg_force), + G_DBUS_CALL_FLAGS_NONE, + -1, + cancellable, + callback, + user_data); +} + +/** + * systemd1_manager_call_preset_unit_files_with_mode_finish: + * @proxy: A #Systemd1ManagerProxy. + * @out_carries_install_info: (out) (optional): Return location for return parameter or %NULL to ignore. + * @out_changes: (out) (optional): Return location for return parameter or %NULL to ignore. + * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to systemd1_manager_call_preset_unit_files_with_mode(). + * @error: Return location for error or %NULL. + * + * Finishes an operation started with systemd1_manager_call_preset_unit_files_with_mode(). + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_manager_call_preset_unit_files_with_mode_finish ( + Systemd1Manager *proxy, + gboolean *out_carries_install_info, + GVariant **out_changes, + 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@a(sss))", + out_carries_install_info, + out_changes); + g_variant_unref (_ret); +_out: + return _ret != NULL; +} + +/** + * systemd1_manager_call_preset_unit_files_with_mode_sync: + * @proxy: A #Systemd1ManagerProxy. + * @arg_files: Argument to pass with the method invocation. + * @arg_mode: Argument to pass with the method invocation. + * @arg_runtime: Argument to pass with the method invocation. + * @arg_force: Argument to pass with the method invocation. + * @out_carries_install_info: (out) (optional): Return location for return parameter or %NULL to ignore. + * @out_changes: (out) (optional): Return location for return parameter or %NULL to ignore. + * @cancellable: (nullable): A #GCancellable or %NULL. + * @error: Return location for error or %NULL. + * + * Synchronously invokes the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.PresetUnitFilesWithMode">PresetUnitFilesWithMode()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received. + * + * See systemd1_manager_call_preset_unit_files_with_mode() for the asynchronous version of this method. + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_manager_call_preset_unit_files_with_mode_sync ( + Systemd1Manager *proxy, + const gchar *const *arg_files, + const gchar *arg_mode, + gboolean arg_runtime, + gboolean arg_force, + gboolean *out_carries_install_info, + GVariant **out_changes, + GCancellable *cancellable, + GError **error) +{ + GVariant *_ret; + _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), + "PresetUnitFilesWithMode", + g_variant_new ("(^assbb)", + arg_files, + arg_mode, + arg_runtime, + arg_force), + G_DBUS_CALL_FLAGS_NONE, + -1, + cancellable, + error); + if (_ret == NULL) + goto _out; + g_variant_get (_ret, + "(b@a(sss))", + out_carries_install_info, + out_changes); + g_variant_unref (_ret); +_out: + return _ret != NULL; +} + +/** + * systemd1_manager_call_mask_unit_files: + * @proxy: A #Systemd1ManagerProxy. + * @arg_files: Argument to pass with the method invocation. + * @arg_runtime: Argument to pass with the method invocation. + * @arg_force: Argument to pass with the method invocation. + * @cancellable: (nullable): 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-systemd1-Manager.MaskUnitFiles">MaskUnitFiles()</link> D-Bus method on @proxy. + * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). + * You can then call systemd1_manager_call_mask_unit_files_finish() to get the result of the operation. + * + * See systemd1_manager_call_mask_unit_files_sync() for the synchronous, blocking version of this method. + */ +void +systemd1_manager_call_mask_unit_files ( + Systemd1Manager *proxy, + const gchar *const *arg_files, + gboolean arg_runtime, + gboolean arg_force, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data) +{ + g_dbus_proxy_call (G_DBUS_PROXY (proxy), + "MaskUnitFiles", + g_variant_new ("(^asbb)", + arg_files, + arg_runtime, + arg_force), + G_DBUS_CALL_FLAGS_NONE, + -1, + cancellable, + callback, + user_data); +} + +/** + * systemd1_manager_call_mask_unit_files_finish: + * @proxy: A #Systemd1ManagerProxy. + * @out_changes: (out) (optional): Return location for return parameter or %NULL to ignore. + * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to systemd1_manager_call_mask_unit_files(). + * @error: Return location for error or %NULL. + * + * Finishes an operation started with systemd1_manager_call_mask_unit_files(). + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_manager_call_mask_unit_files_finish ( + Systemd1Manager *proxy, + GVariant **out_changes, + 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(sss))", + out_changes); + g_variant_unref (_ret); +_out: + return _ret != NULL; +} + +/** + * systemd1_manager_call_mask_unit_files_sync: + * @proxy: A #Systemd1ManagerProxy. + * @arg_files: Argument to pass with the method invocation. + * @arg_runtime: Argument to pass with the method invocation. + * @arg_force: Argument to pass with the method invocation. + * @out_changes: (out) (optional): Return location for return parameter or %NULL to ignore. + * @cancellable: (nullable): A #GCancellable or %NULL. + * @error: Return location for error or %NULL. + * + * Synchronously invokes the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.MaskUnitFiles">MaskUnitFiles()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received. + * + * See systemd1_manager_call_mask_unit_files() for the asynchronous version of this method. + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_manager_call_mask_unit_files_sync ( + Systemd1Manager *proxy, + const gchar *const *arg_files, + gboolean arg_runtime, + gboolean arg_force, + GVariant **out_changes, + GCancellable *cancellable, + GError **error) +{ + GVariant *_ret; + _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), + "MaskUnitFiles", + g_variant_new ("(^asbb)", + arg_files, + arg_runtime, + arg_force), + G_DBUS_CALL_FLAGS_NONE, + -1, + cancellable, + error); + if (_ret == NULL) + goto _out; + g_variant_get (_ret, + "(@a(sss))", + out_changes); + g_variant_unref (_ret); +_out: + return _ret != NULL; +} + +/** + * systemd1_manager_call_unmask_unit_files: + * @proxy: A #Systemd1ManagerProxy. + * @arg_files: Argument to pass with the method invocation. + * @arg_runtime: Argument to pass with the method invocation. + * @cancellable: (nullable): 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-systemd1-Manager.UnmaskUnitFiles">UnmaskUnitFiles()</link> D-Bus method on @proxy. + * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). + * You can then call systemd1_manager_call_unmask_unit_files_finish() to get the result of the operation. + * + * See systemd1_manager_call_unmask_unit_files_sync() for the synchronous, blocking version of this method. + */ +void +systemd1_manager_call_unmask_unit_files ( + Systemd1Manager *proxy, + const gchar *const *arg_files, + gboolean arg_runtime, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data) +{ + g_dbus_proxy_call (G_DBUS_PROXY (proxy), + "UnmaskUnitFiles", + g_variant_new ("(^asb)", + arg_files, + arg_runtime), + G_DBUS_CALL_FLAGS_NONE, + -1, + cancellable, + callback, + user_data); +} + +/** + * systemd1_manager_call_unmask_unit_files_finish: + * @proxy: A #Systemd1ManagerProxy. + * @out_changes: (out) (optional): Return location for return parameter or %NULL to ignore. + * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to systemd1_manager_call_unmask_unit_files(). + * @error: Return location for error or %NULL. + * + * Finishes an operation started with systemd1_manager_call_unmask_unit_files(). + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_manager_call_unmask_unit_files_finish ( + Systemd1Manager *proxy, + GVariant **out_changes, + 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(sss))", + out_changes); + g_variant_unref (_ret); +_out: + return _ret != NULL; +} + +/** + * systemd1_manager_call_unmask_unit_files_sync: + * @proxy: A #Systemd1ManagerProxy. + * @arg_files: Argument to pass with the method invocation. + * @arg_runtime: Argument to pass with the method invocation. + * @out_changes: (out) (optional): Return location for return parameter or %NULL to ignore. + * @cancellable: (nullable): A #GCancellable or %NULL. + * @error: Return location for error or %NULL. + * + * Synchronously invokes the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.UnmaskUnitFiles">UnmaskUnitFiles()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received. + * + * See systemd1_manager_call_unmask_unit_files() for the asynchronous version of this method. + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_manager_call_unmask_unit_files_sync ( + Systemd1Manager *proxy, + const gchar *const *arg_files, + gboolean arg_runtime, + GVariant **out_changes, + GCancellable *cancellable, + GError **error) +{ + GVariant *_ret; + _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), + "UnmaskUnitFiles", + g_variant_new ("(^asb)", + arg_files, + arg_runtime), + G_DBUS_CALL_FLAGS_NONE, + -1, + cancellable, + error); + if (_ret == NULL) + goto _out; + g_variant_get (_ret, + "(@a(sss))", + out_changes); + g_variant_unref (_ret); +_out: + return _ret != NULL; +} + +/** + * systemd1_manager_call_revert_unit_files: + * @proxy: A #Systemd1ManagerProxy. + * @arg_files: Argument to pass with the method invocation. + * @cancellable: (nullable): 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-systemd1-Manager.RevertUnitFiles">RevertUnitFiles()</link> D-Bus method on @proxy. + * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). + * You can then call systemd1_manager_call_revert_unit_files_finish() to get the result of the operation. + * + * See systemd1_manager_call_revert_unit_files_sync() for the synchronous, blocking version of this method. + */ +void +systemd1_manager_call_revert_unit_files ( + Systemd1Manager *proxy, + const gchar *const *arg_files, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data) +{ + g_dbus_proxy_call (G_DBUS_PROXY (proxy), + "RevertUnitFiles", + g_variant_new ("(^as)", + arg_files), + G_DBUS_CALL_FLAGS_NONE, + -1, + cancellable, + callback, + user_data); +} + +/** + * systemd1_manager_call_revert_unit_files_finish: + * @proxy: A #Systemd1ManagerProxy. + * @out_changes: (out) (optional): Return location for return parameter or %NULL to ignore. + * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to systemd1_manager_call_revert_unit_files(). + * @error: Return location for error or %NULL. + * + * Finishes an operation started with systemd1_manager_call_revert_unit_files(). + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_manager_call_revert_unit_files_finish ( + Systemd1Manager *proxy, + GVariant **out_changes, + 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(sss))", + out_changes); + g_variant_unref (_ret); +_out: + return _ret != NULL; +} + +/** + * systemd1_manager_call_revert_unit_files_sync: + * @proxy: A #Systemd1ManagerProxy. + * @arg_files: Argument to pass with the method invocation. + * @out_changes: (out) (optional): Return location for return parameter or %NULL to ignore. + * @cancellable: (nullable): A #GCancellable or %NULL. + * @error: Return location for error or %NULL. + * + * Synchronously invokes the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.RevertUnitFiles">RevertUnitFiles()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received. + * + * See systemd1_manager_call_revert_unit_files() for the asynchronous version of this method. + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_manager_call_revert_unit_files_sync ( + Systemd1Manager *proxy, + const gchar *const *arg_files, + GVariant **out_changes, + GCancellable *cancellable, + GError **error) +{ + GVariant *_ret; + _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), + "RevertUnitFiles", + g_variant_new ("(^as)", + arg_files), + G_DBUS_CALL_FLAGS_NONE, + -1, + cancellable, + error); + if (_ret == NULL) + goto _out; + g_variant_get (_ret, + "(@a(sss))", + out_changes); + g_variant_unref (_ret); +_out: + return _ret != NULL; +} + +/** + * systemd1_manager_call_set_default_target: + * @proxy: A #Systemd1ManagerProxy. + * @arg_name: Argument to pass with the method invocation. + * @arg_force: Argument to pass with the method invocation. + * @cancellable: (nullable): 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-systemd1-Manager.SetDefaultTarget">SetDefaultTarget()</link> D-Bus method on @proxy. + * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). + * You can then call systemd1_manager_call_set_default_target_finish() to get the result of the operation. + * + * See systemd1_manager_call_set_default_target_sync() for the synchronous, blocking version of this method. + */ +void +systemd1_manager_call_set_default_target ( + Systemd1Manager *proxy, + const gchar *arg_name, + gboolean arg_force, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data) +{ + g_dbus_proxy_call (G_DBUS_PROXY (proxy), + "SetDefaultTarget", + g_variant_new ("(sb)", + arg_name, + arg_force), + G_DBUS_CALL_FLAGS_NONE, + -1, + cancellable, + callback, + user_data); +} + +/** + * systemd1_manager_call_set_default_target_finish: + * @proxy: A #Systemd1ManagerProxy. + * @out_changes: (out) (optional): Return location for return parameter or %NULL to ignore. + * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to systemd1_manager_call_set_default_target(). + * @error: Return location for error or %NULL. + * + * Finishes an operation started with systemd1_manager_call_set_default_target(). + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_manager_call_set_default_target_finish ( + Systemd1Manager *proxy, + GVariant **out_changes, + 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(sss))", + out_changes); + g_variant_unref (_ret); +_out: + return _ret != NULL; +} + +/** + * systemd1_manager_call_set_default_target_sync: + * @proxy: A #Systemd1ManagerProxy. + * @arg_name: Argument to pass with the method invocation. + * @arg_force: Argument to pass with the method invocation. + * @out_changes: (out) (optional): Return location for return parameter or %NULL to ignore. + * @cancellable: (nullable): A #GCancellable or %NULL. + * @error: Return location for error or %NULL. + * + * Synchronously invokes the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.SetDefaultTarget">SetDefaultTarget()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received. + * + * See systemd1_manager_call_set_default_target() for the asynchronous version of this method. + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_manager_call_set_default_target_sync ( + Systemd1Manager *proxy, + const gchar *arg_name, + gboolean arg_force, + GVariant **out_changes, + GCancellable *cancellable, + GError **error) +{ + GVariant *_ret; + _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), + "SetDefaultTarget", + g_variant_new ("(sb)", + arg_name, + arg_force), + G_DBUS_CALL_FLAGS_NONE, + -1, + cancellable, + error); + if (_ret == NULL) + goto _out; + g_variant_get (_ret, + "(@a(sss))", + out_changes); + g_variant_unref (_ret); +_out: + return _ret != NULL; +} + +/** + * systemd1_manager_call_get_default_target: + * @proxy: A #Systemd1ManagerProxy. + * @cancellable: (nullable): 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-systemd1-Manager.GetDefaultTarget">GetDefaultTarget()</link> D-Bus method on @proxy. + * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). + * You can then call systemd1_manager_call_get_default_target_finish() to get the result of the operation. + * + * See systemd1_manager_call_get_default_target_sync() for the synchronous, blocking version of this method. + */ +void +systemd1_manager_call_get_default_target ( + Systemd1Manager *proxy, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data) +{ + g_dbus_proxy_call (G_DBUS_PROXY (proxy), + "GetDefaultTarget", + g_variant_new ("()"), + G_DBUS_CALL_FLAGS_NONE, + -1, + cancellable, + callback, + user_data); +} + +/** + * systemd1_manager_call_get_default_target_finish: + * @proxy: A #Systemd1ManagerProxy. + * @out_name: (out) (optional): Return location for return parameter or %NULL to ignore. + * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to systemd1_manager_call_get_default_target(). + * @error: Return location for error or %NULL. + * + * Finishes an operation started with systemd1_manager_call_get_default_target(). + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_manager_call_get_default_target_finish ( + Systemd1Manager *proxy, + gchar **out_name, + 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_name); + g_variant_unref (_ret); +_out: + return _ret != NULL; +} + +/** + * systemd1_manager_call_get_default_target_sync: + * @proxy: A #Systemd1ManagerProxy. + * @out_name: (out) (optional): Return location for return parameter or %NULL to ignore. + * @cancellable: (nullable): A #GCancellable or %NULL. + * @error: Return location for error or %NULL. + * + * Synchronously invokes the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.GetDefaultTarget">GetDefaultTarget()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received. + * + * See systemd1_manager_call_get_default_target() for the asynchronous version of this method. + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_manager_call_get_default_target_sync ( + Systemd1Manager *proxy, + gchar **out_name, + GCancellable *cancellable, + GError **error) +{ + GVariant *_ret; + _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), + "GetDefaultTarget", + g_variant_new ("()"), + G_DBUS_CALL_FLAGS_NONE, + -1, + cancellable, + error); + if (_ret == NULL) + goto _out; + g_variant_get (_ret, + "(s)", + out_name); + g_variant_unref (_ret); +_out: + return _ret != NULL; +} + +/** + * systemd1_manager_call_preset_all_unit_files: + * @proxy: A #Systemd1ManagerProxy. + * @arg_mode: Argument to pass with the method invocation. + * @arg_runtime: Argument to pass with the method invocation. + * @arg_force: Argument to pass with the method invocation. + * @cancellable: (nullable): 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-systemd1-Manager.PresetAllUnitFiles">PresetAllUnitFiles()</link> D-Bus method on @proxy. + * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). + * You can then call systemd1_manager_call_preset_all_unit_files_finish() to get the result of the operation. + * + * See systemd1_manager_call_preset_all_unit_files_sync() for the synchronous, blocking version of this method. + */ +void +systemd1_manager_call_preset_all_unit_files ( + Systemd1Manager *proxy, + const gchar *arg_mode, + gboolean arg_runtime, + gboolean arg_force, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data) +{ + g_dbus_proxy_call (G_DBUS_PROXY (proxy), + "PresetAllUnitFiles", + g_variant_new ("(sbb)", + arg_mode, + arg_runtime, + arg_force), + G_DBUS_CALL_FLAGS_NONE, + -1, + cancellable, + callback, + user_data); +} + +/** + * systemd1_manager_call_preset_all_unit_files_finish: + * @proxy: A #Systemd1ManagerProxy. + * @out_changes: (out) (optional): Return location for return parameter or %NULL to ignore. + * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to systemd1_manager_call_preset_all_unit_files(). + * @error: Return location for error or %NULL. + * + * Finishes an operation started with systemd1_manager_call_preset_all_unit_files(). + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_manager_call_preset_all_unit_files_finish ( + Systemd1Manager *proxy, + GVariant **out_changes, + 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(sss))", + out_changes); + g_variant_unref (_ret); +_out: + return _ret != NULL; +} + +/** + * systemd1_manager_call_preset_all_unit_files_sync: + * @proxy: A #Systemd1ManagerProxy. + * @arg_mode: Argument to pass with the method invocation. + * @arg_runtime: Argument to pass with the method invocation. + * @arg_force: Argument to pass with the method invocation. + * @out_changes: (out) (optional): Return location for return parameter or %NULL to ignore. + * @cancellable: (nullable): A #GCancellable or %NULL. + * @error: Return location for error or %NULL. + * + * Synchronously invokes the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.PresetAllUnitFiles">PresetAllUnitFiles()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received. + * + * See systemd1_manager_call_preset_all_unit_files() for the asynchronous version of this method. + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_manager_call_preset_all_unit_files_sync ( + Systemd1Manager *proxy, + const gchar *arg_mode, + gboolean arg_runtime, + gboolean arg_force, + GVariant **out_changes, + GCancellable *cancellable, + GError **error) +{ + GVariant *_ret; + _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), + "PresetAllUnitFiles", + g_variant_new ("(sbb)", + arg_mode, + arg_runtime, + arg_force), + G_DBUS_CALL_FLAGS_NONE, + -1, + cancellable, + error); + if (_ret == NULL) + goto _out; + g_variant_get (_ret, + "(@a(sss))", + out_changes); + g_variant_unref (_ret); +_out: + return _ret != NULL; +} + +/** + * systemd1_manager_call_add_dependency_unit_files: + * @proxy: A #Systemd1ManagerProxy. + * @arg_files: Argument to pass with the method invocation. + * @arg_target: Argument to pass with the method invocation. + * @arg_type: Argument to pass with the method invocation. + * @arg_runtime: Argument to pass with the method invocation. + * @arg_force: Argument to pass with the method invocation. + * @cancellable: (nullable): 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-systemd1-Manager.AddDependencyUnitFiles">AddDependencyUnitFiles()</link> D-Bus method on @proxy. + * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). + * You can then call systemd1_manager_call_add_dependency_unit_files_finish() to get the result of the operation. + * + * See systemd1_manager_call_add_dependency_unit_files_sync() for the synchronous, blocking version of this method. + */ +void +systemd1_manager_call_add_dependency_unit_files ( + Systemd1Manager *proxy, + const gchar *const *arg_files, + const gchar *arg_target, + const gchar *arg_type, + gboolean arg_runtime, + gboolean arg_force, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data) +{ + g_dbus_proxy_call (G_DBUS_PROXY (proxy), + "AddDependencyUnitFiles", + g_variant_new ("(^asssbb)", + arg_files, + arg_target, + arg_type, + arg_runtime, + arg_force), + G_DBUS_CALL_FLAGS_NONE, + -1, + cancellable, + callback, + user_data); +} + +/** + * systemd1_manager_call_add_dependency_unit_files_finish: + * @proxy: A #Systemd1ManagerProxy. + * @out_changes: (out) (optional): Return location for return parameter or %NULL to ignore. + * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to systemd1_manager_call_add_dependency_unit_files(). + * @error: Return location for error or %NULL. + * + * Finishes an operation started with systemd1_manager_call_add_dependency_unit_files(). + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_manager_call_add_dependency_unit_files_finish ( + Systemd1Manager *proxy, + GVariant **out_changes, + 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(sss))", + out_changes); + g_variant_unref (_ret); +_out: + return _ret != NULL; +} + +/** + * systemd1_manager_call_add_dependency_unit_files_sync: + * @proxy: A #Systemd1ManagerProxy. + * @arg_files: Argument to pass with the method invocation. + * @arg_target: Argument to pass with the method invocation. + * @arg_type: Argument to pass with the method invocation. + * @arg_runtime: Argument to pass with the method invocation. + * @arg_force: Argument to pass with the method invocation. + * @out_changes: (out) (optional): Return location for return parameter or %NULL to ignore. + * @cancellable: (nullable): A #GCancellable or %NULL. + * @error: Return location for error or %NULL. + * + * Synchronously invokes the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.AddDependencyUnitFiles">AddDependencyUnitFiles()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received. + * + * See systemd1_manager_call_add_dependency_unit_files() for the asynchronous version of this method. + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_manager_call_add_dependency_unit_files_sync ( + Systemd1Manager *proxy, + const gchar *const *arg_files, + const gchar *arg_target, + const gchar *arg_type, + gboolean arg_runtime, + gboolean arg_force, + GVariant **out_changes, + GCancellable *cancellable, + GError **error) +{ + GVariant *_ret; + _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), + "AddDependencyUnitFiles", + g_variant_new ("(^asssbb)", + arg_files, + arg_target, + arg_type, + arg_runtime, + arg_force), + G_DBUS_CALL_FLAGS_NONE, + -1, + cancellable, + error); + if (_ret == NULL) + goto _out; + g_variant_get (_ret, + "(@a(sss))", + out_changes); + g_variant_unref (_ret); +_out: + return _ret != NULL; +} + +/** + * systemd1_manager_call_get_unit_file_links: + * @proxy: A #Systemd1ManagerProxy. + * @arg_name: Argument to pass with the method invocation. + * @arg_runtime: Argument to pass with the method invocation. + * @cancellable: (nullable): 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-systemd1-Manager.GetUnitFileLinks">GetUnitFileLinks()</link> D-Bus method on @proxy. + * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). + * You can then call systemd1_manager_call_get_unit_file_links_finish() to get the result of the operation. + * + * See systemd1_manager_call_get_unit_file_links_sync() for the synchronous, blocking version of this method. + */ +void +systemd1_manager_call_get_unit_file_links ( + Systemd1Manager *proxy, + const gchar *arg_name, + gboolean arg_runtime, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data) +{ + g_dbus_proxy_call (G_DBUS_PROXY (proxy), + "GetUnitFileLinks", + g_variant_new ("(sb)", + arg_name, + arg_runtime), + G_DBUS_CALL_FLAGS_NONE, + -1, + cancellable, + callback, + user_data); +} + +/** + * systemd1_manager_call_get_unit_file_links_finish: + * @proxy: A #Systemd1ManagerProxy. + * @out_links: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. + * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to systemd1_manager_call_get_unit_file_links(). + * @error: Return location for error or %NULL. + * + * Finishes an operation started with systemd1_manager_call_get_unit_file_links(). + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_manager_call_get_unit_file_links_finish ( + Systemd1Manager *proxy, + gchar ***out_links, + 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, + "(^as)", + out_links); + g_variant_unref (_ret); +_out: + return _ret != NULL; +} + +/** + * systemd1_manager_call_get_unit_file_links_sync: + * @proxy: A #Systemd1ManagerProxy. + * @arg_name: Argument to pass with the method invocation. + * @arg_runtime: Argument to pass with the method invocation. + * @out_links: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore. + * @cancellable: (nullable): A #GCancellable or %NULL. + * @error: Return location for error or %NULL. + * + * Synchronously invokes the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.GetUnitFileLinks">GetUnitFileLinks()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received. + * + * See systemd1_manager_call_get_unit_file_links() for the asynchronous version of this method. + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_manager_call_get_unit_file_links_sync ( + Systemd1Manager *proxy, + const gchar *arg_name, + gboolean arg_runtime, + gchar ***out_links, + GCancellable *cancellable, + GError **error) +{ + GVariant *_ret; + _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), + "GetUnitFileLinks", + g_variant_new ("(sb)", + arg_name, + arg_runtime), + G_DBUS_CALL_FLAGS_NONE, + -1, + cancellable, + error); + if (_ret == NULL) + goto _out; + g_variant_get (_ret, + "(^as)", + out_links); + g_variant_unref (_ret); +_out: + return _ret != NULL; +} + +/** + * systemd1_manager_call_set_exit_code: + * @proxy: A #Systemd1ManagerProxy. + * @arg_number: Argument to pass with the method invocation. + * @cancellable: (nullable): 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-systemd1-Manager.SetExitCode">SetExitCode()</link> D-Bus method on @proxy. + * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). + * You can then call systemd1_manager_call_set_exit_code_finish() to get the result of the operation. + * + * See systemd1_manager_call_set_exit_code_sync() for the synchronous, blocking version of this method. + */ +void +systemd1_manager_call_set_exit_code ( + Systemd1Manager *proxy, + guchar arg_number, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data) +{ + g_dbus_proxy_call (G_DBUS_PROXY (proxy), + "SetExitCode", + g_variant_new ("(y)", + arg_number), + G_DBUS_CALL_FLAGS_NONE, + -1, + cancellable, + callback, + user_data); +} + +/** + * systemd1_manager_call_set_exit_code_finish: + * @proxy: A #Systemd1ManagerProxy. + * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to systemd1_manager_call_set_exit_code(). + * @error: Return location for error or %NULL. + * + * Finishes an operation started with systemd1_manager_call_set_exit_code(). + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_manager_call_set_exit_code_finish ( + Systemd1Manager *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; +} + +/** + * systemd1_manager_call_set_exit_code_sync: + * @proxy: A #Systemd1ManagerProxy. + * @arg_number: Argument to pass with the method invocation. + * @cancellable: (nullable): A #GCancellable or %NULL. + * @error: Return location for error or %NULL. + * + * Synchronously invokes the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.SetExitCode">SetExitCode()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received. + * + * See systemd1_manager_call_set_exit_code() for the asynchronous version of this method. + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_manager_call_set_exit_code_sync ( + Systemd1Manager *proxy, + guchar arg_number, + GCancellable *cancellable, + GError **error) +{ + GVariant *_ret; + _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), + "SetExitCode", + g_variant_new ("(y)", + arg_number), + 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; +} + +/** + * systemd1_manager_call_lookup_dynamic_user_by_name: + * @proxy: A #Systemd1ManagerProxy. + * @arg_name: Argument to pass with the method invocation. + * @cancellable: (nullable): 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-systemd1-Manager.LookupDynamicUserByName">LookupDynamicUserByName()</link> D-Bus method on @proxy. + * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). + * You can then call systemd1_manager_call_lookup_dynamic_user_by_name_finish() to get the result of the operation. + * + * See systemd1_manager_call_lookup_dynamic_user_by_name_sync() for the synchronous, blocking version of this method. + */ +void +systemd1_manager_call_lookup_dynamic_user_by_name ( + Systemd1Manager *proxy, + const gchar *arg_name, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data) +{ + g_dbus_proxy_call (G_DBUS_PROXY (proxy), + "LookupDynamicUserByName", + g_variant_new ("(s)", + arg_name), + G_DBUS_CALL_FLAGS_NONE, + -1, + cancellable, + callback, + user_data); +} + +/** + * systemd1_manager_call_lookup_dynamic_user_by_name_finish: + * @proxy: A #Systemd1ManagerProxy. + * @out_uid: (out) (optional): Return location for return parameter or %NULL to ignore. + * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to systemd1_manager_call_lookup_dynamic_user_by_name(). + * @error: Return location for error or %NULL. + * + * Finishes an operation started with systemd1_manager_call_lookup_dynamic_user_by_name(). + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_manager_call_lookup_dynamic_user_by_name_finish ( + Systemd1Manager *proxy, + guint *out_uid, + 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, + "(u)", + out_uid); + g_variant_unref (_ret); +_out: + return _ret != NULL; +} + +/** + * systemd1_manager_call_lookup_dynamic_user_by_name_sync: + * @proxy: A #Systemd1ManagerProxy. + * @arg_name: Argument to pass with the method invocation. + * @out_uid: (out) (optional): Return location for return parameter or %NULL to ignore. + * @cancellable: (nullable): A #GCancellable or %NULL. + * @error: Return location for error or %NULL. + * + * Synchronously invokes the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.LookupDynamicUserByName">LookupDynamicUserByName()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received. + * + * See systemd1_manager_call_lookup_dynamic_user_by_name() for the asynchronous version of this method. + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_manager_call_lookup_dynamic_user_by_name_sync ( + Systemd1Manager *proxy, + const gchar *arg_name, + guint *out_uid, + GCancellable *cancellable, + GError **error) +{ + GVariant *_ret; + _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), + "LookupDynamicUserByName", + g_variant_new ("(s)", + arg_name), + G_DBUS_CALL_FLAGS_NONE, + -1, + cancellable, + error); + if (_ret == NULL) + goto _out; + g_variant_get (_ret, + "(u)", + out_uid); + g_variant_unref (_ret); +_out: + return _ret != NULL; +} + +/** + * systemd1_manager_call_lookup_dynamic_user_by_uid: + * @proxy: A #Systemd1ManagerProxy. + * @arg_uid: Argument to pass with the method invocation. + * @cancellable: (nullable): 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-systemd1-Manager.LookupDynamicUserByUID">LookupDynamicUserByUID()</link> D-Bus method on @proxy. + * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). + * You can then call systemd1_manager_call_lookup_dynamic_user_by_uid_finish() to get the result of the operation. + * + * See systemd1_manager_call_lookup_dynamic_user_by_uid_sync() for the synchronous, blocking version of this method. + */ +void +systemd1_manager_call_lookup_dynamic_user_by_uid ( + Systemd1Manager *proxy, + guint arg_uid, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data) +{ + g_dbus_proxy_call (G_DBUS_PROXY (proxy), + "LookupDynamicUserByUID", + g_variant_new ("(u)", + arg_uid), + G_DBUS_CALL_FLAGS_NONE, + -1, + cancellable, + callback, + user_data); +} + +/** + * systemd1_manager_call_lookup_dynamic_user_by_uid_finish: + * @proxy: A #Systemd1ManagerProxy. + * @out_name: (out) (optional): Return location for return parameter or %NULL to ignore. + * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to systemd1_manager_call_lookup_dynamic_user_by_uid(). + * @error: Return location for error or %NULL. + * + * Finishes an operation started with systemd1_manager_call_lookup_dynamic_user_by_uid(). + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_manager_call_lookup_dynamic_user_by_uid_finish ( + Systemd1Manager *proxy, + gchar **out_name, + 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_name); + g_variant_unref (_ret); +_out: + return _ret != NULL; +} + +/** + * systemd1_manager_call_lookup_dynamic_user_by_uid_sync: + * @proxy: A #Systemd1ManagerProxy. + * @arg_uid: Argument to pass with the method invocation. + * @out_name: (out) (optional): Return location for return parameter or %NULL to ignore. + * @cancellable: (nullable): A #GCancellable or %NULL. + * @error: Return location for error or %NULL. + * + * Synchronously invokes the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.LookupDynamicUserByUID">LookupDynamicUserByUID()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received. + * + * See systemd1_manager_call_lookup_dynamic_user_by_uid() for the asynchronous version of this method. + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_manager_call_lookup_dynamic_user_by_uid_sync ( + Systemd1Manager *proxy, + guint arg_uid, + gchar **out_name, + GCancellable *cancellable, + GError **error) +{ + GVariant *_ret; + _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), + "LookupDynamicUserByUID", + g_variant_new ("(u)", + arg_uid), + G_DBUS_CALL_FLAGS_NONE, + -1, + cancellable, + error); + if (_ret == NULL) + goto _out; + g_variant_get (_ret, + "(s)", + out_name); + g_variant_unref (_ret); +_out: + return _ret != NULL; +} + +/** + * systemd1_manager_call_get_dynamic_users: + * @proxy: A #Systemd1ManagerProxy. + * @cancellable: (nullable): 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-systemd1-Manager.GetDynamicUsers">GetDynamicUsers()</link> D-Bus method on @proxy. + * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). + * You can then call systemd1_manager_call_get_dynamic_users_finish() to get the result of the operation. + * + * See systemd1_manager_call_get_dynamic_users_sync() for the synchronous, blocking version of this method. + */ +void +systemd1_manager_call_get_dynamic_users ( + Systemd1Manager *proxy, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data) +{ + g_dbus_proxy_call (G_DBUS_PROXY (proxy), + "GetDynamicUsers", + g_variant_new ("()"), + G_DBUS_CALL_FLAGS_NONE, + -1, + cancellable, + callback, + user_data); +} + +/** + * systemd1_manager_call_get_dynamic_users_finish: + * @proxy: A #Systemd1ManagerProxy. + * @out_users: (out) (optional): Return location for return parameter or %NULL to ignore. + * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to systemd1_manager_call_get_dynamic_users(). + * @error: Return location for error or %NULL. + * + * Finishes an operation started with systemd1_manager_call_get_dynamic_users(). + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_manager_call_get_dynamic_users_finish ( + Systemd1Manager *proxy, + GVariant **out_users, + 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(us))", + out_users); + g_variant_unref (_ret); +_out: + return _ret != NULL; +} + +/** + * systemd1_manager_call_get_dynamic_users_sync: + * @proxy: A #Systemd1ManagerProxy. + * @out_users: (out) (optional): Return location for return parameter or %NULL to ignore. + * @cancellable: (nullable): A #GCancellable or %NULL. + * @error: Return location for error or %NULL. + * + * Synchronously invokes the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.GetDynamicUsers">GetDynamicUsers()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received. + * + * See systemd1_manager_call_get_dynamic_users() for the asynchronous version of this method. + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_manager_call_get_dynamic_users_sync ( + Systemd1Manager *proxy, + GVariant **out_users, + GCancellable *cancellable, + GError **error) +{ + GVariant *_ret; + _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), + "GetDynamicUsers", + g_variant_new ("()"), + G_DBUS_CALL_FLAGS_NONE, + -1, + cancellable, + error); + if (_ret == NULL) + goto _out; + g_variant_get (_ret, + "(@a(us))", + out_users); + g_variant_unref (_ret); +_out: + return _ret != NULL; +} + +/** + * systemd1_manager_complete_get_unit: + * @object: A #Systemd1Manager. + * @invocation: (transfer full): A #GDBusMethodInvocation. + * @unit: Parameter to return. + * + * Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.GetUnit">GetUnit()</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 +systemd1_manager_complete_get_unit ( + Systemd1Manager *object G_GNUC_UNUSED, + GDBusMethodInvocation *invocation, + const gchar *unit) +{ + g_dbus_method_invocation_return_value (invocation, + g_variant_new ("(o)", + unit)); +} + +/** + * systemd1_manager_complete_get_unit_by_pid: + * @object: A #Systemd1Manager. + * @invocation: (transfer full): A #GDBusMethodInvocation. + * @unit: Parameter to return. + * + * Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.GetUnitByPID">GetUnitByPID()</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 +systemd1_manager_complete_get_unit_by_pid ( + Systemd1Manager *object G_GNUC_UNUSED, + GDBusMethodInvocation *invocation, + const gchar *unit) +{ + g_dbus_method_invocation_return_value (invocation, + g_variant_new ("(o)", + unit)); +} + +/** + * systemd1_manager_complete_get_unit_by_invocation_id: + * @object: A #Systemd1Manager. + * @invocation: (transfer full): A #GDBusMethodInvocation. + * @unit: Parameter to return. + * + * Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.GetUnitByInvocationID">GetUnitByInvocationID()</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 +systemd1_manager_complete_get_unit_by_invocation_id ( + Systemd1Manager *object G_GNUC_UNUSED, + GDBusMethodInvocation *invocation, + const gchar *unit) +{ + g_dbus_method_invocation_return_value (invocation, + g_variant_new ("(o)", + unit)); +} + +/** + * systemd1_manager_complete_get_unit_by_control_group: + * @object: A #Systemd1Manager. + * @invocation: (transfer full): A #GDBusMethodInvocation. + * @unit: Parameter to return. + * + * Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.GetUnitByControlGroup">GetUnitByControlGroup()</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 +systemd1_manager_complete_get_unit_by_control_group ( + Systemd1Manager *object G_GNUC_UNUSED, + GDBusMethodInvocation *invocation, + const gchar *unit) +{ + g_dbus_method_invocation_return_value (invocation, + g_variant_new ("(o)", + unit)); +} + +/** + * systemd1_manager_complete_load_unit: + * @object: A #Systemd1Manager. + * @invocation: (transfer full): A #GDBusMethodInvocation. + * @unit: Parameter to return. + * + * Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.LoadUnit">LoadUnit()</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 +systemd1_manager_complete_load_unit ( + Systemd1Manager *object G_GNUC_UNUSED, + GDBusMethodInvocation *invocation, + const gchar *unit) +{ + g_dbus_method_invocation_return_value (invocation, + g_variant_new ("(o)", + unit)); +} + +/** + * systemd1_manager_complete_start_unit: + * @object: A #Systemd1Manager. + * @invocation: (transfer full): A #GDBusMethodInvocation. + * @job: Parameter to return. + * + * Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.StartUnit">StartUnit()</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 +systemd1_manager_complete_start_unit ( + Systemd1Manager *object G_GNUC_UNUSED, + GDBusMethodInvocation *invocation, + const gchar *job) +{ + g_dbus_method_invocation_return_value (invocation, + g_variant_new ("(o)", + job)); +} + +/** + * systemd1_manager_complete_start_unit_replace: + * @object: A #Systemd1Manager. + * @invocation: (transfer full): A #GDBusMethodInvocation. + * @job: Parameter to return. + * + * Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.StartUnitReplace">StartUnitReplace()</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 +systemd1_manager_complete_start_unit_replace ( + Systemd1Manager *object G_GNUC_UNUSED, + GDBusMethodInvocation *invocation, + const gchar *job) +{ + g_dbus_method_invocation_return_value (invocation, + g_variant_new ("(o)", + job)); +} + +/** + * systemd1_manager_complete_stop_unit: + * @object: A #Systemd1Manager. + * @invocation: (transfer full): A #GDBusMethodInvocation. + * @job: Parameter to return. + * + * Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.StopUnit">StopUnit()</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 +systemd1_manager_complete_stop_unit ( + Systemd1Manager *object G_GNUC_UNUSED, + GDBusMethodInvocation *invocation, + const gchar *job) +{ + g_dbus_method_invocation_return_value (invocation, + g_variant_new ("(o)", + job)); +} + +/** + * systemd1_manager_complete_reload_unit: + * @object: A #Systemd1Manager. + * @invocation: (transfer full): A #GDBusMethodInvocation. + * @job: Parameter to return. + * + * Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.ReloadUnit">ReloadUnit()</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 +systemd1_manager_complete_reload_unit ( + Systemd1Manager *object G_GNUC_UNUSED, + GDBusMethodInvocation *invocation, + const gchar *job) +{ + g_dbus_method_invocation_return_value (invocation, + g_variant_new ("(o)", + job)); +} + +/** + * systemd1_manager_complete_restart_unit: + * @object: A #Systemd1Manager. + * @invocation: (transfer full): A #GDBusMethodInvocation. + * @job: Parameter to return. + * + * Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.RestartUnit">RestartUnit()</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 +systemd1_manager_complete_restart_unit ( + Systemd1Manager *object G_GNUC_UNUSED, + GDBusMethodInvocation *invocation, + const gchar *job) +{ + g_dbus_method_invocation_return_value (invocation, + g_variant_new ("(o)", + job)); +} + +/** + * systemd1_manager_complete_try_restart_unit: + * @object: A #Systemd1Manager. + * @invocation: (transfer full): A #GDBusMethodInvocation. + * @job: Parameter to return. + * + * Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.TryRestartUnit">TryRestartUnit()</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 +systemd1_manager_complete_try_restart_unit ( + Systemd1Manager *object G_GNUC_UNUSED, + GDBusMethodInvocation *invocation, + const gchar *job) +{ + g_dbus_method_invocation_return_value (invocation, + g_variant_new ("(o)", + job)); +} + +/** + * systemd1_manager_complete_reload_or_restart_unit: + * @object: A #Systemd1Manager. + * @invocation: (transfer full): A #GDBusMethodInvocation. + * @job: Parameter to return. + * + * Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.ReloadOrRestartUnit">ReloadOrRestartUnit()</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 +systemd1_manager_complete_reload_or_restart_unit ( + Systemd1Manager *object G_GNUC_UNUSED, + GDBusMethodInvocation *invocation, + const gchar *job) +{ + g_dbus_method_invocation_return_value (invocation, + g_variant_new ("(o)", + job)); +} + +/** + * systemd1_manager_complete_reload_or_try_restart_unit: + * @object: A #Systemd1Manager. + * @invocation: (transfer full): A #GDBusMethodInvocation. + * @job: Parameter to return. + * + * Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.ReloadOrTryRestartUnit">ReloadOrTryRestartUnit()</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 +systemd1_manager_complete_reload_or_try_restart_unit ( + Systemd1Manager *object G_GNUC_UNUSED, + GDBusMethodInvocation *invocation, + const gchar *job) +{ + g_dbus_method_invocation_return_value (invocation, + g_variant_new ("(o)", + job)); +} + +/** + * systemd1_manager_complete_enqueue_unit_job: + * @object: A #Systemd1Manager. + * @invocation: (transfer full): A #GDBusMethodInvocation. + * @job_id: Parameter to return. + * @job_path: Parameter to return. + * @unit_id: Parameter to return. + * @unit_path: Parameter to return. + * @job_type: Parameter to return. + * @affected_jobs: Parameter to return. + * + * Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.EnqueueUnitJob">EnqueueUnitJob()</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 +systemd1_manager_complete_enqueue_unit_job ( + Systemd1Manager *object G_GNUC_UNUSED, + GDBusMethodInvocation *invocation, + guint job_id, + const gchar *job_path, + const gchar *unit_id, + const gchar *unit_path, + const gchar *job_type, + GVariant *affected_jobs) +{ + g_dbus_method_invocation_return_value (invocation, + g_variant_new ("(uosos@a(uosos))", + job_id, + job_path, + unit_id, + unit_path, + job_type, + affected_jobs)); +} + +/** + * systemd1_manager_complete_kill_unit: + * @object: A #Systemd1Manager. + * @invocation: (transfer full): A #GDBusMethodInvocation. + * + * Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.KillUnit">KillUnit()</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 +systemd1_manager_complete_kill_unit ( + Systemd1Manager *object G_GNUC_UNUSED, + GDBusMethodInvocation *invocation) +{ + g_dbus_method_invocation_return_value (invocation, + g_variant_new ("()")); +} + +/** + * systemd1_manager_complete_clean_unit: + * @object: A #Systemd1Manager. + * @invocation: (transfer full): A #GDBusMethodInvocation. + * + * Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.CleanUnit">CleanUnit()</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 +systemd1_manager_complete_clean_unit ( + Systemd1Manager *object G_GNUC_UNUSED, + GDBusMethodInvocation *invocation) +{ + g_dbus_method_invocation_return_value (invocation, + g_variant_new ("()")); +} + +/** + * systemd1_manager_complete_freeze_unit: + * @object: A #Systemd1Manager. + * @invocation: (transfer full): A #GDBusMethodInvocation. + * + * Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.FreezeUnit">FreezeUnit()</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 +systemd1_manager_complete_freeze_unit ( + Systemd1Manager *object G_GNUC_UNUSED, + GDBusMethodInvocation *invocation) +{ + g_dbus_method_invocation_return_value (invocation, + g_variant_new ("()")); +} + +/** + * systemd1_manager_complete_thaw_unit: + * @object: A #Systemd1Manager. + * @invocation: (transfer full): A #GDBusMethodInvocation. + * + * Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.ThawUnit">ThawUnit()</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 +systemd1_manager_complete_thaw_unit ( + Systemd1Manager *object G_GNUC_UNUSED, + GDBusMethodInvocation *invocation) +{ + g_dbus_method_invocation_return_value (invocation, + g_variant_new ("()")); +} + +/** + * systemd1_manager_complete_reset_failed_unit: + * @object: A #Systemd1Manager. + * @invocation: (transfer full): A #GDBusMethodInvocation. + * + * Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.ResetFailedUnit">ResetFailedUnit()</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 +systemd1_manager_complete_reset_failed_unit ( + Systemd1Manager *object G_GNUC_UNUSED, + GDBusMethodInvocation *invocation) +{ + g_dbus_method_invocation_return_value (invocation, + g_variant_new ("()")); +} + +/** + * systemd1_manager_complete_set_unit_properties: + * @object: A #Systemd1Manager. + * @invocation: (transfer full): A #GDBusMethodInvocation. + * + * Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.SetUnitProperties">SetUnitProperties()</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 +systemd1_manager_complete_set_unit_properties ( + Systemd1Manager *object G_GNUC_UNUSED, + GDBusMethodInvocation *invocation) +{ + g_dbus_method_invocation_return_value (invocation, + g_variant_new ("()")); +} + +/** + * systemd1_manager_complete_bind_mount_unit: + * @object: A #Systemd1Manager. + * @invocation: (transfer full): A #GDBusMethodInvocation. + * + * Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.BindMountUnit">BindMountUnit()</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 +systemd1_manager_complete_bind_mount_unit ( + Systemd1Manager *object G_GNUC_UNUSED, + GDBusMethodInvocation *invocation) +{ + g_dbus_method_invocation_return_value (invocation, + g_variant_new ("()")); +} + +/** + * systemd1_manager_complete_mount_image_unit: + * @object: A #Systemd1Manager. + * @invocation: (transfer full): A #GDBusMethodInvocation. + * + * Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.MountImageUnit">MountImageUnit()</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 +systemd1_manager_complete_mount_image_unit ( + Systemd1Manager *object G_GNUC_UNUSED, + GDBusMethodInvocation *invocation) +{ + g_dbus_method_invocation_return_value (invocation, + g_variant_new ("()")); +} + +/** + * systemd1_manager_complete_ref_unit: + * @object: A #Systemd1Manager. + * @invocation: (transfer full): A #GDBusMethodInvocation. + * + * Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.RefUnit">RefUnit()</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 +systemd1_manager_complete_ref_unit ( + Systemd1Manager *object G_GNUC_UNUSED, + GDBusMethodInvocation *invocation) +{ + g_dbus_method_invocation_return_value (invocation, + g_variant_new ("()")); +} + +/** + * systemd1_manager_complete_unref_unit: + * @object: A #Systemd1Manager. + * @invocation: (transfer full): A #GDBusMethodInvocation. + * + * Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.UnrefUnit">UnrefUnit()</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 +systemd1_manager_complete_unref_unit ( + Systemd1Manager *object G_GNUC_UNUSED, + GDBusMethodInvocation *invocation) +{ + g_dbus_method_invocation_return_value (invocation, + g_variant_new ("()")); +} + +/** + * systemd1_manager_complete_start_transient_unit: + * @object: A #Systemd1Manager. + * @invocation: (transfer full): A #GDBusMethodInvocation. + * @job: Parameter to return. + * + * Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.StartTransientUnit">StartTransientUnit()</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 +systemd1_manager_complete_start_transient_unit ( + Systemd1Manager *object G_GNUC_UNUSED, + GDBusMethodInvocation *invocation, + const gchar *job) +{ + g_dbus_method_invocation_return_value (invocation, + g_variant_new ("(o)", + job)); +} + +/** + * systemd1_manager_complete_get_unit_processes: + * @object: A #Systemd1Manager. + * @invocation: (transfer full): A #GDBusMethodInvocation. + * @processes: Parameter to return. + * + * Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.GetUnitProcesses">GetUnitProcesses()</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 +systemd1_manager_complete_get_unit_processes ( + Systemd1Manager *object G_GNUC_UNUSED, + GDBusMethodInvocation *invocation, + GVariant *processes) +{ + g_dbus_method_invocation_return_value (invocation, + g_variant_new ("(@a(sus))", + processes)); +} + +/** + * systemd1_manager_complete_attach_processes_to_unit: + * @object: A #Systemd1Manager. + * @invocation: (transfer full): A #GDBusMethodInvocation. + * + * Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.AttachProcessesToUnit">AttachProcessesToUnit()</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 +systemd1_manager_complete_attach_processes_to_unit ( + Systemd1Manager *object G_GNUC_UNUSED, + GDBusMethodInvocation *invocation) +{ + g_dbus_method_invocation_return_value (invocation, + g_variant_new ("()")); +} + +/** + * systemd1_manager_complete_abandon_scope: + * @object: A #Systemd1Manager. + * @invocation: (transfer full): A #GDBusMethodInvocation. + * + * Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.AbandonScope">AbandonScope()</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 +systemd1_manager_complete_abandon_scope ( + Systemd1Manager *object G_GNUC_UNUSED, + GDBusMethodInvocation *invocation) +{ + g_dbus_method_invocation_return_value (invocation, + g_variant_new ("()")); +} + +/** + * systemd1_manager_complete_get_job: + * @object: A #Systemd1Manager. + * @invocation: (transfer full): A #GDBusMethodInvocation. + * @job: Parameter to return. + * + * Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.GetJob">GetJob()</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 +systemd1_manager_complete_get_job ( + Systemd1Manager *object G_GNUC_UNUSED, + GDBusMethodInvocation *invocation, + const gchar *job) +{ + g_dbus_method_invocation_return_value (invocation, + g_variant_new ("(o)", + job)); +} + +/** + * systemd1_manager_complete_get_job_after: + * @object: A #Systemd1Manager. + * @invocation: (transfer full): A #GDBusMethodInvocation. + * @jobs: Parameter to return. + * + * Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.GetJobAfter">GetJobAfter()</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 +systemd1_manager_complete_get_job_after ( + Systemd1Manager *object G_GNUC_UNUSED, + GDBusMethodInvocation *invocation, + GVariant *jobs) +{ + g_dbus_method_invocation_return_value (invocation, + g_variant_new ("(@a(usssoo))", + jobs)); +} + +/** + * systemd1_manager_complete_get_job_before: + * @object: A #Systemd1Manager. + * @invocation: (transfer full): A #GDBusMethodInvocation. + * @jobs: Parameter to return. + * + * Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.GetJobBefore">GetJobBefore()</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 +systemd1_manager_complete_get_job_before ( + Systemd1Manager *object G_GNUC_UNUSED, + GDBusMethodInvocation *invocation, + GVariant *jobs) +{ + g_dbus_method_invocation_return_value (invocation, + g_variant_new ("(@a(usssoo))", + jobs)); +} + +/** + * systemd1_manager_complete_cancel_job: + * @object: A #Systemd1Manager. + * @invocation: (transfer full): A #GDBusMethodInvocation. + * + * Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.CancelJob">CancelJob()</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 +systemd1_manager_complete_cancel_job ( + Systemd1Manager *object G_GNUC_UNUSED, + GDBusMethodInvocation *invocation) +{ + g_dbus_method_invocation_return_value (invocation, + g_variant_new ("()")); +} + +/** + * systemd1_manager_complete_clear_jobs: + * @object: A #Systemd1Manager. + * @invocation: (transfer full): A #GDBusMethodInvocation. + * + * Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.ClearJobs">ClearJobs()</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 +systemd1_manager_complete_clear_jobs ( + Systemd1Manager *object G_GNUC_UNUSED, + GDBusMethodInvocation *invocation) +{ + g_dbus_method_invocation_return_value (invocation, + g_variant_new ("()")); +} + +/** + * systemd1_manager_complete_reset_failed: + * @object: A #Systemd1Manager. + * @invocation: (transfer full): A #GDBusMethodInvocation. + * + * Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.ResetFailed">ResetFailed()</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 +systemd1_manager_complete_reset_failed ( + Systemd1Manager *object G_GNUC_UNUSED, + GDBusMethodInvocation *invocation) +{ + g_dbus_method_invocation_return_value (invocation, + g_variant_new ("()")); +} + +/** + * systemd1_manager_complete_set_show_status: + * @object: A #Systemd1Manager. + * @invocation: (transfer full): A #GDBusMethodInvocation. + * + * Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.SetShowStatus">SetShowStatus()</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 +systemd1_manager_complete_set_show_status ( + Systemd1Manager *object G_GNUC_UNUSED, + GDBusMethodInvocation *invocation) +{ + g_dbus_method_invocation_return_value (invocation, + g_variant_new ("()")); +} + +/** + * systemd1_manager_complete_list_units: + * @object: A #Systemd1Manager. + * @invocation: (transfer full): A #GDBusMethodInvocation. + * @units: Parameter to return. + * + * Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.ListUnits">ListUnits()</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 +systemd1_manager_complete_list_units ( + Systemd1Manager *object G_GNUC_UNUSED, + GDBusMethodInvocation *invocation, + GVariant *units) +{ + g_dbus_method_invocation_return_value (invocation, + g_variant_new ("(@a(ssssssouso))", + units)); +} + +/** + * systemd1_manager_complete_list_units_filtered: + * @object: A #Systemd1Manager. + * @invocation: (transfer full): A #GDBusMethodInvocation. + * @units: Parameter to return. + * + * Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.ListUnitsFiltered">ListUnitsFiltered()</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 +systemd1_manager_complete_list_units_filtered ( + Systemd1Manager *object G_GNUC_UNUSED, + GDBusMethodInvocation *invocation, + GVariant *units) +{ + g_dbus_method_invocation_return_value (invocation, + g_variant_new ("(@a(ssssssouso))", + units)); +} + +/** + * systemd1_manager_complete_list_units_by_patterns: + * @object: A #Systemd1Manager. + * @invocation: (transfer full): A #GDBusMethodInvocation. + * @units: Parameter to return. + * + * Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.ListUnitsByPatterns">ListUnitsByPatterns()</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 +systemd1_manager_complete_list_units_by_patterns ( + Systemd1Manager *object G_GNUC_UNUSED, + GDBusMethodInvocation *invocation, + GVariant *units) +{ + g_dbus_method_invocation_return_value (invocation, + g_variant_new ("(@a(ssssssouso))", + units)); +} + +/** + * systemd1_manager_complete_list_units_by_names: + * @object: A #Systemd1Manager. + * @invocation: (transfer full): A #GDBusMethodInvocation. + * @units: Parameter to return. + * + * Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.ListUnitsByNames">ListUnitsByNames()</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 +systemd1_manager_complete_list_units_by_names ( + Systemd1Manager *object G_GNUC_UNUSED, + GDBusMethodInvocation *invocation, + GVariant *units) +{ + g_dbus_method_invocation_return_value (invocation, + g_variant_new ("(@a(ssssssouso))", + units)); +} + +/** + * systemd1_manager_complete_list_jobs: + * @object: A #Systemd1Manager. + * @invocation: (transfer full): A #GDBusMethodInvocation. + * @jobs: Parameter to return. + * + * Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.ListJobs">ListJobs()</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 +systemd1_manager_complete_list_jobs ( + Systemd1Manager *object G_GNUC_UNUSED, + GDBusMethodInvocation *invocation, + GVariant *jobs) +{ + g_dbus_method_invocation_return_value (invocation, + g_variant_new ("(@a(usssoo))", + jobs)); +} + +/** + * systemd1_manager_complete_subscribe: + * @object: A #Systemd1Manager. + * @invocation: (transfer full): A #GDBusMethodInvocation. + * + * Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.Subscribe">Subscribe()</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 +systemd1_manager_complete_subscribe ( + Systemd1Manager *object G_GNUC_UNUSED, + GDBusMethodInvocation *invocation) +{ + g_dbus_method_invocation_return_value (invocation, + g_variant_new ("()")); +} + +/** + * systemd1_manager_complete_unsubscribe: + * @object: A #Systemd1Manager. + * @invocation: (transfer full): A #GDBusMethodInvocation. + * + * Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.Unsubscribe">Unsubscribe()</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 +systemd1_manager_complete_unsubscribe ( + Systemd1Manager *object G_GNUC_UNUSED, + GDBusMethodInvocation *invocation) +{ + g_dbus_method_invocation_return_value (invocation, + g_variant_new ("()")); +} + +/** + * systemd1_manager_complete_dump: + * @object: A #Systemd1Manager. + * @invocation: (transfer full): A #GDBusMethodInvocation. + * @output: Parameter to return. + * + * Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.Dump">Dump()</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 +systemd1_manager_complete_dump ( + Systemd1Manager *object G_GNUC_UNUSED, + GDBusMethodInvocation *invocation, + const gchar *output) +{ + g_dbus_method_invocation_return_value (invocation, + g_variant_new ("(s)", + output)); +} + +/** + * systemd1_manager_complete_dump_by_file_descriptor: + * @object: A #Systemd1Manager. + * @invocation: (transfer full): A #GDBusMethodInvocation. + * @fd: Parameter to return. + * + * Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.DumpByFileDescriptor">DumpByFileDescriptor()</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 +systemd1_manager_complete_dump_by_file_descriptor ( + Systemd1Manager *object G_GNUC_UNUSED, + GDBusMethodInvocation *invocation, + GVariant *fd) +{ + g_dbus_method_invocation_return_value (invocation, + g_variant_new ("(@h)", + fd)); +} + +/** + * systemd1_manager_complete_reload: + * @object: A #Systemd1Manager. + * @invocation: (transfer full): A #GDBusMethodInvocation. + * + * Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.Reload">Reload()</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 +systemd1_manager_complete_reload ( + Systemd1Manager *object G_GNUC_UNUSED, + GDBusMethodInvocation *invocation) +{ + g_dbus_method_invocation_return_value (invocation, + g_variant_new ("()")); +} + +/** + * systemd1_manager_complete_reexecute: + * @object: A #Systemd1Manager. + * @invocation: (transfer full): A #GDBusMethodInvocation. + * + * Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.Reexecute">Reexecute()</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 +systemd1_manager_complete_reexecute ( + Systemd1Manager *object G_GNUC_UNUSED, + GDBusMethodInvocation *invocation) +{ + g_dbus_method_invocation_return_value (invocation, + g_variant_new ("()")); +} + +/** + * systemd1_manager_complete_exit: + * @object: A #Systemd1Manager. + * @invocation: (transfer full): A #GDBusMethodInvocation. + * + * Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.Exit">Exit()</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 +systemd1_manager_complete_exit ( + Systemd1Manager *object G_GNUC_UNUSED, + GDBusMethodInvocation *invocation) +{ + g_dbus_method_invocation_return_value (invocation, + g_variant_new ("()")); +} + +/** + * systemd1_manager_complete_reboot: + * @object: A #Systemd1Manager. + * @invocation: (transfer full): A #GDBusMethodInvocation. + * + * Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.Reboot">Reboot()</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 +systemd1_manager_complete_reboot ( + Systemd1Manager *object G_GNUC_UNUSED, + GDBusMethodInvocation *invocation) +{ + g_dbus_method_invocation_return_value (invocation, + g_variant_new ("()")); +} + +/** + * systemd1_manager_complete_power_off: + * @object: A #Systemd1Manager. + * @invocation: (transfer full): A #GDBusMethodInvocation. + * + * Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.PowerOff">PowerOff()</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 +systemd1_manager_complete_power_off ( + Systemd1Manager *object G_GNUC_UNUSED, + GDBusMethodInvocation *invocation) +{ + g_dbus_method_invocation_return_value (invocation, + g_variant_new ("()")); +} + +/** + * systemd1_manager_complete_halt: + * @object: A #Systemd1Manager. + * @invocation: (transfer full): A #GDBusMethodInvocation. + * + * Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.Halt">Halt()</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 +systemd1_manager_complete_halt ( + Systemd1Manager *object G_GNUC_UNUSED, + GDBusMethodInvocation *invocation) +{ + g_dbus_method_invocation_return_value (invocation, + g_variant_new ("()")); +} + +/** + * systemd1_manager_complete_kexec: + * @object: A #Systemd1Manager. + * @invocation: (transfer full): A #GDBusMethodInvocation. + * + * Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.KExec">KExec()</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 +systemd1_manager_complete_kexec ( + Systemd1Manager *object G_GNUC_UNUSED, + GDBusMethodInvocation *invocation) +{ + g_dbus_method_invocation_return_value (invocation, + g_variant_new ("()")); +} + +/** + * systemd1_manager_complete_switch_root: + * @object: A #Systemd1Manager. + * @invocation: (transfer full): A #GDBusMethodInvocation. + * + * Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.SwitchRoot">SwitchRoot()</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 +systemd1_manager_complete_switch_root ( + Systemd1Manager *object G_GNUC_UNUSED, + GDBusMethodInvocation *invocation) +{ + g_dbus_method_invocation_return_value (invocation, + g_variant_new ("()")); +} + +/** + * systemd1_manager_complete_set_environment: + * @object: A #Systemd1Manager. + * @invocation: (transfer full): A #GDBusMethodInvocation. + * + * Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.SetEnvironment">SetEnvironment()</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 +systemd1_manager_complete_set_environment ( + Systemd1Manager *object G_GNUC_UNUSED, + GDBusMethodInvocation *invocation) +{ + g_dbus_method_invocation_return_value (invocation, + g_variant_new ("()")); +} + +/** + * systemd1_manager_complete_unset_environment: + * @object: A #Systemd1Manager. + * @invocation: (transfer full): A #GDBusMethodInvocation. + * + * Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.UnsetEnvironment">UnsetEnvironment()</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 +systemd1_manager_complete_unset_environment ( + Systemd1Manager *object G_GNUC_UNUSED, + GDBusMethodInvocation *invocation) +{ + g_dbus_method_invocation_return_value (invocation, + g_variant_new ("()")); +} + +/** + * systemd1_manager_complete_unset_and_set_environment: + * @object: A #Systemd1Manager. + * @invocation: (transfer full): A #GDBusMethodInvocation. + * + * Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.UnsetAndSetEnvironment">UnsetAndSetEnvironment()</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 +systemd1_manager_complete_unset_and_set_environment ( + Systemd1Manager *object G_GNUC_UNUSED, + GDBusMethodInvocation *invocation) +{ + g_dbus_method_invocation_return_value (invocation, + g_variant_new ("()")); +} + +/** + * systemd1_manager_complete_enqueue_marked_jobs: + * @object: A #Systemd1Manager. + * @invocation: (transfer full): A #GDBusMethodInvocation. + * @jobs: Parameter to return. + * + * Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.EnqueueMarkedJobs">EnqueueMarkedJobs()</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 +systemd1_manager_complete_enqueue_marked_jobs ( + Systemd1Manager *object G_GNUC_UNUSED, + GDBusMethodInvocation *invocation, + const gchar *const *jobs) +{ + g_dbus_method_invocation_return_value (invocation, + g_variant_new ("(^ao)", + jobs)); +} + +/** + * systemd1_manager_complete_list_unit_files: + * @object: A #Systemd1Manager. + * @invocation: (transfer full): A #GDBusMethodInvocation. + * @unit_files: Parameter to return. + * + * Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.ListUnitFiles">ListUnitFiles()</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 +systemd1_manager_complete_list_unit_files ( + Systemd1Manager *object G_GNUC_UNUSED, + GDBusMethodInvocation *invocation, + GVariant *unit_files) +{ + g_dbus_method_invocation_return_value (invocation, + g_variant_new ("(@a(ss))", + unit_files)); +} + +/** + * systemd1_manager_complete_list_unit_files_by_patterns: + * @object: A #Systemd1Manager. + * @invocation: (transfer full): A #GDBusMethodInvocation. + * @unit_files: Parameter to return. + * + * Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.ListUnitFilesByPatterns">ListUnitFilesByPatterns()</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 +systemd1_manager_complete_list_unit_files_by_patterns ( + Systemd1Manager *object G_GNUC_UNUSED, + GDBusMethodInvocation *invocation, + GVariant *unit_files) +{ + g_dbus_method_invocation_return_value (invocation, + g_variant_new ("(@a(ss))", + unit_files)); +} + +/** + * systemd1_manager_complete_get_unit_file_state: + * @object: A #Systemd1Manager. + * @invocation: (transfer full): A #GDBusMethodInvocation. + * @state: Parameter to return. + * + * Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.GetUnitFileState">GetUnitFileState()</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 +systemd1_manager_complete_get_unit_file_state ( + Systemd1Manager *object G_GNUC_UNUSED, + GDBusMethodInvocation *invocation, + const gchar *state) +{ + g_dbus_method_invocation_return_value (invocation, + g_variant_new ("(s)", + state)); +} + +/** + * systemd1_manager_complete_enable_unit_files: + * @object: A #Systemd1Manager. + * @invocation: (transfer full): A #GDBusMethodInvocation. + * @carries_install_info: Parameter to return. + * @changes: Parameter to return. + * + * Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.EnableUnitFiles">EnableUnitFiles()</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 +systemd1_manager_complete_enable_unit_files ( + Systemd1Manager *object G_GNUC_UNUSED, + GDBusMethodInvocation *invocation, + gboolean carries_install_info, + GVariant *changes) +{ + g_dbus_method_invocation_return_value (invocation, + g_variant_new ("(b@a(sss))", + carries_install_info, + changes)); +} + +/** + * systemd1_manager_complete_disable_unit_files: + * @object: A #Systemd1Manager. + * @invocation: (transfer full): A #GDBusMethodInvocation. + * @changes: Parameter to return. + * + * Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.DisableUnitFiles">DisableUnitFiles()</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 +systemd1_manager_complete_disable_unit_files ( + Systemd1Manager *object G_GNUC_UNUSED, + GDBusMethodInvocation *invocation, + GVariant *changes) +{ + g_dbus_method_invocation_return_value (invocation, + g_variant_new ("(@a(sss))", + changes)); +} + +/** + * systemd1_manager_complete_enable_unit_files_with_flags: + * @object: A #Systemd1Manager. + * @invocation: (transfer full): A #GDBusMethodInvocation. + * @carries_install_info: Parameter to return. + * @changes: Parameter to return. + * + * Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.EnableUnitFilesWithFlags">EnableUnitFilesWithFlags()</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 +systemd1_manager_complete_enable_unit_files_with_flags ( + Systemd1Manager *object G_GNUC_UNUSED, + GDBusMethodInvocation *invocation, + gboolean carries_install_info, + GVariant *changes) +{ + g_dbus_method_invocation_return_value (invocation, + g_variant_new ("(b@a(sss))", + carries_install_info, + changes)); +} + +/** + * systemd1_manager_complete_disable_unit_files_with_flags: + * @object: A #Systemd1Manager. + * @invocation: (transfer full): A #GDBusMethodInvocation. + * @changes: Parameter to return. + * + * Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.DisableUnitFilesWithFlags">DisableUnitFilesWithFlags()</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 +systemd1_manager_complete_disable_unit_files_with_flags ( + Systemd1Manager *object G_GNUC_UNUSED, + GDBusMethodInvocation *invocation, + GVariant *changes) +{ + g_dbus_method_invocation_return_value (invocation, + g_variant_new ("(@a(sss))", + changes)); +} + +/** + * systemd1_manager_complete_reenable_unit_files: + * @object: A #Systemd1Manager. + * @invocation: (transfer full): A #GDBusMethodInvocation. + * @carries_install_info: Parameter to return. + * @changes: Parameter to return. + * + * Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.ReenableUnitFiles">ReenableUnitFiles()</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 +systemd1_manager_complete_reenable_unit_files ( + Systemd1Manager *object G_GNUC_UNUSED, + GDBusMethodInvocation *invocation, + gboolean carries_install_info, + GVariant *changes) +{ + g_dbus_method_invocation_return_value (invocation, + g_variant_new ("(b@a(sss))", + carries_install_info, + changes)); +} + +/** + * systemd1_manager_complete_link_unit_files: + * @object: A #Systemd1Manager. + * @invocation: (transfer full): A #GDBusMethodInvocation. + * @changes: Parameter to return. + * + * Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.LinkUnitFiles">LinkUnitFiles()</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 +systemd1_manager_complete_link_unit_files ( + Systemd1Manager *object G_GNUC_UNUSED, + GDBusMethodInvocation *invocation, + GVariant *changes) +{ + g_dbus_method_invocation_return_value (invocation, + g_variant_new ("(@a(sss))", + changes)); +} + +/** + * systemd1_manager_complete_preset_unit_files: + * @object: A #Systemd1Manager. + * @invocation: (transfer full): A #GDBusMethodInvocation. + * @carries_install_info: Parameter to return. + * @changes: Parameter to return. + * + * Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.PresetUnitFiles">PresetUnitFiles()</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 +systemd1_manager_complete_preset_unit_files ( + Systemd1Manager *object G_GNUC_UNUSED, + GDBusMethodInvocation *invocation, + gboolean carries_install_info, + GVariant *changes) +{ + g_dbus_method_invocation_return_value (invocation, + g_variant_new ("(b@a(sss))", + carries_install_info, + changes)); +} + +/** + * systemd1_manager_complete_preset_unit_files_with_mode: + * @object: A #Systemd1Manager. + * @invocation: (transfer full): A #GDBusMethodInvocation. + * @carries_install_info: Parameter to return. + * @changes: Parameter to return. + * + * Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.PresetUnitFilesWithMode">PresetUnitFilesWithMode()</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 +systemd1_manager_complete_preset_unit_files_with_mode ( + Systemd1Manager *object G_GNUC_UNUSED, + GDBusMethodInvocation *invocation, + gboolean carries_install_info, + GVariant *changes) +{ + g_dbus_method_invocation_return_value (invocation, + g_variant_new ("(b@a(sss))", + carries_install_info, + changes)); +} + +/** + * systemd1_manager_complete_mask_unit_files: + * @object: A #Systemd1Manager. + * @invocation: (transfer full): A #GDBusMethodInvocation. + * @changes: Parameter to return. + * + * Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.MaskUnitFiles">MaskUnitFiles()</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 +systemd1_manager_complete_mask_unit_files ( + Systemd1Manager *object G_GNUC_UNUSED, + GDBusMethodInvocation *invocation, + GVariant *changes) +{ + g_dbus_method_invocation_return_value (invocation, + g_variant_new ("(@a(sss))", + changes)); +} + +/** + * systemd1_manager_complete_unmask_unit_files: + * @object: A #Systemd1Manager. + * @invocation: (transfer full): A #GDBusMethodInvocation. + * @changes: Parameter to return. + * + * Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.UnmaskUnitFiles">UnmaskUnitFiles()</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 +systemd1_manager_complete_unmask_unit_files ( + Systemd1Manager *object G_GNUC_UNUSED, + GDBusMethodInvocation *invocation, + GVariant *changes) +{ + g_dbus_method_invocation_return_value (invocation, + g_variant_new ("(@a(sss))", + changes)); +} + +/** + * systemd1_manager_complete_revert_unit_files: + * @object: A #Systemd1Manager. + * @invocation: (transfer full): A #GDBusMethodInvocation. + * @changes: Parameter to return. + * + * Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.RevertUnitFiles">RevertUnitFiles()</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 +systemd1_manager_complete_revert_unit_files ( + Systemd1Manager *object G_GNUC_UNUSED, + GDBusMethodInvocation *invocation, + GVariant *changes) +{ + g_dbus_method_invocation_return_value (invocation, + g_variant_new ("(@a(sss))", + changes)); +} + +/** + * systemd1_manager_complete_set_default_target: + * @object: A #Systemd1Manager. + * @invocation: (transfer full): A #GDBusMethodInvocation. + * @changes: Parameter to return. + * + * Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.SetDefaultTarget">SetDefaultTarget()</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 +systemd1_manager_complete_set_default_target ( + Systemd1Manager *object G_GNUC_UNUSED, + GDBusMethodInvocation *invocation, + GVariant *changes) +{ + g_dbus_method_invocation_return_value (invocation, + g_variant_new ("(@a(sss))", + changes)); +} + +/** + * systemd1_manager_complete_get_default_target: + * @object: A #Systemd1Manager. + * @invocation: (transfer full): A #GDBusMethodInvocation. + * @name: Parameter to return. + * + * Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.GetDefaultTarget">GetDefaultTarget()</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 +systemd1_manager_complete_get_default_target ( + Systemd1Manager *object G_GNUC_UNUSED, + GDBusMethodInvocation *invocation, + const gchar *name) +{ + g_dbus_method_invocation_return_value (invocation, + g_variant_new ("(s)", + name)); +} + +/** + * systemd1_manager_complete_preset_all_unit_files: + * @object: A #Systemd1Manager. + * @invocation: (transfer full): A #GDBusMethodInvocation. + * @changes: Parameter to return. + * + * Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.PresetAllUnitFiles">PresetAllUnitFiles()</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 +systemd1_manager_complete_preset_all_unit_files ( + Systemd1Manager *object G_GNUC_UNUSED, + GDBusMethodInvocation *invocation, + GVariant *changes) +{ + g_dbus_method_invocation_return_value (invocation, + g_variant_new ("(@a(sss))", + changes)); +} + +/** + * systemd1_manager_complete_add_dependency_unit_files: + * @object: A #Systemd1Manager. + * @invocation: (transfer full): A #GDBusMethodInvocation. + * @changes: Parameter to return. + * + * Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.AddDependencyUnitFiles">AddDependencyUnitFiles()</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 +systemd1_manager_complete_add_dependency_unit_files ( + Systemd1Manager *object G_GNUC_UNUSED, + GDBusMethodInvocation *invocation, + GVariant *changes) +{ + g_dbus_method_invocation_return_value (invocation, + g_variant_new ("(@a(sss))", + changes)); +} + +/** + * systemd1_manager_complete_get_unit_file_links: + * @object: A #Systemd1Manager. + * @invocation: (transfer full): A #GDBusMethodInvocation. + * @links: Parameter to return. + * + * Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.GetUnitFileLinks">GetUnitFileLinks()</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 +systemd1_manager_complete_get_unit_file_links ( + Systemd1Manager *object G_GNUC_UNUSED, + GDBusMethodInvocation *invocation, + const gchar *const *links) +{ + g_dbus_method_invocation_return_value (invocation, + g_variant_new ("(^as)", + links)); +} + +/** + * systemd1_manager_complete_set_exit_code: + * @object: A #Systemd1Manager. + * @invocation: (transfer full): A #GDBusMethodInvocation. + * + * Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.SetExitCode">SetExitCode()</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 +systemd1_manager_complete_set_exit_code ( + Systemd1Manager *object G_GNUC_UNUSED, + GDBusMethodInvocation *invocation) +{ + g_dbus_method_invocation_return_value (invocation, + g_variant_new ("()")); +} + +/** + * systemd1_manager_complete_lookup_dynamic_user_by_name: + * @object: A #Systemd1Manager. + * @invocation: (transfer full): A #GDBusMethodInvocation. + * @uid: Parameter to return. + * + * Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.LookupDynamicUserByName">LookupDynamicUserByName()</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 +systemd1_manager_complete_lookup_dynamic_user_by_name ( + Systemd1Manager *object G_GNUC_UNUSED, + GDBusMethodInvocation *invocation, + guint uid) +{ + g_dbus_method_invocation_return_value (invocation, + g_variant_new ("(u)", + uid)); +} + +/** + * systemd1_manager_complete_lookup_dynamic_user_by_uid: + * @object: A #Systemd1Manager. + * @invocation: (transfer full): A #GDBusMethodInvocation. + * @name: Parameter to return. + * + * Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.LookupDynamicUserByUID">LookupDynamicUserByUID()</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 +systemd1_manager_complete_lookup_dynamic_user_by_uid ( + Systemd1Manager *object G_GNUC_UNUSED, + GDBusMethodInvocation *invocation, + const gchar *name) +{ + g_dbus_method_invocation_return_value (invocation, + g_variant_new ("(s)", + name)); +} + +/** + * systemd1_manager_complete_get_dynamic_users: + * @object: A #Systemd1Manager. + * @invocation: (transfer full): A #GDBusMethodInvocation. + * @users: Parameter to return. + * + * Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-freedesktop-systemd1-Manager.GetDynamicUsers">GetDynamicUsers()</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 +systemd1_manager_complete_get_dynamic_users ( + Systemd1Manager *object G_GNUC_UNUSED, + GDBusMethodInvocation *invocation, + GVariant *users) +{ + g_dbus_method_invocation_return_value (invocation, + g_variant_new ("(@a(us))", + users)); +} + +/* ------------------------------------------------------------------------ */ + +/** + * Systemd1ManagerProxy: + * + * The #Systemd1ManagerProxy structure contains only private data and should only be accessed using the provided API. + */ + +/** + * Systemd1ManagerProxyClass: + * @parent_class: The parent class. + * + * Class structure for #Systemd1ManagerProxy. + */ + +struct _Systemd1ManagerProxyPrivate +{ + GData *qdata; +}; + +static void systemd1_manager_proxy_iface_init (Systemd1ManagerIface *iface); + +#if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 +G_DEFINE_TYPE_WITH_CODE (Systemd1ManagerProxy, systemd1_manager_proxy, G_TYPE_DBUS_PROXY, + G_ADD_PRIVATE (Systemd1ManagerProxy) + G_IMPLEMENT_INTERFACE (TYPE_SYSTEMD1_MANAGER, systemd1_manager_proxy_iface_init)) + +#else +G_DEFINE_TYPE_WITH_CODE (Systemd1ManagerProxy, systemd1_manager_proxy, G_TYPE_DBUS_PROXY, + G_IMPLEMENT_INTERFACE (TYPE_SYSTEMD1_MANAGER, systemd1_manager_proxy_iface_init)) + +#endif +static void +systemd1_manager_proxy_finalize (GObject *object) +{ + Systemd1ManagerProxy *proxy = SYSTEMD1_MANAGER_PROXY (object); + g_datalist_clear (&proxy->priv->qdata); + G_OBJECT_CLASS (systemd1_manager_proxy_parent_class)->finalize (object); +} + +static void +systemd1_manager_proxy_get_property (GObject *object, + guint prop_id, + GValue *value, + GParamSpec *pspec G_GNUC_UNUSED) +{ + const _ExtendedGDBusPropertyInfo *info; + GVariant *variant; + g_assert (prop_id != 0 && prop_id - 1 < 109); + info = (const _ExtendedGDBusPropertyInfo *) _systemd1_manager_property_info_pointers[prop_id - 1]; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); + if (info->use_gvariant) + { + g_value_set_variant (value, variant); + } + else + { + if (variant != NULL) + g_dbus_gvariant_to_gvalue (variant, value); + } + if (variant != NULL) + g_variant_unref (variant); +} + +static void +systemd1_manager_proxy_set_property_cb (GDBusProxy *proxy, + GAsyncResult *res, + gpointer user_data) +{ + const _ExtendedGDBusPropertyInfo *info = user_data; + GError *error; + GVariant *_ret; + error = NULL; + _ret = g_dbus_proxy_call_finish (proxy, res, &error); + if (!_ret) + { + g_warning ("Error setting property '%s' on interface org.freedesktop.systemd1.Manager: %s (%s, %d)", + info->parent_struct.name, + error->message, g_quark_to_string (error->domain), error->code); + g_error_free (error); + } + else + { + g_variant_unref (_ret); + } +} + +static void +systemd1_manager_proxy_set_property (GObject *object, + guint prop_id, + const GValue *value, + GParamSpec *pspec G_GNUC_UNUSED) +{ + const _ExtendedGDBusPropertyInfo *info; + GVariant *variant; + g_assert (prop_id != 0 && prop_id - 1 < 109); + info = (const _ExtendedGDBusPropertyInfo *) _systemd1_manager_property_info_pointers[prop_id - 1]; + variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); + g_dbus_proxy_call (G_DBUS_PROXY (object), + "org.freedesktop.DBus.Properties.Set", + g_variant_new ("(ssv)", "org.freedesktop.systemd1.Manager", info->parent_struct.name, variant), + G_DBUS_CALL_FLAGS_NONE, + -1, + NULL, (GAsyncReadyCallback) systemd1_manager_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); + g_variant_unref (variant); +} + +static void +systemd1_manager_proxy_g_signal (GDBusProxy *proxy, + const gchar *sender_name G_GNUC_UNUSED, + const gchar *signal_name, + GVariant *parameters) +{ + _ExtendedGDBusSignalInfo *info; + GVariantIter iter; + GVariant *child; + GValue *paramv; + gsize num_params; + gsize n; + guint signal_id; + info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_systemd1_manager_interface_info.parent_struct, signal_name); + if (info == NULL) + return; + num_params = g_variant_n_children (parameters); + paramv = g_new0 (GValue, num_params + 1); + g_value_init (¶mv[0], TYPE_SYSTEMD1_MANAGER); + g_value_set_object (¶mv[0], proxy); + g_variant_iter_init (&iter, parameters); + n = 1; + while ((child = g_variant_iter_next_value (&iter)) != NULL) + { + _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; + if (arg_info->use_gvariant) + { + g_value_init (¶mv[n], G_TYPE_VARIANT); + g_value_set_variant (¶mv[n], child); + n++; + } + else + g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); + g_variant_unref (child); + } + signal_id = g_signal_lookup (info->signal_name, TYPE_SYSTEMD1_MANAGER); + g_signal_emitv (paramv, signal_id, 0, NULL); + for (n = 0; n < num_params + 1; n++) + g_value_unset (¶mv[n]); + g_free (paramv); +} + +static void +systemd1_manager_proxy_g_properties_changed (GDBusProxy *_proxy, + GVariant *changed_properties, + const gchar *const *invalidated_properties) +{ + Systemd1ManagerProxy *proxy = SYSTEMD1_MANAGER_PROXY (_proxy); + guint n; + const gchar *key; + GVariantIter *iter; + _ExtendedGDBusPropertyInfo *info; + g_variant_get (changed_properties, "a{sv}", &iter); + while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) + { + info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_systemd1_manager_interface_info.parent_struct, key); + g_datalist_remove_data (&proxy->priv->qdata, key); + if (info != NULL) + g_object_notify (G_OBJECT (proxy), info->hyphen_name); + } + g_variant_iter_free (iter); + for (n = 0; invalidated_properties[n] != NULL; n++) + { + info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_systemd1_manager_interface_info.parent_struct, invalidated_properties[n]); + g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); + if (info != NULL) + g_object_notify (G_OBJECT (proxy), info->hyphen_name); + } +} + +static const gchar * +systemd1_manager_proxy_get_version (Systemd1Manager *object) +{ + Systemd1ManagerProxy *proxy = SYSTEMD1_MANAGER_PROXY (object); + GVariant *variant; + const gchar *value = NULL; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "Version"); + if (variant != NULL) + { + value = g_variant_get_string (variant, NULL); + g_variant_unref (variant); + } + return value; +} + +static const gchar * +systemd1_manager_proxy_get_features (Systemd1Manager *object) +{ + Systemd1ManagerProxy *proxy = SYSTEMD1_MANAGER_PROXY (object); + GVariant *variant; + const gchar *value = NULL; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "Features"); + if (variant != NULL) + { + value = g_variant_get_string (variant, NULL); + g_variant_unref (variant); + } + return value; +} + +static const gchar * +systemd1_manager_proxy_get_virtualization (Systemd1Manager *object) +{ + Systemd1ManagerProxy *proxy = SYSTEMD1_MANAGER_PROXY (object); + GVariant *variant; + const gchar *value = NULL; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "Virtualization"); + if (variant != NULL) + { + value = g_variant_get_string (variant, NULL); + g_variant_unref (variant); + } + return value; +} + +static const gchar * +systemd1_manager_proxy_get_architecture (Systemd1Manager *object) +{ + Systemd1ManagerProxy *proxy = SYSTEMD1_MANAGER_PROXY (object); + GVariant *variant; + const gchar *value = NULL; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "Architecture"); + if (variant != NULL) + { + value = g_variant_get_string (variant, NULL); + g_variant_unref (variant); + } + return value; +} + +static const gchar * +systemd1_manager_proxy_get_tainted (Systemd1Manager *object) +{ + Systemd1ManagerProxy *proxy = SYSTEMD1_MANAGER_PROXY (object); + GVariant *variant; + const gchar *value = NULL; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "Tainted"); + if (variant != NULL) + { + value = g_variant_get_string (variant, NULL); + g_variant_unref (variant); + } + return value; +} + +static guint64 +systemd1_manager_proxy_get_firmware_timestamp (Systemd1Manager *object) +{ + Systemd1ManagerProxy *proxy = SYSTEMD1_MANAGER_PROXY (object); + GVariant *variant; + guint64 value = 0; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "FirmwareTimestamp"); + if (variant != NULL) + { + value = g_variant_get_uint64 (variant); + g_variant_unref (variant); + } + return value; +} + +static guint64 +systemd1_manager_proxy_get_firmware_timestamp_monotonic (Systemd1Manager *object) +{ + Systemd1ManagerProxy *proxy = SYSTEMD1_MANAGER_PROXY (object); + GVariant *variant; + guint64 value = 0; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "FirmwareTimestampMonotonic"); + if (variant != NULL) + { + value = g_variant_get_uint64 (variant); + g_variant_unref (variant); + } + return value; +} + +static guint64 +systemd1_manager_proxy_get_loader_timestamp (Systemd1Manager *object) +{ + Systemd1ManagerProxy *proxy = SYSTEMD1_MANAGER_PROXY (object); + GVariant *variant; + guint64 value = 0; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "LoaderTimestamp"); + if (variant != NULL) + { + value = g_variant_get_uint64 (variant); + g_variant_unref (variant); + } + return value; +} + +static guint64 +systemd1_manager_proxy_get_loader_timestamp_monotonic (Systemd1Manager *object) +{ + Systemd1ManagerProxy *proxy = SYSTEMD1_MANAGER_PROXY (object); + GVariant *variant; + guint64 value = 0; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "LoaderTimestampMonotonic"); + if (variant != NULL) + { + value = g_variant_get_uint64 (variant); + g_variant_unref (variant); + } + return value; +} + +static guint64 +systemd1_manager_proxy_get_kernel_timestamp (Systemd1Manager *object) +{ + Systemd1ManagerProxy *proxy = SYSTEMD1_MANAGER_PROXY (object); + GVariant *variant; + guint64 value = 0; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "KernelTimestamp"); + if (variant != NULL) + { + value = g_variant_get_uint64 (variant); + g_variant_unref (variant); + } + return value; +} + +static guint64 +systemd1_manager_proxy_get_kernel_timestamp_monotonic (Systemd1Manager *object) +{ + Systemd1ManagerProxy *proxy = SYSTEMD1_MANAGER_PROXY (object); + GVariant *variant; + guint64 value = 0; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "KernelTimestampMonotonic"); + if (variant != NULL) + { + value = g_variant_get_uint64 (variant); + g_variant_unref (variant); + } + return value; +} + +static guint64 +systemd1_manager_proxy_get_init_rdtimestamp (Systemd1Manager *object) +{ + Systemd1ManagerProxy *proxy = SYSTEMD1_MANAGER_PROXY (object); + GVariant *variant; + guint64 value = 0; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "InitRDTimestamp"); + if (variant != NULL) + { + value = g_variant_get_uint64 (variant); + g_variant_unref (variant); + } + return value; +} + +static guint64 +systemd1_manager_proxy_get_init_rdtimestamp_monotonic (Systemd1Manager *object) +{ + Systemd1ManagerProxy *proxy = SYSTEMD1_MANAGER_PROXY (object); + GVariant *variant; + guint64 value = 0; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "InitRDTimestampMonotonic"); + if (variant != NULL) + { + value = g_variant_get_uint64 (variant); + g_variant_unref (variant); + } + return value; +} + +static guint64 +systemd1_manager_proxy_get_userspace_timestamp (Systemd1Manager *object) +{ + Systemd1ManagerProxy *proxy = SYSTEMD1_MANAGER_PROXY (object); + GVariant *variant; + guint64 value = 0; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "UserspaceTimestamp"); + if (variant != NULL) + { + value = g_variant_get_uint64 (variant); + g_variant_unref (variant); + } + return value; +} + +static guint64 +systemd1_manager_proxy_get_userspace_timestamp_monotonic (Systemd1Manager *object) +{ + Systemd1ManagerProxy *proxy = SYSTEMD1_MANAGER_PROXY (object); + GVariant *variant; + guint64 value = 0; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "UserspaceTimestampMonotonic"); + if (variant != NULL) + { + value = g_variant_get_uint64 (variant); + g_variant_unref (variant); + } + return value; +} + +static guint64 +systemd1_manager_proxy_get_finish_timestamp (Systemd1Manager *object) +{ + Systemd1ManagerProxy *proxy = SYSTEMD1_MANAGER_PROXY (object); + GVariant *variant; + guint64 value = 0; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "FinishTimestamp"); + if (variant != NULL) + { + value = g_variant_get_uint64 (variant); + g_variant_unref (variant); + } + return value; +} + +static guint64 +systemd1_manager_proxy_get_finish_timestamp_monotonic (Systemd1Manager *object) +{ + Systemd1ManagerProxy *proxy = SYSTEMD1_MANAGER_PROXY (object); + GVariant *variant; + guint64 value = 0; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "FinishTimestampMonotonic"); + if (variant != NULL) + { + value = g_variant_get_uint64 (variant); + g_variant_unref (variant); + } + return value; +} + +static guint64 +systemd1_manager_proxy_get_security_start_timestamp (Systemd1Manager *object) +{ + Systemd1ManagerProxy *proxy = SYSTEMD1_MANAGER_PROXY (object); + GVariant *variant; + guint64 value = 0; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "SecurityStartTimestamp"); + if (variant != NULL) + { + value = g_variant_get_uint64 (variant); + g_variant_unref (variant); + } + return value; +} + +static guint64 +systemd1_manager_proxy_get_security_start_timestamp_monotonic (Systemd1Manager *object) +{ + Systemd1ManagerProxy *proxy = SYSTEMD1_MANAGER_PROXY (object); + GVariant *variant; + guint64 value = 0; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "SecurityStartTimestampMonotonic"); + if (variant != NULL) + { + value = g_variant_get_uint64 (variant); + g_variant_unref (variant); + } + return value; +} + +static guint64 +systemd1_manager_proxy_get_security_finish_timestamp (Systemd1Manager *object) +{ + Systemd1ManagerProxy *proxy = SYSTEMD1_MANAGER_PROXY (object); + GVariant *variant; + guint64 value = 0; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "SecurityFinishTimestamp"); + if (variant != NULL) + { + value = g_variant_get_uint64 (variant); + g_variant_unref (variant); + } + return value; +} + +static guint64 +systemd1_manager_proxy_get_security_finish_timestamp_monotonic (Systemd1Manager *object) +{ + Systemd1ManagerProxy *proxy = SYSTEMD1_MANAGER_PROXY (object); + GVariant *variant; + guint64 value = 0; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "SecurityFinishTimestampMonotonic"); + if (variant != NULL) + { + value = g_variant_get_uint64 (variant); + g_variant_unref (variant); + } + return value; +} + +static guint64 +systemd1_manager_proxy_get_generators_start_timestamp (Systemd1Manager *object) +{ + Systemd1ManagerProxy *proxy = SYSTEMD1_MANAGER_PROXY (object); + GVariant *variant; + guint64 value = 0; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GeneratorsStartTimestamp"); + if (variant != NULL) + { + value = g_variant_get_uint64 (variant); + g_variant_unref (variant); + } + return value; +} + +static guint64 +systemd1_manager_proxy_get_generators_start_timestamp_monotonic (Systemd1Manager *object) +{ + Systemd1ManagerProxy *proxy = SYSTEMD1_MANAGER_PROXY (object); + GVariant *variant; + guint64 value = 0; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GeneratorsStartTimestampMonotonic"); + if (variant != NULL) + { + value = g_variant_get_uint64 (variant); + g_variant_unref (variant); + } + return value; +} + +static guint64 +systemd1_manager_proxy_get_generators_finish_timestamp (Systemd1Manager *object) +{ + Systemd1ManagerProxy *proxy = SYSTEMD1_MANAGER_PROXY (object); + GVariant *variant; + guint64 value = 0; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GeneratorsFinishTimestamp"); + if (variant != NULL) + { + value = g_variant_get_uint64 (variant); + g_variant_unref (variant); + } + return value; +} + +static guint64 +systemd1_manager_proxy_get_generators_finish_timestamp_monotonic (Systemd1Manager *object) +{ + Systemd1ManagerProxy *proxy = SYSTEMD1_MANAGER_PROXY (object); + GVariant *variant; + guint64 value = 0; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GeneratorsFinishTimestampMonotonic"); + if (variant != NULL) + { + value = g_variant_get_uint64 (variant); + g_variant_unref (variant); + } + return value; +} + +static guint64 +systemd1_manager_proxy_get_units_load_start_timestamp (Systemd1Manager *object) +{ + Systemd1ManagerProxy *proxy = SYSTEMD1_MANAGER_PROXY (object); + GVariant *variant; + guint64 value = 0; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "UnitsLoadStartTimestamp"); + if (variant != NULL) + { + value = g_variant_get_uint64 (variant); + g_variant_unref (variant); + } + return value; +} + +static guint64 +systemd1_manager_proxy_get_units_load_start_timestamp_monotonic (Systemd1Manager *object) +{ + Systemd1ManagerProxy *proxy = SYSTEMD1_MANAGER_PROXY (object); + GVariant *variant; + guint64 value = 0; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "UnitsLoadStartTimestampMonotonic"); + if (variant != NULL) + { + value = g_variant_get_uint64 (variant); + g_variant_unref (variant); + } + return value; +} + +static guint64 +systemd1_manager_proxy_get_units_load_finish_timestamp (Systemd1Manager *object) +{ + Systemd1ManagerProxy *proxy = SYSTEMD1_MANAGER_PROXY (object); + GVariant *variant; + guint64 value = 0; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "UnitsLoadFinishTimestamp"); + if (variant != NULL) + { + value = g_variant_get_uint64 (variant); + g_variant_unref (variant); + } + return value; +} + +static guint64 +systemd1_manager_proxy_get_units_load_finish_timestamp_monotonic (Systemd1Manager *object) +{ + Systemd1ManagerProxy *proxy = SYSTEMD1_MANAGER_PROXY (object); + GVariant *variant; + guint64 value = 0; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "UnitsLoadFinishTimestampMonotonic"); + if (variant != NULL) + { + value = g_variant_get_uint64 (variant); + g_variant_unref (variant); + } + return value; +} + +static guint64 +systemd1_manager_proxy_get_init_rdsecurity_start_timestamp (Systemd1Manager *object) +{ + Systemd1ManagerProxy *proxy = SYSTEMD1_MANAGER_PROXY (object); + GVariant *variant; + guint64 value = 0; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "InitRDSecurityStartTimestamp"); + if (variant != NULL) + { + value = g_variant_get_uint64 (variant); + g_variant_unref (variant); + } + return value; +} + +static guint64 +systemd1_manager_proxy_get_init_rdsecurity_start_timestamp_monotonic (Systemd1Manager *object) +{ + Systemd1ManagerProxy *proxy = SYSTEMD1_MANAGER_PROXY (object); + GVariant *variant; + guint64 value = 0; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "InitRDSecurityStartTimestampMonotonic"); + if (variant != NULL) + { + value = g_variant_get_uint64 (variant); + g_variant_unref (variant); + } + return value; +} + +static guint64 +systemd1_manager_proxy_get_init_rdsecurity_finish_timestamp (Systemd1Manager *object) +{ + Systemd1ManagerProxy *proxy = SYSTEMD1_MANAGER_PROXY (object); + GVariant *variant; + guint64 value = 0; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "InitRDSecurityFinishTimestamp"); + if (variant != NULL) + { + value = g_variant_get_uint64 (variant); + g_variant_unref (variant); + } + return value; +} + +static guint64 +systemd1_manager_proxy_get_init_rdsecurity_finish_timestamp_monotonic (Systemd1Manager *object) +{ + Systemd1ManagerProxy *proxy = SYSTEMD1_MANAGER_PROXY (object); + GVariant *variant; + guint64 value = 0; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "InitRDSecurityFinishTimestampMonotonic"); + if (variant != NULL) + { + value = g_variant_get_uint64 (variant); + g_variant_unref (variant); + } + return value; +} + +static guint64 +systemd1_manager_proxy_get_init_rdgenerators_start_timestamp (Systemd1Manager *object) +{ + Systemd1ManagerProxy *proxy = SYSTEMD1_MANAGER_PROXY (object); + GVariant *variant; + guint64 value = 0; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "InitRDGeneratorsStartTimestamp"); + if (variant != NULL) + { + value = g_variant_get_uint64 (variant); + g_variant_unref (variant); + } + return value; +} + +static guint64 +systemd1_manager_proxy_get_init_rdgenerators_start_timestamp_monotonic (Systemd1Manager *object) +{ + Systemd1ManagerProxy *proxy = SYSTEMD1_MANAGER_PROXY (object); + GVariant *variant; + guint64 value = 0; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "InitRDGeneratorsStartTimestampMonotonic"); + if (variant != NULL) + { + value = g_variant_get_uint64 (variant); + g_variant_unref (variant); + } + return value; +} + +static guint64 +systemd1_manager_proxy_get_init_rdgenerators_finish_timestamp (Systemd1Manager *object) +{ + Systemd1ManagerProxy *proxy = SYSTEMD1_MANAGER_PROXY (object); + GVariant *variant; + guint64 value = 0; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "InitRDGeneratorsFinishTimestamp"); + if (variant != NULL) + { + value = g_variant_get_uint64 (variant); + g_variant_unref (variant); + } + return value; +} + +static guint64 +systemd1_manager_proxy_get_init_rdgenerators_finish_timestamp_monotonic (Systemd1Manager *object) +{ + Systemd1ManagerProxy *proxy = SYSTEMD1_MANAGER_PROXY (object); + GVariant *variant; + guint64 value = 0; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "InitRDGeneratorsFinishTimestampMonotonic"); + if (variant != NULL) + { + value = g_variant_get_uint64 (variant); + g_variant_unref (variant); + } + return value; +} + +static guint64 +systemd1_manager_proxy_get_init_rdunits_load_start_timestamp (Systemd1Manager *object) +{ + Systemd1ManagerProxy *proxy = SYSTEMD1_MANAGER_PROXY (object); + GVariant *variant; + guint64 value = 0; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "InitRDUnitsLoadStartTimestamp"); + if (variant != NULL) + { + value = g_variant_get_uint64 (variant); + g_variant_unref (variant); + } + return value; +} + +static guint64 +systemd1_manager_proxy_get_init_rdunits_load_start_timestamp_monotonic (Systemd1Manager *object) +{ + Systemd1ManagerProxy *proxy = SYSTEMD1_MANAGER_PROXY (object); + GVariant *variant; + guint64 value = 0; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "InitRDUnitsLoadStartTimestampMonotonic"); + if (variant != NULL) + { + value = g_variant_get_uint64 (variant); + g_variant_unref (variant); + } + return value; +} + +static guint64 +systemd1_manager_proxy_get_init_rdunits_load_finish_timestamp (Systemd1Manager *object) +{ + Systemd1ManagerProxy *proxy = SYSTEMD1_MANAGER_PROXY (object); + GVariant *variant; + guint64 value = 0; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "InitRDUnitsLoadFinishTimestamp"); + if (variant != NULL) + { + value = g_variant_get_uint64 (variant); + g_variant_unref (variant); + } + return value; +} + +static guint64 +systemd1_manager_proxy_get_init_rdunits_load_finish_timestamp_monotonic (Systemd1Manager *object) +{ + Systemd1ManagerProxy *proxy = SYSTEMD1_MANAGER_PROXY (object); + GVariant *variant; + guint64 value = 0; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "InitRDUnitsLoadFinishTimestampMonotonic"); + if (variant != NULL) + { + value = g_variant_get_uint64 (variant); + g_variant_unref (variant); + } + return value; +} + +static const gchar * +systemd1_manager_proxy_get_log_level (Systemd1Manager *object) +{ + Systemd1ManagerProxy *proxy = SYSTEMD1_MANAGER_PROXY (object); + GVariant *variant; + const gchar *value = NULL; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "LogLevel"); + if (variant != NULL) + { + value = g_variant_get_string (variant, NULL); + g_variant_unref (variant); + } + return value; +} + +static const gchar * +systemd1_manager_proxy_get_log_target (Systemd1Manager *object) +{ + Systemd1ManagerProxy *proxy = SYSTEMD1_MANAGER_PROXY (object); + GVariant *variant; + const gchar *value = NULL; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "LogTarget"); + if (variant != NULL) + { + value = g_variant_get_string (variant, NULL); + g_variant_unref (variant); + } + return value; +} + +static guint +systemd1_manager_proxy_get_nnames (Systemd1Manager *object) +{ + Systemd1ManagerProxy *proxy = SYSTEMD1_MANAGER_PROXY (object); + GVariant *variant; + guint value = 0; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "NNames"); + if (variant != NULL) + { + value = g_variant_get_uint32 (variant); + g_variant_unref (variant); + } + return value; +} + +static guint +systemd1_manager_proxy_get_nfailed_units (Systemd1Manager *object) +{ + Systemd1ManagerProxy *proxy = SYSTEMD1_MANAGER_PROXY (object); + GVariant *variant; + guint value = 0; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "NFailedUnits"); + if (variant != NULL) + { + value = g_variant_get_uint32 (variant); + g_variant_unref (variant); + } + return value; +} + +static guint +systemd1_manager_proxy_get_njobs (Systemd1Manager *object) +{ + Systemd1ManagerProxy *proxy = SYSTEMD1_MANAGER_PROXY (object); + GVariant *variant; + guint value = 0; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "NJobs"); + if (variant != NULL) + { + value = g_variant_get_uint32 (variant); + g_variant_unref (variant); + } + return value; +} + +static guint +systemd1_manager_proxy_get_ninstalled_jobs (Systemd1Manager *object) +{ + Systemd1ManagerProxy *proxy = SYSTEMD1_MANAGER_PROXY (object); + GVariant *variant; + guint value = 0; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "NInstalledJobs"); + if (variant != NULL) + { + value = g_variant_get_uint32 (variant); + g_variant_unref (variant); + } + return value; +} + +static guint +systemd1_manager_proxy_get_nfailed_jobs (Systemd1Manager *object) +{ + Systemd1ManagerProxy *proxy = SYSTEMD1_MANAGER_PROXY (object); + GVariant *variant; + guint value = 0; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "NFailedJobs"); + if (variant != NULL) + { + value = g_variant_get_uint32 (variant); + g_variant_unref (variant); + } + return value; +} + +static gdouble +systemd1_manager_proxy_get_progress (Systemd1Manager *object) +{ + Systemd1ManagerProxy *proxy = SYSTEMD1_MANAGER_PROXY (object); + GVariant *variant; + gdouble value = 0; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "Progress"); + if (variant != NULL) + { + value = g_variant_get_double (variant); + g_variant_unref (variant); + } + return value; +} + +static const gchar *const * +systemd1_manager_proxy_get_environment (Systemd1Manager *object) +{ + Systemd1ManagerProxy *proxy = SYSTEMD1_MANAGER_PROXY (object); + GVariant *variant; + const gchar *const *value = NULL; + value = g_datalist_get_data (&proxy->priv->qdata, "Environment"); + if (value != NULL) + return value; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "Environment"); + if (variant != NULL) + { + value = g_variant_get_strv (variant, NULL); + g_datalist_set_data_full (&proxy->priv->qdata, "Environment", (gpointer) value, g_free); + g_variant_unref (variant); + } + return value; +} + +static gboolean +systemd1_manager_proxy_get_confirm_spawn (Systemd1Manager *object) +{ + Systemd1ManagerProxy *proxy = SYSTEMD1_MANAGER_PROXY (object); + GVariant *variant; + gboolean value = 0; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "ConfirmSpawn"); + if (variant != NULL) + { + value = g_variant_get_boolean (variant); + g_variant_unref (variant); + } + return value; +} + +static gboolean +systemd1_manager_proxy_get_show_status (Systemd1Manager *object) +{ + Systemd1ManagerProxy *proxy = SYSTEMD1_MANAGER_PROXY (object); + GVariant *variant; + gboolean value = 0; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "ShowStatus"); + if (variant != NULL) + { + value = g_variant_get_boolean (variant); + g_variant_unref (variant); + } + return value; +} + +static const gchar *const * +systemd1_manager_proxy_get_unit_path (Systemd1Manager *object) +{ + Systemd1ManagerProxy *proxy = SYSTEMD1_MANAGER_PROXY (object); + GVariant *variant; + const gchar *const *value = NULL; + value = g_datalist_get_data (&proxy->priv->qdata, "UnitPath"); + if (value != NULL) + return value; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "UnitPath"); + if (variant != NULL) + { + value = g_variant_get_strv (variant, NULL); + g_datalist_set_data_full (&proxy->priv->qdata, "UnitPath", (gpointer) value, g_free); + g_variant_unref (variant); + } + return value; +} + +static const gchar * +systemd1_manager_proxy_get_default_standard_output (Systemd1Manager *object) +{ + Systemd1ManagerProxy *proxy = SYSTEMD1_MANAGER_PROXY (object); + GVariant *variant; + const gchar *value = NULL; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "DefaultStandardOutput"); + if (variant != NULL) + { + value = g_variant_get_string (variant, NULL); + g_variant_unref (variant); + } + return value; +} + +static const gchar * +systemd1_manager_proxy_get_default_standard_error (Systemd1Manager *object) +{ + Systemd1ManagerProxy *proxy = SYSTEMD1_MANAGER_PROXY (object); + GVariant *variant; + const gchar *value = NULL; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "DefaultStandardError"); + if (variant != NULL) + { + value = g_variant_get_string (variant, NULL); + g_variant_unref (variant); + } + return value; +} + +static guint64 +systemd1_manager_proxy_get_runtime_watchdog_usec (Systemd1Manager *object) +{ + Systemd1ManagerProxy *proxy = SYSTEMD1_MANAGER_PROXY (object); + GVariant *variant; + guint64 value = 0; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "RuntimeWatchdogUSec"); + if (variant != NULL) + { + value = g_variant_get_uint64 (variant); + g_variant_unref (variant); + } + return value; +} + +static guint64 +systemd1_manager_proxy_get_reboot_watchdog_usec (Systemd1Manager *object) +{ + Systemd1ManagerProxy *proxy = SYSTEMD1_MANAGER_PROXY (object); + GVariant *variant; + guint64 value = 0; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "RebootWatchdogUSec"); + if (variant != NULL) + { + value = g_variant_get_uint64 (variant); + g_variant_unref (variant); + } + return value; +} + +static guint64 +systemd1_manager_proxy_get_kexec_watchdog_usec (Systemd1Manager *object) +{ + Systemd1ManagerProxy *proxy = SYSTEMD1_MANAGER_PROXY (object); + GVariant *variant; + guint64 value = 0; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "KExecWatchdogUSec"); + if (variant != NULL) + { + value = g_variant_get_uint64 (variant); + g_variant_unref (variant); + } + return value; +} + +static gboolean +systemd1_manager_proxy_get_service_watchdogs (Systemd1Manager *object) +{ + Systemd1ManagerProxy *proxy = SYSTEMD1_MANAGER_PROXY (object); + GVariant *variant; + gboolean value = 0; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "ServiceWatchdogs"); + if (variant != NULL) + { + value = g_variant_get_boolean (variant); + g_variant_unref (variant); + } + return value; +} + +static const gchar * +systemd1_manager_proxy_get_control_group (Systemd1Manager *object) +{ + Systemd1ManagerProxy *proxy = SYSTEMD1_MANAGER_PROXY (object); + GVariant *variant; + const gchar *value = NULL; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "ControlGroup"); + if (variant != NULL) + { + value = g_variant_get_string (variant, NULL); + g_variant_unref (variant); + } + return value; +} + +static const gchar * +systemd1_manager_proxy_get_system_state (Systemd1Manager *object) +{ + Systemd1ManagerProxy *proxy = SYSTEMD1_MANAGER_PROXY (object); + GVariant *variant; + const gchar *value = NULL; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "SystemState"); + if (variant != NULL) + { + value = g_variant_get_string (variant, NULL); + g_variant_unref (variant); + } + return value; +} + +static guchar +systemd1_manager_proxy_get_exit_code (Systemd1Manager *object) +{ + Systemd1ManagerProxy *proxy = SYSTEMD1_MANAGER_PROXY (object); + GVariant *variant; + guchar value = 0; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "ExitCode"); + if (variant != NULL) + { + value = g_variant_get_byte (variant); + g_variant_unref (variant); + } + return value; +} + +static guint64 +systemd1_manager_proxy_get_default_timer_accuracy_usec (Systemd1Manager *object) +{ + Systemd1ManagerProxy *proxy = SYSTEMD1_MANAGER_PROXY (object); + GVariant *variant; + guint64 value = 0; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "DefaultTimerAccuracyUSec"); + if (variant != NULL) + { + value = g_variant_get_uint64 (variant); + g_variant_unref (variant); + } + return value; +} + +static guint64 +systemd1_manager_proxy_get_default_timeout_start_usec (Systemd1Manager *object) +{ + Systemd1ManagerProxy *proxy = SYSTEMD1_MANAGER_PROXY (object); + GVariant *variant; + guint64 value = 0; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "DefaultTimeoutStartUSec"); + if (variant != NULL) + { + value = g_variant_get_uint64 (variant); + g_variant_unref (variant); + } + return value; +} + +static guint64 +systemd1_manager_proxy_get_default_timeout_stop_usec (Systemd1Manager *object) +{ + Systemd1ManagerProxy *proxy = SYSTEMD1_MANAGER_PROXY (object); + GVariant *variant; + guint64 value = 0; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "DefaultTimeoutStopUSec"); + if (variant != NULL) + { + value = g_variant_get_uint64 (variant); + g_variant_unref (variant); + } + return value; +} + +static guint64 +systemd1_manager_proxy_get_default_timeout_abort_usec (Systemd1Manager *object) +{ + Systemd1ManagerProxy *proxy = SYSTEMD1_MANAGER_PROXY (object); + GVariant *variant; + guint64 value = 0; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "DefaultTimeoutAbortUSec"); + if (variant != NULL) + { + value = g_variant_get_uint64 (variant); + g_variant_unref (variant); + } + return value; +} + +static guint64 +systemd1_manager_proxy_get_default_restart_usec (Systemd1Manager *object) +{ + Systemd1ManagerProxy *proxy = SYSTEMD1_MANAGER_PROXY (object); + GVariant *variant; + guint64 value = 0; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "DefaultRestartUSec"); + if (variant != NULL) + { + value = g_variant_get_uint64 (variant); + g_variant_unref (variant); + } + return value; +} + +static guint64 +systemd1_manager_proxy_get_default_start_limit_interval_usec (Systemd1Manager *object) +{ + Systemd1ManagerProxy *proxy = SYSTEMD1_MANAGER_PROXY (object); + GVariant *variant; + guint64 value = 0; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "DefaultStartLimitIntervalUSec"); + if (variant != NULL) + { + value = g_variant_get_uint64 (variant); + g_variant_unref (variant); + } + return value; +} + +static guint +systemd1_manager_proxy_get_default_start_limit_burst (Systemd1Manager *object) +{ + Systemd1ManagerProxy *proxy = SYSTEMD1_MANAGER_PROXY (object); + GVariant *variant; + guint value = 0; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "DefaultStartLimitBurst"); + if (variant != NULL) + { + value = g_variant_get_uint32 (variant); + g_variant_unref (variant); + } + return value; +} + +static gboolean +systemd1_manager_proxy_get_default_cpuaccounting (Systemd1Manager *object) +{ + Systemd1ManagerProxy *proxy = SYSTEMD1_MANAGER_PROXY (object); + GVariant *variant; + gboolean value = 0; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "DefaultCPUAccounting"); + if (variant != NULL) + { + value = g_variant_get_boolean (variant); + g_variant_unref (variant); + } + return value; +} + +static gboolean +systemd1_manager_proxy_get_default_block_ioaccounting (Systemd1Manager *object) +{ + Systemd1ManagerProxy *proxy = SYSTEMD1_MANAGER_PROXY (object); + GVariant *variant; + gboolean value = 0; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "DefaultBlockIOAccounting"); + if (variant != NULL) + { + value = g_variant_get_boolean (variant); + g_variant_unref (variant); + } + return value; +} + +static gboolean +systemd1_manager_proxy_get_default_memory_accounting (Systemd1Manager *object) +{ + Systemd1ManagerProxy *proxy = SYSTEMD1_MANAGER_PROXY (object); + GVariant *variant; + gboolean value = 0; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "DefaultMemoryAccounting"); + if (variant != NULL) + { + value = g_variant_get_boolean (variant); + g_variant_unref (variant); + } + return value; +} + +static gboolean +systemd1_manager_proxy_get_default_tasks_accounting (Systemd1Manager *object) +{ + Systemd1ManagerProxy *proxy = SYSTEMD1_MANAGER_PROXY (object); + GVariant *variant; + gboolean value = 0; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "DefaultTasksAccounting"); + if (variant != NULL) + { + value = g_variant_get_boolean (variant); + g_variant_unref (variant); + } + return value; +} + +static guint64 +systemd1_manager_proxy_get_default_limit_cpu (Systemd1Manager *object) +{ + Systemd1ManagerProxy *proxy = SYSTEMD1_MANAGER_PROXY (object); + GVariant *variant; + guint64 value = 0; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "DefaultLimitCPU"); + if (variant != NULL) + { + value = g_variant_get_uint64 (variant); + g_variant_unref (variant); + } + return value; +} + +static guint64 +systemd1_manager_proxy_get_default_limit_cpusoft (Systemd1Manager *object) +{ + Systemd1ManagerProxy *proxy = SYSTEMD1_MANAGER_PROXY (object); + GVariant *variant; + guint64 value = 0; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "DefaultLimitCPUSoft"); + if (variant != NULL) + { + value = g_variant_get_uint64 (variant); + g_variant_unref (variant); + } + return value; +} + +static guint64 +systemd1_manager_proxy_get_default_limit_fsize (Systemd1Manager *object) +{ + Systemd1ManagerProxy *proxy = SYSTEMD1_MANAGER_PROXY (object); + GVariant *variant; + guint64 value = 0; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "DefaultLimitFSIZE"); + if (variant != NULL) + { + value = g_variant_get_uint64 (variant); + g_variant_unref (variant); + } + return value; +} + +static guint64 +systemd1_manager_proxy_get_default_limit_fsizesoft (Systemd1Manager *object) +{ + Systemd1ManagerProxy *proxy = SYSTEMD1_MANAGER_PROXY (object); + GVariant *variant; + guint64 value = 0; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "DefaultLimitFSIZESoft"); + if (variant != NULL) + { + value = g_variant_get_uint64 (variant); + g_variant_unref (variant); + } + return value; +} + +static guint64 +systemd1_manager_proxy_get_default_limit_data (Systemd1Manager *object) +{ + Systemd1ManagerProxy *proxy = SYSTEMD1_MANAGER_PROXY (object); + GVariant *variant; + guint64 value = 0; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "DefaultLimitDATA"); + if (variant != NULL) + { + value = g_variant_get_uint64 (variant); + g_variant_unref (variant); + } + return value; +} + +static guint64 +systemd1_manager_proxy_get_default_limit_datasoft (Systemd1Manager *object) +{ + Systemd1ManagerProxy *proxy = SYSTEMD1_MANAGER_PROXY (object); + GVariant *variant; + guint64 value = 0; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "DefaultLimitDATASoft"); + if (variant != NULL) + { + value = g_variant_get_uint64 (variant); + g_variant_unref (variant); + } + return value; +} + +static guint64 +systemd1_manager_proxy_get_default_limit_stack (Systemd1Manager *object) +{ + Systemd1ManagerProxy *proxy = SYSTEMD1_MANAGER_PROXY (object); + GVariant *variant; + guint64 value = 0; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "DefaultLimitSTACK"); + if (variant != NULL) + { + value = g_variant_get_uint64 (variant); + g_variant_unref (variant); + } + return value; +} + +static guint64 +systemd1_manager_proxy_get_default_limit_stacksoft (Systemd1Manager *object) +{ + Systemd1ManagerProxy *proxy = SYSTEMD1_MANAGER_PROXY (object); + GVariant *variant; + guint64 value = 0; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "DefaultLimitSTACKSoft"); + if (variant != NULL) + { + value = g_variant_get_uint64 (variant); + g_variant_unref (variant); + } + return value; +} + +static guint64 +systemd1_manager_proxy_get_default_limit_core (Systemd1Manager *object) +{ + Systemd1ManagerProxy *proxy = SYSTEMD1_MANAGER_PROXY (object); + GVariant *variant; + guint64 value = 0; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "DefaultLimitCORE"); + if (variant != NULL) + { + value = g_variant_get_uint64 (variant); + g_variant_unref (variant); + } + return value; +} + +static guint64 +systemd1_manager_proxy_get_default_limit_coresoft (Systemd1Manager *object) +{ + Systemd1ManagerProxy *proxy = SYSTEMD1_MANAGER_PROXY (object); + GVariant *variant; + guint64 value = 0; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "DefaultLimitCORESoft"); + if (variant != NULL) + { + value = g_variant_get_uint64 (variant); + g_variant_unref (variant); + } + return value; +} + +static guint64 +systemd1_manager_proxy_get_default_limit_rss (Systemd1Manager *object) +{ + Systemd1ManagerProxy *proxy = SYSTEMD1_MANAGER_PROXY (object); + GVariant *variant; + guint64 value = 0; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "DefaultLimitRSS"); + if (variant != NULL) + { + value = g_variant_get_uint64 (variant); + g_variant_unref (variant); + } + return value; +} + +static guint64 +systemd1_manager_proxy_get_default_limit_rsssoft (Systemd1Manager *object) +{ + Systemd1ManagerProxy *proxy = SYSTEMD1_MANAGER_PROXY (object); + GVariant *variant; + guint64 value = 0; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "DefaultLimitRSSSoft"); + if (variant != NULL) + { + value = g_variant_get_uint64 (variant); + g_variant_unref (variant); + } + return value; +} + +static guint64 +systemd1_manager_proxy_get_default_limit_nofile (Systemd1Manager *object) +{ + Systemd1ManagerProxy *proxy = SYSTEMD1_MANAGER_PROXY (object); + GVariant *variant; + guint64 value = 0; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "DefaultLimitNOFILE"); + if (variant != NULL) + { + value = g_variant_get_uint64 (variant); + g_variant_unref (variant); + } + return value; +} + +static guint64 +systemd1_manager_proxy_get_default_limit_nofilesoft (Systemd1Manager *object) +{ + Systemd1ManagerProxy *proxy = SYSTEMD1_MANAGER_PROXY (object); + GVariant *variant; + guint64 value = 0; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "DefaultLimitNOFILESoft"); + if (variant != NULL) + { + value = g_variant_get_uint64 (variant); + g_variant_unref (variant); + } + return value; +} + +static guint64 +systemd1_manager_proxy_get_default_limit_as (Systemd1Manager *object) +{ + Systemd1ManagerProxy *proxy = SYSTEMD1_MANAGER_PROXY (object); + GVariant *variant; + guint64 value = 0; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "DefaultLimitAS"); + if (variant != NULL) + { + value = g_variant_get_uint64 (variant); + g_variant_unref (variant); + } + return value; +} + +static guint64 +systemd1_manager_proxy_get_default_limit_assoft (Systemd1Manager *object) +{ + Systemd1ManagerProxy *proxy = SYSTEMD1_MANAGER_PROXY (object); + GVariant *variant; + guint64 value = 0; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "DefaultLimitASSoft"); + if (variant != NULL) + { + value = g_variant_get_uint64 (variant); + g_variant_unref (variant); + } + return value; +} + +static guint64 +systemd1_manager_proxy_get_default_limit_nproc (Systemd1Manager *object) +{ + Systemd1ManagerProxy *proxy = SYSTEMD1_MANAGER_PROXY (object); + GVariant *variant; + guint64 value = 0; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "DefaultLimitNPROC"); + if (variant != NULL) + { + value = g_variant_get_uint64 (variant); + g_variant_unref (variant); + } + return value; +} + +static guint64 +systemd1_manager_proxy_get_default_limit_nprocsoft (Systemd1Manager *object) +{ + Systemd1ManagerProxy *proxy = SYSTEMD1_MANAGER_PROXY (object); + GVariant *variant; + guint64 value = 0; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "DefaultLimitNPROCSoft"); + if (variant != NULL) + { + value = g_variant_get_uint64 (variant); + g_variant_unref (variant); + } + return value; +} + +static guint64 +systemd1_manager_proxy_get_default_limit_memlock (Systemd1Manager *object) +{ + Systemd1ManagerProxy *proxy = SYSTEMD1_MANAGER_PROXY (object); + GVariant *variant; + guint64 value = 0; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "DefaultLimitMEMLOCK"); + if (variant != NULL) + { + value = g_variant_get_uint64 (variant); + g_variant_unref (variant); + } + return value; +} + +static guint64 +systemd1_manager_proxy_get_default_limit_memlocksoft (Systemd1Manager *object) +{ + Systemd1ManagerProxy *proxy = SYSTEMD1_MANAGER_PROXY (object); + GVariant *variant; + guint64 value = 0; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "DefaultLimitMEMLOCKSoft"); + if (variant != NULL) + { + value = g_variant_get_uint64 (variant); + g_variant_unref (variant); + } + return value; +} + +static guint64 +systemd1_manager_proxy_get_default_limit_locks (Systemd1Manager *object) +{ + Systemd1ManagerProxy *proxy = SYSTEMD1_MANAGER_PROXY (object); + GVariant *variant; + guint64 value = 0; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "DefaultLimitLOCKS"); + if (variant != NULL) + { + value = g_variant_get_uint64 (variant); + g_variant_unref (variant); + } + return value; +} + +static guint64 +systemd1_manager_proxy_get_default_limit_lockssoft (Systemd1Manager *object) +{ + Systemd1ManagerProxy *proxy = SYSTEMD1_MANAGER_PROXY (object); + GVariant *variant; + guint64 value = 0; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "DefaultLimitLOCKSSoft"); + if (variant != NULL) + { + value = g_variant_get_uint64 (variant); + g_variant_unref (variant); + } + return value; +} + +static guint64 +systemd1_manager_proxy_get_default_limit_sigpending (Systemd1Manager *object) +{ + Systemd1ManagerProxy *proxy = SYSTEMD1_MANAGER_PROXY (object); + GVariant *variant; + guint64 value = 0; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "DefaultLimitSIGPENDING"); + if (variant != NULL) + { + value = g_variant_get_uint64 (variant); + g_variant_unref (variant); + } + return value; +} + +static guint64 +systemd1_manager_proxy_get_default_limit_sigpendingsoft (Systemd1Manager *object) +{ + Systemd1ManagerProxy *proxy = SYSTEMD1_MANAGER_PROXY (object); + GVariant *variant; + guint64 value = 0; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "DefaultLimitSIGPENDINGSoft"); + if (variant != NULL) + { + value = g_variant_get_uint64 (variant); + g_variant_unref (variant); + } + return value; +} + +static guint64 +systemd1_manager_proxy_get_default_limit_msgqueue (Systemd1Manager *object) +{ + Systemd1ManagerProxy *proxy = SYSTEMD1_MANAGER_PROXY (object); + GVariant *variant; + guint64 value = 0; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "DefaultLimitMSGQUEUE"); + if (variant != NULL) + { + value = g_variant_get_uint64 (variant); + g_variant_unref (variant); + } + return value; +} + +static guint64 +systemd1_manager_proxy_get_default_limit_msgqueuesoft (Systemd1Manager *object) +{ + Systemd1ManagerProxy *proxy = SYSTEMD1_MANAGER_PROXY (object); + GVariant *variant; + guint64 value = 0; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "DefaultLimitMSGQUEUESoft"); + if (variant != NULL) + { + value = g_variant_get_uint64 (variant); + g_variant_unref (variant); + } + return value; +} + +static guint64 +systemd1_manager_proxy_get_default_limit_nice (Systemd1Manager *object) +{ + Systemd1ManagerProxy *proxy = SYSTEMD1_MANAGER_PROXY (object); + GVariant *variant; + guint64 value = 0; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "DefaultLimitNICE"); + if (variant != NULL) + { + value = g_variant_get_uint64 (variant); + g_variant_unref (variant); + } + return value; +} + +static guint64 +systemd1_manager_proxy_get_default_limit_nicesoft (Systemd1Manager *object) +{ + Systemd1ManagerProxy *proxy = SYSTEMD1_MANAGER_PROXY (object); + GVariant *variant; + guint64 value = 0; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "DefaultLimitNICESoft"); + if (variant != NULL) + { + value = g_variant_get_uint64 (variant); + g_variant_unref (variant); + } + return value; +} + +static guint64 +systemd1_manager_proxy_get_default_limit_rtprio (Systemd1Manager *object) +{ + Systemd1ManagerProxy *proxy = SYSTEMD1_MANAGER_PROXY (object); + GVariant *variant; + guint64 value = 0; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "DefaultLimitRTPRIO"); + if (variant != NULL) + { + value = g_variant_get_uint64 (variant); + g_variant_unref (variant); + } + return value; +} + +static guint64 +systemd1_manager_proxy_get_default_limit_rtpriosoft (Systemd1Manager *object) +{ + Systemd1ManagerProxy *proxy = SYSTEMD1_MANAGER_PROXY (object); + GVariant *variant; + guint64 value = 0; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "DefaultLimitRTPRIOSoft"); + if (variant != NULL) + { + value = g_variant_get_uint64 (variant); + g_variant_unref (variant); + } + return value; +} + +static guint64 +systemd1_manager_proxy_get_default_limit_rttime (Systemd1Manager *object) +{ + Systemd1ManagerProxy *proxy = SYSTEMD1_MANAGER_PROXY (object); + GVariant *variant; + guint64 value = 0; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "DefaultLimitRTTIME"); + if (variant != NULL) + { + value = g_variant_get_uint64 (variant); + g_variant_unref (variant); + } + return value; +} + +static guint64 +systemd1_manager_proxy_get_default_limit_rttimesoft (Systemd1Manager *object) +{ + Systemd1ManagerProxy *proxy = SYSTEMD1_MANAGER_PROXY (object); + GVariant *variant; + guint64 value = 0; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "DefaultLimitRTTIMESoft"); + if (variant != NULL) + { + value = g_variant_get_uint64 (variant); + g_variant_unref (variant); + } + return value; +} + +static guint64 +systemd1_manager_proxy_get_default_tasks_max (Systemd1Manager *object) +{ + Systemd1ManagerProxy *proxy = SYSTEMD1_MANAGER_PROXY (object); + GVariant *variant; + guint64 value = 0; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "DefaultTasksMax"); + if (variant != NULL) + { + value = g_variant_get_uint64 (variant); + g_variant_unref (variant); + } + return value; +} + +static guint64 +systemd1_manager_proxy_get_timer_slack_nsec (Systemd1Manager *object) +{ + Systemd1ManagerProxy *proxy = SYSTEMD1_MANAGER_PROXY (object); + GVariant *variant; + guint64 value = 0; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "TimerSlackNSec"); + if (variant != NULL) + { + value = g_variant_get_uint64 (variant); + g_variant_unref (variant); + } + return value; +} + +static const gchar * +systemd1_manager_proxy_get_default_oompolicy (Systemd1Manager *object) +{ + Systemd1ManagerProxy *proxy = SYSTEMD1_MANAGER_PROXY (object); + GVariant *variant; + const gchar *value = NULL; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "DefaultOOMPolicy"); + if (variant != NULL) + { + value = g_variant_get_string (variant, NULL); + g_variant_unref (variant); + } + return value; +} + +static const gchar * +systemd1_manager_proxy_get_ctrl_alt_del_burst_action (Systemd1Manager *object) +{ + Systemd1ManagerProxy *proxy = SYSTEMD1_MANAGER_PROXY (object); + GVariant *variant; + const gchar *value = NULL; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "CtrlAltDelBurstAction"); + if (variant != NULL) + { + value = g_variant_get_string (variant, NULL); + g_variant_unref (variant); + } + return value; +} + +static void +systemd1_manager_proxy_init (Systemd1ManagerProxy *proxy) +{ +#if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 + proxy->priv = systemd1_manager_proxy_get_instance_private (proxy); +#else + proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_SYSTEMD1_MANAGER_PROXY, Systemd1ManagerProxyPrivate); +#endif + + g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), systemd1_manager_interface_info ()); +} + +static void +systemd1_manager_proxy_class_init (Systemd1ManagerProxyClass *klass) +{ + GObjectClass *gobject_class; + GDBusProxyClass *proxy_class; + + gobject_class = G_OBJECT_CLASS (klass); + gobject_class->finalize = systemd1_manager_proxy_finalize; + gobject_class->get_property = systemd1_manager_proxy_get_property; + gobject_class->set_property = systemd1_manager_proxy_set_property; + + proxy_class = G_DBUS_PROXY_CLASS (klass); + proxy_class->g_signal = systemd1_manager_proxy_g_signal; + proxy_class->g_properties_changed = systemd1_manager_proxy_g_properties_changed; + + systemd1_manager_override_properties (gobject_class, 1); + +#if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 + g_type_class_add_private (klass, sizeof (Systemd1ManagerProxyPrivate)); +#endif +} + +static void +systemd1_manager_proxy_iface_init (Systemd1ManagerIface *iface) +{ + iface->get_version = systemd1_manager_proxy_get_version; + iface->get_features = systemd1_manager_proxy_get_features; + iface->get_virtualization = systemd1_manager_proxy_get_virtualization; + iface->get_architecture = systemd1_manager_proxy_get_architecture; + iface->get_tainted = systemd1_manager_proxy_get_tainted; + iface->get_firmware_timestamp = systemd1_manager_proxy_get_firmware_timestamp; + iface->get_firmware_timestamp_monotonic = systemd1_manager_proxy_get_firmware_timestamp_monotonic; + iface->get_loader_timestamp = systemd1_manager_proxy_get_loader_timestamp; + iface->get_loader_timestamp_monotonic = systemd1_manager_proxy_get_loader_timestamp_monotonic; + iface->get_kernel_timestamp = systemd1_manager_proxy_get_kernel_timestamp; + iface->get_kernel_timestamp_monotonic = systemd1_manager_proxy_get_kernel_timestamp_monotonic; + iface->get_init_rdtimestamp = systemd1_manager_proxy_get_init_rdtimestamp; + iface->get_init_rdtimestamp_monotonic = systemd1_manager_proxy_get_init_rdtimestamp_monotonic; + iface->get_userspace_timestamp = systemd1_manager_proxy_get_userspace_timestamp; + iface->get_userspace_timestamp_monotonic = systemd1_manager_proxy_get_userspace_timestamp_monotonic; + iface->get_finish_timestamp = systemd1_manager_proxy_get_finish_timestamp; + iface->get_finish_timestamp_monotonic = systemd1_manager_proxy_get_finish_timestamp_monotonic; + iface->get_security_start_timestamp = systemd1_manager_proxy_get_security_start_timestamp; + iface->get_security_start_timestamp_monotonic = systemd1_manager_proxy_get_security_start_timestamp_monotonic; + iface->get_security_finish_timestamp = systemd1_manager_proxy_get_security_finish_timestamp; + iface->get_security_finish_timestamp_monotonic = systemd1_manager_proxy_get_security_finish_timestamp_monotonic; + iface->get_generators_start_timestamp = systemd1_manager_proxy_get_generators_start_timestamp; + iface->get_generators_start_timestamp_monotonic = systemd1_manager_proxy_get_generators_start_timestamp_monotonic; + iface->get_generators_finish_timestamp = systemd1_manager_proxy_get_generators_finish_timestamp; + iface->get_generators_finish_timestamp_monotonic = systemd1_manager_proxy_get_generators_finish_timestamp_monotonic; + iface->get_units_load_start_timestamp = systemd1_manager_proxy_get_units_load_start_timestamp; + iface->get_units_load_start_timestamp_monotonic = systemd1_manager_proxy_get_units_load_start_timestamp_monotonic; + iface->get_units_load_finish_timestamp = systemd1_manager_proxy_get_units_load_finish_timestamp; + iface->get_units_load_finish_timestamp_monotonic = systemd1_manager_proxy_get_units_load_finish_timestamp_monotonic; + iface->get_init_rdsecurity_start_timestamp = systemd1_manager_proxy_get_init_rdsecurity_start_timestamp; + iface->get_init_rdsecurity_start_timestamp_monotonic = systemd1_manager_proxy_get_init_rdsecurity_start_timestamp_monotonic; + iface->get_init_rdsecurity_finish_timestamp = systemd1_manager_proxy_get_init_rdsecurity_finish_timestamp; + iface->get_init_rdsecurity_finish_timestamp_monotonic = systemd1_manager_proxy_get_init_rdsecurity_finish_timestamp_monotonic; + iface->get_init_rdgenerators_start_timestamp = systemd1_manager_proxy_get_init_rdgenerators_start_timestamp; + iface->get_init_rdgenerators_start_timestamp_monotonic = systemd1_manager_proxy_get_init_rdgenerators_start_timestamp_monotonic; + iface->get_init_rdgenerators_finish_timestamp = systemd1_manager_proxy_get_init_rdgenerators_finish_timestamp; + iface->get_init_rdgenerators_finish_timestamp_monotonic = systemd1_manager_proxy_get_init_rdgenerators_finish_timestamp_monotonic; + iface->get_init_rdunits_load_start_timestamp = systemd1_manager_proxy_get_init_rdunits_load_start_timestamp; + iface->get_init_rdunits_load_start_timestamp_monotonic = systemd1_manager_proxy_get_init_rdunits_load_start_timestamp_monotonic; + iface->get_init_rdunits_load_finish_timestamp = systemd1_manager_proxy_get_init_rdunits_load_finish_timestamp; + iface->get_init_rdunits_load_finish_timestamp_monotonic = systemd1_manager_proxy_get_init_rdunits_load_finish_timestamp_monotonic; + iface->get_log_level = systemd1_manager_proxy_get_log_level; + iface->get_log_target = systemd1_manager_proxy_get_log_target; + iface->get_nnames = systemd1_manager_proxy_get_nnames; + iface->get_nfailed_units = systemd1_manager_proxy_get_nfailed_units; + iface->get_njobs = systemd1_manager_proxy_get_njobs; + iface->get_ninstalled_jobs = systemd1_manager_proxy_get_ninstalled_jobs; + iface->get_nfailed_jobs = systemd1_manager_proxy_get_nfailed_jobs; + iface->get_progress = systemd1_manager_proxy_get_progress; + iface->get_environment = systemd1_manager_proxy_get_environment; + iface->get_confirm_spawn = systemd1_manager_proxy_get_confirm_spawn; + iface->get_show_status = systemd1_manager_proxy_get_show_status; + iface->get_unit_path = systemd1_manager_proxy_get_unit_path; + iface->get_default_standard_output = systemd1_manager_proxy_get_default_standard_output; + iface->get_default_standard_error = systemd1_manager_proxy_get_default_standard_error; + iface->get_runtime_watchdog_usec = systemd1_manager_proxy_get_runtime_watchdog_usec; + iface->get_reboot_watchdog_usec = systemd1_manager_proxy_get_reboot_watchdog_usec; + iface->get_kexec_watchdog_usec = systemd1_manager_proxy_get_kexec_watchdog_usec; + iface->get_service_watchdogs = systemd1_manager_proxy_get_service_watchdogs; + iface->get_control_group = systemd1_manager_proxy_get_control_group; + iface->get_system_state = systemd1_manager_proxy_get_system_state; + iface->get_exit_code = systemd1_manager_proxy_get_exit_code; + iface->get_default_timer_accuracy_usec = systemd1_manager_proxy_get_default_timer_accuracy_usec; + iface->get_default_timeout_start_usec = systemd1_manager_proxy_get_default_timeout_start_usec; + iface->get_default_timeout_stop_usec = systemd1_manager_proxy_get_default_timeout_stop_usec; + iface->get_default_timeout_abort_usec = systemd1_manager_proxy_get_default_timeout_abort_usec; + iface->get_default_restart_usec = systemd1_manager_proxy_get_default_restart_usec; + iface->get_default_start_limit_interval_usec = systemd1_manager_proxy_get_default_start_limit_interval_usec; + iface->get_default_start_limit_burst = systemd1_manager_proxy_get_default_start_limit_burst; + iface->get_default_cpuaccounting = systemd1_manager_proxy_get_default_cpuaccounting; + iface->get_default_block_ioaccounting = systemd1_manager_proxy_get_default_block_ioaccounting; + iface->get_default_memory_accounting = systemd1_manager_proxy_get_default_memory_accounting; + iface->get_default_tasks_accounting = systemd1_manager_proxy_get_default_tasks_accounting; + iface->get_default_limit_cpu = systemd1_manager_proxy_get_default_limit_cpu; + iface->get_default_limit_cpusoft = systemd1_manager_proxy_get_default_limit_cpusoft; + iface->get_default_limit_fsize = systemd1_manager_proxy_get_default_limit_fsize; + iface->get_default_limit_fsizesoft = systemd1_manager_proxy_get_default_limit_fsizesoft; + iface->get_default_limit_data = systemd1_manager_proxy_get_default_limit_data; + iface->get_default_limit_datasoft = systemd1_manager_proxy_get_default_limit_datasoft; + iface->get_default_limit_stack = systemd1_manager_proxy_get_default_limit_stack; + iface->get_default_limit_stacksoft = systemd1_manager_proxy_get_default_limit_stacksoft; + iface->get_default_limit_core = systemd1_manager_proxy_get_default_limit_core; + iface->get_default_limit_coresoft = systemd1_manager_proxy_get_default_limit_coresoft; + iface->get_default_limit_rss = systemd1_manager_proxy_get_default_limit_rss; + iface->get_default_limit_rsssoft = systemd1_manager_proxy_get_default_limit_rsssoft; + iface->get_default_limit_nofile = systemd1_manager_proxy_get_default_limit_nofile; + iface->get_default_limit_nofilesoft = systemd1_manager_proxy_get_default_limit_nofilesoft; + iface->get_default_limit_as = systemd1_manager_proxy_get_default_limit_as; + iface->get_default_limit_assoft = systemd1_manager_proxy_get_default_limit_assoft; + iface->get_default_limit_nproc = systemd1_manager_proxy_get_default_limit_nproc; + iface->get_default_limit_nprocsoft = systemd1_manager_proxy_get_default_limit_nprocsoft; + iface->get_default_limit_memlock = systemd1_manager_proxy_get_default_limit_memlock; + iface->get_default_limit_memlocksoft = systemd1_manager_proxy_get_default_limit_memlocksoft; + iface->get_default_limit_locks = systemd1_manager_proxy_get_default_limit_locks; + iface->get_default_limit_lockssoft = systemd1_manager_proxy_get_default_limit_lockssoft; + iface->get_default_limit_sigpending = systemd1_manager_proxy_get_default_limit_sigpending; + iface->get_default_limit_sigpendingsoft = systemd1_manager_proxy_get_default_limit_sigpendingsoft; + iface->get_default_limit_msgqueue = systemd1_manager_proxy_get_default_limit_msgqueue; + iface->get_default_limit_msgqueuesoft = systemd1_manager_proxy_get_default_limit_msgqueuesoft; + iface->get_default_limit_nice = systemd1_manager_proxy_get_default_limit_nice; + iface->get_default_limit_nicesoft = systemd1_manager_proxy_get_default_limit_nicesoft; + iface->get_default_limit_rtprio = systemd1_manager_proxy_get_default_limit_rtprio; + iface->get_default_limit_rtpriosoft = systemd1_manager_proxy_get_default_limit_rtpriosoft; + iface->get_default_limit_rttime = systemd1_manager_proxy_get_default_limit_rttime; + iface->get_default_limit_rttimesoft = systemd1_manager_proxy_get_default_limit_rttimesoft; + iface->get_default_tasks_max = systemd1_manager_proxy_get_default_tasks_max; + iface->get_timer_slack_nsec = systemd1_manager_proxy_get_timer_slack_nsec; + iface->get_default_oompolicy = systemd1_manager_proxy_get_default_oompolicy; + iface->get_ctrl_alt_del_burst_action = systemd1_manager_proxy_get_ctrl_alt_del_burst_action; +} + +/** + * systemd1_manager_proxy_new: + * @connection: A #GDBusConnection. + * @flags: Flags from the #GDBusProxyFlags enumeration. + * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. + * @object_path: An object path. + * @cancellable: (nullable): A #GCancellable or %NULL. + * @callback: A #GAsyncReadyCallback to call when the request is satisfied. + * @user_data: User data to pass to @callback. + * + * Asynchronously creates a proxy for the D-Bus interface <link linkend="gdbus-interface-org-freedesktop-systemd1-Manager.top_of_page">org.freedesktop.systemd1.Manager</link>. See g_dbus_proxy_new() for more details. + * + * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). + * You can then call systemd1_manager_proxy_new_finish() to get the result of the operation. + * + * See systemd1_manager_proxy_new_sync() for the synchronous, blocking version of this constructor. + */ +void +systemd1_manager_proxy_new ( + GDBusConnection *connection, + GDBusProxyFlags flags, + const gchar *name, + const gchar *object_path, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data) +{ + g_async_initable_new_async (TYPE_SYSTEMD1_MANAGER_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.freedesktop.systemd1.Manager", NULL); +} + +/** + * systemd1_manager_proxy_new_finish: + * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to systemd1_manager_proxy_new(). + * @error: Return location for error or %NULL + * + * Finishes an operation started with systemd1_manager_proxy_new(). + * + * Returns: (transfer full) (type Systemd1ManagerProxy): The constructed proxy object or %NULL if @error is set. + */ +Systemd1Manager * +systemd1_manager_proxy_new_finish ( + GAsyncResult *res, + GError **error) +{ + GObject *ret; + GObject *source_object; + source_object = g_async_result_get_source_object (res); + ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); + g_object_unref (source_object); + if (ret != NULL) + return SYSTEMD1_MANAGER (ret); + else + return NULL; +} + +/** + * systemd1_manager_proxy_new_sync: + * @connection: A #GDBusConnection. + * @flags: Flags from the #GDBusProxyFlags enumeration. + * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. + * @object_path: An object path. + * @cancellable: (nullable): A #GCancellable or %NULL. + * @error: Return location for error or %NULL + * + * Synchronously creates a proxy for the D-Bus interface <link linkend="gdbus-interface-org-freedesktop-systemd1-Manager.top_of_page">org.freedesktop.systemd1.Manager</link>. See g_dbus_proxy_new_sync() for more details. + * + * The calling thread is blocked until a reply is received. + * + * See systemd1_manager_proxy_new() for the asynchronous version of this constructor. + * + * Returns: (transfer full) (type Systemd1ManagerProxy): The constructed proxy object or %NULL if @error is set. + */ +Systemd1Manager * +systemd1_manager_proxy_new_sync ( + GDBusConnection *connection, + GDBusProxyFlags flags, + const gchar *name, + const gchar *object_path, + GCancellable *cancellable, + GError **error) +{ + GInitable *ret; + ret = g_initable_new (TYPE_SYSTEMD1_MANAGER_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.freedesktop.systemd1.Manager", NULL); + if (ret != NULL) + return SYSTEMD1_MANAGER (ret); + else + return NULL; +} + + +/** + * systemd1_manager_proxy_new_for_bus: + * @bus_type: A #GBusType. + * @flags: Flags from the #GDBusProxyFlags enumeration. + * @name: A bus name (well-known or unique). + * @object_path: An object path. + * @cancellable: (nullable): A #GCancellable or %NULL. + * @callback: A #GAsyncReadyCallback to call when the request is satisfied. + * @user_data: User data to pass to @callback. + * + * Like systemd1_manager_proxy_new() but takes a #GBusType instead of a #GDBusConnection. + * + * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). + * You can then call systemd1_manager_proxy_new_for_bus_finish() to get the result of the operation. + * + * See systemd1_manager_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. + */ +void +systemd1_manager_proxy_new_for_bus ( + GBusType bus_type, + GDBusProxyFlags flags, + const gchar *name, + const gchar *object_path, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data) +{ + g_async_initable_new_async (TYPE_SYSTEMD1_MANAGER_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.freedesktop.systemd1.Manager", NULL); +} + +/** + * systemd1_manager_proxy_new_for_bus_finish: + * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to systemd1_manager_proxy_new_for_bus(). + * @error: Return location for error or %NULL + * + * Finishes an operation started with systemd1_manager_proxy_new_for_bus(). + * + * Returns: (transfer full) (type Systemd1ManagerProxy): The constructed proxy object or %NULL if @error is set. + */ +Systemd1Manager * +systemd1_manager_proxy_new_for_bus_finish ( + GAsyncResult *res, + GError **error) +{ + GObject *ret; + GObject *source_object; + source_object = g_async_result_get_source_object (res); + ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); + g_object_unref (source_object); + if (ret != NULL) + return SYSTEMD1_MANAGER (ret); + else + return NULL; +} + +/** + * systemd1_manager_proxy_new_for_bus_sync: + * @bus_type: A #GBusType. + * @flags: Flags from the #GDBusProxyFlags enumeration. + * @name: A bus name (well-known or unique). + * @object_path: An object path. + * @cancellable: (nullable): A #GCancellable or %NULL. + * @error: Return location for error or %NULL + * + * Like systemd1_manager_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. + * + * The calling thread is blocked until a reply is received. + * + * See systemd1_manager_proxy_new_for_bus() for the asynchronous version of this constructor. + * + * Returns: (transfer full) (type Systemd1ManagerProxy): The constructed proxy object or %NULL if @error is set. + */ +Systemd1Manager * +systemd1_manager_proxy_new_for_bus_sync ( + GBusType bus_type, + GDBusProxyFlags flags, + const gchar *name, + const gchar *object_path, + GCancellable *cancellable, + GError **error) +{ + GInitable *ret; + ret = g_initable_new (TYPE_SYSTEMD1_MANAGER_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.freedesktop.systemd1.Manager", NULL); + if (ret != NULL) + return SYSTEMD1_MANAGER (ret); + else + return NULL; +} + + +/* ------------------------------------------------------------------------ */ + +/** + * Systemd1ManagerSkeleton: + * + * The #Systemd1ManagerSkeleton structure contains only private data and should only be accessed using the provided API. + */ + +/** + * Systemd1ManagerSkeletonClass: + * @parent_class: The parent class. + * + * Class structure for #Systemd1ManagerSkeleton. + */ + +struct _Systemd1ManagerSkeletonPrivate +{ + GValue *properties; + GList *changed_properties; + GSource *changed_properties_idle_source; + GMainContext *context; + GMutex lock; +}; + +static void +_systemd1_manager_skeleton_handle_method_call ( + GDBusConnection *connection G_GNUC_UNUSED, + const gchar *sender G_GNUC_UNUSED, + const gchar *object_path G_GNUC_UNUSED, + const gchar *interface_name, + const gchar *method_name, + GVariant *parameters, + GDBusMethodInvocation *invocation, + gpointer user_data) +{ + Systemd1ManagerSkeleton *skeleton = SYSTEMD1_MANAGER_SKELETON (user_data); + _ExtendedGDBusMethodInfo *info; + GVariantIter iter; + GVariant *child; + GValue *paramv; + gsize num_params; + guint num_extra; + gsize n; + guint signal_id; + GValue return_value = G_VALUE_INIT; + info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); + g_assert (info != NULL); + num_params = g_variant_n_children (parameters); + num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); + n = 0; + g_value_init (¶mv[n], TYPE_SYSTEMD1_MANAGER); + g_value_set_object (¶mv[n++], skeleton); + g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); + g_value_set_object (¶mv[n++], invocation); + if (info->pass_fdlist) + { +#ifdef G_OS_UNIX + g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); + g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); +#else + g_assert_not_reached (); +#endif + } + g_variant_iter_init (&iter, parameters); + while ((child = g_variant_iter_next_value (&iter)) != NULL) + { + _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; + if (arg_info->use_gvariant) + { + g_value_init (¶mv[n], G_TYPE_VARIANT); + g_value_set_variant (¶mv[n], child); + n++; + } + else + g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); + g_variant_unref (child); + } + signal_id = g_signal_lookup (info->signal_name, TYPE_SYSTEMD1_MANAGER); + g_value_init (&return_value, G_TYPE_BOOLEAN); + g_signal_emitv (paramv, signal_id, 0, &return_value); + if (!g_value_get_boolean (&return_value)) + g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); + g_value_unset (&return_value); + for (n = 0; n < num_params + num_extra; n++) + g_value_unset (¶mv[n]); + g_free (paramv); +} + +static GVariant * +_systemd1_manager_skeleton_handle_get_property ( + GDBusConnection *connection G_GNUC_UNUSED, + const gchar *sender G_GNUC_UNUSED, + const gchar *object_path G_GNUC_UNUSED, + const gchar *interface_name G_GNUC_UNUSED, + const gchar *property_name, + GError **error, + gpointer user_data) +{ + Systemd1ManagerSkeleton *skeleton = SYSTEMD1_MANAGER_SKELETON (user_data); + GValue value = G_VALUE_INIT; + GParamSpec *pspec; + _ExtendedGDBusPropertyInfo *info; + GVariant *ret; + ret = NULL; + info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_systemd1_manager_interface_info.parent_struct, property_name); + g_assert (info != NULL); + pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); + if (pspec == NULL) + { + g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); + } + else + { + g_value_init (&value, pspec->value_type); + g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); + ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); + g_value_unset (&value); + } + return ret; +} + +static gboolean +_systemd1_manager_skeleton_handle_set_property ( + GDBusConnection *connection G_GNUC_UNUSED, + const gchar *sender G_GNUC_UNUSED, + const gchar *object_path G_GNUC_UNUSED, + const gchar *interface_name G_GNUC_UNUSED, + const gchar *property_name, + GVariant *variant, + GError **error, + gpointer user_data) +{ + Systemd1ManagerSkeleton *skeleton = SYSTEMD1_MANAGER_SKELETON (user_data); + GValue value = G_VALUE_INIT; + GParamSpec *pspec; + _ExtendedGDBusPropertyInfo *info; + gboolean ret; + ret = FALSE; + info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_systemd1_manager_interface_info.parent_struct, property_name); + g_assert (info != NULL); + pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); + if (pspec == NULL) + { + g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); + } + else + { + if (info->use_gvariant) + g_value_set_variant (&value, variant); + else + g_dbus_gvariant_to_gvalue (variant, &value); + g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); + g_value_unset (&value); + ret = TRUE; + } + return ret; +} + +static const GDBusInterfaceVTable _systemd1_manager_skeleton_vtable = +{ + _systemd1_manager_skeleton_handle_method_call, + _systemd1_manager_skeleton_handle_get_property, + _systemd1_manager_skeleton_handle_set_property, + {NULL} +}; + +static GDBusInterfaceInfo * +systemd1_manager_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) +{ + return systemd1_manager_interface_info (); +} + +static GDBusInterfaceVTable * +systemd1_manager_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) +{ + return (GDBusInterfaceVTable *) &_systemd1_manager_skeleton_vtable; +} + +static GVariant * +systemd1_manager_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) +{ + Systemd1ManagerSkeleton *skeleton = SYSTEMD1_MANAGER_SKELETON (_skeleton); + + GVariantBuilder builder; + guint n; + g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); + if (_systemd1_manager_interface_info.parent_struct.properties == NULL) + goto out; + for (n = 0; _systemd1_manager_interface_info.parent_struct.properties[n] != NULL; n++) + { + GDBusPropertyInfo *info = _systemd1_manager_interface_info.parent_struct.properties[n]; + if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) + { + GVariant *value; + value = _systemd1_manager_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.freedesktop.systemd1.Manager", info->name, NULL, skeleton); + if (value != NULL) + { + g_variant_take_ref (value); + g_variant_builder_add (&builder, "{sv}", info->name, value); + g_variant_unref (value); + } + } + } +out: + return g_variant_builder_end (&builder); +} + +static gboolean _systemd1_manager_emit_changed (gpointer user_data); + +static void +systemd1_manager_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) +{ + Systemd1ManagerSkeleton *skeleton = SYSTEMD1_MANAGER_SKELETON (_skeleton); + gboolean emit_changed = FALSE; + + g_mutex_lock (&skeleton->priv->lock); + if (skeleton->priv->changed_properties_idle_source != NULL) + { + g_source_destroy (skeleton->priv->changed_properties_idle_source); + skeleton->priv->changed_properties_idle_source = NULL; + emit_changed = TRUE; + } + g_mutex_unlock (&skeleton->priv->lock); + + if (emit_changed) + _systemd1_manager_emit_changed (skeleton); +} + +static void +_systemd1_manager_on_signal_unit_new ( + Systemd1Manager *object, + const gchar *arg_id, + const gchar *arg_unit) +{ + Systemd1ManagerSkeleton *skeleton = SYSTEMD1_MANAGER_SKELETON (object); + + GList *connections, *l; + GVariant *signal_variant; + connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); + + signal_variant = g_variant_ref_sink (g_variant_new ("(so)", + arg_id, + arg_unit)); + for (l = connections; l != NULL; l = l->next) + { + GDBusConnection *connection = l->data; + g_dbus_connection_emit_signal (connection, + NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.freedesktop.systemd1.Manager", "UnitNew", + signal_variant, NULL); + } + g_variant_unref (signal_variant); + g_list_free_full (connections, g_object_unref); +} + +static void +_systemd1_manager_on_signal_unit_removed ( + Systemd1Manager *object, + const gchar *arg_id, + const gchar *arg_unit) +{ + Systemd1ManagerSkeleton *skeleton = SYSTEMD1_MANAGER_SKELETON (object); + + GList *connections, *l; + GVariant *signal_variant; + connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); + + signal_variant = g_variant_ref_sink (g_variant_new ("(so)", + arg_id, + arg_unit)); + for (l = connections; l != NULL; l = l->next) + { + GDBusConnection *connection = l->data; + g_dbus_connection_emit_signal (connection, + NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.freedesktop.systemd1.Manager", "UnitRemoved", + signal_variant, NULL); + } + g_variant_unref (signal_variant); + g_list_free_full (connections, g_object_unref); +} + +static void +_systemd1_manager_on_signal_job_new ( + Systemd1Manager *object, + guint arg_id, + const gchar *arg_job, + const gchar *arg_unit) +{ + Systemd1ManagerSkeleton *skeleton = SYSTEMD1_MANAGER_SKELETON (object); + + GList *connections, *l; + GVariant *signal_variant; + connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); + + signal_variant = g_variant_ref_sink (g_variant_new ("(uos)", + arg_id, + arg_job, + arg_unit)); + for (l = connections; l != NULL; l = l->next) + { + GDBusConnection *connection = l->data; + g_dbus_connection_emit_signal (connection, + NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.freedesktop.systemd1.Manager", "JobNew", + signal_variant, NULL); + } + g_variant_unref (signal_variant); + g_list_free_full (connections, g_object_unref); +} + +static void +_systemd1_manager_on_signal_job_removed ( + Systemd1Manager *object, + guint arg_id, + const gchar *arg_job, + const gchar *arg_unit, + const gchar *arg_result) +{ + Systemd1ManagerSkeleton *skeleton = SYSTEMD1_MANAGER_SKELETON (object); + + GList *connections, *l; + GVariant *signal_variant; + connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); + + signal_variant = g_variant_ref_sink (g_variant_new ("(uoss)", + arg_id, + arg_job, + arg_unit, + arg_result)); + for (l = connections; l != NULL; l = l->next) + { + GDBusConnection *connection = l->data; + g_dbus_connection_emit_signal (connection, + NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.freedesktop.systemd1.Manager", "JobRemoved", + signal_variant, NULL); + } + g_variant_unref (signal_variant); + g_list_free_full (connections, g_object_unref); +} + +static void +_systemd1_manager_on_signal_startup_finished ( + Systemd1Manager *object, + guint64 arg_firmware, + guint64 arg_loader, + guint64 arg_kernel, + guint64 arg_initrd, + guint64 arg_userspace, + guint64 arg_total) +{ + Systemd1ManagerSkeleton *skeleton = SYSTEMD1_MANAGER_SKELETON (object); + + GList *connections, *l; + GVariant *signal_variant; + connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); + + signal_variant = g_variant_ref_sink (g_variant_new ("(tttttt)", + arg_firmware, + arg_loader, + arg_kernel, + arg_initrd, + arg_userspace, + arg_total)); + for (l = connections; l != NULL; l = l->next) + { + GDBusConnection *connection = l->data; + g_dbus_connection_emit_signal (connection, + NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.freedesktop.systemd1.Manager", "StartupFinished", + signal_variant, NULL); + } + g_variant_unref (signal_variant); + g_list_free_full (connections, g_object_unref); +} + +static void +_systemd1_manager_on_signal_unit_files_changed ( + Systemd1Manager *object) +{ + Systemd1ManagerSkeleton *skeleton = SYSTEMD1_MANAGER_SKELETON (object); + + GList *connections, *l; + GVariant *signal_variant; + connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); + + signal_variant = g_variant_ref_sink (g_variant_new ("()")); + for (l = connections; l != NULL; l = l->next) + { + GDBusConnection *connection = l->data; + g_dbus_connection_emit_signal (connection, + NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.freedesktop.systemd1.Manager", "UnitFilesChanged", + signal_variant, NULL); + } + g_variant_unref (signal_variant); + g_list_free_full (connections, g_object_unref); +} + +static void +_systemd1_manager_on_signal_reloading ( + Systemd1Manager *object, + gboolean arg_active) +{ + Systemd1ManagerSkeleton *skeleton = SYSTEMD1_MANAGER_SKELETON (object); + + GList *connections, *l; + GVariant *signal_variant; + connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); + + signal_variant = g_variant_ref_sink (g_variant_new ("(b)", + arg_active)); + for (l = connections; l != NULL; l = l->next) + { + GDBusConnection *connection = l->data; + g_dbus_connection_emit_signal (connection, + NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.freedesktop.systemd1.Manager", "Reloading", + signal_variant, NULL); + } + g_variant_unref (signal_variant); + g_list_free_full (connections, g_object_unref); +} + +static void systemd1_manager_skeleton_iface_init (Systemd1ManagerIface *iface); +#if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 +G_DEFINE_TYPE_WITH_CODE (Systemd1ManagerSkeleton, systemd1_manager_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, + G_ADD_PRIVATE (Systemd1ManagerSkeleton) + G_IMPLEMENT_INTERFACE (TYPE_SYSTEMD1_MANAGER, systemd1_manager_skeleton_iface_init)) + +#else +G_DEFINE_TYPE_WITH_CODE (Systemd1ManagerSkeleton, systemd1_manager_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, + G_IMPLEMENT_INTERFACE (TYPE_SYSTEMD1_MANAGER, systemd1_manager_skeleton_iface_init)) + +#endif +static void +systemd1_manager_skeleton_finalize (GObject *object) +{ + Systemd1ManagerSkeleton *skeleton = SYSTEMD1_MANAGER_SKELETON (object); + guint n; + for (n = 0; n < 109; n++) + g_value_unset (&skeleton->priv->properties[n]); + g_free (skeleton->priv->properties); + g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); + if (skeleton->priv->changed_properties_idle_source != NULL) + g_source_destroy (skeleton->priv->changed_properties_idle_source); + g_main_context_unref (skeleton->priv->context); + g_mutex_clear (&skeleton->priv->lock); + G_OBJECT_CLASS (systemd1_manager_skeleton_parent_class)->finalize (object); +} + +static void +systemd1_manager_skeleton_get_property (GObject *object, + guint prop_id, + GValue *value, + GParamSpec *pspec G_GNUC_UNUSED) +{ + Systemd1ManagerSkeleton *skeleton = SYSTEMD1_MANAGER_SKELETON (object); + g_assert (prop_id != 0 && prop_id - 1 < 109); + g_mutex_lock (&skeleton->priv->lock); + g_value_copy (&skeleton->priv->properties[prop_id - 1], value); + g_mutex_unlock (&skeleton->priv->lock); +} + +static gboolean +_systemd1_manager_emit_changed (gpointer user_data) +{ + Systemd1ManagerSkeleton *skeleton = SYSTEMD1_MANAGER_SKELETON (user_data); + GList *l; + GVariantBuilder builder; + GVariantBuilder invalidated_builder; + guint num_changes; + + g_mutex_lock (&skeleton->priv->lock); + g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); + g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); + for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) + { + ChangedProperty *cp = l->data; + GVariant *variant; + const GValue *cur_value; + + cur_value = &skeleton->priv->properties[cp->prop_id - 1]; + if (!_g_value_equal (cur_value, &cp->orig_value)) + { + variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); + g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); + g_variant_unref (variant); + num_changes++; + } + } + if (num_changes > 0) + { + GList *connections, *ll; + GVariant *signal_variant; + signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "org.freedesktop.systemd1.Manager", + &builder, &invalidated_builder)); + connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); + for (ll = connections; ll != NULL; ll = ll->next) + { + GDBusConnection *connection = ll->data; + + g_dbus_connection_emit_signal (connection, + NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), + "org.freedesktop.DBus.Properties", + "PropertiesChanged", + signal_variant, + NULL); + } + g_variant_unref (signal_variant); + g_list_free_full (connections, g_object_unref); + } + else + { + g_variant_builder_clear (&builder); + g_variant_builder_clear (&invalidated_builder); + } + g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); + skeleton->priv->changed_properties = NULL; + skeleton->priv->changed_properties_idle_source = NULL; + g_mutex_unlock (&skeleton->priv->lock); + return FALSE; +} + +static void +_systemd1_manager_schedule_emit_changed (Systemd1ManagerSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) +{ + ChangedProperty *cp; + GList *l; + cp = NULL; + for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) + { + ChangedProperty *i_cp = l->data; + if (i_cp->info == info) + { + cp = i_cp; + break; + } + } + if (cp == NULL) + { + cp = g_new0 (ChangedProperty, 1); + cp->prop_id = prop_id; + cp->info = info; + skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); + g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); + g_value_copy (orig_value, &cp->orig_value); + } +} + +static void +systemd1_manager_skeleton_notify (GObject *object, + GParamSpec *pspec G_GNUC_UNUSED) +{ + Systemd1ManagerSkeleton *skeleton = SYSTEMD1_MANAGER_SKELETON (object); + g_mutex_lock (&skeleton->priv->lock); + if (skeleton->priv->changed_properties != NULL && + skeleton->priv->changed_properties_idle_source == NULL) + { + skeleton->priv->changed_properties_idle_source = g_idle_source_new (); + g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); + g_source_set_callback (skeleton->priv->changed_properties_idle_source, _systemd1_manager_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); + g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _systemd1_manager_emit_changed"); + g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); + g_source_unref (skeleton->priv->changed_properties_idle_source); + } + g_mutex_unlock (&skeleton->priv->lock); +} + +static void +systemd1_manager_skeleton_set_property (GObject *object, + guint prop_id, + const GValue *value, + GParamSpec *pspec) +{ + const _ExtendedGDBusPropertyInfo *info; + Systemd1ManagerSkeleton *skeleton = SYSTEMD1_MANAGER_SKELETON (object); + g_assert (prop_id != 0 && prop_id - 1 < 109); + info = (const _ExtendedGDBusPropertyInfo *) _systemd1_manager_property_info_pointers[prop_id - 1]; + g_mutex_lock (&skeleton->priv->lock); + g_object_freeze_notify (object); + if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) + { + if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && + info->emits_changed_signal) + _systemd1_manager_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); + g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); + g_object_notify_by_pspec (object, pspec); + } + g_mutex_unlock (&skeleton->priv->lock); + g_object_thaw_notify (object); +} + +static void +systemd1_manager_skeleton_init (Systemd1ManagerSkeleton *skeleton) +{ +#if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 + skeleton->priv = systemd1_manager_skeleton_get_instance_private (skeleton); +#else + skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_SYSTEMD1_MANAGER_SKELETON, Systemd1ManagerSkeletonPrivate); +#endif + + g_mutex_init (&skeleton->priv->lock); + skeleton->priv->context = g_main_context_ref_thread_default (); + skeleton->priv->properties = g_new0 (GValue, 109); + g_value_init (&skeleton->priv->properties[0], G_TYPE_STRING); + g_value_init (&skeleton->priv->properties[1], G_TYPE_STRING); + g_value_init (&skeleton->priv->properties[2], G_TYPE_STRING); + g_value_init (&skeleton->priv->properties[3], G_TYPE_STRING); + g_value_init (&skeleton->priv->properties[4], G_TYPE_STRING); + g_value_init (&skeleton->priv->properties[5], G_TYPE_UINT64); + g_value_init (&skeleton->priv->properties[6], G_TYPE_UINT64); + g_value_init (&skeleton->priv->properties[7], G_TYPE_UINT64); + g_value_init (&skeleton->priv->properties[8], G_TYPE_UINT64); + g_value_init (&skeleton->priv->properties[9], G_TYPE_UINT64); + g_value_init (&skeleton->priv->properties[10], G_TYPE_UINT64); + g_value_init (&skeleton->priv->properties[11], G_TYPE_UINT64); + g_value_init (&skeleton->priv->properties[12], G_TYPE_UINT64); + g_value_init (&skeleton->priv->properties[13], G_TYPE_UINT64); + g_value_init (&skeleton->priv->properties[14], G_TYPE_UINT64); + g_value_init (&skeleton->priv->properties[15], G_TYPE_UINT64); + g_value_init (&skeleton->priv->properties[16], G_TYPE_UINT64); + g_value_init (&skeleton->priv->properties[17], G_TYPE_UINT64); + g_value_init (&skeleton->priv->properties[18], G_TYPE_UINT64); + g_value_init (&skeleton->priv->properties[19], G_TYPE_UINT64); + g_value_init (&skeleton->priv->properties[20], G_TYPE_UINT64); + g_value_init (&skeleton->priv->properties[21], G_TYPE_UINT64); + g_value_init (&skeleton->priv->properties[22], G_TYPE_UINT64); + g_value_init (&skeleton->priv->properties[23], G_TYPE_UINT64); + g_value_init (&skeleton->priv->properties[24], G_TYPE_UINT64); + g_value_init (&skeleton->priv->properties[25], G_TYPE_UINT64); + g_value_init (&skeleton->priv->properties[26], G_TYPE_UINT64); + g_value_init (&skeleton->priv->properties[27], G_TYPE_UINT64); + g_value_init (&skeleton->priv->properties[28], G_TYPE_UINT64); + g_value_init (&skeleton->priv->properties[29], G_TYPE_UINT64); + g_value_init (&skeleton->priv->properties[30], G_TYPE_UINT64); + g_value_init (&skeleton->priv->properties[31], G_TYPE_UINT64); + g_value_init (&skeleton->priv->properties[32], G_TYPE_UINT64); + g_value_init (&skeleton->priv->properties[33], G_TYPE_UINT64); + g_value_init (&skeleton->priv->properties[34], G_TYPE_UINT64); + g_value_init (&skeleton->priv->properties[35], G_TYPE_UINT64); + g_value_init (&skeleton->priv->properties[36], G_TYPE_UINT64); + g_value_init (&skeleton->priv->properties[37], G_TYPE_UINT64); + g_value_init (&skeleton->priv->properties[38], G_TYPE_UINT64); + g_value_init (&skeleton->priv->properties[39], G_TYPE_UINT64); + g_value_init (&skeleton->priv->properties[40], G_TYPE_UINT64); + g_value_init (&skeleton->priv->properties[41], G_TYPE_STRING); + g_value_init (&skeleton->priv->properties[42], G_TYPE_STRING); + g_value_init (&skeleton->priv->properties[43], G_TYPE_UINT); + g_value_init (&skeleton->priv->properties[44], G_TYPE_UINT); + g_value_init (&skeleton->priv->properties[45], G_TYPE_UINT); + g_value_init (&skeleton->priv->properties[46], G_TYPE_UINT); + g_value_init (&skeleton->priv->properties[47], G_TYPE_UINT); + g_value_init (&skeleton->priv->properties[48], G_TYPE_DOUBLE); + g_value_init (&skeleton->priv->properties[49], G_TYPE_STRV); + g_value_init (&skeleton->priv->properties[50], G_TYPE_BOOLEAN); + g_value_init (&skeleton->priv->properties[51], G_TYPE_BOOLEAN); + g_value_init (&skeleton->priv->properties[52], G_TYPE_STRV); + g_value_init (&skeleton->priv->properties[53], G_TYPE_STRING); + g_value_init (&skeleton->priv->properties[54], G_TYPE_STRING); + g_value_init (&skeleton->priv->properties[55], G_TYPE_UINT64); + g_value_init (&skeleton->priv->properties[56], G_TYPE_UINT64); + g_value_init (&skeleton->priv->properties[57], G_TYPE_UINT64); + g_value_init (&skeleton->priv->properties[58], G_TYPE_BOOLEAN); + g_value_init (&skeleton->priv->properties[59], G_TYPE_STRING); + g_value_init (&skeleton->priv->properties[60], G_TYPE_STRING); + g_value_init (&skeleton->priv->properties[61], G_TYPE_UCHAR); + g_value_init (&skeleton->priv->properties[62], G_TYPE_UINT64); + g_value_init (&skeleton->priv->properties[63], G_TYPE_UINT64); + g_value_init (&skeleton->priv->properties[64], G_TYPE_UINT64); + g_value_init (&skeleton->priv->properties[65], G_TYPE_UINT64); + g_value_init (&skeleton->priv->properties[66], G_TYPE_UINT64); + g_value_init (&skeleton->priv->properties[67], G_TYPE_UINT64); + g_value_init (&skeleton->priv->properties[68], G_TYPE_UINT); + g_value_init (&skeleton->priv->properties[69], G_TYPE_BOOLEAN); + g_value_init (&skeleton->priv->properties[70], G_TYPE_BOOLEAN); + g_value_init (&skeleton->priv->properties[71], G_TYPE_BOOLEAN); + g_value_init (&skeleton->priv->properties[72], G_TYPE_BOOLEAN); + g_value_init (&skeleton->priv->properties[73], G_TYPE_UINT64); + g_value_init (&skeleton->priv->properties[74], G_TYPE_UINT64); + g_value_init (&skeleton->priv->properties[75], G_TYPE_UINT64); + g_value_init (&skeleton->priv->properties[76], G_TYPE_UINT64); + g_value_init (&skeleton->priv->properties[77], G_TYPE_UINT64); + g_value_init (&skeleton->priv->properties[78], G_TYPE_UINT64); + g_value_init (&skeleton->priv->properties[79], G_TYPE_UINT64); + g_value_init (&skeleton->priv->properties[80], G_TYPE_UINT64); + g_value_init (&skeleton->priv->properties[81], G_TYPE_UINT64); + g_value_init (&skeleton->priv->properties[82], G_TYPE_UINT64); + g_value_init (&skeleton->priv->properties[83], G_TYPE_UINT64); + g_value_init (&skeleton->priv->properties[84], G_TYPE_UINT64); + g_value_init (&skeleton->priv->properties[85], G_TYPE_UINT64); + g_value_init (&skeleton->priv->properties[86], G_TYPE_UINT64); + g_value_init (&skeleton->priv->properties[87], G_TYPE_UINT64); + g_value_init (&skeleton->priv->properties[88], G_TYPE_UINT64); + g_value_init (&skeleton->priv->properties[89], G_TYPE_UINT64); + g_value_init (&skeleton->priv->properties[90], G_TYPE_UINT64); + g_value_init (&skeleton->priv->properties[91], G_TYPE_UINT64); + g_value_init (&skeleton->priv->properties[92], G_TYPE_UINT64); + g_value_init (&skeleton->priv->properties[93], G_TYPE_UINT64); + g_value_init (&skeleton->priv->properties[94], G_TYPE_UINT64); + g_value_init (&skeleton->priv->properties[95], G_TYPE_UINT64); + g_value_init (&skeleton->priv->properties[96], G_TYPE_UINT64); + g_value_init (&skeleton->priv->properties[97], G_TYPE_UINT64); + g_value_init (&skeleton->priv->properties[98], G_TYPE_UINT64); + g_value_init (&skeleton->priv->properties[99], G_TYPE_UINT64); + g_value_init (&skeleton->priv->properties[100], G_TYPE_UINT64); + g_value_init (&skeleton->priv->properties[101], G_TYPE_UINT64); + g_value_init (&skeleton->priv->properties[102], G_TYPE_UINT64); + g_value_init (&skeleton->priv->properties[103], G_TYPE_UINT64); + g_value_init (&skeleton->priv->properties[104], G_TYPE_UINT64); + g_value_init (&skeleton->priv->properties[105], G_TYPE_UINT64); + g_value_init (&skeleton->priv->properties[106], G_TYPE_UINT64); + g_value_init (&skeleton->priv->properties[107], G_TYPE_STRING); + g_value_init (&skeleton->priv->properties[108], G_TYPE_STRING); +} + +static const gchar * +systemd1_manager_skeleton_get_version (Systemd1Manager *object) +{ + Systemd1ManagerSkeleton *skeleton = SYSTEMD1_MANAGER_SKELETON (object); + const gchar *value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_string (&(skeleton->priv->properties[0])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static const gchar * +systemd1_manager_skeleton_get_features (Systemd1Manager *object) +{ + Systemd1ManagerSkeleton *skeleton = SYSTEMD1_MANAGER_SKELETON (object); + const gchar *value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_string (&(skeleton->priv->properties[1])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static const gchar * +systemd1_manager_skeleton_get_virtualization (Systemd1Manager *object) +{ + Systemd1ManagerSkeleton *skeleton = SYSTEMD1_MANAGER_SKELETON (object); + const gchar *value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_string (&(skeleton->priv->properties[2])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static const gchar * +systemd1_manager_skeleton_get_architecture (Systemd1Manager *object) +{ + Systemd1ManagerSkeleton *skeleton = SYSTEMD1_MANAGER_SKELETON (object); + const gchar *value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_string (&(skeleton->priv->properties[3])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static const gchar * +systemd1_manager_skeleton_get_tainted (Systemd1Manager *object) +{ + Systemd1ManagerSkeleton *skeleton = SYSTEMD1_MANAGER_SKELETON (object); + const gchar *value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_string (&(skeleton->priv->properties[4])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static guint64 +systemd1_manager_skeleton_get_firmware_timestamp (Systemd1Manager *object) +{ + Systemd1ManagerSkeleton *skeleton = SYSTEMD1_MANAGER_SKELETON (object); + guint64 value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_uint64 (&(skeleton->priv->properties[5])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static guint64 +systemd1_manager_skeleton_get_firmware_timestamp_monotonic (Systemd1Manager *object) +{ + Systemd1ManagerSkeleton *skeleton = SYSTEMD1_MANAGER_SKELETON (object); + guint64 value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_uint64 (&(skeleton->priv->properties[6])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static guint64 +systemd1_manager_skeleton_get_loader_timestamp (Systemd1Manager *object) +{ + Systemd1ManagerSkeleton *skeleton = SYSTEMD1_MANAGER_SKELETON (object); + guint64 value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_uint64 (&(skeleton->priv->properties[7])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static guint64 +systemd1_manager_skeleton_get_loader_timestamp_monotonic (Systemd1Manager *object) +{ + Systemd1ManagerSkeleton *skeleton = SYSTEMD1_MANAGER_SKELETON (object); + guint64 value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_uint64 (&(skeleton->priv->properties[8])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static guint64 +systemd1_manager_skeleton_get_kernel_timestamp (Systemd1Manager *object) +{ + Systemd1ManagerSkeleton *skeleton = SYSTEMD1_MANAGER_SKELETON (object); + guint64 value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_uint64 (&(skeleton->priv->properties[9])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static guint64 +systemd1_manager_skeleton_get_kernel_timestamp_monotonic (Systemd1Manager *object) +{ + Systemd1ManagerSkeleton *skeleton = SYSTEMD1_MANAGER_SKELETON (object); + guint64 value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_uint64 (&(skeleton->priv->properties[10])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static guint64 +systemd1_manager_skeleton_get_init_rdtimestamp (Systemd1Manager *object) +{ + Systemd1ManagerSkeleton *skeleton = SYSTEMD1_MANAGER_SKELETON (object); + guint64 value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_uint64 (&(skeleton->priv->properties[11])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static guint64 +systemd1_manager_skeleton_get_init_rdtimestamp_monotonic (Systemd1Manager *object) +{ + Systemd1ManagerSkeleton *skeleton = SYSTEMD1_MANAGER_SKELETON (object); + guint64 value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_uint64 (&(skeleton->priv->properties[12])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static guint64 +systemd1_manager_skeleton_get_userspace_timestamp (Systemd1Manager *object) +{ + Systemd1ManagerSkeleton *skeleton = SYSTEMD1_MANAGER_SKELETON (object); + guint64 value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_uint64 (&(skeleton->priv->properties[13])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static guint64 +systemd1_manager_skeleton_get_userspace_timestamp_monotonic (Systemd1Manager *object) +{ + Systemd1ManagerSkeleton *skeleton = SYSTEMD1_MANAGER_SKELETON (object); + guint64 value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_uint64 (&(skeleton->priv->properties[14])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static guint64 +systemd1_manager_skeleton_get_finish_timestamp (Systemd1Manager *object) +{ + Systemd1ManagerSkeleton *skeleton = SYSTEMD1_MANAGER_SKELETON (object); + guint64 value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_uint64 (&(skeleton->priv->properties[15])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static guint64 +systemd1_manager_skeleton_get_finish_timestamp_monotonic (Systemd1Manager *object) +{ + Systemd1ManagerSkeleton *skeleton = SYSTEMD1_MANAGER_SKELETON (object); + guint64 value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_uint64 (&(skeleton->priv->properties[16])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static guint64 +systemd1_manager_skeleton_get_security_start_timestamp (Systemd1Manager *object) +{ + Systemd1ManagerSkeleton *skeleton = SYSTEMD1_MANAGER_SKELETON (object); + guint64 value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_uint64 (&(skeleton->priv->properties[17])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static guint64 +systemd1_manager_skeleton_get_security_start_timestamp_monotonic (Systemd1Manager *object) +{ + Systemd1ManagerSkeleton *skeleton = SYSTEMD1_MANAGER_SKELETON (object); + guint64 value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_uint64 (&(skeleton->priv->properties[18])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static guint64 +systemd1_manager_skeleton_get_security_finish_timestamp (Systemd1Manager *object) +{ + Systemd1ManagerSkeleton *skeleton = SYSTEMD1_MANAGER_SKELETON (object); + guint64 value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_uint64 (&(skeleton->priv->properties[19])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static guint64 +systemd1_manager_skeleton_get_security_finish_timestamp_monotonic (Systemd1Manager *object) +{ + Systemd1ManagerSkeleton *skeleton = SYSTEMD1_MANAGER_SKELETON (object); + guint64 value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_uint64 (&(skeleton->priv->properties[20])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static guint64 +systemd1_manager_skeleton_get_generators_start_timestamp (Systemd1Manager *object) +{ + Systemd1ManagerSkeleton *skeleton = SYSTEMD1_MANAGER_SKELETON (object); + guint64 value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_uint64 (&(skeleton->priv->properties[21])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static guint64 +systemd1_manager_skeleton_get_generators_start_timestamp_monotonic (Systemd1Manager *object) +{ + Systemd1ManagerSkeleton *skeleton = SYSTEMD1_MANAGER_SKELETON (object); + guint64 value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_uint64 (&(skeleton->priv->properties[22])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static guint64 +systemd1_manager_skeleton_get_generators_finish_timestamp (Systemd1Manager *object) +{ + Systemd1ManagerSkeleton *skeleton = SYSTEMD1_MANAGER_SKELETON (object); + guint64 value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_uint64 (&(skeleton->priv->properties[23])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static guint64 +systemd1_manager_skeleton_get_generators_finish_timestamp_monotonic (Systemd1Manager *object) +{ + Systemd1ManagerSkeleton *skeleton = SYSTEMD1_MANAGER_SKELETON (object); + guint64 value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_uint64 (&(skeleton->priv->properties[24])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static guint64 +systemd1_manager_skeleton_get_units_load_start_timestamp (Systemd1Manager *object) +{ + Systemd1ManagerSkeleton *skeleton = SYSTEMD1_MANAGER_SKELETON (object); + guint64 value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_uint64 (&(skeleton->priv->properties[25])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static guint64 +systemd1_manager_skeleton_get_units_load_start_timestamp_monotonic (Systemd1Manager *object) +{ + Systemd1ManagerSkeleton *skeleton = SYSTEMD1_MANAGER_SKELETON (object); + guint64 value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_uint64 (&(skeleton->priv->properties[26])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static guint64 +systemd1_manager_skeleton_get_units_load_finish_timestamp (Systemd1Manager *object) +{ + Systemd1ManagerSkeleton *skeleton = SYSTEMD1_MANAGER_SKELETON (object); + guint64 value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_uint64 (&(skeleton->priv->properties[27])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static guint64 +systemd1_manager_skeleton_get_units_load_finish_timestamp_monotonic (Systemd1Manager *object) +{ + Systemd1ManagerSkeleton *skeleton = SYSTEMD1_MANAGER_SKELETON (object); + guint64 value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_uint64 (&(skeleton->priv->properties[28])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static guint64 +systemd1_manager_skeleton_get_init_rdsecurity_start_timestamp (Systemd1Manager *object) +{ + Systemd1ManagerSkeleton *skeleton = SYSTEMD1_MANAGER_SKELETON (object); + guint64 value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_uint64 (&(skeleton->priv->properties[29])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static guint64 +systemd1_manager_skeleton_get_init_rdsecurity_start_timestamp_monotonic (Systemd1Manager *object) +{ + Systemd1ManagerSkeleton *skeleton = SYSTEMD1_MANAGER_SKELETON (object); + guint64 value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_uint64 (&(skeleton->priv->properties[30])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static guint64 +systemd1_manager_skeleton_get_init_rdsecurity_finish_timestamp (Systemd1Manager *object) +{ + Systemd1ManagerSkeleton *skeleton = SYSTEMD1_MANAGER_SKELETON (object); + guint64 value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_uint64 (&(skeleton->priv->properties[31])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static guint64 +systemd1_manager_skeleton_get_init_rdsecurity_finish_timestamp_monotonic (Systemd1Manager *object) +{ + Systemd1ManagerSkeleton *skeleton = SYSTEMD1_MANAGER_SKELETON (object); + guint64 value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_uint64 (&(skeleton->priv->properties[32])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static guint64 +systemd1_manager_skeleton_get_init_rdgenerators_start_timestamp (Systemd1Manager *object) +{ + Systemd1ManagerSkeleton *skeleton = SYSTEMD1_MANAGER_SKELETON (object); + guint64 value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_uint64 (&(skeleton->priv->properties[33])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static guint64 +systemd1_manager_skeleton_get_init_rdgenerators_start_timestamp_monotonic (Systemd1Manager *object) +{ + Systemd1ManagerSkeleton *skeleton = SYSTEMD1_MANAGER_SKELETON (object); + guint64 value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_uint64 (&(skeleton->priv->properties[34])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static guint64 +systemd1_manager_skeleton_get_init_rdgenerators_finish_timestamp (Systemd1Manager *object) +{ + Systemd1ManagerSkeleton *skeleton = SYSTEMD1_MANAGER_SKELETON (object); + guint64 value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_uint64 (&(skeleton->priv->properties[35])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static guint64 +systemd1_manager_skeleton_get_init_rdgenerators_finish_timestamp_monotonic (Systemd1Manager *object) +{ + Systemd1ManagerSkeleton *skeleton = SYSTEMD1_MANAGER_SKELETON (object); + guint64 value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_uint64 (&(skeleton->priv->properties[36])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static guint64 +systemd1_manager_skeleton_get_init_rdunits_load_start_timestamp (Systemd1Manager *object) +{ + Systemd1ManagerSkeleton *skeleton = SYSTEMD1_MANAGER_SKELETON (object); + guint64 value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_uint64 (&(skeleton->priv->properties[37])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static guint64 +systemd1_manager_skeleton_get_init_rdunits_load_start_timestamp_monotonic (Systemd1Manager *object) +{ + Systemd1ManagerSkeleton *skeleton = SYSTEMD1_MANAGER_SKELETON (object); + guint64 value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_uint64 (&(skeleton->priv->properties[38])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static guint64 +systemd1_manager_skeleton_get_init_rdunits_load_finish_timestamp (Systemd1Manager *object) +{ + Systemd1ManagerSkeleton *skeleton = SYSTEMD1_MANAGER_SKELETON (object); + guint64 value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_uint64 (&(skeleton->priv->properties[39])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static guint64 +systemd1_manager_skeleton_get_init_rdunits_load_finish_timestamp_monotonic (Systemd1Manager *object) +{ + Systemd1ManagerSkeleton *skeleton = SYSTEMD1_MANAGER_SKELETON (object); + guint64 value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_uint64 (&(skeleton->priv->properties[40])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static const gchar * +systemd1_manager_skeleton_get_log_level (Systemd1Manager *object) +{ + Systemd1ManagerSkeleton *skeleton = SYSTEMD1_MANAGER_SKELETON (object); + const gchar *value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_string (&(skeleton->priv->properties[41])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static const gchar * +systemd1_manager_skeleton_get_log_target (Systemd1Manager *object) +{ + Systemd1ManagerSkeleton *skeleton = SYSTEMD1_MANAGER_SKELETON (object); + const gchar *value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_string (&(skeleton->priv->properties[42])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static guint +systemd1_manager_skeleton_get_nnames (Systemd1Manager *object) +{ + Systemd1ManagerSkeleton *skeleton = SYSTEMD1_MANAGER_SKELETON (object); + guint value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_uint (&(skeleton->priv->properties[43])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static guint +systemd1_manager_skeleton_get_nfailed_units (Systemd1Manager *object) +{ + Systemd1ManagerSkeleton *skeleton = SYSTEMD1_MANAGER_SKELETON (object); + guint value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_uint (&(skeleton->priv->properties[44])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static guint +systemd1_manager_skeleton_get_njobs (Systemd1Manager *object) +{ + Systemd1ManagerSkeleton *skeleton = SYSTEMD1_MANAGER_SKELETON (object); + guint value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_uint (&(skeleton->priv->properties[45])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static guint +systemd1_manager_skeleton_get_ninstalled_jobs (Systemd1Manager *object) +{ + Systemd1ManagerSkeleton *skeleton = SYSTEMD1_MANAGER_SKELETON (object); + guint value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_uint (&(skeleton->priv->properties[46])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static guint +systemd1_manager_skeleton_get_nfailed_jobs (Systemd1Manager *object) +{ + Systemd1ManagerSkeleton *skeleton = SYSTEMD1_MANAGER_SKELETON (object); + guint value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_uint (&(skeleton->priv->properties[47])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static gdouble +systemd1_manager_skeleton_get_progress (Systemd1Manager *object) +{ + Systemd1ManagerSkeleton *skeleton = SYSTEMD1_MANAGER_SKELETON (object); + gdouble value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_double (&(skeleton->priv->properties[48])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static const gchar *const * +systemd1_manager_skeleton_get_environment (Systemd1Manager *object) +{ + Systemd1ManagerSkeleton *skeleton = SYSTEMD1_MANAGER_SKELETON (object); + const gchar *const *value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_boxed (&(skeleton->priv->properties[49])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static gboolean +systemd1_manager_skeleton_get_confirm_spawn (Systemd1Manager *object) +{ + Systemd1ManagerSkeleton *skeleton = SYSTEMD1_MANAGER_SKELETON (object); + gboolean value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_boolean (&(skeleton->priv->properties[50])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static gboolean +systemd1_manager_skeleton_get_show_status (Systemd1Manager *object) +{ + Systemd1ManagerSkeleton *skeleton = SYSTEMD1_MANAGER_SKELETON (object); + gboolean value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_boolean (&(skeleton->priv->properties[51])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static const gchar *const * +systemd1_manager_skeleton_get_unit_path (Systemd1Manager *object) +{ + Systemd1ManagerSkeleton *skeleton = SYSTEMD1_MANAGER_SKELETON (object); + const gchar *const *value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_boxed (&(skeleton->priv->properties[52])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static const gchar * +systemd1_manager_skeleton_get_default_standard_output (Systemd1Manager *object) +{ + Systemd1ManagerSkeleton *skeleton = SYSTEMD1_MANAGER_SKELETON (object); + const gchar *value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_string (&(skeleton->priv->properties[53])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static const gchar * +systemd1_manager_skeleton_get_default_standard_error (Systemd1Manager *object) +{ + Systemd1ManagerSkeleton *skeleton = SYSTEMD1_MANAGER_SKELETON (object); + const gchar *value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_string (&(skeleton->priv->properties[54])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static guint64 +systemd1_manager_skeleton_get_runtime_watchdog_usec (Systemd1Manager *object) +{ + Systemd1ManagerSkeleton *skeleton = SYSTEMD1_MANAGER_SKELETON (object); + guint64 value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_uint64 (&(skeleton->priv->properties[55])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static guint64 +systemd1_manager_skeleton_get_reboot_watchdog_usec (Systemd1Manager *object) +{ + Systemd1ManagerSkeleton *skeleton = SYSTEMD1_MANAGER_SKELETON (object); + guint64 value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_uint64 (&(skeleton->priv->properties[56])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static guint64 +systemd1_manager_skeleton_get_kexec_watchdog_usec (Systemd1Manager *object) +{ + Systemd1ManagerSkeleton *skeleton = SYSTEMD1_MANAGER_SKELETON (object); + guint64 value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_uint64 (&(skeleton->priv->properties[57])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static gboolean +systemd1_manager_skeleton_get_service_watchdogs (Systemd1Manager *object) +{ + Systemd1ManagerSkeleton *skeleton = SYSTEMD1_MANAGER_SKELETON (object); + gboolean value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_boolean (&(skeleton->priv->properties[58])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static const gchar * +systemd1_manager_skeleton_get_control_group (Systemd1Manager *object) +{ + Systemd1ManagerSkeleton *skeleton = SYSTEMD1_MANAGER_SKELETON (object); + const gchar *value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_string (&(skeleton->priv->properties[59])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static const gchar * +systemd1_manager_skeleton_get_system_state (Systemd1Manager *object) +{ + Systemd1ManagerSkeleton *skeleton = SYSTEMD1_MANAGER_SKELETON (object); + const gchar *value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_string (&(skeleton->priv->properties[60])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static guchar +systemd1_manager_skeleton_get_exit_code (Systemd1Manager *object) +{ + Systemd1ManagerSkeleton *skeleton = SYSTEMD1_MANAGER_SKELETON (object); + guchar value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_uchar (&(skeleton->priv->properties[61])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static guint64 +systemd1_manager_skeleton_get_default_timer_accuracy_usec (Systemd1Manager *object) +{ + Systemd1ManagerSkeleton *skeleton = SYSTEMD1_MANAGER_SKELETON (object); + guint64 value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_uint64 (&(skeleton->priv->properties[62])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static guint64 +systemd1_manager_skeleton_get_default_timeout_start_usec (Systemd1Manager *object) +{ + Systemd1ManagerSkeleton *skeleton = SYSTEMD1_MANAGER_SKELETON (object); + guint64 value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_uint64 (&(skeleton->priv->properties[63])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static guint64 +systemd1_manager_skeleton_get_default_timeout_stop_usec (Systemd1Manager *object) +{ + Systemd1ManagerSkeleton *skeleton = SYSTEMD1_MANAGER_SKELETON (object); + guint64 value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_uint64 (&(skeleton->priv->properties[64])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static guint64 +systemd1_manager_skeleton_get_default_timeout_abort_usec (Systemd1Manager *object) +{ + Systemd1ManagerSkeleton *skeleton = SYSTEMD1_MANAGER_SKELETON (object); + guint64 value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_uint64 (&(skeleton->priv->properties[65])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static guint64 +systemd1_manager_skeleton_get_default_restart_usec (Systemd1Manager *object) +{ + Systemd1ManagerSkeleton *skeleton = SYSTEMD1_MANAGER_SKELETON (object); + guint64 value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_uint64 (&(skeleton->priv->properties[66])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static guint64 +systemd1_manager_skeleton_get_default_start_limit_interval_usec (Systemd1Manager *object) +{ + Systemd1ManagerSkeleton *skeleton = SYSTEMD1_MANAGER_SKELETON (object); + guint64 value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_uint64 (&(skeleton->priv->properties[67])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static guint +systemd1_manager_skeleton_get_default_start_limit_burst (Systemd1Manager *object) +{ + Systemd1ManagerSkeleton *skeleton = SYSTEMD1_MANAGER_SKELETON (object); + guint value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_uint (&(skeleton->priv->properties[68])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static gboolean +systemd1_manager_skeleton_get_default_cpuaccounting (Systemd1Manager *object) +{ + Systemd1ManagerSkeleton *skeleton = SYSTEMD1_MANAGER_SKELETON (object); + gboolean value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_boolean (&(skeleton->priv->properties[69])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static gboolean +systemd1_manager_skeleton_get_default_block_ioaccounting (Systemd1Manager *object) +{ + Systemd1ManagerSkeleton *skeleton = SYSTEMD1_MANAGER_SKELETON (object); + gboolean value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_boolean (&(skeleton->priv->properties[70])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static gboolean +systemd1_manager_skeleton_get_default_memory_accounting (Systemd1Manager *object) +{ + Systemd1ManagerSkeleton *skeleton = SYSTEMD1_MANAGER_SKELETON (object); + gboolean value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_boolean (&(skeleton->priv->properties[71])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static gboolean +systemd1_manager_skeleton_get_default_tasks_accounting (Systemd1Manager *object) +{ + Systemd1ManagerSkeleton *skeleton = SYSTEMD1_MANAGER_SKELETON (object); + gboolean value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_boolean (&(skeleton->priv->properties[72])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static guint64 +systemd1_manager_skeleton_get_default_limit_cpu (Systemd1Manager *object) +{ + Systemd1ManagerSkeleton *skeleton = SYSTEMD1_MANAGER_SKELETON (object); + guint64 value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_uint64 (&(skeleton->priv->properties[73])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static guint64 +systemd1_manager_skeleton_get_default_limit_cpusoft (Systemd1Manager *object) +{ + Systemd1ManagerSkeleton *skeleton = SYSTEMD1_MANAGER_SKELETON (object); + guint64 value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_uint64 (&(skeleton->priv->properties[74])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static guint64 +systemd1_manager_skeleton_get_default_limit_fsize (Systemd1Manager *object) +{ + Systemd1ManagerSkeleton *skeleton = SYSTEMD1_MANAGER_SKELETON (object); + guint64 value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_uint64 (&(skeleton->priv->properties[75])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static guint64 +systemd1_manager_skeleton_get_default_limit_fsizesoft (Systemd1Manager *object) +{ + Systemd1ManagerSkeleton *skeleton = SYSTEMD1_MANAGER_SKELETON (object); + guint64 value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_uint64 (&(skeleton->priv->properties[76])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static guint64 +systemd1_manager_skeleton_get_default_limit_data (Systemd1Manager *object) +{ + Systemd1ManagerSkeleton *skeleton = SYSTEMD1_MANAGER_SKELETON (object); + guint64 value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_uint64 (&(skeleton->priv->properties[77])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static guint64 +systemd1_manager_skeleton_get_default_limit_datasoft (Systemd1Manager *object) +{ + Systemd1ManagerSkeleton *skeleton = SYSTEMD1_MANAGER_SKELETON (object); + guint64 value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_uint64 (&(skeleton->priv->properties[78])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static guint64 +systemd1_manager_skeleton_get_default_limit_stack (Systemd1Manager *object) +{ + Systemd1ManagerSkeleton *skeleton = SYSTEMD1_MANAGER_SKELETON (object); + guint64 value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_uint64 (&(skeleton->priv->properties[79])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static guint64 +systemd1_manager_skeleton_get_default_limit_stacksoft (Systemd1Manager *object) +{ + Systemd1ManagerSkeleton *skeleton = SYSTEMD1_MANAGER_SKELETON (object); + guint64 value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_uint64 (&(skeleton->priv->properties[80])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static guint64 +systemd1_manager_skeleton_get_default_limit_core (Systemd1Manager *object) +{ + Systemd1ManagerSkeleton *skeleton = SYSTEMD1_MANAGER_SKELETON (object); + guint64 value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_uint64 (&(skeleton->priv->properties[81])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static guint64 +systemd1_manager_skeleton_get_default_limit_coresoft (Systemd1Manager *object) +{ + Systemd1ManagerSkeleton *skeleton = SYSTEMD1_MANAGER_SKELETON (object); + guint64 value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_uint64 (&(skeleton->priv->properties[82])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static guint64 +systemd1_manager_skeleton_get_default_limit_rss (Systemd1Manager *object) +{ + Systemd1ManagerSkeleton *skeleton = SYSTEMD1_MANAGER_SKELETON (object); + guint64 value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_uint64 (&(skeleton->priv->properties[83])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static guint64 +systemd1_manager_skeleton_get_default_limit_rsssoft (Systemd1Manager *object) +{ + Systemd1ManagerSkeleton *skeleton = SYSTEMD1_MANAGER_SKELETON (object); + guint64 value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_uint64 (&(skeleton->priv->properties[84])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static guint64 +systemd1_manager_skeleton_get_default_limit_nofile (Systemd1Manager *object) +{ + Systemd1ManagerSkeleton *skeleton = SYSTEMD1_MANAGER_SKELETON (object); + guint64 value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_uint64 (&(skeleton->priv->properties[85])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static guint64 +systemd1_manager_skeleton_get_default_limit_nofilesoft (Systemd1Manager *object) +{ + Systemd1ManagerSkeleton *skeleton = SYSTEMD1_MANAGER_SKELETON (object); + guint64 value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_uint64 (&(skeleton->priv->properties[86])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static guint64 +systemd1_manager_skeleton_get_default_limit_as (Systemd1Manager *object) +{ + Systemd1ManagerSkeleton *skeleton = SYSTEMD1_MANAGER_SKELETON (object); + guint64 value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_uint64 (&(skeleton->priv->properties[87])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static guint64 +systemd1_manager_skeleton_get_default_limit_assoft (Systemd1Manager *object) +{ + Systemd1ManagerSkeleton *skeleton = SYSTEMD1_MANAGER_SKELETON (object); + guint64 value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_uint64 (&(skeleton->priv->properties[88])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static guint64 +systemd1_manager_skeleton_get_default_limit_nproc (Systemd1Manager *object) +{ + Systemd1ManagerSkeleton *skeleton = SYSTEMD1_MANAGER_SKELETON (object); + guint64 value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_uint64 (&(skeleton->priv->properties[89])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static guint64 +systemd1_manager_skeleton_get_default_limit_nprocsoft (Systemd1Manager *object) +{ + Systemd1ManagerSkeleton *skeleton = SYSTEMD1_MANAGER_SKELETON (object); + guint64 value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_uint64 (&(skeleton->priv->properties[90])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static guint64 +systemd1_manager_skeleton_get_default_limit_memlock (Systemd1Manager *object) +{ + Systemd1ManagerSkeleton *skeleton = SYSTEMD1_MANAGER_SKELETON (object); + guint64 value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_uint64 (&(skeleton->priv->properties[91])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static guint64 +systemd1_manager_skeleton_get_default_limit_memlocksoft (Systemd1Manager *object) +{ + Systemd1ManagerSkeleton *skeleton = SYSTEMD1_MANAGER_SKELETON (object); + guint64 value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_uint64 (&(skeleton->priv->properties[92])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static guint64 +systemd1_manager_skeleton_get_default_limit_locks (Systemd1Manager *object) +{ + Systemd1ManagerSkeleton *skeleton = SYSTEMD1_MANAGER_SKELETON (object); + guint64 value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_uint64 (&(skeleton->priv->properties[93])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static guint64 +systemd1_manager_skeleton_get_default_limit_lockssoft (Systemd1Manager *object) +{ + Systemd1ManagerSkeleton *skeleton = SYSTEMD1_MANAGER_SKELETON (object); + guint64 value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_uint64 (&(skeleton->priv->properties[94])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static guint64 +systemd1_manager_skeleton_get_default_limit_sigpending (Systemd1Manager *object) +{ + Systemd1ManagerSkeleton *skeleton = SYSTEMD1_MANAGER_SKELETON (object); + guint64 value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_uint64 (&(skeleton->priv->properties[95])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static guint64 +systemd1_manager_skeleton_get_default_limit_sigpendingsoft (Systemd1Manager *object) +{ + Systemd1ManagerSkeleton *skeleton = SYSTEMD1_MANAGER_SKELETON (object); + guint64 value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_uint64 (&(skeleton->priv->properties[96])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static guint64 +systemd1_manager_skeleton_get_default_limit_msgqueue (Systemd1Manager *object) +{ + Systemd1ManagerSkeleton *skeleton = SYSTEMD1_MANAGER_SKELETON (object); + guint64 value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_uint64 (&(skeleton->priv->properties[97])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static guint64 +systemd1_manager_skeleton_get_default_limit_msgqueuesoft (Systemd1Manager *object) +{ + Systemd1ManagerSkeleton *skeleton = SYSTEMD1_MANAGER_SKELETON (object); + guint64 value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_uint64 (&(skeleton->priv->properties[98])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static guint64 +systemd1_manager_skeleton_get_default_limit_nice (Systemd1Manager *object) +{ + Systemd1ManagerSkeleton *skeleton = SYSTEMD1_MANAGER_SKELETON (object); + guint64 value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_uint64 (&(skeleton->priv->properties[99])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static guint64 +systemd1_manager_skeleton_get_default_limit_nicesoft (Systemd1Manager *object) +{ + Systemd1ManagerSkeleton *skeleton = SYSTEMD1_MANAGER_SKELETON (object); + guint64 value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_uint64 (&(skeleton->priv->properties[100])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static guint64 +systemd1_manager_skeleton_get_default_limit_rtprio (Systemd1Manager *object) +{ + Systemd1ManagerSkeleton *skeleton = SYSTEMD1_MANAGER_SKELETON (object); + guint64 value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_uint64 (&(skeleton->priv->properties[101])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static guint64 +systemd1_manager_skeleton_get_default_limit_rtpriosoft (Systemd1Manager *object) +{ + Systemd1ManagerSkeleton *skeleton = SYSTEMD1_MANAGER_SKELETON (object); + guint64 value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_uint64 (&(skeleton->priv->properties[102])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static guint64 +systemd1_manager_skeleton_get_default_limit_rttime (Systemd1Manager *object) +{ + Systemd1ManagerSkeleton *skeleton = SYSTEMD1_MANAGER_SKELETON (object); + guint64 value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_uint64 (&(skeleton->priv->properties[103])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static guint64 +systemd1_manager_skeleton_get_default_limit_rttimesoft (Systemd1Manager *object) +{ + Systemd1ManagerSkeleton *skeleton = SYSTEMD1_MANAGER_SKELETON (object); + guint64 value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_uint64 (&(skeleton->priv->properties[104])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static guint64 +systemd1_manager_skeleton_get_default_tasks_max (Systemd1Manager *object) +{ + Systemd1ManagerSkeleton *skeleton = SYSTEMD1_MANAGER_SKELETON (object); + guint64 value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_uint64 (&(skeleton->priv->properties[105])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static guint64 +systemd1_manager_skeleton_get_timer_slack_nsec (Systemd1Manager *object) +{ + Systemd1ManagerSkeleton *skeleton = SYSTEMD1_MANAGER_SKELETON (object); + guint64 value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_uint64 (&(skeleton->priv->properties[106])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static const gchar * +systemd1_manager_skeleton_get_default_oompolicy (Systemd1Manager *object) +{ + Systemd1ManagerSkeleton *skeleton = SYSTEMD1_MANAGER_SKELETON (object); + const gchar *value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_string (&(skeleton->priv->properties[107])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static const gchar * +systemd1_manager_skeleton_get_ctrl_alt_del_burst_action (Systemd1Manager *object) +{ + Systemd1ManagerSkeleton *skeleton = SYSTEMD1_MANAGER_SKELETON (object); + const gchar *value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_string (&(skeleton->priv->properties[108])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static void +systemd1_manager_skeleton_class_init (Systemd1ManagerSkeletonClass *klass) +{ + GObjectClass *gobject_class; + GDBusInterfaceSkeletonClass *skeleton_class; + + gobject_class = G_OBJECT_CLASS (klass); + gobject_class->finalize = systemd1_manager_skeleton_finalize; + gobject_class->get_property = systemd1_manager_skeleton_get_property; + gobject_class->set_property = systemd1_manager_skeleton_set_property; + gobject_class->notify = systemd1_manager_skeleton_notify; + + + systemd1_manager_override_properties (gobject_class, 1); + + skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); + skeleton_class->get_info = systemd1_manager_skeleton_dbus_interface_get_info; + skeleton_class->get_properties = systemd1_manager_skeleton_dbus_interface_get_properties; + skeleton_class->flush = systemd1_manager_skeleton_dbus_interface_flush; + skeleton_class->get_vtable = systemd1_manager_skeleton_dbus_interface_get_vtable; + +#if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 + g_type_class_add_private (klass, sizeof (Systemd1ManagerSkeletonPrivate)); +#endif +} + +static void +systemd1_manager_skeleton_iface_init (Systemd1ManagerIface *iface) +{ + iface->unit_new = _systemd1_manager_on_signal_unit_new; + iface->unit_removed = _systemd1_manager_on_signal_unit_removed; + iface->job_new = _systemd1_manager_on_signal_job_new; + iface->job_removed = _systemd1_manager_on_signal_job_removed; + iface->startup_finished = _systemd1_manager_on_signal_startup_finished; + iface->unit_files_changed = _systemd1_manager_on_signal_unit_files_changed; + iface->reloading = _systemd1_manager_on_signal_reloading; + iface->get_version = systemd1_manager_skeleton_get_version; + iface->get_features = systemd1_manager_skeleton_get_features; + iface->get_virtualization = systemd1_manager_skeleton_get_virtualization; + iface->get_architecture = systemd1_manager_skeleton_get_architecture; + iface->get_tainted = systemd1_manager_skeleton_get_tainted; + iface->get_firmware_timestamp = systemd1_manager_skeleton_get_firmware_timestamp; + iface->get_firmware_timestamp_monotonic = systemd1_manager_skeleton_get_firmware_timestamp_monotonic; + iface->get_loader_timestamp = systemd1_manager_skeleton_get_loader_timestamp; + iface->get_loader_timestamp_monotonic = systemd1_manager_skeleton_get_loader_timestamp_monotonic; + iface->get_kernel_timestamp = systemd1_manager_skeleton_get_kernel_timestamp; + iface->get_kernel_timestamp_monotonic = systemd1_manager_skeleton_get_kernel_timestamp_monotonic; + iface->get_init_rdtimestamp = systemd1_manager_skeleton_get_init_rdtimestamp; + iface->get_init_rdtimestamp_monotonic = systemd1_manager_skeleton_get_init_rdtimestamp_monotonic; + iface->get_userspace_timestamp = systemd1_manager_skeleton_get_userspace_timestamp; + iface->get_userspace_timestamp_monotonic = systemd1_manager_skeleton_get_userspace_timestamp_monotonic; + iface->get_finish_timestamp = systemd1_manager_skeleton_get_finish_timestamp; + iface->get_finish_timestamp_monotonic = systemd1_manager_skeleton_get_finish_timestamp_monotonic; + iface->get_security_start_timestamp = systemd1_manager_skeleton_get_security_start_timestamp; + iface->get_security_start_timestamp_monotonic = systemd1_manager_skeleton_get_security_start_timestamp_monotonic; + iface->get_security_finish_timestamp = systemd1_manager_skeleton_get_security_finish_timestamp; + iface->get_security_finish_timestamp_monotonic = systemd1_manager_skeleton_get_security_finish_timestamp_monotonic; + iface->get_generators_start_timestamp = systemd1_manager_skeleton_get_generators_start_timestamp; + iface->get_generators_start_timestamp_monotonic = systemd1_manager_skeleton_get_generators_start_timestamp_monotonic; + iface->get_generators_finish_timestamp = systemd1_manager_skeleton_get_generators_finish_timestamp; + iface->get_generators_finish_timestamp_monotonic = systemd1_manager_skeleton_get_generators_finish_timestamp_monotonic; + iface->get_units_load_start_timestamp = systemd1_manager_skeleton_get_units_load_start_timestamp; + iface->get_units_load_start_timestamp_monotonic = systemd1_manager_skeleton_get_units_load_start_timestamp_monotonic; + iface->get_units_load_finish_timestamp = systemd1_manager_skeleton_get_units_load_finish_timestamp; + iface->get_units_load_finish_timestamp_monotonic = systemd1_manager_skeleton_get_units_load_finish_timestamp_monotonic; + iface->get_init_rdsecurity_start_timestamp = systemd1_manager_skeleton_get_init_rdsecurity_start_timestamp; + iface->get_init_rdsecurity_start_timestamp_monotonic = systemd1_manager_skeleton_get_init_rdsecurity_start_timestamp_monotonic; + iface->get_init_rdsecurity_finish_timestamp = systemd1_manager_skeleton_get_init_rdsecurity_finish_timestamp; + iface->get_init_rdsecurity_finish_timestamp_monotonic = systemd1_manager_skeleton_get_init_rdsecurity_finish_timestamp_monotonic; + iface->get_init_rdgenerators_start_timestamp = systemd1_manager_skeleton_get_init_rdgenerators_start_timestamp; + iface->get_init_rdgenerators_start_timestamp_monotonic = systemd1_manager_skeleton_get_init_rdgenerators_start_timestamp_monotonic; + iface->get_init_rdgenerators_finish_timestamp = systemd1_manager_skeleton_get_init_rdgenerators_finish_timestamp; + iface->get_init_rdgenerators_finish_timestamp_monotonic = systemd1_manager_skeleton_get_init_rdgenerators_finish_timestamp_monotonic; + iface->get_init_rdunits_load_start_timestamp = systemd1_manager_skeleton_get_init_rdunits_load_start_timestamp; + iface->get_init_rdunits_load_start_timestamp_monotonic = systemd1_manager_skeleton_get_init_rdunits_load_start_timestamp_monotonic; + iface->get_init_rdunits_load_finish_timestamp = systemd1_manager_skeleton_get_init_rdunits_load_finish_timestamp; + iface->get_init_rdunits_load_finish_timestamp_monotonic = systemd1_manager_skeleton_get_init_rdunits_load_finish_timestamp_monotonic; + iface->get_log_level = systemd1_manager_skeleton_get_log_level; + iface->get_log_target = systemd1_manager_skeleton_get_log_target; + iface->get_nnames = systemd1_manager_skeleton_get_nnames; + iface->get_nfailed_units = systemd1_manager_skeleton_get_nfailed_units; + iface->get_njobs = systemd1_manager_skeleton_get_njobs; + iface->get_ninstalled_jobs = systemd1_manager_skeleton_get_ninstalled_jobs; + iface->get_nfailed_jobs = systemd1_manager_skeleton_get_nfailed_jobs; + iface->get_progress = systemd1_manager_skeleton_get_progress; + iface->get_environment = systemd1_manager_skeleton_get_environment; + iface->get_confirm_spawn = systemd1_manager_skeleton_get_confirm_spawn; + iface->get_show_status = systemd1_manager_skeleton_get_show_status; + iface->get_unit_path = systemd1_manager_skeleton_get_unit_path; + iface->get_default_standard_output = systemd1_manager_skeleton_get_default_standard_output; + iface->get_default_standard_error = systemd1_manager_skeleton_get_default_standard_error; + iface->get_runtime_watchdog_usec = systemd1_manager_skeleton_get_runtime_watchdog_usec; + iface->get_reboot_watchdog_usec = systemd1_manager_skeleton_get_reboot_watchdog_usec; + iface->get_kexec_watchdog_usec = systemd1_manager_skeleton_get_kexec_watchdog_usec; + iface->get_service_watchdogs = systemd1_manager_skeleton_get_service_watchdogs; + iface->get_control_group = systemd1_manager_skeleton_get_control_group; + iface->get_system_state = systemd1_manager_skeleton_get_system_state; + iface->get_exit_code = systemd1_manager_skeleton_get_exit_code; + iface->get_default_timer_accuracy_usec = systemd1_manager_skeleton_get_default_timer_accuracy_usec; + iface->get_default_timeout_start_usec = systemd1_manager_skeleton_get_default_timeout_start_usec; + iface->get_default_timeout_stop_usec = systemd1_manager_skeleton_get_default_timeout_stop_usec; + iface->get_default_timeout_abort_usec = systemd1_manager_skeleton_get_default_timeout_abort_usec; + iface->get_default_restart_usec = systemd1_manager_skeleton_get_default_restart_usec; + iface->get_default_start_limit_interval_usec = systemd1_manager_skeleton_get_default_start_limit_interval_usec; + iface->get_default_start_limit_burst = systemd1_manager_skeleton_get_default_start_limit_burst; + iface->get_default_cpuaccounting = systemd1_manager_skeleton_get_default_cpuaccounting; + iface->get_default_block_ioaccounting = systemd1_manager_skeleton_get_default_block_ioaccounting; + iface->get_default_memory_accounting = systemd1_manager_skeleton_get_default_memory_accounting; + iface->get_default_tasks_accounting = systemd1_manager_skeleton_get_default_tasks_accounting; + iface->get_default_limit_cpu = systemd1_manager_skeleton_get_default_limit_cpu; + iface->get_default_limit_cpusoft = systemd1_manager_skeleton_get_default_limit_cpusoft; + iface->get_default_limit_fsize = systemd1_manager_skeleton_get_default_limit_fsize; + iface->get_default_limit_fsizesoft = systemd1_manager_skeleton_get_default_limit_fsizesoft; + iface->get_default_limit_data = systemd1_manager_skeleton_get_default_limit_data; + iface->get_default_limit_datasoft = systemd1_manager_skeleton_get_default_limit_datasoft; + iface->get_default_limit_stack = systemd1_manager_skeleton_get_default_limit_stack; + iface->get_default_limit_stacksoft = systemd1_manager_skeleton_get_default_limit_stacksoft; + iface->get_default_limit_core = systemd1_manager_skeleton_get_default_limit_core; + iface->get_default_limit_coresoft = systemd1_manager_skeleton_get_default_limit_coresoft; + iface->get_default_limit_rss = systemd1_manager_skeleton_get_default_limit_rss; + iface->get_default_limit_rsssoft = systemd1_manager_skeleton_get_default_limit_rsssoft; + iface->get_default_limit_nofile = systemd1_manager_skeleton_get_default_limit_nofile; + iface->get_default_limit_nofilesoft = systemd1_manager_skeleton_get_default_limit_nofilesoft; + iface->get_default_limit_as = systemd1_manager_skeleton_get_default_limit_as; + iface->get_default_limit_assoft = systemd1_manager_skeleton_get_default_limit_assoft; + iface->get_default_limit_nproc = systemd1_manager_skeleton_get_default_limit_nproc; + iface->get_default_limit_nprocsoft = systemd1_manager_skeleton_get_default_limit_nprocsoft; + iface->get_default_limit_memlock = systemd1_manager_skeleton_get_default_limit_memlock; + iface->get_default_limit_memlocksoft = systemd1_manager_skeleton_get_default_limit_memlocksoft; + iface->get_default_limit_locks = systemd1_manager_skeleton_get_default_limit_locks; + iface->get_default_limit_lockssoft = systemd1_manager_skeleton_get_default_limit_lockssoft; + iface->get_default_limit_sigpending = systemd1_manager_skeleton_get_default_limit_sigpending; + iface->get_default_limit_sigpendingsoft = systemd1_manager_skeleton_get_default_limit_sigpendingsoft; + iface->get_default_limit_msgqueue = systemd1_manager_skeleton_get_default_limit_msgqueue; + iface->get_default_limit_msgqueuesoft = systemd1_manager_skeleton_get_default_limit_msgqueuesoft; + iface->get_default_limit_nice = systemd1_manager_skeleton_get_default_limit_nice; + iface->get_default_limit_nicesoft = systemd1_manager_skeleton_get_default_limit_nicesoft; + iface->get_default_limit_rtprio = systemd1_manager_skeleton_get_default_limit_rtprio; + iface->get_default_limit_rtpriosoft = systemd1_manager_skeleton_get_default_limit_rtpriosoft; + iface->get_default_limit_rttime = systemd1_manager_skeleton_get_default_limit_rttime; + iface->get_default_limit_rttimesoft = systemd1_manager_skeleton_get_default_limit_rttimesoft; + iface->get_default_tasks_max = systemd1_manager_skeleton_get_default_tasks_max; + iface->get_timer_slack_nsec = systemd1_manager_skeleton_get_timer_slack_nsec; + iface->get_default_oompolicy = systemd1_manager_skeleton_get_default_oompolicy; + iface->get_ctrl_alt_del_burst_action = systemd1_manager_skeleton_get_ctrl_alt_del_burst_action; +} + +/** + * systemd1_manager_skeleton_new: + * + * Creates a skeleton object for the D-Bus interface <link linkend="gdbus-interface-org-freedesktop-systemd1-Manager.top_of_page">org.freedesktop.systemd1.Manager</link>. + * + * Returns: (transfer full) (type Systemd1ManagerSkeleton): The skeleton object. + */ +Systemd1Manager * +systemd1_manager_skeleton_new (void) +{ + return SYSTEMD1_MANAGER (g_object_new (TYPE_SYSTEMD1_MANAGER_SKELETON, NULL)); +} + +/* ------------------------------------------------------------------------ + * Code for Object, ObjectProxy and ObjectSkeleton + * ------------------------------------------------------------------------ + */ + +/** + * SECTION:Object + * @title: Object + * @short_description: Specialized GDBusObject types + * + * This section contains the #Object, #ObjectProxy, and #ObjectSkeleton types which make it easier to work with objects implementing generated types for D-Bus interfaces. + */ + +/** + * Object: + * + * The #Object type is a specialized container of interfaces. + */ + +/** + * ObjectIface: + * @parent_iface: The parent interface. + * + * Virtual table for the #Object interface. + */ + +typedef ObjectIface ObjectInterface; +G_DEFINE_INTERFACE_WITH_CODE (Object, object, G_TYPE_OBJECT, g_type_interface_add_prerequisite (g_define_type_id, G_TYPE_DBUS_OBJECT);) + +static void +object_default_init (ObjectIface *iface) +{ + /** + * Object:systemd1-manager: + * + * The #Systemd1Manager instance corresponding to the D-Bus interface <link linkend="gdbus-interface-org-freedesktop-systemd1-Manager.top_of_page">org.freedesktop.systemd1.Manager</link>, if any. + * + * Connect to the #GObject::notify signal to get informed of property changes. + */ + g_object_interface_install_property (iface, g_param_spec_object ("systemd1-manager", "systemd1-manager", "systemd1-manager", TYPE_SYSTEMD1_MANAGER, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + +} + +/** + * object_get_systemd1_manager: + * @object: A #Object. + * + * Gets the #Systemd1Manager instance for the D-Bus interface <link linkend="gdbus-interface-org-freedesktop-systemd1-Manager.top_of_page">org.freedesktop.systemd1.Manager</link> on @object, if any. + * + * Returns: (transfer full) (nullable): A #Systemd1Manager that must be freed with g_object_unref() or %NULL if @object does not implement the interface. + */ +Systemd1Manager *object_get_systemd1_manager (Object *object) +{ + GDBusInterface *ret; + ret = g_dbus_object_get_interface (G_DBUS_OBJECT (object), "org.freedesktop.systemd1.Manager"); + if (ret == NULL) + return NULL; + return SYSTEMD1_MANAGER (ret); +} + + +/** + * object_peek_systemd1_manager: (skip) + * @object: A #Object. + * + * Like object_get_systemd1_manager() but doesn't increase the reference count on the returned object. + * + * It is not safe to use the returned object if you are on another thread than the one where the #GDBusObjectManagerClient or #GDBusObjectManagerServer for @object is running. + * + * Returns: (transfer none) (nullable): A #Systemd1Manager or %NULL if @object does not implement the interface. Do not free the returned object, it is owned by @object. + */ +Systemd1Manager *object_peek_systemd1_manager (Object *object) +{ + GDBusInterface *ret; + ret = g_dbus_object_get_interface (G_DBUS_OBJECT (object), "org.freedesktop.systemd1.Manager"); + if (ret == NULL) + return NULL; + g_object_unref (ret); + return SYSTEMD1_MANAGER (ret); +} + + +static void +object_notify (GDBusObject *object, GDBusInterface *interface) +{ + _ExtendedGDBusInterfaceInfo *info = (_ExtendedGDBusInterfaceInfo *) g_dbus_interface_get_info (interface); + /* info can be NULL if the other end is using a D-Bus interface we don't know + * anything about, for example old generated code in this process talking to + * newer generated code in the other process. */ + if (info != NULL) + g_object_notify (G_OBJECT (object), info->hyphen_name); +} + +/** + * ObjectProxy: + * + * The #ObjectProxy structure contains only private data and should only be accessed using the provided API. + */ + +/** + * ObjectProxyClass: + * @parent_class: The parent class. + * + * Class structure for #ObjectProxy. + */ + +static void +object_proxy__object_iface_init (ObjectIface *iface G_GNUC_UNUSED) +{ +} + +static void +object_proxy__g_dbus_object_iface_init (GDBusObjectIface *iface) +{ + iface->interface_added = object_notify; + iface->interface_removed = object_notify; +} + + +G_DEFINE_TYPE_WITH_CODE (ObjectProxy, object_proxy, G_TYPE_DBUS_OBJECT_PROXY, + G_IMPLEMENT_INTERFACE (TYPE_OBJECT, object_proxy__object_iface_init) + G_IMPLEMENT_INTERFACE (G_TYPE_DBUS_OBJECT, object_proxy__g_dbus_object_iface_init)) + +static void +object_proxy_init (ObjectProxy *object G_GNUC_UNUSED) +{ +} + +static void +object_proxy_set_property (GObject *gobject, + guint prop_id, + const GValue *value G_GNUC_UNUSED, + GParamSpec *pspec) +{ + G_OBJECT_WARN_INVALID_PROPERTY_ID (gobject, prop_id, pspec); +} + +static void +object_proxy_get_property (GObject *gobject, + guint prop_id, + GValue *value, + GParamSpec *pspec) +{ + ObjectProxy *object = OBJECT_PROXY (gobject); + GDBusInterface *interface; + + switch (prop_id) + { + case 1: + interface = g_dbus_object_get_interface (G_DBUS_OBJECT (object), "org.freedesktop.systemd1.Manager"); + g_value_take_object (value, interface); + break; + + default: + G_OBJECT_WARN_INVALID_PROPERTY_ID (gobject, prop_id, pspec); + break; + } +} + +static void +object_proxy_class_init (ObjectProxyClass *klass) +{ + GObjectClass *gobject_class = G_OBJECT_CLASS (klass); + + gobject_class->set_property = object_proxy_set_property; + gobject_class->get_property = object_proxy_get_property; + + g_object_class_override_property (gobject_class, 1, "systemd1-manager"); +} + +/** + * object_proxy_new: + * @connection: A #GDBusConnection. + * @object_path: An object path. + * + * Creates a new proxy object. + * + * Returns: (transfer full): The proxy object. + */ +ObjectProxy * +object_proxy_new (GDBusConnection *connection, + const gchar *object_path) +{ + g_return_val_if_fail (G_IS_DBUS_CONNECTION (connection), NULL); + g_return_val_if_fail (g_variant_is_object_path (object_path), NULL); + return OBJECT_PROXY (g_object_new (TYPE_OBJECT_PROXY, "g-connection", connection, "g-object-path", object_path, NULL)); +} + +/** + * ObjectSkeleton: + * + * The #ObjectSkeleton structure contains only private data and should only be accessed using the provided API. + */ + +/** + * ObjectSkeletonClass: + * @parent_class: The parent class. + * + * Class structure for #ObjectSkeleton. + */ + +static void +object_skeleton__object_iface_init (ObjectIface *iface G_GNUC_UNUSED) +{ +} + + +static void +object_skeleton__g_dbus_object_iface_init (GDBusObjectIface *iface) +{ + iface->interface_added = object_notify; + iface->interface_removed = object_notify; +} + +G_DEFINE_TYPE_WITH_CODE (ObjectSkeleton, object_skeleton, G_TYPE_DBUS_OBJECT_SKELETON, + G_IMPLEMENT_INTERFACE (TYPE_OBJECT, object_skeleton__object_iface_init) + G_IMPLEMENT_INTERFACE (G_TYPE_DBUS_OBJECT, object_skeleton__g_dbus_object_iface_init)) + +static void +object_skeleton_init (ObjectSkeleton *object G_GNUC_UNUSED) +{ +} + +static void +object_skeleton_set_property (GObject *gobject, + guint prop_id, + const GValue *value, + GParamSpec *pspec) +{ + ObjectSkeleton *object = OBJECT_SKELETON (gobject); + GDBusInterfaceSkeleton *interface; + + switch (prop_id) + { + case 1: + interface = g_value_get_object (value); + if (interface != NULL) + { + g_warn_if_fail (IS_SYSTEMD1_MANAGER (interface)); + g_dbus_object_skeleton_add_interface (G_DBUS_OBJECT_SKELETON (object), interface); + } + else + { + g_dbus_object_skeleton_remove_interface_by_name (G_DBUS_OBJECT_SKELETON (object), "org.freedesktop.systemd1.Manager"); + } + break; + + default: + G_OBJECT_WARN_INVALID_PROPERTY_ID (gobject, prop_id, pspec); + break; + } +} + +static void +object_skeleton_get_property (GObject *gobject, + guint prop_id, + GValue *value, + GParamSpec *pspec) +{ + ObjectSkeleton *object = OBJECT_SKELETON (gobject); + GDBusInterface *interface; + + switch (prop_id) + { + case 1: + interface = g_dbus_object_get_interface (G_DBUS_OBJECT (object), "org.freedesktop.systemd1.Manager"); + g_value_take_object (value, interface); + break; + + default: + G_OBJECT_WARN_INVALID_PROPERTY_ID (gobject, prop_id, pspec); + break; + } +} + +static void +object_skeleton_class_init (ObjectSkeletonClass *klass) +{ + GObjectClass *gobject_class = G_OBJECT_CLASS (klass); + + gobject_class->set_property = object_skeleton_set_property; + gobject_class->get_property = object_skeleton_get_property; + + g_object_class_override_property (gobject_class, 1, "systemd1-manager"); +} + +/** + * object_skeleton_new: + * @object_path: An object path. + * + * Creates a new skeleton object. + * + * Returns: (transfer full): The skeleton object. + */ +ObjectSkeleton * +object_skeleton_new (const gchar *object_path) +{ + g_return_val_if_fail (g_variant_is_object_path (object_path), NULL); + return OBJECT_SKELETON (g_object_new (TYPE_OBJECT_SKELETON, "g-object-path", object_path, NULL)); +} + +/** + * object_skeleton_set_systemd1_manager: + * @object: A #ObjectSkeleton. + * @interface_: (nullable): A #Systemd1Manager or %NULL to clear the interface. + * + * Sets the #Systemd1Manager instance for the D-Bus interface <link linkend="gdbus-interface-org-freedesktop-systemd1-Manager.top_of_page">org.freedesktop.systemd1.Manager</link> on @object. + */ +void object_skeleton_set_systemd1_manager (ObjectSkeleton *object, Systemd1Manager *interface_) +{ + g_object_set (G_OBJECT (object), "systemd1-manager", interface_, NULL); +} + + +/* ------------------------------------------------------------------------ + * Code for ObjectManager client + * ------------------------------------------------------------------------ + */ + +/** + * SECTION:ObjectManagerClient + * @title: ObjectManagerClient + * @short_description: Generated GDBusObjectManagerClient type + * + * This section contains a #GDBusObjectManagerClient that uses object_manager_client_get_proxy_type() as the #GDBusProxyTypeFunc. + */ + +/** + * ObjectManagerClient: + * + * The #ObjectManagerClient structure contains only private data and should only be accessed using the provided API. + */ + +/** + * ObjectManagerClientClass: + * @parent_class: The parent class. + * + * Class structure for #ObjectManagerClient. + */ + +G_DEFINE_TYPE (ObjectManagerClient, object_manager_client, G_TYPE_DBUS_OBJECT_MANAGER_CLIENT) + +static void +object_manager_client_init (ObjectManagerClient *manager G_GNUC_UNUSED) +{ +} + +static void +object_manager_client_class_init (ObjectManagerClientClass *klass G_GNUC_UNUSED) +{ +} + +/** + * object_manager_client_get_proxy_type: + * @manager: A #GDBusObjectManagerClient. + * @object_path: The object path of the remote object (unused). + * @interface_name: (nullable): Interface name of the remote object or %NULL to get the object proxy #GType. + * @user_data: User data (unused). + * + * A #GDBusProxyTypeFunc that maps @interface_name to the generated #GDBusObjectProxy derived and #GDBusProxy derived types. + * + * Returns: A #GDBusProxy derived #GType if @interface_name is not %NULL, otherwise the #GType for #ObjectProxy. + */ +GType +object_manager_client_get_proxy_type (GDBusObjectManagerClient *manager G_GNUC_UNUSED, const gchar *object_path G_GNUC_UNUSED, const gchar *interface_name, gpointer user_data G_GNUC_UNUSED) +{ + static gsize once_init_value = 0; + static GHashTable *lookup_hash; + GType ret; + + if (interface_name == NULL) + return TYPE_OBJECT_PROXY; + if (g_once_init_enter (&once_init_value)) + { + lookup_hash = g_hash_table_new (g_str_hash, g_str_equal); + g_hash_table_insert (lookup_hash, (gpointer) "org.freedesktop.systemd1.Manager", GSIZE_TO_POINTER (TYPE_SYSTEMD1_MANAGER_PROXY)); + g_once_init_leave (&once_init_value, 1); + } + ret = (GType) GPOINTER_TO_SIZE (g_hash_table_lookup (lookup_hash, interface_name)); + if (ret == (GType) 0) + ret = G_TYPE_DBUS_PROXY; + return ret; +} + +/** + * object_manager_client_new: + * @connection: A #GDBusConnection. + * @flags: Flags from the #GDBusObjectManagerClientFlags enumeration. + * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. + * @object_path: An object path. + * @cancellable: (nullable): A #GCancellable or %NULL. + * @callback: A #GAsyncReadyCallback to call when the request is satisfied. + * @user_data: User data to pass to @callback. + * + * Asynchronously creates #GDBusObjectManagerClient using object_manager_client_get_proxy_type() as the #GDBusProxyTypeFunc. See g_dbus_object_manager_client_new() for more details. + * + * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). + * You can then call object_manager_client_new_finish() to get the result of the operation. + * + * See object_manager_client_new_sync() for the synchronous, blocking version of this constructor. + */ +void +object_manager_client_new ( + GDBusConnection *connection, + GDBusObjectManagerClientFlags flags, + const gchar *name, + const gchar *object_path, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data) +{ + g_async_initable_new_async (TYPE_OBJECT_MANAGER_CLIENT, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "flags", flags, "name", name, "connection", connection, "object-path", object_path, "get-proxy-type-func", object_manager_client_get_proxy_type, NULL); +} + +/** + * object_manager_client_new_finish: + * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to object_manager_client_new(). + * @error: Return location for error or %NULL + * + * Finishes an operation started with object_manager_client_new(). + * + * Returns: (transfer full) (type ObjectManagerClient): The constructed object manager client or %NULL if @error is set. + */ +GDBusObjectManager * +object_manager_client_new_finish ( + GAsyncResult *res, + GError **error) +{ + GObject *ret; + GObject *source_object; + source_object = g_async_result_get_source_object (res); + ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); + g_object_unref (source_object); + if (ret != NULL) + return G_DBUS_OBJECT_MANAGER (ret); + else + return NULL; +} + +/** + * object_manager_client_new_sync: + * @connection: A #GDBusConnection. + * @flags: Flags from the #GDBusObjectManagerClientFlags enumeration. + * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. + * @object_path: An object path. + * @cancellable: (nullable): A #GCancellable or %NULL. + * @error: Return location for error or %NULL + * + * Synchronously creates #GDBusObjectManagerClient using object_manager_client_get_proxy_type() as the #GDBusProxyTypeFunc. See g_dbus_object_manager_client_new_sync() for more details. + * + * The calling thread is blocked until a reply is received. + * + * See object_manager_client_new() for the asynchronous version of this constructor. + * + * Returns: (transfer full) (type ObjectManagerClient): The constructed object manager client or %NULL if @error is set. + */ +GDBusObjectManager * +object_manager_client_new_sync ( + GDBusConnection *connection, + GDBusObjectManagerClientFlags flags, + const gchar *name, + const gchar *object_path, + GCancellable *cancellable, + GError **error) +{ + GInitable *ret; + ret = g_initable_new (TYPE_OBJECT_MANAGER_CLIENT, cancellable, error, "flags", flags, "name", name, "connection", connection, "object-path", object_path, "get-proxy-type-func", object_manager_client_get_proxy_type, NULL); + if (ret != NULL) + return G_DBUS_OBJECT_MANAGER (ret); + else + return NULL; +} + + +/** + * object_manager_client_new_for_bus: + * @bus_type: A #GBusType. + * @flags: Flags from the #GDBusObjectManagerClientFlags enumeration. + * @name: A bus name (well-known or unique). + * @object_path: An object path. + * @cancellable: (nullable): A #GCancellable or %NULL. + * @callback: A #GAsyncReadyCallback to call when the request is satisfied. + * @user_data: User data to pass to @callback. + * + * Like object_manager_client_new() but takes a #GBusType instead of a #GDBusConnection. + * + * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). + * You can then call object_manager_client_new_for_bus_finish() to get the result of the operation. + * + * See object_manager_client_new_for_bus_sync() for the synchronous, blocking version of this constructor. + */ +void +object_manager_client_new_for_bus ( + GBusType bus_type, + GDBusObjectManagerClientFlags flags, + const gchar *name, + const gchar *object_path, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data) +{ + g_async_initable_new_async (TYPE_OBJECT_MANAGER_CLIENT, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "flags", flags, "name", name, "bus-type", bus_type, "object-path", object_path, "get-proxy-type-func", object_manager_client_get_proxy_type, NULL); +} + +/** + * object_manager_client_new_for_bus_finish: + * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to object_manager_client_new_for_bus(). + * @error: Return location for error or %NULL + * + * Finishes an operation started with object_manager_client_new_for_bus(). + * + * Returns: (transfer full) (type ObjectManagerClient): The constructed object manager client or %NULL if @error is set. + */ +GDBusObjectManager * +object_manager_client_new_for_bus_finish ( + GAsyncResult *res, + GError **error) +{ + GObject *ret; + GObject *source_object; + source_object = g_async_result_get_source_object (res); + ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); + g_object_unref (source_object); + if (ret != NULL) + return G_DBUS_OBJECT_MANAGER (ret); + else + return NULL; +} + +/** + * object_manager_client_new_for_bus_sync: + * @bus_type: A #GBusType. + * @flags: Flags from the #GDBusObjectManagerClientFlags enumeration. + * @name: A bus name (well-known or unique). + * @object_path: An object path. + * @cancellable: (nullable): A #GCancellable or %NULL. + * @error: Return location for error or %NULL + * + * Like object_manager_client_new_sync() but takes a #GBusType instead of a #GDBusConnection. + * + * The calling thread is blocked until a reply is received. + * + * See object_manager_client_new_for_bus() for the asynchronous version of this constructor. + * + * Returns: (transfer full) (type ObjectManagerClient): The constructed object manager client or %NULL if @error is set. + */ +GDBusObjectManager * +object_manager_client_new_for_bus_sync ( + GBusType bus_type, + GDBusObjectManagerClientFlags flags, + const gchar *name, + const gchar *object_path, + GCancellable *cancellable, + GError **error) +{ + GInitable *ret; + ret = g_initable_new (TYPE_OBJECT_MANAGER_CLIENT, cancellable, error, "flags", flags, "name", name, "bus-type", bus_type, "object-path", object_path, "get-proxy-type-func", object_manager_client_get_proxy_type, NULL); + if (ret != NULL) + return G_DBUS_OBJECT_MANAGER (ret); + else + return NULL; +} + + diff --git a/src/gdbus/systemd1_manager_interface.h b/src/gdbus/systemd1_manager_interface.h new file mode 100644 index 0000000..0d1271e --- /dev/null +++ b/src/gdbus/systemd1_manager_interface.h @@ -0,0 +1,3384 @@ +/* + * This file is generated by gdbus-codegen, do not modify it. + * + * The license of this code is the same as for the D-Bus interface description + * it was derived from. Note that it links to GLib, so must comply with the + * LGPL linking clauses. + */ + +#ifndef __SYSTEMD1_MANAGER_INTERFACE_H__ +#define __SYSTEMD1_MANAGER_INTERFACE_H__ + +#include <gio/gio.h> + +G_BEGIN_DECLS + + +/* ------------------------------------------------------------------------ */ +/* Declarations for org.freedesktop.systemd1.Manager */ + +#define TYPE_SYSTEMD1_MANAGER (systemd1_manager_get_type ()) +#define SYSTEMD1_MANAGER(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_SYSTEMD1_MANAGER, Systemd1Manager)) +#define IS_SYSTEMD1_MANAGER(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_SYSTEMD1_MANAGER)) +#define SYSTEMD1_MANAGER_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_SYSTEMD1_MANAGER, Systemd1ManagerIface)) + +struct _Systemd1Manager; +typedef struct _Systemd1Manager Systemd1Manager; +typedef struct _Systemd1ManagerIface Systemd1ManagerIface; + +struct _Systemd1ManagerIface +{ + GTypeInterface parent_iface; + + + + gboolean (*handle_abandon_scope) ( + Systemd1Manager *object, + GDBusMethodInvocation *invocation, + const gchar *arg_name); + + gboolean (*handle_add_dependency_unit_files) ( + Systemd1Manager *object, + GDBusMethodInvocation *invocation, + const gchar *const *arg_files, + const gchar *arg_target, + const gchar *arg_type, + gboolean arg_runtime, + gboolean arg_force); + + gboolean (*handle_attach_processes_to_unit) ( + Systemd1Manager *object, + GDBusMethodInvocation *invocation, + const gchar *arg_unit_name, + const gchar *arg_subcgroup, + GVariant *arg_pids); + + gboolean (*handle_bind_mount_unit) ( + Systemd1Manager *object, + GDBusMethodInvocation *invocation, + const gchar *arg_name, + const gchar *arg_source, + const gchar *arg_destination, + gboolean arg_read_only, + gboolean arg_mkdir); + + gboolean (*handle_cancel_job) ( + Systemd1Manager *object, + GDBusMethodInvocation *invocation, + guint arg_id); + + gboolean (*handle_clean_unit) ( + Systemd1Manager *object, + GDBusMethodInvocation *invocation, + const gchar *arg_name, + const gchar *const *arg_mask); + + gboolean (*handle_clear_jobs) ( + Systemd1Manager *object, + GDBusMethodInvocation *invocation); + + gboolean (*handle_disable_unit_files) ( + Systemd1Manager *object, + GDBusMethodInvocation *invocation, + const gchar *const *arg_files, + gboolean arg_runtime); + + gboolean (*handle_disable_unit_files_with_flags) ( + Systemd1Manager *object, + GDBusMethodInvocation *invocation, + const gchar *const *arg_files, + guint64 arg_flags); + + gboolean (*handle_dump) ( + Systemd1Manager *object, + GDBusMethodInvocation *invocation); + + gboolean (*handle_dump_by_file_descriptor) ( + Systemd1Manager *object, + GDBusMethodInvocation *invocation); + + gboolean (*handle_enable_unit_files) ( + Systemd1Manager *object, + GDBusMethodInvocation *invocation, + const gchar *const *arg_files, + gboolean arg_runtime, + gboolean arg_force); + + gboolean (*handle_enable_unit_files_with_flags) ( + Systemd1Manager *object, + GDBusMethodInvocation *invocation, + const gchar *const *arg_files, + guint64 arg_flags); + + gboolean (*handle_enqueue_marked_jobs) ( + Systemd1Manager *object, + GDBusMethodInvocation *invocation); + + gboolean (*handle_enqueue_unit_job) ( + Systemd1Manager *object, + GDBusMethodInvocation *invocation, + const gchar *arg_name, + const gchar *arg_job_type, + const gchar *arg_job_mode); + + gboolean (*handle_exit) ( + Systemd1Manager *object, + GDBusMethodInvocation *invocation); + + gboolean (*handle_freeze_unit) ( + Systemd1Manager *object, + GDBusMethodInvocation *invocation, + const gchar *arg_name); + + gboolean (*handle_get_default_target) ( + Systemd1Manager *object, + GDBusMethodInvocation *invocation); + + gboolean (*handle_get_dynamic_users) ( + Systemd1Manager *object, + GDBusMethodInvocation *invocation); + + gboolean (*handle_get_job) ( + Systemd1Manager *object, + GDBusMethodInvocation *invocation, + guint arg_id); + + gboolean (*handle_get_job_after) ( + Systemd1Manager *object, + GDBusMethodInvocation *invocation, + guint arg_id); + + gboolean (*handle_get_job_before) ( + Systemd1Manager *object, + GDBusMethodInvocation *invocation, + guint arg_id); + + gboolean (*handle_get_unit) ( + Systemd1Manager *object, + GDBusMethodInvocation *invocation, + const gchar *arg_name); + + gboolean (*handle_get_unit_by_control_group) ( + Systemd1Manager *object, + GDBusMethodInvocation *invocation, + const gchar *arg_cgroup); + + gboolean (*handle_get_unit_by_invocation_id) ( + Systemd1Manager *object, + GDBusMethodInvocation *invocation, + const gchar *arg_invocation_id); + + gboolean (*handle_get_unit_by_pid) ( + Systemd1Manager *object, + GDBusMethodInvocation *invocation, + guint arg_pid); + + gboolean (*handle_get_unit_file_links) ( + Systemd1Manager *object, + GDBusMethodInvocation *invocation, + const gchar *arg_name, + gboolean arg_runtime); + + gboolean (*handle_get_unit_file_state) ( + Systemd1Manager *object, + GDBusMethodInvocation *invocation, + const gchar *arg_file); + + gboolean (*handle_get_unit_processes) ( + Systemd1Manager *object, + GDBusMethodInvocation *invocation, + const gchar *arg_name); + + gboolean (*handle_halt) ( + Systemd1Manager *object, + GDBusMethodInvocation *invocation); + + gboolean (*handle_kexec) ( + Systemd1Manager *object, + GDBusMethodInvocation *invocation); + + gboolean (*handle_kill_unit) ( + Systemd1Manager *object, + GDBusMethodInvocation *invocation, + const gchar *arg_name, + const gchar *arg_whom, + gint arg_signal); + + gboolean (*handle_link_unit_files) ( + Systemd1Manager *object, + GDBusMethodInvocation *invocation, + const gchar *const *arg_files, + gboolean arg_runtime, + gboolean arg_force); + + gboolean (*handle_list_jobs) ( + Systemd1Manager *object, + GDBusMethodInvocation *invocation); + + gboolean (*handle_list_unit_files) ( + Systemd1Manager *object, + GDBusMethodInvocation *invocation); + + gboolean (*handle_list_unit_files_by_patterns) ( + Systemd1Manager *object, + GDBusMethodInvocation *invocation, + const gchar *const *arg_states, + const gchar *const *arg_patterns); + + gboolean (*handle_list_units) ( + Systemd1Manager *object, + GDBusMethodInvocation *invocation); + + gboolean (*handle_list_units_by_names) ( + Systemd1Manager *object, + GDBusMethodInvocation *invocation, + const gchar *const *arg_names); + + gboolean (*handle_list_units_by_patterns) ( + Systemd1Manager *object, + GDBusMethodInvocation *invocation, + const gchar *const *arg_states, + const gchar *const *arg_patterns); + + gboolean (*handle_list_units_filtered) ( + Systemd1Manager *object, + GDBusMethodInvocation *invocation, + const gchar *const *arg_states); + + gboolean (*handle_load_unit) ( + Systemd1Manager *object, + GDBusMethodInvocation *invocation, + const gchar *arg_name); + + gboolean (*handle_lookup_dynamic_user_by_name) ( + Systemd1Manager *object, + GDBusMethodInvocation *invocation, + const gchar *arg_name); + + gboolean (*handle_lookup_dynamic_user_by_uid) ( + Systemd1Manager *object, + GDBusMethodInvocation *invocation, + guint arg_uid); + + gboolean (*handle_mask_unit_files) ( + Systemd1Manager *object, + GDBusMethodInvocation *invocation, + const gchar *const *arg_files, + gboolean arg_runtime, + gboolean arg_force); + + gboolean (*handle_mount_image_unit) ( + Systemd1Manager *object, + GDBusMethodInvocation *invocation, + const gchar *arg_name, + const gchar *arg_source, + const gchar *arg_destination, + gboolean arg_read_only, + gboolean arg_mkdir, + GVariant *arg_options); + + gboolean (*handle_power_off) ( + Systemd1Manager *object, + GDBusMethodInvocation *invocation); + + gboolean (*handle_preset_all_unit_files) ( + Systemd1Manager *object, + GDBusMethodInvocation *invocation, + const gchar *arg_mode, + gboolean arg_runtime, + gboolean arg_force); + + gboolean (*handle_preset_unit_files) ( + Systemd1Manager *object, + GDBusMethodInvocation *invocation, + const gchar *const *arg_files, + gboolean arg_runtime, + gboolean arg_force); + + gboolean (*handle_preset_unit_files_with_mode) ( + Systemd1Manager *object, + GDBusMethodInvocation *invocation, + const gchar *const *arg_files, + const gchar *arg_mode, + gboolean arg_runtime, + gboolean arg_force); + + gboolean (*handle_reboot) ( + Systemd1Manager *object, + GDBusMethodInvocation *invocation); + + gboolean (*handle_reenable_unit_files) ( + Systemd1Manager *object, + GDBusMethodInvocation *invocation, + const gchar *const *arg_files, + gboolean arg_runtime, + gboolean arg_force); + + gboolean (*handle_reexecute) ( + Systemd1Manager *object, + GDBusMethodInvocation *invocation); + + gboolean (*handle_ref_unit) ( + Systemd1Manager *object, + GDBusMethodInvocation *invocation, + const gchar *arg_name); + + gboolean (*handle_reload) ( + Systemd1Manager *object, + GDBusMethodInvocation *invocation); + + gboolean (*handle_reload_or_restart_unit) ( + Systemd1Manager *object, + GDBusMethodInvocation *invocation, + const gchar *arg_name, + const gchar *arg_mode); + + gboolean (*handle_reload_or_try_restart_unit) ( + Systemd1Manager *object, + GDBusMethodInvocation *invocation, + const gchar *arg_name, + const gchar *arg_mode); + + gboolean (*handle_reload_unit) ( + Systemd1Manager *object, + GDBusMethodInvocation *invocation, + const gchar *arg_name, + const gchar *arg_mode); + + gboolean (*handle_reset_failed) ( + Systemd1Manager *object, + GDBusMethodInvocation *invocation); + + gboolean (*handle_reset_failed_unit) ( + Systemd1Manager *object, + GDBusMethodInvocation *invocation, + const gchar *arg_name); + + gboolean (*handle_restart_unit) ( + Systemd1Manager *object, + GDBusMethodInvocation *invocation, + const gchar *arg_name, + const gchar *arg_mode); + + gboolean (*handle_revert_unit_files) ( + Systemd1Manager *object, + GDBusMethodInvocation *invocation, + const gchar *const *arg_files); + + gboolean (*handle_set_default_target) ( + Systemd1Manager *object, + GDBusMethodInvocation *invocation, + const gchar *arg_name, + gboolean arg_force); + + gboolean (*handle_set_environment) ( + Systemd1Manager *object, + GDBusMethodInvocation *invocation, + const gchar *const *arg_assignments); + + gboolean (*handle_set_exit_code) ( + Systemd1Manager *object, + GDBusMethodInvocation *invocation, + guchar arg_number); + + gboolean (*handle_set_show_status) ( + Systemd1Manager *object, + GDBusMethodInvocation *invocation, + const gchar *arg_mode); + + gboolean (*handle_set_unit_properties) ( + Systemd1Manager *object, + GDBusMethodInvocation *invocation, + const gchar *arg_name, + gboolean arg_runtime, + GVariant *arg_properties); + + gboolean (*handle_start_transient_unit) ( + Systemd1Manager *object, + GDBusMethodInvocation *invocation, + const gchar *arg_name, + const gchar *arg_mode, + GVariant *arg_properties, + GVariant *arg_aux); + + gboolean (*handle_start_unit) ( + Systemd1Manager *object, + GDBusMethodInvocation *invocation, + const gchar *arg_name, + const gchar *arg_mode); + + gboolean (*handle_start_unit_replace) ( + Systemd1Manager *object, + GDBusMethodInvocation *invocation, + const gchar *arg_old_unit, + const gchar *arg_new_unit, + const gchar *arg_mode); + + gboolean (*handle_stop_unit) ( + Systemd1Manager *object, + GDBusMethodInvocation *invocation, + const gchar *arg_name, + const gchar *arg_mode); + + gboolean (*handle_subscribe) ( + Systemd1Manager *object, + GDBusMethodInvocation *invocation); + + gboolean (*handle_switch_root) ( + Systemd1Manager *object, + GDBusMethodInvocation *invocation, + const gchar *arg_new_root, + const gchar *arg_init); + + gboolean (*handle_thaw_unit) ( + Systemd1Manager *object, + GDBusMethodInvocation *invocation, + const gchar *arg_name); + + gboolean (*handle_try_restart_unit) ( + Systemd1Manager *object, + GDBusMethodInvocation *invocation, + const gchar *arg_name, + const gchar *arg_mode); + + gboolean (*handle_unmask_unit_files) ( + Systemd1Manager *object, + GDBusMethodInvocation *invocation, + const gchar *const *arg_files, + gboolean arg_runtime); + + gboolean (*handle_unref_unit) ( + Systemd1Manager *object, + GDBusMethodInvocation *invocation, + const gchar *arg_name); + + gboolean (*handle_unset_and_set_environment) ( + Systemd1Manager *object, + GDBusMethodInvocation *invocation, + const gchar *const *arg_names, + const gchar *const *arg_assignments); + + gboolean (*handle_unset_environment) ( + Systemd1Manager *object, + GDBusMethodInvocation *invocation, + const gchar *const *arg_names); + + gboolean (*handle_unsubscribe) ( + Systemd1Manager *object, + GDBusMethodInvocation *invocation); + + const gchar * (*get_architecture) (Systemd1Manager *object); + + gboolean (*get_confirm_spawn) (Systemd1Manager *object); + + const gchar * (*get_control_group) (Systemd1Manager *object); + + const gchar * (*get_ctrl_alt_del_burst_action) (Systemd1Manager *object); + + gboolean (*get_default_block_ioaccounting) (Systemd1Manager *object); + + gboolean (*get_default_cpuaccounting) (Systemd1Manager *object); + + guint64 (*get_default_limit_as) (Systemd1Manager *object); + + guint64 (*get_default_limit_assoft) (Systemd1Manager *object); + + guint64 (*get_default_limit_core) (Systemd1Manager *object); + + guint64 (*get_default_limit_coresoft) (Systemd1Manager *object); + + guint64 (*get_default_limit_cpu) (Systemd1Manager *object); + + guint64 (*get_default_limit_cpusoft) (Systemd1Manager *object); + + guint64 (*get_default_limit_data) (Systemd1Manager *object); + + guint64 (*get_default_limit_datasoft) (Systemd1Manager *object); + + guint64 (*get_default_limit_fsize) (Systemd1Manager *object); + + guint64 (*get_default_limit_fsizesoft) (Systemd1Manager *object); + + guint64 (*get_default_limit_locks) (Systemd1Manager *object); + + guint64 (*get_default_limit_lockssoft) (Systemd1Manager *object); + + guint64 (*get_default_limit_memlock) (Systemd1Manager *object); + + guint64 (*get_default_limit_memlocksoft) (Systemd1Manager *object); + + guint64 (*get_default_limit_msgqueue) (Systemd1Manager *object); + + guint64 (*get_default_limit_msgqueuesoft) (Systemd1Manager *object); + + guint64 (*get_default_limit_nice) (Systemd1Manager *object); + + guint64 (*get_default_limit_nicesoft) (Systemd1Manager *object); + + guint64 (*get_default_limit_nofile) (Systemd1Manager *object); + + guint64 (*get_default_limit_nofilesoft) (Systemd1Manager *object); + + guint64 (*get_default_limit_nproc) (Systemd1Manager *object); + + guint64 (*get_default_limit_nprocsoft) (Systemd1Manager *object); + + guint64 (*get_default_limit_rss) (Systemd1Manager *object); + + guint64 (*get_default_limit_rsssoft) (Systemd1Manager *object); + + guint64 (*get_default_limit_rtprio) (Systemd1Manager *object); + + guint64 (*get_default_limit_rtpriosoft) (Systemd1Manager *object); + + guint64 (*get_default_limit_rttime) (Systemd1Manager *object); + + guint64 (*get_default_limit_rttimesoft) (Systemd1Manager *object); + + guint64 (*get_default_limit_sigpending) (Systemd1Manager *object); + + guint64 (*get_default_limit_sigpendingsoft) (Systemd1Manager *object); + + guint64 (*get_default_limit_stack) (Systemd1Manager *object); + + guint64 (*get_default_limit_stacksoft) (Systemd1Manager *object); + + gboolean (*get_default_memory_accounting) (Systemd1Manager *object); + + const gchar * (*get_default_oompolicy) (Systemd1Manager *object); + + guint64 (*get_default_restart_usec) (Systemd1Manager *object); + + const gchar * (*get_default_standard_error) (Systemd1Manager *object); + + const gchar * (*get_default_standard_output) (Systemd1Manager *object); + + guint (*get_default_start_limit_burst) (Systemd1Manager *object); + + guint64 (*get_default_start_limit_interval_usec) (Systemd1Manager *object); + + gboolean (*get_default_tasks_accounting) (Systemd1Manager *object); + + guint64 (*get_default_tasks_max) (Systemd1Manager *object); + + guint64 (*get_default_timeout_abort_usec) (Systemd1Manager *object); + + guint64 (*get_default_timeout_start_usec) (Systemd1Manager *object); + + guint64 (*get_default_timeout_stop_usec) (Systemd1Manager *object); + + guint64 (*get_default_timer_accuracy_usec) (Systemd1Manager *object); + + const gchar *const * (*get_environment) (Systemd1Manager *object); + + guchar (*get_exit_code) (Systemd1Manager *object); + + const gchar * (*get_features) (Systemd1Manager *object); + + guint64 (*get_finish_timestamp) (Systemd1Manager *object); + + guint64 (*get_finish_timestamp_monotonic) (Systemd1Manager *object); + + guint64 (*get_firmware_timestamp) (Systemd1Manager *object); + + guint64 (*get_firmware_timestamp_monotonic) (Systemd1Manager *object); + + guint64 (*get_generators_finish_timestamp) (Systemd1Manager *object); + + guint64 (*get_generators_finish_timestamp_monotonic) (Systemd1Manager *object); + + guint64 (*get_generators_start_timestamp) (Systemd1Manager *object); + + guint64 (*get_generators_start_timestamp_monotonic) (Systemd1Manager *object); + + guint64 (*get_init_rdgenerators_finish_timestamp) (Systemd1Manager *object); + + guint64 (*get_init_rdgenerators_finish_timestamp_monotonic) (Systemd1Manager *object); + + guint64 (*get_init_rdgenerators_start_timestamp) (Systemd1Manager *object); + + guint64 (*get_init_rdgenerators_start_timestamp_monotonic) (Systemd1Manager *object); + + guint64 (*get_init_rdsecurity_finish_timestamp) (Systemd1Manager *object); + + guint64 (*get_init_rdsecurity_finish_timestamp_monotonic) (Systemd1Manager *object); + + guint64 (*get_init_rdsecurity_start_timestamp) (Systemd1Manager *object); + + guint64 (*get_init_rdsecurity_start_timestamp_monotonic) (Systemd1Manager *object); + + guint64 (*get_init_rdtimestamp) (Systemd1Manager *object); + + guint64 (*get_init_rdtimestamp_monotonic) (Systemd1Manager *object); + + guint64 (*get_init_rdunits_load_finish_timestamp) (Systemd1Manager *object); + + guint64 (*get_init_rdunits_load_finish_timestamp_monotonic) (Systemd1Manager *object); + + guint64 (*get_init_rdunits_load_start_timestamp) (Systemd1Manager *object); + + guint64 (*get_init_rdunits_load_start_timestamp_monotonic) (Systemd1Manager *object); + + guint64 (*get_kernel_timestamp) (Systemd1Manager *object); + + guint64 (*get_kernel_timestamp_monotonic) (Systemd1Manager *object); + + guint64 (*get_kexec_watchdog_usec) (Systemd1Manager *object); + + guint64 (*get_loader_timestamp) (Systemd1Manager *object); + + guint64 (*get_loader_timestamp_monotonic) (Systemd1Manager *object); + + const gchar * (*get_log_level) (Systemd1Manager *object); + + const gchar * (*get_log_target) (Systemd1Manager *object); + + guint (*get_nfailed_jobs) (Systemd1Manager *object); + + guint (*get_nfailed_units) (Systemd1Manager *object); + + guint (*get_ninstalled_jobs) (Systemd1Manager *object); + + guint (*get_njobs) (Systemd1Manager *object); + + guint (*get_nnames) (Systemd1Manager *object); + + gdouble (*get_progress) (Systemd1Manager *object); + + guint64 (*get_reboot_watchdog_usec) (Systemd1Manager *object); + + guint64 (*get_runtime_watchdog_usec) (Systemd1Manager *object); + + guint64 (*get_security_finish_timestamp) (Systemd1Manager *object); + + guint64 (*get_security_finish_timestamp_monotonic) (Systemd1Manager *object); + + guint64 (*get_security_start_timestamp) (Systemd1Manager *object); + + guint64 (*get_security_start_timestamp_monotonic) (Systemd1Manager *object); + + gboolean (*get_service_watchdogs) (Systemd1Manager *object); + + gboolean (*get_show_status) (Systemd1Manager *object); + + const gchar * (*get_system_state) (Systemd1Manager *object); + + const gchar * (*get_tainted) (Systemd1Manager *object); + + guint64 (*get_timer_slack_nsec) (Systemd1Manager *object); + + const gchar *const * (*get_unit_path) (Systemd1Manager *object); + + guint64 (*get_units_load_finish_timestamp) (Systemd1Manager *object); + + guint64 (*get_units_load_finish_timestamp_monotonic) (Systemd1Manager *object); + + guint64 (*get_units_load_start_timestamp) (Systemd1Manager *object); + + guint64 (*get_units_load_start_timestamp_monotonic) (Systemd1Manager *object); + + guint64 (*get_userspace_timestamp) (Systemd1Manager *object); + + guint64 (*get_userspace_timestamp_monotonic) (Systemd1Manager *object); + + const gchar * (*get_version) (Systemd1Manager *object); + + const gchar * (*get_virtualization) (Systemd1Manager *object); + + void (*job_new) ( + Systemd1Manager *object, + guint arg_id, + const gchar *arg_job, + const gchar *arg_unit); + + void (*job_removed) ( + Systemd1Manager *object, + guint arg_id, + const gchar *arg_job, + const gchar *arg_unit, + const gchar *arg_result); + + void (*reloading) ( + Systemd1Manager *object, + gboolean arg_active); + + void (*startup_finished) ( + Systemd1Manager *object, + guint64 arg_firmware, + guint64 arg_loader, + guint64 arg_kernel, + guint64 arg_initrd, + guint64 arg_userspace, + guint64 arg_total); + + void (*unit_files_changed) ( + Systemd1Manager *object); + + void (*unit_new) ( + Systemd1Manager *object, + const gchar *arg_id, + const gchar *arg_unit); + + void (*unit_removed) ( + Systemd1Manager *object, + const gchar *arg_id, + const gchar *arg_unit); + +}; + +GType systemd1_manager_get_type (void) G_GNUC_CONST; + +GDBusInterfaceInfo *systemd1_manager_interface_info (void); +guint systemd1_manager_override_properties (GObjectClass *klass, guint property_id_begin); + + +/* D-Bus method call completion functions: */ +void systemd1_manager_complete_get_unit ( + Systemd1Manager *object, + GDBusMethodInvocation *invocation, + const gchar *unit); + +void systemd1_manager_complete_get_unit_by_pid ( + Systemd1Manager *object, + GDBusMethodInvocation *invocation, + const gchar *unit); + +void systemd1_manager_complete_get_unit_by_invocation_id ( + Systemd1Manager *object, + GDBusMethodInvocation *invocation, + const gchar *unit); + +void systemd1_manager_complete_get_unit_by_control_group ( + Systemd1Manager *object, + GDBusMethodInvocation *invocation, + const gchar *unit); + +void systemd1_manager_complete_load_unit ( + Systemd1Manager *object, + GDBusMethodInvocation *invocation, + const gchar *unit); + +void systemd1_manager_complete_start_unit ( + Systemd1Manager *object, + GDBusMethodInvocation *invocation, + const gchar *job); + +void systemd1_manager_complete_start_unit_replace ( + Systemd1Manager *object, + GDBusMethodInvocation *invocation, + const gchar *job); + +void systemd1_manager_complete_stop_unit ( + Systemd1Manager *object, + GDBusMethodInvocation *invocation, + const gchar *job); + +void systemd1_manager_complete_reload_unit ( + Systemd1Manager *object, + GDBusMethodInvocation *invocation, + const gchar *job); + +void systemd1_manager_complete_restart_unit ( + Systemd1Manager *object, + GDBusMethodInvocation *invocation, + const gchar *job); + +void systemd1_manager_complete_try_restart_unit ( + Systemd1Manager *object, + GDBusMethodInvocation *invocation, + const gchar *job); + +void systemd1_manager_complete_reload_or_restart_unit ( + Systemd1Manager *object, + GDBusMethodInvocation *invocation, + const gchar *job); + +void systemd1_manager_complete_reload_or_try_restart_unit ( + Systemd1Manager *object, + GDBusMethodInvocation *invocation, + const gchar *job); + +void systemd1_manager_complete_enqueue_unit_job ( + Systemd1Manager *object, + GDBusMethodInvocation *invocation, + guint job_id, + const gchar *job_path, + const gchar *unit_id, + const gchar *unit_path, + const gchar *job_type, + GVariant *affected_jobs); + +void systemd1_manager_complete_kill_unit ( + Systemd1Manager *object, + GDBusMethodInvocation *invocation); + +void systemd1_manager_complete_clean_unit ( + Systemd1Manager *object, + GDBusMethodInvocation *invocation); + +void systemd1_manager_complete_freeze_unit ( + Systemd1Manager *object, + GDBusMethodInvocation *invocation); + +void systemd1_manager_complete_thaw_unit ( + Systemd1Manager *object, + GDBusMethodInvocation *invocation); + +void systemd1_manager_complete_reset_failed_unit ( + Systemd1Manager *object, + GDBusMethodInvocation *invocation); + +void systemd1_manager_complete_set_unit_properties ( + Systemd1Manager *object, + GDBusMethodInvocation *invocation); + +void systemd1_manager_complete_bind_mount_unit ( + Systemd1Manager *object, + GDBusMethodInvocation *invocation); + +void systemd1_manager_complete_mount_image_unit ( + Systemd1Manager *object, + GDBusMethodInvocation *invocation); + +void systemd1_manager_complete_ref_unit ( + Systemd1Manager *object, + GDBusMethodInvocation *invocation); + +void systemd1_manager_complete_unref_unit ( + Systemd1Manager *object, + GDBusMethodInvocation *invocation); + +void systemd1_manager_complete_start_transient_unit ( + Systemd1Manager *object, + GDBusMethodInvocation *invocation, + const gchar *job); + +void systemd1_manager_complete_get_unit_processes ( + Systemd1Manager *object, + GDBusMethodInvocation *invocation, + GVariant *processes); + +void systemd1_manager_complete_attach_processes_to_unit ( + Systemd1Manager *object, + GDBusMethodInvocation *invocation); + +void systemd1_manager_complete_abandon_scope ( + Systemd1Manager *object, + GDBusMethodInvocation *invocation); + +void systemd1_manager_complete_get_job ( + Systemd1Manager *object, + GDBusMethodInvocation *invocation, + const gchar *job); + +void systemd1_manager_complete_get_job_after ( + Systemd1Manager *object, + GDBusMethodInvocation *invocation, + GVariant *jobs); + +void systemd1_manager_complete_get_job_before ( + Systemd1Manager *object, + GDBusMethodInvocation *invocation, + GVariant *jobs); + +void systemd1_manager_complete_cancel_job ( + Systemd1Manager *object, + GDBusMethodInvocation *invocation); + +void systemd1_manager_complete_clear_jobs ( + Systemd1Manager *object, + GDBusMethodInvocation *invocation); + +void systemd1_manager_complete_reset_failed ( + Systemd1Manager *object, + GDBusMethodInvocation *invocation); + +void systemd1_manager_complete_set_show_status ( + Systemd1Manager *object, + GDBusMethodInvocation *invocation); + +void systemd1_manager_complete_list_units ( + Systemd1Manager *object, + GDBusMethodInvocation *invocation, + GVariant *units); + +void systemd1_manager_complete_list_units_filtered ( + Systemd1Manager *object, + GDBusMethodInvocation *invocation, + GVariant *units); + +void systemd1_manager_complete_list_units_by_patterns ( + Systemd1Manager *object, + GDBusMethodInvocation *invocation, + GVariant *units); + +void systemd1_manager_complete_list_units_by_names ( + Systemd1Manager *object, + GDBusMethodInvocation *invocation, + GVariant *units); + +void systemd1_manager_complete_list_jobs ( + Systemd1Manager *object, + GDBusMethodInvocation *invocation, + GVariant *jobs); + +void systemd1_manager_complete_subscribe ( + Systemd1Manager *object, + GDBusMethodInvocation *invocation); + +void systemd1_manager_complete_unsubscribe ( + Systemd1Manager *object, + GDBusMethodInvocation *invocation); + +void systemd1_manager_complete_dump ( + Systemd1Manager *object, + GDBusMethodInvocation *invocation, + const gchar *output); + +void systemd1_manager_complete_dump_by_file_descriptor ( + Systemd1Manager *object, + GDBusMethodInvocation *invocation, + GVariant *fd); + +void systemd1_manager_complete_reload ( + Systemd1Manager *object, + GDBusMethodInvocation *invocation); + +void systemd1_manager_complete_reexecute ( + Systemd1Manager *object, + GDBusMethodInvocation *invocation); + +void systemd1_manager_complete_exit ( + Systemd1Manager *object, + GDBusMethodInvocation *invocation); + +void systemd1_manager_complete_reboot ( + Systemd1Manager *object, + GDBusMethodInvocation *invocation); + +void systemd1_manager_complete_power_off ( + Systemd1Manager *object, + GDBusMethodInvocation *invocation); + +void systemd1_manager_complete_halt ( + Systemd1Manager *object, + GDBusMethodInvocation *invocation); + +void systemd1_manager_complete_kexec ( + Systemd1Manager *object, + GDBusMethodInvocation *invocation); + +void systemd1_manager_complete_switch_root ( + Systemd1Manager *object, + GDBusMethodInvocation *invocation); + +void systemd1_manager_complete_set_environment ( + Systemd1Manager *object, + GDBusMethodInvocation *invocation); + +void systemd1_manager_complete_unset_environment ( + Systemd1Manager *object, + GDBusMethodInvocation *invocation); + +void systemd1_manager_complete_unset_and_set_environment ( + Systemd1Manager *object, + GDBusMethodInvocation *invocation); + +void systemd1_manager_complete_enqueue_marked_jobs ( + Systemd1Manager *object, + GDBusMethodInvocation *invocation, + const gchar *const *jobs); + +void systemd1_manager_complete_list_unit_files ( + Systemd1Manager *object, + GDBusMethodInvocation *invocation, + GVariant *unit_files); + +void systemd1_manager_complete_list_unit_files_by_patterns ( + Systemd1Manager *object, + GDBusMethodInvocation *invocation, + GVariant *unit_files); + +void systemd1_manager_complete_get_unit_file_state ( + Systemd1Manager *object, + GDBusMethodInvocation *invocation, + const gchar *state); + +void systemd1_manager_complete_enable_unit_files ( + Systemd1Manager *object, + GDBusMethodInvocation *invocation, + gboolean carries_install_info, + GVariant *changes); + +void systemd1_manager_complete_disable_unit_files ( + Systemd1Manager *object, + GDBusMethodInvocation *invocation, + GVariant *changes); + +void systemd1_manager_complete_enable_unit_files_with_flags ( + Systemd1Manager *object, + GDBusMethodInvocation *invocation, + gboolean carries_install_info, + GVariant *changes); + +void systemd1_manager_complete_disable_unit_files_with_flags ( + Systemd1Manager *object, + GDBusMethodInvocation *invocation, + GVariant *changes); + +void systemd1_manager_complete_reenable_unit_files ( + Systemd1Manager *object, + GDBusMethodInvocation *invocation, + gboolean carries_install_info, + GVariant *changes); + +void systemd1_manager_complete_link_unit_files ( + Systemd1Manager *object, + GDBusMethodInvocation *invocation, + GVariant *changes); + +void systemd1_manager_complete_preset_unit_files ( + Systemd1Manager *object, + GDBusMethodInvocation *invocation, + gboolean carries_install_info, + GVariant *changes); + +void systemd1_manager_complete_preset_unit_files_with_mode ( + Systemd1Manager *object, + GDBusMethodInvocation *invocation, + gboolean carries_install_info, + GVariant *changes); + +void systemd1_manager_complete_mask_unit_files ( + Systemd1Manager *object, + GDBusMethodInvocation *invocation, + GVariant *changes); + +void systemd1_manager_complete_unmask_unit_files ( + Systemd1Manager *object, + GDBusMethodInvocation *invocation, + GVariant *changes); + +void systemd1_manager_complete_revert_unit_files ( + Systemd1Manager *object, + GDBusMethodInvocation *invocation, + GVariant *changes); + +void systemd1_manager_complete_set_default_target ( + Systemd1Manager *object, + GDBusMethodInvocation *invocation, + GVariant *changes); + +void systemd1_manager_complete_get_default_target ( + Systemd1Manager *object, + GDBusMethodInvocation *invocation, + const gchar *name); + +void systemd1_manager_complete_preset_all_unit_files ( + Systemd1Manager *object, + GDBusMethodInvocation *invocation, + GVariant *changes); + +void systemd1_manager_complete_add_dependency_unit_files ( + Systemd1Manager *object, + GDBusMethodInvocation *invocation, + GVariant *changes); + +void systemd1_manager_complete_get_unit_file_links ( + Systemd1Manager *object, + GDBusMethodInvocation *invocation, + const gchar *const *links); + +void systemd1_manager_complete_set_exit_code ( + Systemd1Manager *object, + GDBusMethodInvocation *invocation); + +void systemd1_manager_complete_lookup_dynamic_user_by_name ( + Systemd1Manager *object, + GDBusMethodInvocation *invocation, + guint uid); + +void systemd1_manager_complete_lookup_dynamic_user_by_uid ( + Systemd1Manager *object, + GDBusMethodInvocation *invocation, + const gchar *name); + +void systemd1_manager_complete_get_dynamic_users ( + Systemd1Manager *object, + GDBusMethodInvocation *invocation, + GVariant *users); + + + +/* D-Bus signal emissions functions: */ +void systemd1_manager_emit_unit_new ( + Systemd1Manager *object, + const gchar *arg_id, + const gchar *arg_unit); + +void systemd1_manager_emit_unit_removed ( + Systemd1Manager *object, + const gchar *arg_id, + const gchar *arg_unit); + +void systemd1_manager_emit_job_new ( + Systemd1Manager *object, + guint arg_id, + const gchar *arg_job, + const gchar *arg_unit); + +void systemd1_manager_emit_job_removed ( + Systemd1Manager *object, + guint arg_id, + const gchar *arg_job, + const gchar *arg_unit, + const gchar *arg_result); + +void systemd1_manager_emit_startup_finished ( + Systemd1Manager *object, + guint64 arg_firmware, + guint64 arg_loader, + guint64 arg_kernel, + guint64 arg_initrd, + guint64 arg_userspace, + guint64 arg_total); + +void systemd1_manager_emit_unit_files_changed ( + Systemd1Manager *object); + +void systemd1_manager_emit_reloading ( + Systemd1Manager *object, + gboolean arg_active); + + + +/* D-Bus method calls: */ +void systemd1_manager_call_get_unit ( + Systemd1Manager *proxy, + const gchar *arg_name, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data); + +gboolean systemd1_manager_call_get_unit_finish ( + Systemd1Manager *proxy, + gchar **out_unit, + GAsyncResult *res, + GError **error); + +gboolean systemd1_manager_call_get_unit_sync ( + Systemd1Manager *proxy, + const gchar *arg_name, + gchar **out_unit, + GCancellable *cancellable, + GError **error); + +void systemd1_manager_call_get_unit_by_pid ( + Systemd1Manager *proxy, + guint arg_pid, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data); + +gboolean systemd1_manager_call_get_unit_by_pid_finish ( + Systemd1Manager *proxy, + gchar **out_unit, + GAsyncResult *res, + GError **error); + +gboolean systemd1_manager_call_get_unit_by_pid_sync ( + Systemd1Manager *proxy, + guint arg_pid, + gchar **out_unit, + GCancellable *cancellable, + GError **error); + +void systemd1_manager_call_get_unit_by_invocation_id ( + Systemd1Manager *proxy, + const gchar *arg_invocation_id, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data); + +gboolean systemd1_manager_call_get_unit_by_invocation_id_finish ( + Systemd1Manager *proxy, + gchar **out_unit, + GAsyncResult *res, + GError **error); + +gboolean systemd1_manager_call_get_unit_by_invocation_id_sync ( + Systemd1Manager *proxy, + const gchar *arg_invocation_id, + gchar **out_unit, + GCancellable *cancellable, + GError **error); + +void systemd1_manager_call_get_unit_by_control_group ( + Systemd1Manager *proxy, + const gchar *arg_cgroup, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data); + +gboolean systemd1_manager_call_get_unit_by_control_group_finish ( + Systemd1Manager *proxy, + gchar **out_unit, + GAsyncResult *res, + GError **error); + +gboolean systemd1_manager_call_get_unit_by_control_group_sync ( + Systemd1Manager *proxy, + const gchar *arg_cgroup, + gchar **out_unit, + GCancellable *cancellable, + GError **error); + +void systemd1_manager_call_load_unit ( + Systemd1Manager *proxy, + const gchar *arg_name, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data); + +gboolean systemd1_manager_call_load_unit_finish ( + Systemd1Manager *proxy, + gchar **out_unit, + GAsyncResult *res, + GError **error); + +gboolean systemd1_manager_call_load_unit_sync ( + Systemd1Manager *proxy, + const gchar *arg_name, + gchar **out_unit, + GCancellable *cancellable, + GError **error); + +void systemd1_manager_call_start_unit ( + Systemd1Manager *proxy, + const gchar *arg_name, + const gchar *arg_mode, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data); + +gboolean systemd1_manager_call_start_unit_finish ( + Systemd1Manager *proxy, + gchar **out_job, + GAsyncResult *res, + GError **error); + +gboolean systemd1_manager_call_start_unit_sync ( + Systemd1Manager *proxy, + const gchar *arg_name, + const gchar *arg_mode, + gchar **out_job, + GCancellable *cancellable, + GError **error); + +void systemd1_manager_call_start_unit_replace ( + Systemd1Manager *proxy, + const gchar *arg_old_unit, + const gchar *arg_new_unit, + const gchar *arg_mode, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data); + +gboolean systemd1_manager_call_start_unit_replace_finish ( + Systemd1Manager *proxy, + gchar **out_job, + GAsyncResult *res, + GError **error); + +gboolean systemd1_manager_call_start_unit_replace_sync ( + Systemd1Manager *proxy, + const gchar *arg_old_unit, + const gchar *arg_new_unit, + const gchar *arg_mode, + gchar **out_job, + GCancellable *cancellable, + GError **error); + +void systemd1_manager_call_stop_unit ( + Systemd1Manager *proxy, + const gchar *arg_name, + const gchar *arg_mode, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data); + +gboolean systemd1_manager_call_stop_unit_finish ( + Systemd1Manager *proxy, + gchar **out_job, + GAsyncResult *res, + GError **error); + +gboolean systemd1_manager_call_stop_unit_sync ( + Systemd1Manager *proxy, + const gchar *arg_name, + const gchar *arg_mode, + gchar **out_job, + GCancellable *cancellable, + GError **error); + +void systemd1_manager_call_reload_unit ( + Systemd1Manager *proxy, + const gchar *arg_name, + const gchar *arg_mode, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data); + +gboolean systemd1_manager_call_reload_unit_finish ( + Systemd1Manager *proxy, + gchar **out_job, + GAsyncResult *res, + GError **error); + +gboolean systemd1_manager_call_reload_unit_sync ( + Systemd1Manager *proxy, + const gchar *arg_name, + const gchar *arg_mode, + gchar **out_job, + GCancellable *cancellable, + GError **error); + +void systemd1_manager_call_restart_unit ( + Systemd1Manager *proxy, + const gchar *arg_name, + const gchar *arg_mode, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data); + +gboolean systemd1_manager_call_restart_unit_finish ( + Systemd1Manager *proxy, + gchar **out_job, + GAsyncResult *res, + GError **error); + +gboolean systemd1_manager_call_restart_unit_sync ( + Systemd1Manager *proxy, + const gchar *arg_name, + const gchar *arg_mode, + gchar **out_job, + GCancellable *cancellable, + GError **error); + +void systemd1_manager_call_try_restart_unit ( + Systemd1Manager *proxy, + const gchar *arg_name, + const gchar *arg_mode, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data); + +gboolean systemd1_manager_call_try_restart_unit_finish ( + Systemd1Manager *proxy, + gchar **out_job, + GAsyncResult *res, + GError **error); + +gboolean systemd1_manager_call_try_restart_unit_sync ( + Systemd1Manager *proxy, + const gchar *arg_name, + const gchar *arg_mode, + gchar **out_job, + GCancellable *cancellable, + GError **error); + +void systemd1_manager_call_reload_or_restart_unit ( + Systemd1Manager *proxy, + const gchar *arg_name, + const gchar *arg_mode, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data); + +gboolean systemd1_manager_call_reload_or_restart_unit_finish ( + Systemd1Manager *proxy, + gchar **out_job, + GAsyncResult *res, + GError **error); + +gboolean systemd1_manager_call_reload_or_restart_unit_sync ( + Systemd1Manager *proxy, + const gchar *arg_name, + const gchar *arg_mode, + gchar **out_job, + GCancellable *cancellable, + GError **error); + +void systemd1_manager_call_reload_or_try_restart_unit ( + Systemd1Manager *proxy, + const gchar *arg_name, + const gchar *arg_mode, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data); + +gboolean systemd1_manager_call_reload_or_try_restart_unit_finish ( + Systemd1Manager *proxy, + gchar **out_job, + GAsyncResult *res, + GError **error); + +gboolean systemd1_manager_call_reload_or_try_restart_unit_sync ( + Systemd1Manager *proxy, + const gchar *arg_name, + const gchar *arg_mode, + gchar **out_job, + GCancellable *cancellable, + GError **error); + +void systemd1_manager_call_enqueue_unit_job ( + Systemd1Manager *proxy, + const gchar *arg_name, + const gchar *arg_job_type, + const gchar *arg_job_mode, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data); + +gboolean systemd1_manager_call_enqueue_unit_job_finish ( + Systemd1Manager *proxy, + guint *out_job_id, + gchar **out_job_path, + gchar **out_unit_id, + gchar **out_unit_path, + gchar **out_job_type, + GVariant **out_affected_jobs, + GAsyncResult *res, + GError **error); + +gboolean systemd1_manager_call_enqueue_unit_job_sync ( + Systemd1Manager *proxy, + const gchar *arg_name, + const gchar *arg_job_type, + const gchar *arg_job_mode, + guint *out_job_id, + gchar **out_job_path, + gchar **out_unit_id, + gchar **out_unit_path, + gchar **out_job_type, + GVariant **out_affected_jobs, + GCancellable *cancellable, + GError **error); + +void systemd1_manager_call_kill_unit ( + Systemd1Manager *proxy, + const gchar *arg_name, + const gchar *arg_whom, + gint arg_signal, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data); + +gboolean systemd1_manager_call_kill_unit_finish ( + Systemd1Manager *proxy, + GAsyncResult *res, + GError **error); + +gboolean systemd1_manager_call_kill_unit_sync ( + Systemd1Manager *proxy, + const gchar *arg_name, + const gchar *arg_whom, + gint arg_signal, + GCancellable *cancellable, + GError **error); + +void systemd1_manager_call_clean_unit ( + Systemd1Manager *proxy, + const gchar *arg_name, + const gchar *const *arg_mask, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data); + +gboolean systemd1_manager_call_clean_unit_finish ( + Systemd1Manager *proxy, + GAsyncResult *res, + GError **error); + +gboolean systemd1_manager_call_clean_unit_sync ( + Systemd1Manager *proxy, + const gchar *arg_name, + const gchar *const *arg_mask, + GCancellable *cancellable, + GError **error); + +void systemd1_manager_call_freeze_unit ( + Systemd1Manager *proxy, + const gchar *arg_name, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data); + +gboolean systemd1_manager_call_freeze_unit_finish ( + Systemd1Manager *proxy, + GAsyncResult *res, + GError **error); + +gboolean systemd1_manager_call_freeze_unit_sync ( + Systemd1Manager *proxy, + const gchar *arg_name, + GCancellable *cancellable, + GError **error); + +void systemd1_manager_call_thaw_unit ( + Systemd1Manager *proxy, + const gchar *arg_name, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data); + +gboolean systemd1_manager_call_thaw_unit_finish ( + Systemd1Manager *proxy, + GAsyncResult *res, + GError **error); + +gboolean systemd1_manager_call_thaw_unit_sync ( + Systemd1Manager *proxy, + const gchar *arg_name, + GCancellable *cancellable, + GError **error); + +void systemd1_manager_call_reset_failed_unit ( + Systemd1Manager *proxy, + const gchar *arg_name, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data); + +gboolean systemd1_manager_call_reset_failed_unit_finish ( + Systemd1Manager *proxy, + GAsyncResult *res, + GError **error); + +gboolean systemd1_manager_call_reset_failed_unit_sync ( + Systemd1Manager *proxy, + const gchar *arg_name, + GCancellable *cancellable, + GError **error); + +void systemd1_manager_call_set_unit_properties ( + Systemd1Manager *proxy, + const gchar *arg_name, + gboolean arg_runtime, + GVariant *arg_properties, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data); + +gboolean systemd1_manager_call_set_unit_properties_finish ( + Systemd1Manager *proxy, + GAsyncResult *res, + GError **error); + +gboolean systemd1_manager_call_set_unit_properties_sync ( + Systemd1Manager *proxy, + const gchar *arg_name, + gboolean arg_runtime, + GVariant *arg_properties, + GCancellable *cancellable, + GError **error); + +void systemd1_manager_call_bind_mount_unit ( + Systemd1Manager *proxy, + const gchar *arg_name, + const gchar *arg_source, + const gchar *arg_destination, + gboolean arg_read_only, + gboolean arg_mkdir, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data); + +gboolean systemd1_manager_call_bind_mount_unit_finish ( + Systemd1Manager *proxy, + GAsyncResult *res, + GError **error); + +gboolean systemd1_manager_call_bind_mount_unit_sync ( + Systemd1Manager *proxy, + const gchar *arg_name, + const gchar *arg_source, + const gchar *arg_destination, + gboolean arg_read_only, + gboolean arg_mkdir, + GCancellable *cancellable, + GError **error); + +void systemd1_manager_call_mount_image_unit ( + Systemd1Manager *proxy, + const gchar *arg_name, + const gchar *arg_source, + const gchar *arg_destination, + gboolean arg_read_only, + gboolean arg_mkdir, + GVariant *arg_options, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data); + +gboolean systemd1_manager_call_mount_image_unit_finish ( + Systemd1Manager *proxy, + GAsyncResult *res, + GError **error); + +gboolean systemd1_manager_call_mount_image_unit_sync ( + Systemd1Manager *proxy, + const gchar *arg_name, + const gchar *arg_source, + const gchar *arg_destination, + gboolean arg_read_only, + gboolean arg_mkdir, + GVariant *arg_options, + GCancellable *cancellable, + GError **error); + +void systemd1_manager_call_ref_unit ( + Systemd1Manager *proxy, + const gchar *arg_name, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data); + +gboolean systemd1_manager_call_ref_unit_finish ( + Systemd1Manager *proxy, + GAsyncResult *res, + GError **error); + +gboolean systemd1_manager_call_ref_unit_sync ( + Systemd1Manager *proxy, + const gchar *arg_name, + GCancellable *cancellable, + GError **error); + +void systemd1_manager_call_unref_unit ( + Systemd1Manager *proxy, + const gchar *arg_name, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data); + +gboolean systemd1_manager_call_unref_unit_finish ( + Systemd1Manager *proxy, + GAsyncResult *res, + GError **error); + +gboolean systemd1_manager_call_unref_unit_sync ( + Systemd1Manager *proxy, + const gchar *arg_name, + GCancellable *cancellable, + GError **error); + +void systemd1_manager_call_start_transient_unit ( + Systemd1Manager *proxy, + const gchar *arg_name, + const gchar *arg_mode, + GVariant *arg_properties, + GVariant *arg_aux, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data); + +gboolean systemd1_manager_call_start_transient_unit_finish ( + Systemd1Manager *proxy, + gchar **out_job, + GAsyncResult *res, + GError **error); + +gboolean systemd1_manager_call_start_transient_unit_sync ( + Systemd1Manager *proxy, + const gchar *arg_name, + const gchar *arg_mode, + GVariant *arg_properties, + GVariant *arg_aux, + gchar **out_job, + GCancellable *cancellable, + GError **error); + +void systemd1_manager_call_get_unit_processes ( + Systemd1Manager *proxy, + const gchar *arg_name, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data); + +gboolean systemd1_manager_call_get_unit_processes_finish ( + Systemd1Manager *proxy, + GVariant **out_processes, + GAsyncResult *res, + GError **error); + +gboolean systemd1_manager_call_get_unit_processes_sync ( + Systemd1Manager *proxy, + const gchar *arg_name, + GVariant **out_processes, + GCancellable *cancellable, + GError **error); + +void systemd1_manager_call_attach_processes_to_unit ( + Systemd1Manager *proxy, + const gchar *arg_unit_name, + const gchar *arg_subcgroup, + GVariant *arg_pids, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data); + +gboolean systemd1_manager_call_attach_processes_to_unit_finish ( + Systemd1Manager *proxy, + GAsyncResult *res, + GError **error); + +gboolean systemd1_manager_call_attach_processes_to_unit_sync ( + Systemd1Manager *proxy, + const gchar *arg_unit_name, + const gchar *arg_subcgroup, + GVariant *arg_pids, + GCancellable *cancellable, + GError **error); + +void systemd1_manager_call_abandon_scope ( + Systemd1Manager *proxy, + const gchar *arg_name, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data); + +gboolean systemd1_manager_call_abandon_scope_finish ( + Systemd1Manager *proxy, + GAsyncResult *res, + GError **error); + +gboolean systemd1_manager_call_abandon_scope_sync ( + Systemd1Manager *proxy, + const gchar *arg_name, + GCancellable *cancellable, + GError **error); + +void systemd1_manager_call_get_job ( + Systemd1Manager *proxy, + guint arg_id, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data); + +gboolean systemd1_manager_call_get_job_finish ( + Systemd1Manager *proxy, + gchar **out_job, + GAsyncResult *res, + GError **error); + +gboolean systemd1_manager_call_get_job_sync ( + Systemd1Manager *proxy, + guint arg_id, + gchar **out_job, + GCancellable *cancellable, + GError **error); + +void systemd1_manager_call_get_job_after ( + Systemd1Manager *proxy, + guint arg_id, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data); + +gboolean systemd1_manager_call_get_job_after_finish ( + Systemd1Manager *proxy, + GVariant **out_jobs, + GAsyncResult *res, + GError **error); + +gboolean systemd1_manager_call_get_job_after_sync ( + Systemd1Manager *proxy, + guint arg_id, + GVariant **out_jobs, + GCancellable *cancellable, + GError **error); + +void systemd1_manager_call_get_job_before ( + Systemd1Manager *proxy, + guint arg_id, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data); + +gboolean systemd1_manager_call_get_job_before_finish ( + Systemd1Manager *proxy, + GVariant **out_jobs, + GAsyncResult *res, + GError **error); + +gboolean systemd1_manager_call_get_job_before_sync ( + Systemd1Manager *proxy, + guint arg_id, + GVariant **out_jobs, + GCancellable *cancellable, + GError **error); + +void systemd1_manager_call_cancel_job ( + Systemd1Manager *proxy, + guint arg_id, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data); + +gboolean systemd1_manager_call_cancel_job_finish ( + Systemd1Manager *proxy, + GAsyncResult *res, + GError **error); + +gboolean systemd1_manager_call_cancel_job_sync ( + Systemd1Manager *proxy, + guint arg_id, + GCancellable *cancellable, + GError **error); + +void systemd1_manager_call_clear_jobs ( + Systemd1Manager *proxy, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data); + +gboolean systemd1_manager_call_clear_jobs_finish ( + Systemd1Manager *proxy, + GAsyncResult *res, + GError **error); + +gboolean systemd1_manager_call_clear_jobs_sync ( + Systemd1Manager *proxy, + GCancellable *cancellable, + GError **error); + +void systemd1_manager_call_reset_failed ( + Systemd1Manager *proxy, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data); + +gboolean systemd1_manager_call_reset_failed_finish ( + Systemd1Manager *proxy, + GAsyncResult *res, + GError **error); + +gboolean systemd1_manager_call_reset_failed_sync ( + Systemd1Manager *proxy, + GCancellable *cancellable, + GError **error); + +void systemd1_manager_call_set_show_status ( + Systemd1Manager *proxy, + const gchar *arg_mode, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data); + +gboolean systemd1_manager_call_set_show_status_finish ( + Systemd1Manager *proxy, + GAsyncResult *res, + GError **error); + +gboolean systemd1_manager_call_set_show_status_sync ( + Systemd1Manager *proxy, + const gchar *arg_mode, + GCancellable *cancellable, + GError **error); + +void systemd1_manager_call_list_units ( + Systemd1Manager *proxy, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data); + +gboolean systemd1_manager_call_list_units_finish ( + Systemd1Manager *proxy, + GVariant **out_units, + GAsyncResult *res, + GError **error); + +gboolean systemd1_manager_call_list_units_sync ( + Systemd1Manager *proxy, + GVariant **out_units, + GCancellable *cancellable, + GError **error); + +void systemd1_manager_call_list_units_filtered ( + Systemd1Manager *proxy, + const gchar *const *arg_states, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data); + +gboolean systemd1_manager_call_list_units_filtered_finish ( + Systemd1Manager *proxy, + GVariant **out_units, + GAsyncResult *res, + GError **error); + +gboolean systemd1_manager_call_list_units_filtered_sync ( + Systemd1Manager *proxy, + const gchar *const *arg_states, + GVariant **out_units, + GCancellable *cancellable, + GError **error); + +void systemd1_manager_call_list_units_by_patterns ( + Systemd1Manager *proxy, + const gchar *const *arg_states, + const gchar *const *arg_patterns, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data); + +gboolean systemd1_manager_call_list_units_by_patterns_finish ( + Systemd1Manager *proxy, + GVariant **out_units, + GAsyncResult *res, + GError **error); + +gboolean systemd1_manager_call_list_units_by_patterns_sync ( + Systemd1Manager *proxy, + const gchar *const *arg_states, + const gchar *const *arg_patterns, + GVariant **out_units, + GCancellable *cancellable, + GError **error); + +void systemd1_manager_call_list_units_by_names ( + Systemd1Manager *proxy, + const gchar *const *arg_names, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data); + +gboolean systemd1_manager_call_list_units_by_names_finish ( + Systemd1Manager *proxy, + GVariant **out_units, + GAsyncResult *res, + GError **error); + +gboolean systemd1_manager_call_list_units_by_names_sync ( + Systemd1Manager *proxy, + const gchar *const *arg_names, + GVariant **out_units, + GCancellable *cancellable, + GError **error); + +void systemd1_manager_call_list_jobs ( + Systemd1Manager *proxy, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data); + +gboolean systemd1_manager_call_list_jobs_finish ( + Systemd1Manager *proxy, + GVariant **out_jobs, + GAsyncResult *res, + GError **error); + +gboolean systemd1_manager_call_list_jobs_sync ( + Systemd1Manager *proxy, + GVariant **out_jobs, + GCancellable *cancellable, + GError **error); + +void systemd1_manager_call_subscribe ( + Systemd1Manager *proxy, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data); + +gboolean systemd1_manager_call_subscribe_finish ( + Systemd1Manager *proxy, + GAsyncResult *res, + GError **error); + +gboolean systemd1_manager_call_subscribe_sync ( + Systemd1Manager *proxy, + GCancellable *cancellable, + GError **error); + +void systemd1_manager_call_unsubscribe ( + Systemd1Manager *proxy, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data); + +gboolean systemd1_manager_call_unsubscribe_finish ( + Systemd1Manager *proxy, + GAsyncResult *res, + GError **error); + +gboolean systemd1_manager_call_unsubscribe_sync ( + Systemd1Manager *proxy, + GCancellable *cancellable, + GError **error); + +void systemd1_manager_call_dump ( + Systemd1Manager *proxy, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data); + +gboolean systemd1_manager_call_dump_finish ( + Systemd1Manager *proxy, + gchar **out_output, + GAsyncResult *res, + GError **error); + +gboolean systemd1_manager_call_dump_sync ( + Systemd1Manager *proxy, + gchar **out_output, + GCancellable *cancellable, + GError **error); + +void systemd1_manager_call_dump_by_file_descriptor ( + Systemd1Manager *proxy, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data); + +gboolean systemd1_manager_call_dump_by_file_descriptor_finish ( + Systemd1Manager *proxy, + GVariant **out_fd, + GAsyncResult *res, + GError **error); + +gboolean systemd1_manager_call_dump_by_file_descriptor_sync ( + Systemd1Manager *proxy, + GVariant **out_fd, + GCancellable *cancellable, + GError **error); + +void systemd1_manager_call_reload ( + Systemd1Manager *proxy, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data); + +gboolean systemd1_manager_call_reload_finish ( + Systemd1Manager *proxy, + GAsyncResult *res, + GError **error); + +gboolean systemd1_manager_call_reload_sync ( + Systemd1Manager *proxy, + GCancellable *cancellable, + GError **error); + +void systemd1_manager_call_reexecute ( + Systemd1Manager *proxy, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data); + +gboolean systemd1_manager_call_reexecute_finish ( + Systemd1Manager *proxy, + GAsyncResult *res, + GError **error); + +gboolean systemd1_manager_call_reexecute_sync ( + Systemd1Manager *proxy, + GCancellable *cancellable, + GError **error); + +void systemd1_manager_call_exit ( + Systemd1Manager *proxy, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data); + +gboolean systemd1_manager_call_exit_finish ( + Systemd1Manager *proxy, + GAsyncResult *res, + GError **error); + +gboolean systemd1_manager_call_exit_sync ( + Systemd1Manager *proxy, + GCancellable *cancellable, + GError **error); + +void systemd1_manager_call_reboot ( + Systemd1Manager *proxy, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data); + +gboolean systemd1_manager_call_reboot_finish ( + Systemd1Manager *proxy, + GAsyncResult *res, + GError **error); + +gboolean systemd1_manager_call_reboot_sync ( + Systemd1Manager *proxy, + GCancellable *cancellable, + GError **error); + +void systemd1_manager_call_power_off ( + Systemd1Manager *proxy, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data); + +gboolean systemd1_manager_call_power_off_finish ( + Systemd1Manager *proxy, + GAsyncResult *res, + GError **error); + +gboolean systemd1_manager_call_power_off_sync ( + Systemd1Manager *proxy, + GCancellable *cancellable, + GError **error); + +void systemd1_manager_call_halt ( + Systemd1Manager *proxy, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data); + +gboolean systemd1_manager_call_halt_finish ( + Systemd1Manager *proxy, + GAsyncResult *res, + GError **error); + +gboolean systemd1_manager_call_halt_sync ( + Systemd1Manager *proxy, + GCancellable *cancellable, + GError **error); + +void systemd1_manager_call_kexec ( + Systemd1Manager *proxy, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data); + +gboolean systemd1_manager_call_kexec_finish ( + Systemd1Manager *proxy, + GAsyncResult *res, + GError **error); + +gboolean systemd1_manager_call_kexec_sync ( + Systemd1Manager *proxy, + GCancellable *cancellable, + GError **error); + +void systemd1_manager_call_switch_root ( + Systemd1Manager *proxy, + const gchar *arg_new_root, + const gchar *arg_init, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data); + +gboolean systemd1_manager_call_switch_root_finish ( + Systemd1Manager *proxy, + GAsyncResult *res, + GError **error); + +gboolean systemd1_manager_call_switch_root_sync ( + Systemd1Manager *proxy, + const gchar *arg_new_root, + const gchar *arg_init, + GCancellable *cancellable, + GError **error); + +void systemd1_manager_call_set_environment ( + Systemd1Manager *proxy, + const gchar *const *arg_assignments, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data); + +gboolean systemd1_manager_call_set_environment_finish ( + Systemd1Manager *proxy, + GAsyncResult *res, + GError **error); + +gboolean systemd1_manager_call_set_environment_sync ( + Systemd1Manager *proxy, + const gchar *const *arg_assignments, + GCancellable *cancellable, + GError **error); + +void systemd1_manager_call_unset_environment ( + Systemd1Manager *proxy, + const gchar *const *arg_names, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data); + +gboolean systemd1_manager_call_unset_environment_finish ( + Systemd1Manager *proxy, + GAsyncResult *res, + GError **error); + +gboolean systemd1_manager_call_unset_environment_sync ( + Systemd1Manager *proxy, + const gchar *const *arg_names, + GCancellable *cancellable, + GError **error); + +void systemd1_manager_call_unset_and_set_environment ( + Systemd1Manager *proxy, + const gchar *const *arg_names, + const gchar *const *arg_assignments, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data); + +gboolean systemd1_manager_call_unset_and_set_environment_finish ( + Systemd1Manager *proxy, + GAsyncResult *res, + GError **error); + +gboolean systemd1_manager_call_unset_and_set_environment_sync ( + Systemd1Manager *proxy, + const gchar *const *arg_names, + const gchar *const *arg_assignments, + GCancellable *cancellable, + GError **error); + +void systemd1_manager_call_enqueue_marked_jobs ( + Systemd1Manager *proxy, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data); + +gboolean systemd1_manager_call_enqueue_marked_jobs_finish ( + Systemd1Manager *proxy, + gchar ***out_jobs, + GAsyncResult *res, + GError **error); + +gboolean systemd1_manager_call_enqueue_marked_jobs_sync ( + Systemd1Manager *proxy, + gchar ***out_jobs, + GCancellable *cancellable, + GError **error); + +void systemd1_manager_call_list_unit_files ( + Systemd1Manager *proxy, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data); + +gboolean systemd1_manager_call_list_unit_files_finish ( + Systemd1Manager *proxy, + GVariant **out_unit_files, + GAsyncResult *res, + GError **error); + +gboolean systemd1_manager_call_list_unit_files_sync ( + Systemd1Manager *proxy, + GVariant **out_unit_files, + GCancellable *cancellable, + GError **error); + +void systemd1_manager_call_list_unit_files_by_patterns ( + Systemd1Manager *proxy, + const gchar *const *arg_states, + const gchar *const *arg_patterns, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data); + +gboolean systemd1_manager_call_list_unit_files_by_patterns_finish ( + Systemd1Manager *proxy, + GVariant **out_unit_files, + GAsyncResult *res, + GError **error); + +gboolean systemd1_manager_call_list_unit_files_by_patterns_sync ( + Systemd1Manager *proxy, + const gchar *const *arg_states, + const gchar *const *arg_patterns, + GVariant **out_unit_files, + GCancellable *cancellable, + GError **error); + +void systemd1_manager_call_get_unit_file_state ( + Systemd1Manager *proxy, + const gchar *arg_file, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data); + +gboolean systemd1_manager_call_get_unit_file_state_finish ( + Systemd1Manager *proxy, + gchar **out_state, + GAsyncResult *res, + GError **error); + +gboolean systemd1_manager_call_get_unit_file_state_sync ( + Systemd1Manager *proxy, + const gchar *arg_file, + gchar **out_state, + GCancellable *cancellable, + GError **error); + +void systemd1_manager_call_enable_unit_files ( + Systemd1Manager *proxy, + const gchar *const *arg_files, + gboolean arg_runtime, + gboolean arg_force, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data); + +gboolean systemd1_manager_call_enable_unit_files_finish ( + Systemd1Manager *proxy, + gboolean *out_carries_install_info, + GVariant **out_changes, + GAsyncResult *res, + GError **error); + +gboolean systemd1_manager_call_enable_unit_files_sync ( + Systemd1Manager *proxy, + const gchar *const *arg_files, + gboolean arg_runtime, + gboolean arg_force, + gboolean *out_carries_install_info, + GVariant **out_changes, + GCancellable *cancellable, + GError **error); + +void systemd1_manager_call_disable_unit_files ( + Systemd1Manager *proxy, + const gchar *const *arg_files, + gboolean arg_runtime, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data); + +gboolean systemd1_manager_call_disable_unit_files_finish ( + Systemd1Manager *proxy, + GVariant **out_changes, + GAsyncResult *res, + GError **error); + +gboolean systemd1_manager_call_disable_unit_files_sync ( + Systemd1Manager *proxy, + const gchar *const *arg_files, + gboolean arg_runtime, + GVariant **out_changes, + GCancellable *cancellable, + GError **error); + +void systemd1_manager_call_enable_unit_files_with_flags ( + Systemd1Manager *proxy, + const gchar *const *arg_files, + guint64 arg_flags, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data); + +gboolean systemd1_manager_call_enable_unit_files_with_flags_finish ( + Systemd1Manager *proxy, + gboolean *out_carries_install_info, + GVariant **out_changes, + GAsyncResult *res, + GError **error); + +gboolean systemd1_manager_call_enable_unit_files_with_flags_sync ( + Systemd1Manager *proxy, + const gchar *const *arg_files, + guint64 arg_flags, + gboolean *out_carries_install_info, + GVariant **out_changes, + GCancellable *cancellable, + GError **error); + +void systemd1_manager_call_disable_unit_files_with_flags ( + Systemd1Manager *proxy, + const gchar *const *arg_files, + guint64 arg_flags, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data); + +gboolean systemd1_manager_call_disable_unit_files_with_flags_finish ( + Systemd1Manager *proxy, + GVariant **out_changes, + GAsyncResult *res, + GError **error); + +gboolean systemd1_manager_call_disable_unit_files_with_flags_sync ( + Systemd1Manager *proxy, + const gchar *const *arg_files, + guint64 arg_flags, + GVariant **out_changes, + GCancellable *cancellable, + GError **error); + +void systemd1_manager_call_reenable_unit_files ( + Systemd1Manager *proxy, + const gchar *const *arg_files, + gboolean arg_runtime, + gboolean arg_force, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data); + +gboolean systemd1_manager_call_reenable_unit_files_finish ( + Systemd1Manager *proxy, + gboolean *out_carries_install_info, + GVariant **out_changes, + GAsyncResult *res, + GError **error); + +gboolean systemd1_manager_call_reenable_unit_files_sync ( + Systemd1Manager *proxy, + const gchar *const *arg_files, + gboolean arg_runtime, + gboolean arg_force, + gboolean *out_carries_install_info, + GVariant **out_changes, + GCancellable *cancellable, + GError **error); + +void systemd1_manager_call_link_unit_files ( + Systemd1Manager *proxy, + const gchar *const *arg_files, + gboolean arg_runtime, + gboolean arg_force, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data); + +gboolean systemd1_manager_call_link_unit_files_finish ( + Systemd1Manager *proxy, + GVariant **out_changes, + GAsyncResult *res, + GError **error); + +gboolean systemd1_manager_call_link_unit_files_sync ( + Systemd1Manager *proxy, + const gchar *const *arg_files, + gboolean arg_runtime, + gboolean arg_force, + GVariant **out_changes, + GCancellable *cancellable, + GError **error); + +void systemd1_manager_call_preset_unit_files ( + Systemd1Manager *proxy, + const gchar *const *arg_files, + gboolean arg_runtime, + gboolean arg_force, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data); + +gboolean systemd1_manager_call_preset_unit_files_finish ( + Systemd1Manager *proxy, + gboolean *out_carries_install_info, + GVariant **out_changes, + GAsyncResult *res, + GError **error); + +gboolean systemd1_manager_call_preset_unit_files_sync ( + Systemd1Manager *proxy, + const gchar *const *arg_files, + gboolean arg_runtime, + gboolean arg_force, + gboolean *out_carries_install_info, + GVariant **out_changes, + GCancellable *cancellable, + GError **error); + +void systemd1_manager_call_preset_unit_files_with_mode ( + Systemd1Manager *proxy, + const gchar *const *arg_files, + const gchar *arg_mode, + gboolean arg_runtime, + gboolean arg_force, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data); + +gboolean systemd1_manager_call_preset_unit_files_with_mode_finish ( + Systemd1Manager *proxy, + gboolean *out_carries_install_info, + GVariant **out_changes, + GAsyncResult *res, + GError **error); + +gboolean systemd1_manager_call_preset_unit_files_with_mode_sync ( + Systemd1Manager *proxy, + const gchar *const *arg_files, + const gchar *arg_mode, + gboolean arg_runtime, + gboolean arg_force, + gboolean *out_carries_install_info, + GVariant **out_changes, + GCancellable *cancellable, + GError **error); + +void systemd1_manager_call_mask_unit_files ( + Systemd1Manager *proxy, + const gchar *const *arg_files, + gboolean arg_runtime, + gboolean arg_force, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data); + +gboolean systemd1_manager_call_mask_unit_files_finish ( + Systemd1Manager *proxy, + GVariant **out_changes, + GAsyncResult *res, + GError **error); + +gboolean systemd1_manager_call_mask_unit_files_sync ( + Systemd1Manager *proxy, + const gchar *const *arg_files, + gboolean arg_runtime, + gboolean arg_force, + GVariant **out_changes, + GCancellable *cancellable, + GError **error); + +void systemd1_manager_call_unmask_unit_files ( + Systemd1Manager *proxy, + const gchar *const *arg_files, + gboolean arg_runtime, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data); + +gboolean systemd1_manager_call_unmask_unit_files_finish ( + Systemd1Manager *proxy, + GVariant **out_changes, + GAsyncResult *res, + GError **error); + +gboolean systemd1_manager_call_unmask_unit_files_sync ( + Systemd1Manager *proxy, + const gchar *const *arg_files, + gboolean arg_runtime, + GVariant **out_changes, + GCancellable *cancellable, + GError **error); + +void systemd1_manager_call_revert_unit_files ( + Systemd1Manager *proxy, + const gchar *const *arg_files, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data); + +gboolean systemd1_manager_call_revert_unit_files_finish ( + Systemd1Manager *proxy, + GVariant **out_changes, + GAsyncResult *res, + GError **error); + +gboolean systemd1_manager_call_revert_unit_files_sync ( + Systemd1Manager *proxy, + const gchar *const *arg_files, + GVariant **out_changes, + GCancellable *cancellable, + GError **error); + +void systemd1_manager_call_set_default_target ( + Systemd1Manager *proxy, + const gchar *arg_name, + gboolean arg_force, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data); + +gboolean systemd1_manager_call_set_default_target_finish ( + Systemd1Manager *proxy, + GVariant **out_changes, + GAsyncResult *res, + GError **error); + +gboolean systemd1_manager_call_set_default_target_sync ( + Systemd1Manager *proxy, + const gchar *arg_name, + gboolean arg_force, + GVariant **out_changes, + GCancellable *cancellable, + GError **error); + +void systemd1_manager_call_get_default_target ( + Systemd1Manager *proxy, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data); + +gboolean systemd1_manager_call_get_default_target_finish ( + Systemd1Manager *proxy, + gchar **out_name, + GAsyncResult *res, + GError **error); + +gboolean systemd1_manager_call_get_default_target_sync ( + Systemd1Manager *proxy, + gchar **out_name, + GCancellable *cancellable, + GError **error); + +void systemd1_manager_call_preset_all_unit_files ( + Systemd1Manager *proxy, + const gchar *arg_mode, + gboolean arg_runtime, + gboolean arg_force, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data); + +gboolean systemd1_manager_call_preset_all_unit_files_finish ( + Systemd1Manager *proxy, + GVariant **out_changes, + GAsyncResult *res, + GError **error); + +gboolean systemd1_manager_call_preset_all_unit_files_sync ( + Systemd1Manager *proxy, + const gchar *arg_mode, + gboolean arg_runtime, + gboolean arg_force, + GVariant **out_changes, + GCancellable *cancellable, + GError **error); + +void systemd1_manager_call_add_dependency_unit_files ( + Systemd1Manager *proxy, + const gchar *const *arg_files, + const gchar *arg_target, + const gchar *arg_type, + gboolean arg_runtime, + gboolean arg_force, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data); + +gboolean systemd1_manager_call_add_dependency_unit_files_finish ( + Systemd1Manager *proxy, + GVariant **out_changes, + GAsyncResult *res, + GError **error); + +gboolean systemd1_manager_call_add_dependency_unit_files_sync ( + Systemd1Manager *proxy, + const gchar *const *arg_files, + const gchar *arg_target, + const gchar *arg_type, + gboolean arg_runtime, + gboolean arg_force, + GVariant **out_changes, + GCancellable *cancellable, + GError **error); + +void systemd1_manager_call_get_unit_file_links ( + Systemd1Manager *proxy, + const gchar *arg_name, + gboolean arg_runtime, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data); + +gboolean systemd1_manager_call_get_unit_file_links_finish ( + Systemd1Manager *proxy, + gchar ***out_links, + GAsyncResult *res, + GError **error); + +gboolean systemd1_manager_call_get_unit_file_links_sync ( + Systemd1Manager *proxy, + const gchar *arg_name, + gboolean arg_runtime, + gchar ***out_links, + GCancellable *cancellable, + GError **error); + +void systemd1_manager_call_set_exit_code ( + Systemd1Manager *proxy, + guchar arg_number, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data); + +gboolean systemd1_manager_call_set_exit_code_finish ( + Systemd1Manager *proxy, + GAsyncResult *res, + GError **error); + +gboolean systemd1_manager_call_set_exit_code_sync ( + Systemd1Manager *proxy, + guchar arg_number, + GCancellable *cancellable, + GError **error); + +void systemd1_manager_call_lookup_dynamic_user_by_name ( + Systemd1Manager *proxy, + const gchar *arg_name, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data); + +gboolean systemd1_manager_call_lookup_dynamic_user_by_name_finish ( + Systemd1Manager *proxy, + guint *out_uid, + GAsyncResult *res, + GError **error); + +gboolean systemd1_manager_call_lookup_dynamic_user_by_name_sync ( + Systemd1Manager *proxy, + const gchar *arg_name, + guint *out_uid, + GCancellable *cancellable, + GError **error); + +void systemd1_manager_call_lookup_dynamic_user_by_uid ( + Systemd1Manager *proxy, + guint arg_uid, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data); + +gboolean systemd1_manager_call_lookup_dynamic_user_by_uid_finish ( + Systemd1Manager *proxy, + gchar **out_name, + GAsyncResult *res, + GError **error); + +gboolean systemd1_manager_call_lookup_dynamic_user_by_uid_sync ( + Systemd1Manager *proxy, + guint arg_uid, + gchar **out_name, + GCancellable *cancellable, + GError **error); + +void systemd1_manager_call_get_dynamic_users ( + Systemd1Manager *proxy, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data); + +gboolean systemd1_manager_call_get_dynamic_users_finish ( + Systemd1Manager *proxy, + GVariant **out_users, + GAsyncResult *res, + GError **error); + +gboolean systemd1_manager_call_get_dynamic_users_sync ( + Systemd1Manager *proxy, + GVariant **out_users, + GCancellable *cancellable, + GError **error); + + + +/* D-Bus property accessors: */ +const gchar *systemd1_manager_get_version (Systemd1Manager *object); +gchar *systemd1_manager_dup_version (Systemd1Manager *object); +void systemd1_manager_set_version (Systemd1Manager *object, const gchar *value); + +const gchar *systemd1_manager_get_features (Systemd1Manager *object); +gchar *systemd1_manager_dup_features (Systemd1Manager *object); +void systemd1_manager_set_features (Systemd1Manager *object, const gchar *value); + +const gchar *systemd1_manager_get_virtualization (Systemd1Manager *object); +gchar *systemd1_manager_dup_virtualization (Systemd1Manager *object); +void systemd1_manager_set_virtualization (Systemd1Manager *object, const gchar *value); + +const gchar *systemd1_manager_get_architecture (Systemd1Manager *object); +gchar *systemd1_manager_dup_architecture (Systemd1Manager *object); +void systemd1_manager_set_architecture (Systemd1Manager *object, const gchar *value); + +const gchar *systemd1_manager_get_tainted (Systemd1Manager *object); +gchar *systemd1_manager_dup_tainted (Systemd1Manager *object); +void systemd1_manager_set_tainted (Systemd1Manager *object, const gchar *value); + +guint64 systemd1_manager_get_firmware_timestamp (Systemd1Manager *object); +void systemd1_manager_set_firmware_timestamp (Systemd1Manager *object, guint64 value); + +guint64 systemd1_manager_get_firmware_timestamp_monotonic (Systemd1Manager *object); +void systemd1_manager_set_firmware_timestamp_monotonic (Systemd1Manager *object, guint64 value); + +guint64 systemd1_manager_get_loader_timestamp (Systemd1Manager *object); +void systemd1_manager_set_loader_timestamp (Systemd1Manager *object, guint64 value); + +guint64 systemd1_manager_get_loader_timestamp_monotonic (Systemd1Manager *object); +void systemd1_manager_set_loader_timestamp_monotonic (Systemd1Manager *object, guint64 value); + +guint64 systemd1_manager_get_kernel_timestamp (Systemd1Manager *object); +void systemd1_manager_set_kernel_timestamp (Systemd1Manager *object, guint64 value); + +guint64 systemd1_manager_get_kernel_timestamp_monotonic (Systemd1Manager *object); +void systemd1_manager_set_kernel_timestamp_monotonic (Systemd1Manager *object, guint64 value); + +guint64 systemd1_manager_get_init_rdtimestamp (Systemd1Manager *object); +void systemd1_manager_set_init_rdtimestamp (Systemd1Manager *object, guint64 value); + +guint64 systemd1_manager_get_init_rdtimestamp_monotonic (Systemd1Manager *object); +void systemd1_manager_set_init_rdtimestamp_monotonic (Systemd1Manager *object, guint64 value); + +guint64 systemd1_manager_get_userspace_timestamp (Systemd1Manager *object); +void systemd1_manager_set_userspace_timestamp (Systemd1Manager *object, guint64 value); + +guint64 systemd1_manager_get_userspace_timestamp_monotonic (Systemd1Manager *object); +void systemd1_manager_set_userspace_timestamp_monotonic (Systemd1Manager *object, guint64 value); + +guint64 systemd1_manager_get_finish_timestamp (Systemd1Manager *object); +void systemd1_manager_set_finish_timestamp (Systemd1Manager *object, guint64 value); + +guint64 systemd1_manager_get_finish_timestamp_monotonic (Systemd1Manager *object); +void systemd1_manager_set_finish_timestamp_monotonic (Systemd1Manager *object, guint64 value); + +guint64 systemd1_manager_get_security_start_timestamp (Systemd1Manager *object); +void systemd1_manager_set_security_start_timestamp (Systemd1Manager *object, guint64 value); + +guint64 systemd1_manager_get_security_start_timestamp_monotonic (Systemd1Manager *object); +void systemd1_manager_set_security_start_timestamp_monotonic (Systemd1Manager *object, guint64 value); + +guint64 systemd1_manager_get_security_finish_timestamp (Systemd1Manager *object); +void systemd1_manager_set_security_finish_timestamp (Systemd1Manager *object, guint64 value); + +guint64 systemd1_manager_get_security_finish_timestamp_monotonic (Systemd1Manager *object); +void systemd1_manager_set_security_finish_timestamp_monotonic (Systemd1Manager *object, guint64 value); + +guint64 systemd1_manager_get_generators_start_timestamp (Systemd1Manager *object); +void systemd1_manager_set_generators_start_timestamp (Systemd1Manager *object, guint64 value); + +guint64 systemd1_manager_get_generators_start_timestamp_monotonic (Systemd1Manager *object); +void systemd1_manager_set_generators_start_timestamp_monotonic (Systemd1Manager *object, guint64 value); + +guint64 systemd1_manager_get_generators_finish_timestamp (Systemd1Manager *object); +void systemd1_manager_set_generators_finish_timestamp (Systemd1Manager *object, guint64 value); + +guint64 systemd1_manager_get_generators_finish_timestamp_monotonic (Systemd1Manager *object); +void systemd1_manager_set_generators_finish_timestamp_monotonic (Systemd1Manager *object, guint64 value); + +guint64 systemd1_manager_get_units_load_start_timestamp (Systemd1Manager *object); +void systemd1_manager_set_units_load_start_timestamp (Systemd1Manager *object, guint64 value); + +guint64 systemd1_manager_get_units_load_start_timestamp_monotonic (Systemd1Manager *object); +void systemd1_manager_set_units_load_start_timestamp_monotonic (Systemd1Manager *object, guint64 value); + +guint64 systemd1_manager_get_units_load_finish_timestamp (Systemd1Manager *object); +void systemd1_manager_set_units_load_finish_timestamp (Systemd1Manager *object, guint64 value); + +guint64 systemd1_manager_get_units_load_finish_timestamp_monotonic (Systemd1Manager *object); +void systemd1_manager_set_units_load_finish_timestamp_monotonic (Systemd1Manager *object, guint64 value); + +guint64 systemd1_manager_get_init_rdsecurity_start_timestamp (Systemd1Manager *object); +void systemd1_manager_set_init_rdsecurity_start_timestamp (Systemd1Manager *object, guint64 value); + +guint64 systemd1_manager_get_init_rdsecurity_start_timestamp_monotonic (Systemd1Manager *object); +void systemd1_manager_set_init_rdsecurity_start_timestamp_monotonic (Systemd1Manager *object, guint64 value); + +guint64 systemd1_manager_get_init_rdsecurity_finish_timestamp (Systemd1Manager *object); +void systemd1_manager_set_init_rdsecurity_finish_timestamp (Systemd1Manager *object, guint64 value); + +guint64 systemd1_manager_get_init_rdsecurity_finish_timestamp_monotonic (Systemd1Manager *object); +void systemd1_manager_set_init_rdsecurity_finish_timestamp_monotonic (Systemd1Manager *object, guint64 value); + +guint64 systemd1_manager_get_init_rdgenerators_start_timestamp (Systemd1Manager *object); +void systemd1_manager_set_init_rdgenerators_start_timestamp (Systemd1Manager *object, guint64 value); + +guint64 systemd1_manager_get_init_rdgenerators_start_timestamp_monotonic (Systemd1Manager *object); +void systemd1_manager_set_init_rdgenerators_start_timestamp_monotonic (Systemd1Manager *object, guint64 value); + +guint64 systemd1_manager_get_init_rdgenerators_finish_timestamp (Systemd1Manager *object); +void systemd1_manager_set_init_rdgenerators_finish_timestamp (Systemd1Manager *object, guint64 value); + +guint64 systemd1_manager_get_init_rdgenerators_finish_timestamp_monotonic (Systemd1Manager *object); +void systemd1_manager_set_init_rdgenerators_finish_timestamp_monotonic (Systemd1Manager *object, guint64 value); + +guint64 systemd1_manager_get_init_rdunits_load_start_timestamp (Systemd1Manager *object); +void systemd1_manager_set_init_rdunits_load_start_timestamp (Systemd1Manager *object, guint64 value); + +guint64 systemd1_manager_get_init_rdunits_load_start_timestamp_monotonic (Systemd1Manager *object); +void systemd1_manager_set_init_rdunits_load_start_timestamp_monotonic (Systemd1Manager *object, guint64 value); + +guint64 systemd1_manager_get_init_rdunits_load_finish_timestamp (Systemd1Manager *object); +void systemd1_manager_set_init_rdunits_load_finish_timestamp (Systemd1Manager *object, guint64 value); + +guint64 systemd1_manager_get_init_rdunits_load_finish_timestamp_monotonic (Systemd1Manager *object); +void systemd1_manager_set_init_rdunits_load_finish_timestamp_monotonic (Systemd1Manager *object, guint64 value); + +const gchar *systemd1_manager_get_log_level (Systemd1Manager *object); +gchar *systemd1_manager_dup_log_level (Systemd1Manager *object); +void systemd1_manager_set_log_level (Systemd1Manager *object, const gchar *value); + +const gchar *systemd1_manager_get_log_target (Systemd1Manager *object); +gchar *systemd1_manager_dup_log_target (Systemd1Manager *object); +void systemd1_manager_set_log_target (Systemd1Manager *object, const gchar *value); + +guint systemd1_manager_get_nnames (Systemd1Manager *object); +void systemd1_manager_set_nnames (Systemd1Manager *object, guint value); + +guint systemd1_manager_get_nfailed_units (Systemd1Manager *object); +void systemd1_manager_set_nfailed_units (Systemd1Manager *object, guint value); + +guint systemd1_manager_get_njobs (Systemd1Manager *object); +void systemd1_manager_set_njobs (Systemd1Manager *object, guint value); + +guint systemd1_manager_get_ninstalled_jobs (Systemd1Manager *object); +void systemd1_manager_set_ninstalled_jobs (Systemd1Manager *object, guint value); + +guint systemd1_manager_get_nfailed_jobs (Systemd1Manager *object); +void systemd1_manager_set_nfailed_jobs (Systemd1Manager *object, guint value); + +gdouble systemd1_manager_get_progress (Systemd1Manager *object); +void systemd1_manager_set_progress (Systemd1Manager *object, gdouble value); + +const gchar *const *systemd1_manager_get_environment (Systemd1Manager *object); +gchar **systemd1_manager_dup_environment (Systemd1Manager *object); +void systemd1_manager_set_environment (Systemd1Manager *object, const gchar *const *value); + +gboolean systemd1_manager_get_confirm_spawn (Systemd1Manager *object); +void systemd1_manager_set_confirm_spawn (Systemd1Manager *object, gboolean value); + +gboolean systemd1_manager_get_show_status (Systemd1Manager *object); +void systemd1_manager_set_show_status (Systemd1Manager *object, gboolean value); + +const gchar *const *systemd1_manager_get_unit_path (Systemd1Manager *object); +gchar **systemd1_manager_dup_unit_path (Systemd1Manager *object); +void systemd1_manager_set_unit_path (Systemd1Manager *object, const gchar *const *value); + +const gchar *systemd1_manager_get_default_standard_output (Systemd1Manager *object); +gchar *systemd1_manager_dup_default_standard_output (Systemd1Manager *object); +void systemd1_manager_set_default_standard_output (Systemd1Manager *object, const gchar *value); + +const gchar *systemd1_manager_get_default_standard_error (Systemd1Manager *object); +gchar *systemd1_manager_dup_default_standard_error (Systemd1Manager *object); +void systemd1_manager_set_default_standard_error (Systemd1Manager *object, const gchar *value); + +guint64 systemd1_manager_get_runtime_watchdog_usec (Systemd1Manager *object); +void systemd1_manager_set_runtime_watchdog_usec (Systemd1Manager *object, guint64 value); + +guint64 systemd1_manager_get_reboot_watchdog_usec (Systemd1Manager *object); +void systemd1_manager_set_reboot_watchdog_usec (Systemd1Manager *object, guint64 value); + +guint64 systemd1_manager_get_kexec_watchdog_usec (Systemd1Manager *object); +void systemd1_manager_set_kexec_watchdog_usec (Systemd1Manager *object, guint64 value); + +gboolean systemd1_manager_get_service_watchdogs (Systemd1Manager *object); +void systemd1_manager_set_service_watchdogs (Systemd1Manager *object, gboolean value); + +const gchar *systemd1_manager_get_control_group (Systemd1Manager *object); +gchar *systemd1_manager_dup_control_group (Systemd1Manager *object); +void systemd1_manager_set_control_group (Systemd1Manager *object, const gchar *value); + +const gchar *systemd1_manager_get_system_state (Systemd1Manager *object); +gchar *systemd1_manager_dup_system_state (Systemd1Manager *object); +void systemd1_manager_set_system_state (Systemd1Manager *object, const gchar *value); + +guchar systemd1_manager_get_exit_code (Systemd1Manager *object); +void systemd1_manager_set_exit_code (Systemd1Manager *object, guchar value); + +guint64 systemd1_manager_get_default_timer_accuracy_usec (Systemd1Manager *object); +void systemd1_manager_set_default_timer_accuracy_usec (Systemd1Manager *object, guint64 value); + +guint64 systemd1_manager_get_default_timeout_start_usec (Systemd1Manager *object); +void systemd1_manager_set_default_timeout_start_usec (Systemd1Manager *object, guint64 value); + +guint64 systemd1_manager_get_default_timeout_stop_usec (Systemd1Manager *object); +void systemd1_manager_set_default_timeout_stop_usec (Systemd1Manager *object, guint64 value); + +guint64 systemd1_manager_get_default_timeout_abort_usec (Systemd1Manager *object); +void systemd1_manager_set_default_timeout_abort_usec (Systemd1Manager *object, guint64 value); + +guint64 systemd1_manager_get_default_restart_usec (Systemd1Manager *object); +void systemd1_manager_set_default_restart_usec (Systemd1Manager *object, guint64 value); + +guint64 systemd1_manager_get_default_start_limit_interval_usec (Systemd1Manager *object); +void systemd1_manager_set_default_start_limit_interval_usec (Systemd1Manager *object, guint64 value); + +guint systemd1_manager_get_default_start_limit_burst (Systemd1Manager *object); +void systemd1_manager_set_default_start_limit_burst (Systemd1Manager *object, guint value); + +gboolean systemd1_manager_get_default_cpuaccounting (Systemd1Manager *object); +void systemd1_manager_set_default_cpuaccounting (Systemd1Manager *object, gboolean value); + +gboolean systemd1_manager_get_default_block_ioaccounting (Systemd1Manager *object); +void systemd1_manager_set_default_block_ioaccounting (Systemd1Manager *object, gboolean value); + +gboolean systemd1_manager_get_default_memory_accounting (Systemd1Manager *object); +void systemd1_manager_set_default_memory_accounting (Systemd1Manager *object, gboolean value); + +gboolean systemd1_manager_get_default_tasks_accounting (Systemd1Manager *object); +void systemd1_manager_set_default_tasks_accounting (Systemd1Manager *object, gboolean value); + +guint64 systemd1_manager_get_default_limit_cpu (Systemd1Manager *object); +void systemd1_manager_set_default_limit_cpu (Systemd1Manager *object, guint64 value); + +guint64 systemd1_manager_get_default_limit_cpusoft (Systemd1Manager *object); +void systemd1_manager_set_default_limit_cpusoft (Systemd1Manager *object, guint64 value); + +guint64 systemd1_manager_get_default_limit_fsize (Systemd1Manager *object); +void systemd1_manager_set_default_limit_fsize (Systemd1Manager *object, guint64 value); + +guint64 systemd1_manager_get_default_limit_fsizesoft (Systemd1Manager *object); +void systemd1_manager_set_default_limit_fsizesoft (Systemd1Manager *object, guint64 value); + +guint64 systemd1_manager_get_default_limit_data (Systemd1Manager *object); +void systemd1_manager_set_default_limit_data (Systemd1Manager *object, guint64 value); + +guint64 systemd1_manager_get_default_limit_datasoft (Systemd1Manager *object); +void systemd1_manager_set_default_limit_datasoft (Systemd1Manager *object, guint64 value); + +guint64 systemd1_manager_get_default_limit_stack (Systemd1Manager *object); +void systemd1_manager_set_default_limit_stack (Systemd1Manager *object, guint64 value); + +guint64 systemd1_manager_get_default_limit_stacksoft (Systemd1Manager *object); +void systemd1_manager_set_default_limit_stacksoft (Systemd1Manager *object, guint64 value); + +guint64 systemd1_manager_get_default_limit_core (Systemd1Manager *object); +void systemd1_manager_set_default_limit_core (Systemd1Manager *object, guint64 value); + +guint64 systemd1_manager_get_default_limit_coresoft (Systemd1Manager *object); +void systemd1_manager_set_default_limit_coresoft (Systemd1Manager *object, guint64 value); + +guint64 systemd1_manager_get_default_limit_rss (Systemd1Manager *object); +void systemd1_manager_set_default_limit_rss (Systemd1Manager *object, guint64 value); + +guint64 systemd1_manager_get_default_limit_rsssoft (Systemd1Manager *object); +void systemd1_manager_set_default_limit_rsssoft (Systemd1Manager *object, guint64 value); + +guint64 systemd1_manager_get_default_limit_nofile (Systemd1Manager *object); +void systemd1_manager_set_default_limit_nofile (Systemd1Manager *object, guint64 value); + +guint64 systemd1_manager_get_default_limit_nofilesoft (Systemd1Manager *object); +void systemd1_manager_set_default_limit_nofilesoft (Systemd1Manager *object, guint64 value); + +guint64 systemd1_manager_get_default_limit_as (Systemd1Manager *object); +void systemd1_manager_set_default_limit_as (Systemd1Manager *object, guint64 value); + +guint64 systemd1_manager_get_default_limit_assoft (Systemd1Manager *object); +void systemd1_manager_set_default_limit_assoft (Systemd1Manager *object, guint64 value); + +guint64 systemd1_manager_get_default_limit_nproc (Systemd1Manager *object); +void systemd1_manager_set_default_limit_nproc (Systemd1Manager *object, guint64 value); + +guint64 systemd1_manager_get_default_limit_nprocsoft (Systemd1Manager *object); +void systemd1_manager_set_default_limit_nprocsoft (Systemd1Manager *object, guint64 value); + +guint64 systemd1_manager_get_default_limit_memlock (Systemd1Manager *object); +void systemd1_manager_set_default_limit_memlock (Systemd1Manager *object, guint64 value); + +guint64 systemd1_manager_get_default_limit_memlocksoft (Systemd1Manager *object); +void systemd1_manager_set_default_limit_memlocksoft (Systemd1Manager *object, guint64 value); + +guint64 systemd1_manager_get_default_limit_locks (Systemd1Manager *object); +void systemd1_manager_set_default_limit_locks (Systemd1Manager *object, guint64 value); + +guint64 systemd1_manager_get_default_limit_lockssoft (Systemd1Manager *object); +void systemd1_manager_set_default_limit_lockssoft (Systemd1Manager *object, guint64 value); + +guint64 systemd1_manager_get_default_limit_sigpending (Systemd1Manager *object); +void systemd1_manager_set_default_limit_sigpending (Systemd1Manager *object, guint64 value); + +guint64 systemd1_manager_get_default_limit_sigpendingsoft (Systemd1Manager *object); +void systemd1_manager_set_default_limit_sigpendingsoft (Systemd1Manager *object, guint64 value); + +guint64 systemd1_manager_get_default_limit_msgqueue (Systemd1Manager *object); +void systemd1_manager_set_default_limit_msgqueue (Systemd1Manager *object, guint64 value); + +guint64 systemd1_manager_get_default_limit_msgqueuesoft (Systemd1Manager *object); +void systemd1_manager_set_default_limit_msgqueuesoft (Systemd1Manager *object, guint64 value); + +guint64 systemd1_manager_get_default_limit_nice (Systemd1Manager *object); +void systemd1_manager_set_default_limit_nice (Systemd1Manager *object, guint64 value); + +guint64 systemd1_manager_get_default_limit_nicesoft (Systemd1Manager *object); +void systemd1_manager_set_default_limit_nicesoft (Systemd1Manager *object, guint64 value); + +guint64 systemd1_manager_get_default_limit_rtprio (Systemd1Manager *object); +void systemd1_manager_set_default_limit_rtprio (Systemd1Manager *object, guint64 value); + +guint64 systemd1_manager_get_default_limit_rtpriosoft (Systemd1Manager *object); +void systemd1_manager_set_default_limit_rtpriosoft (Systemd1Manager *object, guint64 value); + +guint64 systemd1_manager_get_default_limit_rttime (Systemd1Manager *object); +void systemd1_manager_set_default_limit_rttime (Systemd1Manager *object, guint64 value); + +guint64 systemd1_manager_get_default_limit_rttimesoft (Systemd1Manager *object); +void systemd1_manager_set_default_limit_rttimesoft (Systemd1Manager *object, guint64 value); + +guint64 systemd1_manager_get_default_tasks_max (Systemd1Manager *object); +void systemd1_manager_set_default_tasks_max (Systemd1Manager *object, guint64 value); + +guint64 systemd1_manager_get_timer_slack_nsec (Systemd1Manager *object); +void systemd1_manager_set_timer_slack_nsec (Systemd1Manager *object, guint64 value); + +const gchar *systemd1_manager_get_default_oompolicy (Systemd1Manager *object); +gchar *systemd1_manager_dup_default_oompolicy (Systemd1Manager *object); +void systemd1_manager_set_default_oompolicy (Systemd1Manager *object, const gchar *value); + +const gchar *systemd1_manager_get_ctrl_alt_del_burst_action (Systemd1Manager *object); +gchar *systemd1_manager_dup_ctrl_alt_del_burst_action (Systemd1Manager *object); +void systemd1_manager_set_ctrl_alt_del_burst_action (Systemd1Manager *object, const gchar *value); + + +/* ---- */ + +#define TYPE_SYSTEMD1_MANAGER_PROXY (systemd1_manager_proxy_get_type ()) +#define SYSTEMD1_MANAGER_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_SYSTEMD1_MANAGER_PROXY, Systemd1ManagerProxy)) +#define SYSTEMD1_MANAGER_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_SYSTEMD1_MANAGER_PROXY, Systemd1ManagerProxyClass)) +#define SYSTEMD1_MANAGER_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_SYSTEMD1_MANAGER_PROXY, Systemd1ManagerProxyClass)) +#define IS_SYSTEMD1_MANAGER_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_SYSTEMD1_MANAGER_PROXY)) +#define IS_SYSTEMD1_MANAGER_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_SYSTEMD1_MANAGER_PROXY)) + +typedef struct _Systemd1ManagerProxy Systemd1ManagerProxy; +typedef struct _Systemd1ManagerProxyClass Systemd1ManagerProxyClass; +typedef struct _Systemd1ManagerProxyPrivate Systemd1ManagerProxyPrivate; + +struct _Systemd1ManagerProxy +{ + /*< private >*/ + GDBusProxy parent_instance; + Systemd1ManagerProxyPrivate *priv; +}; + +struct _Systemd1ManagerProxyClass +{ + GDBusProxyClass parent_class; +}; + +GType systemd1_manager_proxy_get_type (void) G_GNUC_CONST; + +#if GLIB_CHECK_VERSION(2, 44, 0) +G_DEFINE_AUTOPTR_CLEANUP_FUNC (Systemd1ManagerProxy, g_object_unref) +#endif + +void systemd1_manager_proxy_new ( + GDBusConnection *connection, + GDBusProxyFlags flags, + const gchar *name, + const gchar *object_path, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data); +Systemd1Manager *systemd1_manager_proxy_new_finish ( + GAsyncResult *res, + GError **error); +Systemd1Manager *systemd1_manager_proxy_new_sync ( + GDBusConnection *connection, + GDBusProxyFlags flags, + const gchar *name, + const gchar *object_path, + GCancellable *cancellable, + GError **error); + +void systemd1_manager_proxy_new_for_bus ( + GBusType bus_type, + GDBusProxyFlags flags, + const gchar *name, + const gchar *object_path, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data); +Systemd1Manager *systemd1_manager_proxy_new_for_bus_finish ( + GAsyncResult *res, + GError **error); +Systemd1Manager *systemd1_manager_proxy_new_for_bus_sync ( + GBusType bus_type, + GDBusProxyFlags flags, + const gchar *name, + const gchar *object_path, + GCancellable *cancellable, + GError **error); + + +/* ---- */ + +#define TYPE_SYSTEMD1_MANAGER_SKELETON (systemd1_manager_skeleton_get_type ()) +#define SYSTEMD1_MANAGER_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_SYSTEMD1_MANAGER_SKELETON, Systemd1ManagerSkeleton)) +#define SYSTEMD1_MANAGER_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_SYSTEMD1_MANAGER_SKELETON, Systemd1ManagerSkeletonClass)) +#define SYSTEMD1_MANAGER_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_SYSTEMD1_MANAGER_SKELETON, Systemd1ManagerSkeletonClass)) +#define IS_SYSTEMD1_MANAGER_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_SYSTEMD1_MANAGER_SKELETON)) +#define IS_SYSTEMD1_MANAGER_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_SYSTEMD1_MANAGER_SKELETON)) + +typedef struct _Systemd1ManagerSkeleton Systemd1ManagerSkeleton; +typedef struct _Systemd1ManagerSkeletonClass Systemd1ManagerSkeletonClass; +typedef struct _Systemd1ManagerSkeletonPrivate Systemd1ManagerSkeletonPrivate; + +struct _Systemd1ManagerSkeleton +{ + /*< private >*/ + GDBusInterfaceSkeleton parent_instance; + Systemd1ManagerSkeletonPrivate *priv; +}; + +struct _Systemd1ManagerSkeletonClass +{ + GDBusInterfaceSkeletonClass parent_class; +}; + +GType systemd1_manager_skeleton_get_type (void) G_GNUC_CONST; + +#if GLIB_CHECK_VERSION(2, 44, 0) +G_DEFINE_AUTOPTR_CLEANUP_FUNC (Systemd1ManagerSkeleton, g_object_unref) +#endif + +Systemd1Manager *systemd1_manager_skeleton_new (void); + + +/* ---- */ + +#define TYPE_OBJECT (object_get_type ()) +#define OBJECT(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_OBJECT, Object)) +#define IS_OBJECT(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_OBJECT)) +#define OBJECT_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_OBJECT, Object)) + +struct _Object; +typedef struct _Object Object; +typedef struct _ObjectIface ObjectIface; + +struct _ObjectIface +{ + GTypeInterface parent_iface; +}; + +GType object_get_type (void) G_GNUC_CONST; + +Systemd1Manager *object_get_systemd1_manager (Object *object); +Systemd1Manager *object_peek_systemd1_manager (Object *object); + +#define TYPE_OBJECT_PROXY (object_proxy_get_type ()) +#define OBJECT_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_OBJECT_PROXY, ObjectProxy)) +#define OBJECT_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_OBJECT_PROXY, ObjectProxyClass)) +#define OBJECT_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_OBJECT_PROXY, ObjectProxyClass)) +#define IS_OBJECT_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_OBJECT_PROXY)) +#define IS_OBJECT_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_OBJECT_PROXY)) + +typedef struct _ObjectProxy ObjectProxy; +typedef struct _ObjectProxyClass ObjectProxyClass; +typedef struct _ObjectProxyPrivate ObjectProxyPrivate; + +struct _ObjectProxy +{ + /*< private >*/ + GDBusObjectProxy parent_instance; + ObjectProxyPrivate *priv; +}; + +struct _ObjectProxyClass +{ + GDBusObjectProxyClass parent_class; +}; + +GType object_proxy_get_type (void) G_GNUC_CONST; + +#if GLIB_CHECK_VERSION(2, 44, 0) +G_DEFINE_AUTOPTR_CLEANUP_FUNC (ObjectProxy, g_object_unref) +#endif + +ObjectProxy *object_proxy_new (GDBusConnection *connection, const gchar *object_path); + +#define TYPE_OBJECT_SKELETON (object_skeleton_get_type ()) +#define OBJECT_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_OBJECT_SKELETON, ObjectSkeleton)) +#define OBJECT_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_OBJECT_SKELETON, ObjectSkeletonClass)) +#define OBJECT_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_OBJECT_SKELETON, ObjectSkeletonClass)) +#define IS_OBJECT_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_OBJECT_SKELETON)) +#define IS_OBJECT_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_OBJECT_SKELETON)) + +typedef struct _ObjectSkeleton ObjectSkeleton; +typedef struct _ObjectSkeletonClass ObjectSkeletonClass; +typedef struct _ObjectSkeletonPrivate ObjectSkeletonPrivate; + +struct _ObjectSkeleton +{ + /*< private >*/ + GDBusObjectSkeleton parent_instance; + ObjectSkeletonPrivate *priv; +}; + +struct _ObjectSkeletonClass +{ + GDBusObjectSkeletonClass parent_class; +}; + +GType object_skeleton_get_type (void) G_GNUC_CONST; + +#if GLIB_CHECK_VERSION(2, 44, 0) +G_DEFINE_AUTOPTR_CLEANUP_FUNC (ObjectSkeleton, g_object_unref) +#endif + +ObjectSkeleton *object_skeleton_new (const gchar *object_path); +void object_skeleton_set_systemd1_manager (ObjectSkeleton *object, Systemd1Manager *interface_); + +/* ---- */ + +#define TYPE_OBJECT_MANAGER_CLIENT (object_manager_client_get_type ()) +#define OBJECT_MANAGER_CLIENT(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_OBJECT_MANAGER_CLIENT, ObjectManagerClient)) +#define OBJECT_MANAGER_CLIENT_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_OBJECT_MANAGER_CLIENT, ObjectManagerClientClass)) +#define OBJECT_MANAGER_CLIENT_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_OBJECT_MANAGER_CLIENT, ObjectManagerClientClass)) +#define IS_OBJECT_MANAGER_CLIENT(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_OBJECT_MANAGER_CLIENT)) +#define IS_OBJECT_MANAGER_CLIENT_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_OBJECT_MANAGER_CLIENT)) + +typedef struct _ObjectManagerClient ObjectManagerClient; +typedef struct _ObjectManagerClientClass ObjectManagerClientClass; +typedef struct _ObjectManagerClientPrivate ObjectManagerClientPrivate; + +struct _ObjectManagerClient +{ + /*< private >*/ + GDBusObjectManagerClient parent_instance; + ObjectManagerClientPrivate *priv; +}; + +struct _ObjectManagerClientClass +{ + GDBusObjectManagerClientClass parent_class; +}; + +#if GLIB_CHECK_VERSION(2, 44, 0) +G_DEFINE_AUTOPTR_CLEANUP_FUNC (ObjectManagerClient, g_object_unref) +#endif + +GType object_manager_client_get_type (void) G_GNUC_CONST; + +GType object_manager_client_get_proxy_type (GDBusObjectManagerClient *manager, const gchar *object_path, const gchar *interface_name, gpointer user_data); + +void object_manager_client_new ( + GDBusConnection *connection, + GDBusObjectManagerClientFlags flags, + const gchar *name, + const gchar *object_path, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data); +GDBusObjectManager *object_manager_client_new_finish ( + GAsyncResult *res, + GError **error); +GDBusObjectManager *object_manager_client_new_sync ( + GDBusConnection *connection, + GDBusObjectManagerClientFlags flags, + const gchar *name, + const gchar *object_path, + GCancellable *cancellable, + GError **error); + +void object_manager_client_new_for_bus ( + GBusType bus_type, + GDBusObjectManagerClientFlags flags, + const gchar *name, + const gchar *object_path, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data); +GDBusObjectManager *object_manager_client_new_for_bus_finish ( + GAsyncResult *res, + GError **error); +GDBusObjectManager *object_manager_client_new_for_bus_sync ( + GBusType bus_type, + GDBusObjectManagerClientFlags flags, + const gchar *name, + const gchar *object_path, + GCancellable *cancellable, + GError **error); + + +G_END_DECLS + +#endif /* __SYSTEMD1_MANAGER_INTERFACE_H__ */ diff --git a/src/gdbus/systemd1_unit_interface.c b/src/gdbus/systemd1_unit_interface.c new file mode 100644 index 0000000..2e0fb81 --- /dev/null +++ b/src/gdbus/systemd1_unit_interface.c @@ -0,0 +1,14473 @@ +/* + * This file is generated by gdbus-codegen, do not modify it. + * + * The license of this code is the same as for the D-Bus interface description + * it was derived from. Note that it links to GLib, so must comply with the + * LGPL linking clauses. + */ + +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif + +#include "systemd1_unit_interface.h" + +#include <string.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; + guint use_gvariant : 1; + guint emits_changed_signal : 1; +} _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: + { + /* Avoid -Wfloat-equal warnings by doing a direct bit compare */ + gdouble da = g_value_get_double (a); + gdouble db = g_value_get_double (b); + ret = memcmp (&da, &db, sizeof (gdouble)) == 0; + } + 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.systemd1.Unit + * ------------------------------------------------------------------------ + */ + +/** + * SECTION:Systemd1Unit + * @title: Systemd1Unit + * @short_description: Generated C code for the org.freedesktop.systemd1.Unit D-Bus interface + * + * This section contains code for working with the <link linkend="gdbus-interface-org-freedesktop-systemd1-Unit.top_of_page">org.freedesktop.systemd1.Unit</link> D-Bus interface in C. + */ + +/* ---- Introspection data for org.freedesktop.systemd1.Unit ---- */ + +static const _ExtendedGDBusArgInfo _systemd1_unit_method_info_start_IN_ARG_mode = +{ + { + -1, + (gchar *) "mode", + (gchar *) "s", + NULL + }, + FALSE +}; + +static const GDBusArgInfo * const _systemd1_unit_method_info_start_IN_ARG_pointers[] = +{ + &_systemd1_unit_method_info_start_IN_ARG_mode.parent_struct, + NULL +}; + +static const _ExtendedGDBusArgInfo _systemd1_unit_method_info_start_OUT_ARG_job = +{ + { + -1, + (gchar *) "job", + (gchar *) "o", + NULL + }, + FALSE +}; + +static const GDBusArgInfo * const _systemd1_unit_method_info_start_OUT_ARG_pointers[] = +{ + &_systemd1_unit_method_info_start_OUT_ARG_job.parent_struct, + NULL +}; + +static const _ExtendedGDBusMethodInfo _systemd1_unit_method_info_start = +{ + { + -1, + (gchar *) "Start", + (GDBusArgInfo **) &_systemd1_unit_method_info_start_IN_ARG_pointers, + (GDBusArgInfo **) &_systemd1_unit_method_info_start_OUT_ARG_pointers, + NULL + }, + "handle-start", + FALSE +}; + +static const _ExtendedGDBusArgInfo _systemd1_unit_method_info_stop_IN_ARG_mode = +{ + { + -1, + (gchar *) "mode", + (gchar *) "s", + NULL + }, + FALSE +}; + +static const GDBusArgInfo * const _systemd1_unit_method_info_stop_IN_ARG_pointers[] = +{ + &_systemd1_unit_method_info_stop_IN_ARG_mode.parent_struct, + NULL +}; + +static const _ExtendedGDBusArgInfo _systemd1_unit_method_info_stop_OUT_ARG_job = +{ + { + -1, + (gchar *) "job", + (gchar *) "o", + NULL + }, + FALSE +}; + +static const GDBusArgInfo * const _systemd1_unit_method_info_stop_OUT_ARG_pointers[] = +{ + &_systemd1_unit_method_info_stop_OUT_ARG_job.parent_struct, + NULL +}; + +static const _ExtendedGDBusMethodInfo _systemd1_unit_method_info_stop = +{ + { + -1, + (gchar *) "Stop", + (GDBusArgInfo **) &_systemd1_unit_method_info_stop_IN_ARG_pointers, + (GDBusArgInfo **) &_systemd1_unit_method_info_stop_OUT_ARG_pointers, + NULL + }, + "handle-stop", + FALSE +}; + +static const _ExtendedGDBusArgInfo _systemd1_unit_method_info_reload_IN_ARG_mode = +{ + { + -1, + (gchar *) "mode", + (gchar *) "s", + NULL + }, + FALSE +}; + +static const GDBusArgInfo * const _systemd1_unit_method_info_reload_IN_ARG_pointers[] = +{ + &_systemd1_unit_method_info_reload_IN_ARG_mode.parent_struct, + NULL +}; + +static const _ExtendedGDBusArgInfo _systemd1_unit_method_info_reload_OUT_ARG_job = +{ + { + -1, + (gchar *) "job", + (gchar *) "o", + NULL + }, + FALSE +}; + +static const GDBusArgInfo * const _systemd1_unit_method_info_reload_OUT_ARG_pointers[] = +{ + &_systemd1_unit_method_info_reload_OUT_ARG_job.parent_struct, + NULL +}; + +static const _ExtendedGDBusMethodInfo _systemd1_unit_method_info_reload = +{ + { + -1, + (gchar *) "Reload", + (GDBusArgInfo **) &_systemd1_unit_method_info_reload_IN_ARG_pointers, + (GDBusArgInfo **) &_systemd1_unit_method_info_reload_OUT_ARG_pointers, + NULL + }, + "handle-reload", + FALSE +}; + +static const _ExtendedGDBusArgInfo _systemd1_unit_method_info_restart_IN_ARG_mode = +{ + { + -1, + (gchar *) "mode", + (gchar *) "s", + NULL + }, + FALSE +}; + +static const GDBusArgInfo * const _systemd1_unit_method_info_restart_IN_ARG_pointers[] = +{ + &_systemd1_unit_method_info_restart_IN_ARG_mode.parent_struct, + NULL +}; + +static const _ExtendedGDBusArgInfo _systemd1_unit_method_info_restart_OUT_ARG_job = +{ + { + -1, + (gchar *) "job", + (gchar *) "o", + NULL + }, + FALSE +}; + +static const GDBusArgInfo * const _systemd1_unit_method_info_restart_OUT_ARG_pointers[] = +{ + &_systemd1_unit_method_info_restart_OUT_ARG_job.parent_struct, + NULL +}; + +static const _ExtendedGDBusMethodInfo _systemd1_unit_method_info_restart = +{ + { + -1, + (gchar *) "Restart", + (GDBusArgInfo **) &_systemd1_unit_method_info_restart_IN_ARG_pointers, + (GDBusArgInfo **) &_systemd1_unit_method_info_restart_OUT_ARG_pointers, + NULL + }, + "handle-restart", + FALSE +}; + +static const _ExtendedGDBusArgInfo _systemd1_unit_method_info_try_restart_IN_ARG_mode = +{ + { + -1, + (gchar *) "mode", + (gchar *) "s", + NULL + }, + FALSE +}; + +static const GDBusArgInfo * const _systemd1_unit_method_info_try_restart_IN_ARG_pointers[] = +{ + &_systemd1_unit_method_info_try_restart_IN_ARG_mode.parent_struct, + NULL +}; + +static const _ExtendedGDBusArgInfo _systemd1_unit_method_info_try_restart_OUT_ARG_job = +{ + { + -1, + (gchar *) "job", + (gchar *) "o", + NULL + }, + FALSE +}; + +static const GDBusArgInfo * const _systemd1_unit_method_info_try_restart_OUT_ARG_pointers[] = +{ + &_systemd1_unit_method_info_try_restart_OUT_ARG_job.parent_struct, + NULL +}; + +static const _ExtendedGDBusMethodInfo _systemd1_unit_method_info_try_restart = +{ + { + -1, + (gchar *) "TryRestart", + (GDBusArgInfo **) &_systemd1_unit_method_info_try_restart_IN_ARG_pointers, + (GDBusArgInfo **) &_systemd1_unit_method_info_try_restart_OUT_ARG_pointers, + NULL + }, + "handle-try-restart", + FALSE +}; + +static const _ExtendedGDBusArgInfo _systemd1_unit_method_info_reload_or_restart_IN_ARG_mode = +{ + { + -1, + (gchar *) "mode", + (gchar *) "s", + NULL + }, + FALSE +}; + +static const GDBusArgInfo * const _systemd1_unit_method_info_reload_or_restart_IN_ARG_pointers[] = +{ + &_systemd1_unit_method_info_reload_or_restart_IN_ARG_mode.parent_struct, + NULL +}; + +static const _ExtendedGDBusArgInfo _systemd1_unit_method_info_reload_or_restart_OUT_ARG_job = +{ + { + -1, + (gchar *) "job", + (gchar *) "o", + NULL + }, + FALSE +}; + +static const GDBusArgInfo * const _systemd1_unit_method_info_reload_or_restart_OUT_ARG_pointers[] = +{ + &_systemd1_unit_method_info_reload_or_restart_OUT_ARG_job.parent_struct, + NULL +}; + +static const _ExtendedGDBusMethodInfo _systemd1_unit_method_info_reload_or_restart = +{ + { + -1, + (gchar *) "ReloadOrRestart", + (GDBusArgInfo **) &_systemd1_unit_method_info_reload_or_restart_IN_ARG_pointers, + (GDBusArgInfo **) &_systemd1_unit_method_info_reload_or_restart_OUT_ARG_pointers, + NULL + }, + "handle-reload-or-restart", + FALSE +}; + +static const _ExtendedGDBusArgInfo _systemd1_unit_method_info_reload_or_try_restart_IN_ARG_mode = +{ + { + -1, + (gchar *) "mode", + (gchar *) "s", + NULL + }, + FALSE +}; + +static const GDBusArgInfo * const _systemd1_unit_method_info_reload_or_try_restart_IN_ARG_pointers[] = +{ + &_systemd1_unit_method_info_reload_or_try_restart_IN_ARG_mode.parent_struct, + NULL +}; + +static const _ExtendedGDBusArgInfo _systemd1_unit_method_info_reload_or_try_restart_OUT_ARG_job = +{ + { + -1, + (gchar *) "job", + (gchar *) "o", + NULL + }, + FALSE +}; + +static const GDBusArgInfo * const _systemd1_unit_method_info_reload_or_try_restart_OUT_ARG_pointers[] = +{ + &_systemd1_unit_method_info_reload_or_try_restart_OUT_ARG_job.parent_struct, + NULL +}; + +static const _ExtendedGDBusMethodInfo _systemd1_unit_method_info_reload_or_try_restart = +{ + { + -1, + (gchar *) "ReloadOrTryRestart", + (GDBusArgInfo **) &_systemd1_unit_method_info_reload_or_try_restart_IN_ARG_pointers, + (GDBusArgInfo **) &_systemd1_unit_method_info_reload_or_try_restart_OUT_ARG_pointers, + NULL + }, + "handle-reload-or-try-restart", + FALSE +}; + +static const _ExtendedGDBusArgInfo _systemd1_unit_method_info_enqueue_job_IN_ARG_job_type = +{ + { + -1, + (gchar *) "job_type", + (gchar *) "s", + NULL + }, + FALSE +}; + +static const _ExtendedGDBusArgInfo _systemd1_unit_method_info_enqueue_job_IN_ARG_job_mode = +{ + { + -1, + (gchar *) "job_mode", + (gchar *) "s", + NULL + }, + FALSE +}; + +static const GDBusArgInfo * const _systemd1_unit_method_info_enqueue_job_IN_ARG_pointers[] = +{ + &_systemd1_unit_method_info_enqueue_job_IN_ARG_job_type.parent_struct, + &_systemd1_unit_method_info_enqueue_job_IN_ARG_job_mode.parent_struct, + NULL +}; + +static const _ExtendedGDBusArgInfo _systemd1_unit_method_info_enqueue_job_OUT_ARG_job_id = +{ + { + -1, + (gchar *) "job_id", + (gchar *) "u", + NULL + }, + FALSE +}; + +static const _ExtendedGDBusArgInfo _systemd1_unit_method_info_enqueue_job_OUT_ARG_job_path = +{ + { + -1, + (gchar *) "job_path", + (gchar *) "o", + NULL + }, + FALSE +}; + +static const _ExtendedGDBusArgInfo _systemd1_unit_method_info_enqueue_job_OUT_ARG_unit_id = +{ + { + -1, + (gchar *) "unit_id", + (gchar *) "s", + NULL + }, + FALSE +}; + +static const _ExtendedGDBusArgInfo _systemd1_unit_method_info_enqueue_job_OUT_ARG_unit_path = +{ + { + -1, + (gchar *) "unit_path", + (gchar *) "o", + NULL + }, + FALSE +}; + +static const _ExtendedGDBusArgInfo _systemd1_unit_method_info_enqueue_job_OUT_ARG_job_type = +{ + { + -1, + (gchar *) "job_type", + (gchar *) "s", + NULL + }, + FALSE +}; + +static const _ExtendedGDBusArgInfo _systemd1_unit_method_info_enqueue_job_OUT_ARG_affected_jobs = +{ + { + -1, + (gchar *) "affected_jobs", + (gchar *) "a(uosos)", + NULL + }, + FALSE +}; + +static const GDBusArgInfo * const _systemd1_unit_method_info_enqueue_job_OUT_ARG_pointers[] = +{ + &_systemd1_unit_method_info_enqueue_job_OUT_ARG_job_id.parent_struct, + &_systemd1_unit_method_info_enqueue_job_OUT_ARG_job_path.parent_struct, + &_systemd1_unit_method_info_enqueue_job_OUT_ARG_unit_id.parent_struct, + &_systemd1_unit_method_info_enqueue_job_OUT_ARG_unit_path.parent_struct, + &_systemd1_unit_method_info_enqueue_job_OUT_ARG_job_type.parent_struct, + &_systemd1_unit_method_info_enqueue_job_OUT_ARG_affected_jobs.parent_struct, + NULL +}; + +static const _ExtendedGDBusMethodInfo _systemd1_unit_method_info_enqueue_job = +{ + { + -1, + (gchar *) "EnqueueJob", + (GDBusArgInfo **) &_systemd1_unit_method_info_enqueue_job_IN_ARG_pointers, + (GDBusArgInfo **) &_systemd1_unit_method_info_enqueue_job_OUT_ARG_pointers, + NULL + }, + "handle-enqueue-job", + FALSE +}; + +static const _ExtendedGDBusArgInfo _systemd1_unit_method_info_kill_IN_ARG_whom = +{ + { + -1, + (gchar *) "whom", + (gchar *) "s", + NULL + }, + FALSE +}; + +static const _ExtendedGDBusArgInfo _systemd1_unit_method_info_kill_IN_ARG_signal = +{ + { + -1, + (gchar *) "signal", + (gchar *) "i", + NULL + }, + FALSE +}; + +static const GDBusArgInfo * const _systemd1_unit_method_info_kill_IN_ARG_pointers[] = +{ + &_systemd1_unit_method_info_kill_IN_ARG_whom.parent_struct, + &_systemd1_unit_method_info_kill_IN_ARG_signal.parent_struct, + NULL +}; + +static const _ExtendedGDBusMethodInfo _systemd1_unit_method_info_kill = +{ + { + -1, + (gchar *) "Kill", + (GDBusArgInfo **) &_systemd1_unit_method_info_kill_IN_ARG_pointers, + NULL, + NULL + }, + "handle-kill", + FALSE +}; + +static const _ExtendedGDBusMethodInfo _systemd1_unit_method_info_reset_failed = +{ + { + -1, + (gchar *) "ResetFailed", + NULL, + NULL, + NULL + }, + "handle-reset-failed", + FALSE +}; + +static const _ExtendedGDBusArgInfo _systemd1_unit_method_info_set_properties_IN_ARG_runtime = +{ + { + -1, + (gchar *) "runtime", + (gchar *) "b", + NULL + }, + FALSE +}; + +static const _ExtendedGDBusArgInfo _systemd1_unit_method_info_set_properties_IN_ARG_properties = +{ + { + -1, + (gchar *) "properties", + (gchar *) "a(sv)", + NULL + }, + FALSE +}; + +static const GDBusArgInfo * const _systemd1_unit_method_info_set_properties_IN_ARG_pointers[] = +{ + &_systemd1_unit_method_info_set_properties_IN_ARG_runtime.parent_struct, + &_systemd1_unit_method_info_set_properties_IN_ARG_properties.parent_struct, + NULL +}; + +static const _ExtendedGDBusMethodInfo _systemd1_unit_method_info_set_properties = +{ + { + -1, + (gchar *) "SetProperties", + (GDBusArgInfo **) &_systemd1_unit_method_info_set_properties_IN_ARG_pointers, + NULL, + NULL + }, + "handle-set-properties", + FALSE +}; + +static const _ExtendedGDBusMethodInfo _systemd1_unit_method_info_ref = +{ + { + -1, + (gchar *) "Ref", + NULL, + NULL, + NULL + }, + "handle-ref", + FALSE +}; + +static const _ExtendedGDBusMethodInfo _systemd1_unit_method_info_unref = +{ + { + -1, + (gchar *) "Unref", + NULL, + NULL, + NULL + }, + "handle-unref", + FALSE +}; + +static const _ExtendedGDBusArgInfo _systemd1_unit_method_info_clean_IN_ARG_mask = +{ + { + -1, + (gchar *) "mask", + (gchar *) "as", + NULL + }, + FALSE +}; + +static const GDBusArgInfo * const _systemd1_unit_method_info_clean_IN_ARG_pointers[] = +{ + &_systemd1_unit_method_info_clean_IN_ARG_mask.parent_struct, + NULL +}; + +static const _ExtendedGDBusMethodInfo _systemd1_unit_method_info_clean = +{ + { + -1, + (gchar *) "Clean", + (GDBusArgInfo **) &_systemd1_unit_method_info_clean_IN_ARG_pointers, + NULL, + NULL + }, + "handle-clean", + FALSE +}; + +static const _ExtendedGDBusMethodInfo _systemd1_unit_method_info_freeze = +{ + { + -1, + (gchar *) "Freeze", + NULL, + NULL, + NULL + }, + "handle-freeze", + FALSE +}; + +static const _ExtendedGDBusMethodInfo _systemd1_unit_method_info_thaw = +{ + { + -1, + (gchar *) "Thaw", + NULL, + NULL, + NULL + }, + "handle-thaw", + FALSE +}; + +static const GDBusMethodInfo * const _systemd1_unit_method_info_pointers[] = +{ + &_systemd1_unit_method_info_start.parent_struct, + &_systemd1_unit_method_info_stop.parent_struct, + &_systemd1_unit_method_info_reload.parent_struct, + &_systemd1_unit_method_info_restart.parent_struct, + &_systemd1_unit_method_info_try_restart.parent_struct, + &_systemd1_unit_method_info_reload_or_restart.parent_struct, + &_systemd1_unit_method_info_reload_or_try_restart.parent_struct, + &_systemd1_unit_method_info_enqueue_job.parent_struct, + &_systemd1_unit_method_info_kill.parent_struct, + &_systemd1_unit_method_info_reset_failed.parent_struct, + &_systemd1_unit_method_info_set_properties.parent_struct, + &_systemd1_unit_method_info_ref.parent_struct, + &_systemd1_unit_method_info_unref.parent_struct, + &_systemd1_unit_method_info_clean.parent_struct, + &_systemd1_unit_method_info_freeze.parent_struct, + &_systemd1_unit_method_info_thaw.parent_struct, + NULL +}; + +static const GDBusAnnotationInfo _systemd1_unit_property_id_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.DBus.Property.EmitsChangedSignal", + (gchar *) "const", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_unit_property_id_annotation_info_pointers[] = +{ + &_systemd1_unit_property_id_annotation_info_0, + NULL +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_unit_property_info_id = +{ + { + -1, + (gchar *) "Id", + (gchar *) "s", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + (GDBusAnnotationInfo **) &_systemd1_unit_property_id_annotation_info_pointers + }, + "id", + FALSE, + FALSE +}; + +static const GDBusAnnotationInfo _systemd1_unit_property_names_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.DBus.Property.EmitsChangedSignal", + (gchar *) "const", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_unit_property_names_annotation_info_pointers[] = +{ + &_systemd1_unit_property_names_annotation_info_0, + NULL +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_unit_property_info_names = +{ + { + -1, + (gchar *) "Names", + (gchar *) "as", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + (GDBusAnnotationInfo **) &_systemd1_unit_property_names_annotation_info_pointers + }, + "names", + FALSE, + FALSE +}; + +static const GDBusAnnotationInfo _systemd1_unit_property_following_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.DBus.Property.EmitsChangedSignal", + (gchar *) "false", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_unit_property_following_annotation_info_pointers[] = +{ + &_systemd1_unit_property_following_annotation_info_0, + NULL +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_unit_property_info_following = +{ + { + -1, + (gchar *) "Following", + (gchar *) "s", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + (GDBusAnnotationInfo **) &_systemd1_unit_property_following_annotation_info_pointers + }, + "following", + FALSE, + FALSE +}; + +static const GDBusAnnotationInfo _systemd1_unit_property_requires_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.DBus.Property.EmitsChangedSignal", + (gchar *) "const", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_unit_property_requires_annotation_info_pointers[] = +{ + &_systemd1_unit_property_requires_annotation_info_0, + NULL +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_unit_property_info_requires = +{ + { + -1, + (gchar *) "Requires", + (gchar *) "as", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + (GDBusAnnotationInfo **) &_systemd1_unit_property_requires_annotation_info_pointers + }, + "requires", + FALSE, + FALSE +}; + +static const GDBusAnnotationInfo _systemd1_unit_property_requisite_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.DBus.Property.EmitsChangedSignal", + (gchar *) "const", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_unit_property_requisite_annotation_info_pointers[] = +{ + &_systemd1_unit_property_requisite_annotation_info_0, + NULL +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_unit_property_info_requisite = +{ + { + -1, + (gchar *) "Requisite", + (gchar *) "as", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + (GDBusAnnotationInfo **) &_systemd1_unit_property_requisite_annotation_info_pointers + }, + "requisite", + FALSE, + FALSE +}; + +static const GDBusAnnotationInfo _systemd1_unit_property_wants_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.DBus.Property.EmitsChangedSignal", + (gchar *) "const", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_unit_property_wants_annotation_info_pointers[] = +{ + &_systemd1_unit_property_wants_annotation_info_0, + NULL +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_unit_property_info_wants = +{ + { + -1, + (gchar *) "Wants", + (gchar *) "as", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + (GDBusAnnotationInfo **) &_systemd1_unit_property_wants_annotation_info_pointers + }, + "wants", + FALSE, + FALSE +}; + +static const GDBusAnnotationInfo _systemd1_unit_property_binds_to_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.DBus.Property.EmitsChangedSignal", + (gchar *) "const", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_unit_property_binds_to_annotation_info_pointers[] = +{ + &_systemd1_unit_property_binds_to_annotation_info_0, + NULL +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_unit_property_info_binds_to = +{ + { + -1, + (gchar *) "BindsTo", + (gchar *) "as", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + (GDBusAnnotationInfo **) &_systemd1_unit_property_binds_to_annotation_info_pointers + }, + "binds-to", + FALSE, + FALSE +}; + +static const GDBusAnnotationInfo _systemd1_unit_property_part_of_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.DBus.Property.EmitsChangedSignal", + (gchar *) "const", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_unit_property_part_of_annotation_info_pointers[] = +{ + &_systemd1_unit_property_part_of_annotation_info_0, + NULL +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_unit_property_info_part_of = +{ + { + -1, + (gchar *) "PartOf", + (gchar *) "as", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + (GDBusAnnotationInfo **) &_systemd1_unit_property_part_of_annotation_info_pointers + }, + "part-of", + FALSE, + FALSE +}; + +static const GDBusAnnotationInfo _systemd1_unit_property_required_by_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.DBus.Property.EmitsChangedSignal", + (gchar *) "const", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_unit_property_required_by_annotation_info_pointers[] = +{ + &_systemd1_unit_property_required_by_annotation_info_0, + NULL +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_unit_property_info_required_by = +{ + { + -1, + (gchar *) "RequiredBy", + (gchar *) "as", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + (GDBusAnnotationInfo **) &_systemd1_unit_property_required_by_annotation_info_pointers + }, + "required-by", + FALSE, + FALSE +}; + +static const GDBusAnnotationInfo _systemd1_unit_property_requisite_of_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.DBus.Property.EmitsChangedSignal", + (gchar *) "const", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_unit_property_requisite_of_annotation_info_pointers[] = +{ + &_systemd1_unit_property_requisite_of_annotation_info_0, + NULL +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_unit_property_info_requisite_of = +{ + { + -1, + (gchar *) "RequisiteOf", + (gchar *) "as", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + (GDBusAnnotationInfo **) &_systemd1_unit_property_requisite_of_annotation_info_pointers + }, + "requisite-of", + FALSE, + FALSE +}; + +static const GDBusAnnotationInfo _systemd1_unit_property_wanted_by_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.DBus.Property.EmitsChangedSignal", + (gchar *) "const", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_unit_property_wanted_by_annotation_info_pointers[] = +{ + &_systemd1_unit_property_wanted_by_annotation_info_0, + NULL +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_unit_property_info_wanted_by = +{ + { + -1, + (gchar *) "WantedBy", + (gchar *) "as", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + (GDBusAnnotationInfo **) &_systemd1_unit_property_wanted_by_annotation_info_pointers + }, + "wanted-by", + FALSE, + FALSE +}; + +static const GDBusAnnotationInfo _systemd1_unit_property_bound_by_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.DBus.Property.EmitsChangedSignal", + (gchar *) "const", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_unit_property_bound_by_annotation_info_pointers[] = +{ + &_systemd1_unit_property_bound_by_annotation_info_0, + NULL +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_unit_property_info_bound_by = +{ + { + -1, + (gchar *) "BoundBy", + (gchar *) "as", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + (GDBusAnnotationInfo **) &_systemd1_unit_property_bound_by_annotation_info_pointers + }, + "bound-by", + FALSE, + FALSE +}; + +static const GDBusAnnotationInfo _systemd1_unit_property_consists_of_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.DBus.Property.EmitsChangedSignal", + (gchar *) "const", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_unit_property_consists_of_annotation_info_pointers[] = +{ + &_systemd1_unit_property_consists_of_annotation_info_0, + NULL +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_unit_property_info_consists_of = +{ + { + -1, + (gchar *) "ConsistsOf", + (gchar *) "as", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + (GDBusAnnotationInfo **) &_systemd1_unit_property_consists_of_annotation_info_pointers + }, + "consists-of", + FALSE, + FALSE +}; + +static const GDBusAnnotationInfo _systemd1_unit_property_conflicts_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.DBus.Property.EmitsChangedSignal", + (gchar *) "const", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_unit_property_conflicts_annotation_info_pointers[] = +{ + &_systemd1_unit_property_conflicts_annotation_info_0, + NULL +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_unit_property_info_conflicts = +{ + { + -1, + (gchar *) "Conflicts", + (gchar *) "as", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + (GDBusAnnotationInfo **) &_systemd1_unit_property_conflicts_annotation_info_pointers + }, + "conflicts", + FALSE, + FALSE +}; + +static const GDBusAnnotationInfo _systemd1_unit_property_conflicted_by_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.DBus.Property.EmitsChangedSignal", + (gchar *) "const", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_unit_property_conflicted_by_annotation_info_pointers[] = +{ + &_systemd1_unit_property_conflicted_by_annotation_info_0, + NULL +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_unit_property_info_conflicted_by = +{ + { + -1, + (gchar *) "ConflictedBy", + (gchar *) "as", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + (GDBusAnnotationInfo **) &_systemd1_unit_property_conflicted_by_annotation_info_pointers + }, + "conflicted-by", + FALSE, + FALSE +}; + +static const GDBusAnnotationInfo _systemd1_unit_property_before_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.DBus.Property.EmitsChangedSignal", + (gchar *) "const", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_unit_property_before_annotation_info_pointers[] = +{ + &_systemd1_unit_property_before_annotation_info_0, + NULL +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_unit_property_info_before = +{ + { + -1, + (gchar *) "Before", + (gchar *) "as", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + (GDBusAnnotationInfo **) &_systemd1_unit_property_before_annotation_info_pointers + }, + "before", + FALSE, + FALSE +}; + +static const GDBusAnnotationInfo _systemd1_unit_property_after_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.DBus.Property.EmitsChangedSignal", + (gchar *) "const", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_unit_property_after_annotation_info_pointers[] = +{ + &_systemd1_unit_property_after_annotation_info_0, + NULL +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_unit_property_info_after = +{ + { + -1, + (gchar *) "After", + (gchar *) "as", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + (GDBusAnnotationInfo **) &_systemd1_unit_property_after_annotation_info_pointers + }, + "after", + FALSE, + FALSE +}; + +static const GDBusAnnotationInfo _systemd1_unit_property_on_failure_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.DBus.Property.EmitsChangedSignal", + (gchar *) "const", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_unit_property_on_failure_annotation_info_pointers[] = +{ + &_systemd1_unit_property_on_failure_annotation_info_0, + NULL +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_unit_property_info_on_failure = +{ + { + -1, + (gchar *) "OnFailure", + (gchar *) "as", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + (GDBusAnnotationInfo **) &_systemd1_unit_property_on_failure_annotation_info_pointers + }, + "on-failure", + FALSE, + FALSE +}; + +static const GDBusAnnotationInfo _systemd1_unit_property_on_failure_of_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.DBus.Property.EmitsChangedSignal", + (gchar *) "const", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_unit_property_on_failure_of_annotation_info_pointers[] = +{ + &_systemd1_unit_property_on_failure_of_annotation_info_0, + NULL +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_unit_property_info_on_failure_of = +{ + { + -1, + (gchar *) "OnFailureOf", + (gchar *) "as", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + (GDBusAnnotationInfo **) &_systemd1_unit_property_on_failure_of_annotation_info_pointers + }, + "on-failure-of", + FALSE, + FALSE +}; + +static const GDBusAnnotationInfo _systemd1_unit_property_on_success_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.DBus.Property.EmitsChangedSignal", + (gchar *) "const", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_unit_property_on_success_annotation_info_pointers[] = +{ + &_systemd1_unit_property_on_success_annotation_info_0, + NULL +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_unit_property_info_on_success = +{ + { + -1, + (gchar *) "OnSuccess", + (gchar *) "as", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + (GDBusAnnotationInfo **) &_systemd1_unit_property_on_success_annotation_info_pointers + }, + "on-success", + FALSE, + FALSE +}; + +static const GDBusAnnotationInfo _systemd1_unit_property_on_success_of_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.DBus.Property.EmitsChangedSignal", + (gchar *) "const", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_unit_property_on_success_of_annotation_info_pointers[] = +{ + &_systemd1_unit_property_on_success_of_annotation_info_0, + NULL +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_unit_property_info_on_success_of = +{ + { + -1, + (gchar *) "OnSuccessOf", + (gchar *) "as", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + (GDBusAnnotationInfo **) &_systemd1_unit_property_on_success_of_annotation_info_pointers + }, + "on-success-of", + FALSE, + FALSE +}; + +static const GDBusAnnotationInfo _systemd1_unit_property_triggers_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.DBus.Property.EmitsChangedSignal", + (gchar *) "const", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_unit_property_triggers_annotation_info_pointers[] = +{ + &_systemd1_unit_property_triggers_annotation_info_0, + NULL +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_unit_property_info_triggers = +{ + { + -1, + (gchar *) "Triggers", + (gchar *) "as", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + (GDBusAnnotationInfo **) &_systemd1_unit_property_triggers_annotation_info_pointers + }, + "triggers", + FALSE, + FALSE +}; + +static const GDBusAnnotationInfo _systemd1_unit_property_triggered_by_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.DBus.Property.EmitsChangedSignal", + (gchar *) "const", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_unit_property_triggered_by_annotation_info_pointers[] = +{ + &_systemd1_unit_property_triggered_by_annotation_info_0, + NULL +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_unit_property_info_triggered_by = +{ + { + -1, + (gchar *) "TriggeredBy", + (gchar *) "as", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + (GDBusAnnotationInfo **) &_systemd1_unit_property_triggered_by_annotation_info_pointers + }, + "triggered-by", + FALSE, + FALSE +}; + +static const GDBusAnnotationInfo _systemd1_unit_property_propagates_reload_to_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.DBus.Property.EmitsChangedSignal", + (gchar *) "const", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_unit_property_propagates_reload_to_annotation_info_pointers[] = +{ + &_systemd1_unit_property_propagates_reload_to_annotation_info_0, + NULL +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_unit_property_info_propagates_reload_to = +{ + { + -1, + (gchar *) "PropagatesReloadTo", + (gchar *) "as", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + (GDBusAnnotationInfo **) &_systemd1_unit_property_propagates_reload_to_annotation_info_pointers + }, + "propagates-reload-to", + FALSE, + FALSE +}; + +static const GDBusAnnotationInfo _systemd1_unit_property_reload_propagated_from_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.DBus.Property.EmitsChangedSignal", + (gchar *) "const", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_unit_property_reload_propagated_from_annotation_info_pointers[] = +{ + &_systemd1_unit_property_reload_propagated_from_annotation_info_0, + NULL +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_unit_property_info_reload_propagated_from = +{ + { + -1, + (gchar *) "ReloadPropagatedFrom", + (gchar *) "as", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + (GDBusAnnotationInfo **) &_systemd1_unit_property_reload_propagated_from_annotation_info_pointers + }, + "reload-propagated-from", + FALSE, + FALSE +}; + +static const GDBusAnnotationInfo _systemd1_unit_property_propagates_stop_to_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.DBus.Property.EmitsChangedSignal", + (gchar *) "const", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_unit_property_propagates_stop_to_annotation_info_pointers[] = +{ + &_systemd1_unit_property_propagates_stop_to_annotation_info_0, + NULL +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_unit_property_info_propagates_stop_to = +{ + { + -1, + (gchar *) "PropagatesStopTo", + (gchar *) "as", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + (GDBusAnnotationInfo **) &_systemd1_unit_property_propagates_stop_to_annotation_info_pointers + }, + "propagates-stop-to", + FALSE, + FALSE +}; + +static const GDBusAnnotationInfo _systemd1_unit_property_stop_propagated_from_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.DBus.Property.EmitsChangedSignal", + (gchar *) "const", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_unit_property_stop_propagated_from_annotation_info_pointers[] = +{ + &_systemd1_unit_property_stop_propagated_from_annotation_info_0, + NULL +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_unit_property_info_stop_propagated_from = +{ + { + -1, + (gchar *) "StopPropagatedFrom", + (gchar *) "as", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + (GDBusAnnotationInfo **) &_systemd1_unit_property_stop_propagated_from_annotation_info_pointers + }, + "stop-propagated-from", + FALSE, + FALSE +}; + +static const GDBusAnnotationInfo _systemd1_unit_property_joins_namespace_of_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.DBus.Property.EmitsChangedSignal", + (gchar *) "const", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_unit_property_joins_namespace_of_annotation_info_pointers[] = +{ + &_systemd1_unit_property_joins_namespace_of_annotation_info_0, + NULL +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_unit_property_info_joins_namespace_of = +{ + { + -1, + (gchar *) "JoinsNamespaceOf", + (gchar *) "as", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + (GDBusAnnotationInfo **) &_systemd1_unit_property_joins_namespace_of_annotation_info_pointers + }, + "joins-namespace-of", + FALSE, + FALSE +}; + +static const GDBusAnnotationInfo _systemd1_unit_property_slice_of_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.DBus.Property.EmitsChangedSignal", + (gchar *) "const", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_unit_property_slice_of_annotation_info_pointers[] = +{ + &_systemd1_unit_property_slice_of_annotation_info_0, + NULL +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_unit_property_info_slice_of = +{ + { + -1, + (gchar *) "SliceOf", + (gchar *) "as", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + (GDBusAnnotationInfo **) &_systemd1_unit_property_slice_of_annotation_info_pointers + }, + "slice-of", + FALSE, + FALSE +}; + +static const GDBusAnnotationInfo _systemd1_unit_property_requires_mounts_for_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.DBus.Property.EmitsChangedSignal", + (gchar *) "const", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_unit_property_requires_mounts_for_annotation_info_pointers[] = +{ + &_systemd1_unit_property_requires_mounts_for_annotation_info_0, + NULL +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_unit_property_info_requires_mounts_for = +{ + { + -1, + (gchar *) "RequiresMountsFor", + (gchar *) "as", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + (GDBusAnnotationInfo **) &_systemd1_unit_property_requires_mounts_for_annotation_info_pointers + }, + "requires-mounts-for", + FALSE, + FALSE +}; + +static const GDBusAnnotationInfo _systemd1_unit_property_documentation_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.DBus.Property.EmitsChangedSignal", + (gchar *) "const", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_unit_property_documentation_annotation_info_pointers[] = +{ + &_systemd1_unit_property_documentation_annotation_info_0, + NULL +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_unit_property_info_documentation = +{ + { + -1, + (gchar *) "Documentation", + (gchar *) "as", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + (GDBusAnnotationInfo **) &_systemd1_unit_property_documentation_annotation_info_pointers + }, + "documentation", + FALSE, + FALSE +}; + +static const GDBusAnnotationInfo _systemd1_unit_property_description_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.DBus.Property.EmitsChangedSignal", + (gchar *) "const", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_unit_property_description_annotation_info_pointers[] = +{ + &_systemd1_unit_property_description_annotation_info_0, + NULL +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_unit_property_info_description = +{ + { + -1, + (gchar *) "Description", + (gchar *) "s", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + (GDBusAnnotationInfo **) &_systemd1_unit_property_description_annotation_info_pointers + }, + "description", + FALSE, + FALSE +}; + +static const GDBusAnnotationInfo _systemd1_unit_property_load_state_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.DBus.Property.EmitsChangedSignal", + (gchar *) "const", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_unit_property_load_state_annotation_info_pointers[] = +{ + &_systemd1_unit_property_load_state_annotation_info_0, + NULL +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_unit_property_info_load_state = +{ + { + -1, + (gchar *) "LoadState", + (gchar *) "s", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + (GDBusAnnotationInfo **) &_systemd1_unit_property_load_state_annotation_info_pointers + }, + "load-state", + FALSE, + FALSE +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_unit_property_info_active_state = +{ + { + -1, + (gchar *) "ActiveState", + (gchar *) "s", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + NULL + }, + "active-state", + FALSE, + TRUE +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_unit_property_info_freezer_state = +{ + { + -1, + (gchar *) "FreezerState", + (gchar *) "s", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + NULL + }, + "freezer-state", + FALSE, + TRUE +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_unit_property_info_sub_state = +{ + { + -1, + (gchar *) "SubState", + (gchar *) "s", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + NULL + }, + "sub-state", + FALSE, + TRUE +}; + +static const GDBusAnnotationInfo _systemd1_unit_property_fragment_path_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.DBus.Property.EmitsChangedSignal", + (gchar *) "const", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_unit_property_fragment_path_annotation_info_pointers[] = +{ + &_systemd1_unit_property_fragment_path_annotation_info_0, + NULL +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_unit_property_info_fragment_path = +{ + { + -1, + (gchar *) "FragmentPath", + (gchar *) "s", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + (GDBusAnnotationInfo **) &_systemd1_unit_property_fragment_path_annotation_info_pointers + }, + "fragment-path", + FALSE, + FALSE +}; + +static const GDBusAnnotationInfo _systemd1_unit_property_source_path_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.DBus.Property.EmitsChangedSignal", + (gchar *) "const", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_unit_property_source_path_annotation_info_pointers[] = +{ + &_systemd1_unit_property_source_path_annotation_info_0, + NULL +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_unit_property_info_source_path = +{ + { + -1, + (gchar *) "SourcePath", + (gchar *) "s", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + (GDBusAnnotationInfo **) &_systemd1_unit_property_source_path_annotation_info_pointers + }, + "source-path", + FALSE, + FALSE +}; + +static const GDBusAnnotationInfo _systemd1_unit_property_drop_in_paths_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.DBus.Property.EmitsChangedSignal", + (gchar *) "const", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_unit_property_drop_in_paths_annotation_info_pointers[] = +{ + &_systemd1_unit_property_drop_in_paths_annotation_info_0, + NULL +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_unit_property_info_drop_in_paths = +{ + { + -1, + (gchar *) "DropInPaths", + (gchar *) "as", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + (GDBusAnnotationInfo **) &_systemd1_unit_property_drop_in_paths_annotation_info_pointers + }, + "drop-in-paths", + FALSE, + FALSE +}; + +static const GDBusAnnotationInfo _systemd1_unit_property_unit_file_state_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.DBus.Property.EmitsChangedSignal", + (gchar *) "false", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_unit_property_unit_file_state_annotation_info_pointers[] = +{ + &_systemd1_unit_property_unit_file_state_annotation_info_0, + NULL +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_unit_property_info_unit_file_state = +{ + { + -1, + (gchar *) "UnitFileState", + (gchar *) "s", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + (GDBusAnnotationInfo **) &_systemd1_unit_property_unit_file_state_annotation_info_pointers + }, + "unit-file-state", + FALSE, + FALSE +}; + +static const GDBusAnnotationInfo _systemd1_unit_property_unit_file_preset_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.DBus.Property.EmitsChangedSignal", + (gchar *) "false", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_unit_property_unit_file_preset_annotation_info_pointers[] = +{ + &_systemd1_unit_property_unit_file_preset_annotation_info_0, + NULL +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_unit_property_info_unit_file_preset = +{ + { + -1, + (gchar *) "UnitFilePreset", + (gchar *) "s", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + (GDBusAnnotationInfo **) &_systemd1_unit_property_unit_file_preset_annotation_info_pointers + }, + "unit-file-preset", + FALSE, + FALSE +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_unit_property_info_state_change_timestamp = +{ + { + -1, + (gchar *) "StateChangeTimestamp", + (gchar *) "t", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + NULL + }, + "state-change-timestamp", + FALSE, + TRUE +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_unit_property_info_state_change_timestamp_monotonic = +{ + { + -1, + (gchar *) "StateChangeTimestampMonotonic", + (gchar *) "t", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + NULL + }, + "state-change-timestamp-monotonic", + FALSE, + TRUE +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_unit_property_info_inactive_exit_timestamp = +{ + { + -1, + (gchar *) "InactiveExitTimestamp", + (gchar *) "t", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + NULL + }, + "inactive-exit-timestamp", + FALSE, + TRUE +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_unit_property_info_inactive_exit_timestamp_monotonic = +{ + { + -1, + (gchar *) "InactiveExitTimestampMonotonic", + (gchar *) "t", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + NULL + }, + "inactive-exit-timestamp-monotonic", + FALSE, + TRUE +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_unit_property_info_active_enter_timestamp = +{ + { + -1, + (gchar *) "ActiveEnterTimestamp", + (gchar *) "t", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + NULL + }, + "active-enter-timestamp", + FALSE, + TRUE +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_unit_property_info_active_enter_timestamp_monotonic = +{ + { + -1, + (gchar *) "ActiveEnterTimestampMonotonic", + (gchar *) "t", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + NULL + }, + "active-enter-timestamp-monotonic", + FALSE, + TRUE +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_unit_property_info_active_exit_timestamp = +{ + { + -1, + (gchar *) "ActiveExitTimestamp", + (gchar *) "t", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + NULL + }, + "active-exit-timestamp", + FALSE, + TRUE +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_unit_property_info_active_exit_timestamp_monotonic = +{ + { + -1, + (gchar *) "ActiveExitTimestampMonotonic", + (gchar *) "t", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + NULL + }, + "active-exit-timestamp-monotonic", + FALSE, + TRUE +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_unit_property_info_inactive_enter_timestamp = +{ + { + -1, + (gchar *) "InactiveEnterTimestamp", + (gchar *) "t", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + NULL + }, + "inactive-enter-timestamp", + FALSE, + TRUE +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_unit_property_info_inactive_enter_timestamp_monotonic = +{ + { + -1, + (gchar *) "InactiveEnterTimestampMonotonic", + (gchar *) "t", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + NULL + }, + "inactive-enter-timestamp-monotonic", + FALSE, + TRUE +}; + +static const GDBusAnnotationInfo _systemd1_unit_property_can_start_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.DBus.Property.EmitsChangedSignal", + (gchar *) "const", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_unit_property_can_start_annotation_info_pointers[] = +{ + &_systemd1_unit_property_can_start_annotation_info_0, + NULL +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_unit_property_info_can_start = +{ + { + -1, + (gchar *) "CanStart", + (gchar *) "b", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + (GDBusAnnotationInfo **) &_systemd1_unit_property_can_start_annotation_info_pointers + }, + "can-start", + FALSE, + FALSE +}; + +static const GDBusAnnotationInfo _systemd1_unit_property_can_stop_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.DBus.Property.EmitsChangedSignal", + (gchar *) "const", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_unit_property_can_stop_annotation_info_pointers[] = +{ + &_systemd1_unit_property_can_stop_annotation_info_0, + NULL +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_unit_property_info_can_stop = +{ + { + -1, + (gchar *) "CanStop", + (gchar *) "b", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + (GDBusAnnotationInfo **) &_systemd1_unit_property_can_stop_annotation_info_pointers + }, + "can-stop", + FALSE, + FALSE +}; + +static const GDBusAnnotationInfo _systemd1_unit_property_can_reload_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.DBus.Property.EmitsChangedSignal", + (gchar *) "const", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_unit_property_can_reload_annotation_info_pointers[] = +{ + &_systemd1_unit_property_can_reload_annotation_info_0, + NULL +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_unit_property_info_can_reload = +{ + { + -1, + (gchar *) "CanReload", + (gchar *) "b", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + (GDBusAnnotationInfo **) &_systemd1_unit_property_can_reload_annotation_info_pointers + }, + "can-reload", + FALSE, + FALSE +}; + +static const GDBusAnnotationInfo _systemd1_unit_property_can_isolate_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.DBus.Property.EmitsChangedSignal", + (gchar *) "const", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_unit_property_can_isolate_annotation_info_pointers[] = +{ + &_systemd1_unit_property_can_isolate_annotation_info_0, + NULL +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_unit_property_info_can_isolate = +{ + { + -1, + (gchar *) "CanIsolate", + (gchar *) "b", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + (GDBusAnnotationInfo **) &_systemd1_unit_property_can_isolate_annotation_info_pointers + }, + "can-isolate", + FALSE, + FALSE +}; + +static const GDBusAnnotationInfo _systemd1_unit_property_can_clean_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.DBus.Property.EmitsChangedSignal", + (gchar *) "const", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_unit_property_can_clean_annotation_info_pointers[] = +{ + &_systemd1_unit_property_can_clean_annotation_info_0, + NULL +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_unit_property_info_can_clean = +{ + { + -1, + (gchar *) "CanClean", + (gchar *) "as", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + (GDBusAnnotationInfo **) &_systemd1_unit_property_can_clean_annotation_info_pointers + }, + "can-clean", + FALSE, + FALSE +}; + +static const GDBusAnnotationInfo _systemd1_unit_property_can_freeze_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.DBus.Property.EmitsChangedSignal", + (gchar *) "const", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_unit_property_can_freeze_annotation_info_pointers[] = +{ + &_systemd1_unit_property_can_freeze_annotation_info_0, + NULL +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_unit_property_info_can_freeze = +{ + { + -1, + (gchar *) "CanFreeze", + (gchar *) "b", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + (GDBusAnnotationInfo **) &_systemd1_unit_property_can_freeze_annotation_info_pointers + }, + "can-freeze", + FALSE, + FALSE +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_unit_property_info_job = +{ + { + -1, + (gchar *) "Job", + (gchar *) "(uo)", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + NULL + }, + "job", + FALSE, + TRUE +}; + +static const GDBusAnnotationInfo _systemd1_unit_property_stop_when_unneeded_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.DBus.Property.EmitsChangedSignal", + (gchar *) "const", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_unit_property_stop_when_unneeded_annotation_info_pointers[] = +{ + &_systemd1_unit_property_stop_when_unneeded_annotation_info_0, + NULL +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_unit_property_info_stop_when_unneeded = +{ + { + -1, + (gchar *) "StopWhenUnneeded", + (gchar *) "b", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + (GDBusAnnotationInfo **) &_systemd1_unit_property_stop_when_unneeded_annotation_info_pointers + }, + "stop-when-unneeded", + FALSE, + FALSE +}; + +static const GDBusAnnotationInfo _systemd1_unit_property_refuse_manual_start_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.DBus.Property.EmitsChangedSignal", + (gchar *) "const", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_unit_property_refuse_manual_start_annotation_info_pointers[] = +{ + &_systemd1_unit_property_refuse_manual_start_annotation_info_0, + NULL +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_unit_property_info_refuse_manual_start = +{ + { + -1, + (gchar *) "RefuseManualStart", + (gchar *) "b", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + (GDBusAnnotationInfo **) &_systemd1_unit_property_refuse_manual_start_annotation_info_pointers + }, + "refuse-manual-start", + FALSE, + FALSE +}; + +static const GDBusAnnotationInfo _systemd1_unit_property_refuse_manual_stop_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.DBus.Property.EmitsChangedSignal", + (gchar *) "const", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_unit_property_refuse_manual_stop_annotation_info_pointers[] = +{ + &_systemd1_unit_property_refuse_manual_stop_annotation_info_0, + NULL +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_unit_property_info_refuse_manual_stop = +{ + { + -1, + (gchar *) "RefuseManualStop", + (gchar *) "b", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + (GDBusAnnotationInfo **) &_systemd1_unit_property_refuse_manual_stop_annotation_info_pointers + }, + "refuse-manual-stop", + FALSE, + FALSE +}; + +static const GDBusAnnotationInfo _systemd1_unit_property_allow_isolate_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.DBus.Property.EmitsChangedSignal", + (gchar *) "const", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_unit_property_allow_isolate_annotation_info_pointers[] = +{ + &_systemd1_unit_property_allow_isolate_annotation_info_0, + NULL +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_unit_property_info_allow_isolate = +{ + { + -1, + (gchar *) "AllowIsolate", + (gchar *) "b", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + (GDBusAnnotationInfo **) &_systemd1_unit_property_allow_isolate_annotation_info_pointers + }, + "allow-isolate", + FALSE, + FALSE +}; + +static const GDBusAnnotationInfo _systemd1_unit_property_default_dependencies_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.DBus.Property.EmitsChangedSignal", + (gchar *) "const", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_unit_property_default_dependencies_annotation_info_pointers[] = +{ + &_systemd1_unit_property_default_dependencies_annotation_info_0, + NULL +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_unit_property_info_default_dependencies = +{ + { + -1, + (gchar *) "DefaultDependencies", + (gchar *) "b", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + (GDBusAnnotationInfo **) &_systemd1_unit_property_default_dependencies_annotation_info_pointers + }, + "default-dependencies", + FALSE, + FALSE +}; + +static const GDBusAnnotationInfo _systemd1_unit_property_on_success_job_mode_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.DBus.Property.EmitsChangedSignal", + (gchar *) "const", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_unit_property_on_success_job_mode_annotation_info_pointers[] = +{ + &_systemd1_unit_property_on_success_job_mode_annotation_info_0, + NULL +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_unit_property_info_on_success_job_mode = +{ + { + -1, + (gchar *) "OnSuccessJobMode", + (gchar *) "s", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + (GDBusAnnotationInfo **) &_systemd1_unit_property_on_success_job_mode_annotation_info_pointers + }, + "on-success-job-mode", + FALSE, + FALSE +}; + +static const GDBusAnnotationInfo _systemd1_unit_property_on_failure_job_mode_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.DBus.Property.EmitsChangedSignal", + (gchar *) "const", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_unit_property_on_failure_job_mode_annotation_info_pointers[] = +{ + &_systemd1_unit_property_on_failure_job_mode_annotation_info_0, + NULL +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_unit_property_info_on_failure_job_mode = +{ + { + -1, + (gchar *) "OnFailureJobMode", + (gchar *) "s", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + (GDBusAnnotationInfo **) &_systemd1_unit_property_on_failure_job_mode_annotation_info_pointers + }, + "on-failure-job-mode", + FALSE, + FALSE +}; + +static const GDBusAnnotationInfo _systemd1_unit_property_ignore_on_isolate_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.DBus.Property.EmitsChangedSignal", + (gchar *) "const", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_unit_property_ignore_on_isolate_annotation_info_pointers[] = +{ + &_systemd1_unit_property_ignore_on_isolate_annotation_info_0, + NULL +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_unit_property_info_ignore_on_isolate = +{ + { + -1, + (gchar *) "IgnoreOnIsolate", + (gchar *) "b", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + (GDBusAnnotationInfo **) &_systemd1_unit_property_ignore_on_isolate_annotation_info_pointers + }, + "ignore-on-isolate", + FALSE, + FALSE +}; + +static const GDBusAnnotationInfo _systemd1_unit_property_need_daemon_reload_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.DBus.Property.EmitsChangedSignal", + (gchar *) "false", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_unit_property_need_daemon_reload_annotation_info_pointers[] = +{ + &_systemd1_unit_property_need_daemon_reload_annotation_info_0, + NULL +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_unit_property_info_need_daemon_reload = +{ + { + -1, + (gchar *) "NeedDaemonReload", + (gchar *) "b", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + (GDBusAnnotationInfo **) &_systemd1_unit_property_need_daemon_reload_annotation_info_pointers + }, + "need-daemon-reload", + FALSE, + FALSE +}; + +static const GDBusAnnotationInfo _systemd1_unit_property_markers_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.DBus.Property.EmitsChangedSignal", + (gchar *) "false", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_unit_property_markers_annotation_info_pointers[] = +{ + &_systemd1_unit_property_markers_annotation_info_0, + NULL +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_unit_property_info_markers = +{ + { + -1, + (gchar *) "Markers", + (gchar *) "as", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + (GDBusAnnotationInfo **) &_systemd1_unit_property_markers_annotation_info_pointers + }, + "markers", + FALSE, + FALSE +}; + +static const GDBusAnnotationInfo _systemd1_unit_property_job_timeout_usec_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.DBus.Property.EmitsChangedSignal", + (gchar *) "const", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_unit_property_job_timeout_usec_annotation_info_pointers[] = +{ + &_systemd1_unit_property_job_timeout_usec_annotation_info_0, + NULL +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_unit_property_info_job_timeout_usec = +{ + { + -1, + (gchar *) "JobTimeoutUSec", + (gchar *) "t", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + (GDBusAnnotationInfo **) &_systemd1_unit_property_job_timeout_usec_annotation_info_pointers + }, + "job-timeout-usec", + FALSE, + FALSE +}; + +static const GDBusAnnotationInfo _systemd1_unit_property_job_running_timeout_usec_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.DBus.Property.EmitsChangedSignal", + (gchar *) "const", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_unit_property_job_running_timeout_usec_annotation_info_pointers[] = +{ + &_systemd1_unit_property_job_running_timeout_usec_annotation_info_0, + NULL +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_unit_property_info_job_running_timeout_usec = +{ + { + -1, + (gchar *) "JobRunningTimeoutUSec", + (gchar *) "t", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + (GDBusAnnotationInfo **) &_systemd1_unit_property_job_running_timeout_usec_annotation_info_pointers + }, + "job-running-timeout-usec", + FALSE, + FALSE +}; + +static const GDBusAnnotationInfo _systemd1_unit_property_job_timeout_action_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.DBus.Property.EmitsChangedSignal", + (gchar *) "const", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_unit_property_job_timeout_action_annotation_info_pointers[] = +{ + &_systemd1_unit_property_job_timeout_action_annotation_info_0, + NULL +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_unit_property_info_job_timeout_action = +{ + { + -1, + (gchar *) "JobTimeoutAction", + (gchar *) "s", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + (GDBusAnnotationInfo **) &_systemd1_unit_property_job_timeout_action_annotation_info_pointers + }, + "job-timeout-action", + FALSE, + FALSE +}; + +static const GDBusAnnotationInfo _systemd1_unit_property_job_timeout_reboot_argument_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.DBus.Property.EmitsChangedSignal", + (gchar *) "const", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_unit_property_job_timeout_reboot_argument_annotation_info_pointers[] = +{ + &_systemd1_unit_property_job_timeout_reboot_argument_annotation_info_0, + NULL +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_unit_property_info_job_timeout_reboot_argument = +{ + { + -1, + (gchar *) "JobTimeoutRebootArgument", + (gchar *) "s", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + (GDBusAnnotationInfo **) &_systemd1_unit_property_job_timeout_reboot_argument_annotation_info_pointers + }, + "job-timeout-reboot-argument", + FALSE, + FALSE +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_unit_property_info_condition_result = +{ + { + -1, + (gchar *) "ConditionResult", + (gchar *) "b", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + NULL + }, + "condition-result", + FALSE, + TRUE +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_unit_property_info_assert_result = +{ + { + -1, + (gchar *) "AssertResult", + (gchar *) "b", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + NULL + }, + "assert-result", + FALSE, + TRUE +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_unit_property_info_condition_timestamp = +{ + { + -1, + (gchar *) "ConditionTimestamp", + (gchar *) "t", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + NULL + }, + "condition-timestamp", + FALSE, + TRUE +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_unit_property_info_condition_timestamp_monotonic = +{ + { + -1, + (gchar *) "ConditionTimestampMonotonic", + (gchar *) "t", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + NULL + }, + "condition-timestamp-monotonic", + FALSE, + TRUE +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_unit_property_info_assert_timestamp = +{ + { + -1, + (gchar *) "AssertTimestamp", + (gchar *) "t", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + NULL + }, + "assert-timestamp", + FALSE, + TRUE +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_unit_property_info_assert_timestamp_monotonic = +{ + { + -1, + (gchar *) "AssertTimestampMonotonic", + (gchar *) "t", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + NULL + }, + "assert-timestamp-monotonic", + FALSE, + TRUE +}; + +static const GDBusAnnotationInfo _systemd1_unit_property_conditions_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.DBus.Property.EmitsChangedSignal", + (gchar *) "invalidates", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_unit_property_conditions_annotation_info_pointers[] = +{ + &_systemd1_unit_property_conditions_annotation_info_0, + NULL +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_unit_property_info_conditions = +{ + { + -1, + (gchar *) "Conditions", + (gchar *) "a(sbbsi)", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + (GDBusAnnotationInfo **) &_systemd1_unit_property_conditions_annotation_info_pointers + }, + "conditions", + FALSE, + TRUE +}; + +static const GDBusAnnotationInfo _systemd1_unit_property_asserts_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.DBus.Property.EmitsChangedSignal", + (gchar *) "invalidates", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_unit_property_asserts_annotation_info_pointers[] = +{ + &_systemd1_unit_property_asserts_annotation_info_0, + NULL +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_unit_property_info_asserts = +{ + { + -1, + (gchar *) "Asserts", + (gchar *) "a(sbbsi)", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + (GDBusAnnotationInfo **) &_systemd1_unit_property_asserts_annotation_info_pointers + }, + "asserts", + FALSE, + TRUE +}; + +static const GDBusAnnotationInfo _systemd1_unit_property_load_error_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.DBus.Property.EmitsChangedSignal", + (gchar *) "const", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_unit_property_load_error_annotation_info_pointers[] = +{ + &_systemd1_unit_property_load_error_annotation_info_0, + NULL +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_unit_property_info_load_error = +{ + { + -1, + (gchar *) "LoadError", + (gchar *) "(ss)", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + (GDBusAnnotationInfo **) &_systemd1_unit_property_load_error_annotation_info_pointers + }, + "load-error", + FALSE, + FALSE +}; + +static const GDBusAnnotationInfo _systemd1_unit_property_transient_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.DBus.Property.EmitsChangedSignal", + (gchar *) "const", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_unit_property_transient_annotation_info_pointers[] = +{ + &_systemd1_unit_property_transient_annotation_info_0, + NULL +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_unit_property_info_transient = +{ + { + -1, + (gchar *) "Transient", + (gchar *) "b", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + (GDBusAnnotationInfo **) &_systemd1_unit_property_transient_annotation_info_pointers + }, + "transient", + FALSE, + FALSE +}; + +static const GDBusAnnotationInfo _systemd1_unit_property_perpetual_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.DBus.Property.EmitsChangedSignal", + (gchar *) "const", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_unit_property_perpetual_annotation_info_pointers[] = +{ + &_systemd1_unit_property_perpetual_annotation_info_0, + NULL +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_unit_property_info_perpetual = +{ + { + -1, + (gchar *) "Perpetual", + (gchar *) "b", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + (GDBusAnnotationInfo **) &_systemd1_unit_property_perpetual_annotation_info_pointers + }, + "perpetual", + FALSE, + FALSE +}; + +static const GDBusAnnotationInfo _systemd1_unit_property_start_limit_interval_usec_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.DBus.Property.EmitsChangedSignal", + (gchar *) "const", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_unit_property_start_limit_interval_usec_annotation_info_pointers[] = +{ + &_systemd1_unit_property_start_limit_interval_usec_annotation_info_0, + NULL +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_unit_property_info_start_limit_interval_usec = +{ + { + -1, + (gchar *) "StartLimitIntervalUSec", + (gchar *) "t", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + (GDBusAnnotationInfo **) &_systemd1_unit_property_start_limit_interval_usec_annotation_info_pointers + }, + "start-limit-interval-usec", + FALSE, + FALSE +}; + +static const GDBusAnnotationInfo _systemd1_unit_property_start_limit_burst_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.DBus.Property.EmitsChangedSignal", + (gchar *) "const", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_unit_property_start_limit_burst_annotation_info_pointers[] = +{ + &_systemd1_unit_property_start_limit_burst_annotation_info_0, + NULL +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_unit_property_info_start_limit_burst = +{ + { + -1, + (gchar *) "StartLimitBurst", + (gchar *) "u", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + (GDBusAnnotationInfo **) &_systemd1_unit_property_start_limit_burst_annotation_info_pointers + }, + "start-limit-burst", + FALSE, + FALSE +}; + +static const GDBusAnnotationInfo _systemd1_unit_property_start_limit_action_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.DBus.Property.EmitsChangedSignal", + (gchar *) "const", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_unit_property_start_limit_action_annotation_info_pointers[] = +{ + &_systemd1_unit_property_start_limit_action_annotation_info_0, + NULL +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_unit_property_info_start_limit_action = +{ + { + -1, + (gchar *) "StartLimitAction", + (gchar *) "s", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + (GDBusAnnotationInfo **) &_systemd1_unit_property_start_limit_action_annotation_info_pointers + }, + "start-limit-action", + FALSE, + FALSE +}; + +static const GDBusAnnotationInfo _systemd1_unit_property_failure_action_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.DBus.Property.EmitsChangedSignal", + (gchar *) "const", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_unit_property_failure_action_annotation_info_pointers[] = +{ + &_systemd1_unit_property_failure_action_annotation_info_0, + NULL +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_unit_property_info_failure_action = +{ + { + -1, + (gchar *) "FailureAction", + (gchar *) "s", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + (GDBusAnnotationInfo **) &_systemd1_unit_property_failure_action_annotation_info_pointers + }, + "failure-action", + FALSE, + FALSE +}; + +static const GDBusAnnotationInfo _systemd1_unit_property_failure_action_exit_status_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.DBus.Property.EmitsChangedSignal", + (gchar *) "const", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_unit_property_failure_action_exit_status_annotation_info_pointers[] = +{ + &_systemd1_unit_property_failure_action_exit_status_annotation_info_0, + NULL +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_unit_property_info_failure_action_exit_status = +{ + { + -1, + (gchar *) "FailureActionExitStatus", + (gchar *) "i", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + (GDBusAnnotationInfo **) &_systemd1_unit_property_failure_action_exit_status_annotation_info_pointers + }, + "failure-action-exit-status", + FALSE, + FALSE +}; + +static const GDBusAnnotationInfo _systemd1_unit_property_success_action_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.DBus.Property.EmitsChangedSignal", + (gchar *) "const", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_unit_property_success_action_annotation_info_pointers[] = +{ + &_systemd1_unit_property_success_action_annotation_info_0, + NULL +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_unit_property_info_success_action = +{ + { + -1, + (gchar *) "SuccessAction", + (gchar *) "s", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + (GDBusAnnotationInfo **) &_systemd1_unit_property_success_action_annotation_info_pointers + }, + "success-action", + FALSE, + FALSE +}; + +static const GDBusAnnotationInfo _systemd1_unit_property_success_action_exit_status_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.DBus.Property.EmitsChangedSignal", + (gchar *) "const", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_unit_property_success_action_exit_status_annotation_info_pointers[] = +{ + &_systemd1_unit_property_success_action_exit_status_annotation_info_0, + NULL +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_unit_property_info_success_action_exit_status = +{ + { + -1, + (gchar *) "SuccessActionExitStatus", + (gchar *) "i", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + (GDBusAnnotationInfo **) &_systemd1_unit_property_success_action_exit_status_annotation_info_pointers + }, + "success-action-exit-status", + FALSE, + FALSE +}; + +static const GDBusAnnotationInfo _systemd1_unit_property_reboot_argument_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.DBus.Property.EmitsChangedSignal", + (gchar *) "const", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_unit_property_reboot_argument_annotation_info_pointers[] = +{ + &_systemd1_unit_property_reboot_argument_annotation_info_0, + NULL +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_unit_property_info_reboot_argument = +{ + { + -1, + (gchar *) "RebootArgument", + (gchar *) "s", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + (GDBusAnnotationInfo **) &_systemd1_unit_property_reboot_argument_annotation_info_pointers + }, + "reboot-argument", + FALSE, + FALSE +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_unit_property_info_invocation_id = +{ + { + -1, + (gchar *) "InvocationID", + (gchar *) "ay", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + NULL + }, + "invocation-id", + FALSE, + TRUE +}; + +static const GDBusAnnotationInfo _systemd1_unit_property_collect_mode_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.DBus.Property.EmitsChangedSignal", + (gchar *) "const", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_unit_property_collect_mode_annotation_info_pointers[] = +{ + &_systemd1_unit_property_collect_mode_annotation_info_0, + NULL +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_unit_property_info_collect_mode = +{ + { + -1, + (gchar *) "CollectMode", + (gchar *) "s", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + (GDBusAnnotationInfo **) &_systemd1_unit_property_collect_mode_annotation_info_pointers + }, + "collect-mode", + FALSE, + FALSE +}; + +static const GDBusAnnotationInfo _systemd1_unit_property_refs_annotation_info_0 = +{ + -1, + (gchar *) "org.freedesktop.DBus.Property.EmitsChangedSignal", + (gchar *) "false", + NULL +}; + +static const GDBusAnnotationInfo * const _systemd1_unit_property_refs_annotation_info_pointers[] = +{ + &_systemd1_unit_property_refs_annotation_info_0, + NULL +}; + +static const _ExtendedGDBusPropertyInfo _systemd1_unit_property_info_refs = +{ + { + -1, + (gchar *) "Refs", + (gchar *) "as", + G_DBUS_PROPERTY_INFO_FLAGS_READABLE, + (GDBusAnnotationInfo **) &_systemd1_unit_property_refs_annotation_info_pointers + }, + "refs", + FALSE, + FALSE +}; + +static const GDBusPropertyInfo * const _systemd1_unit_property_info_pointers[] = +{ + &_systemd1_unit_property_info_id.parent_struct, + &_systemd1_unit_property_info_names.parent_struct, + &_systemd1_unit_property_info_following.parent_struct, + &_systemd1_unit_property_info_requires.parent_struct, + &_systemd1_unit_property_info_requisite.parent_struct, + &_systemd1_unit_property_info_wants.parent_struct, + &_systemd1_unit_property_info_binds_to.parent_struct, + &_systemd1_unit_property_info_part_of.parent_struct, + &_systemd1_unit_property_info_required_by.parent_struct, + &_systemd1_unit_property_info_requisite_of.parent_struct, + &_systemd1_unit_property_info_wanted_by.parent_struct, + &_systemd1_unit_property_info_bound_by.parent_struct, + &_systemd1_unit_property_info_consists_of.parent_struct, + &_systemd1_unit_property_info_conflicts.parent_struct, + &_systemd1_unit_property_info_conflicted_by.parent_struct, + &_systemd1_unit_property_info_before.parent_struct, + &_systemd1_unit_property_info_after.parent_struct, + &_systemd1_unit_property_info_on_failure.parent_struct, + &_systemd1_unit_property_info_on_failure_of.parent_struct, + &_systemd1_unit_property_info_on_success.parent_struct, + &_systemd1_unit_property_info_on_success_of.parent_struct, + &_systemd1_unit_property_info_triggers.parent_struct, + &_systemd1_unit_property_info_triggered_by.parent_struct, + &_systemd1_unit_property_info_propagates_reload_to.parent_struct, + &_systemd1_unit_property_info_reload_propagated_from.parent_struct, + &_systemd1_unit_property_info_propagates_stop_to.parent_struct, + &_systemd1_unit_property_info_stop_propagated_from.parent_struct, + &_systemd1_unit_property_info_joins_namespace_of.parent_struct, + &_systemd1_unit_property_info_slice_of.parent_struct, + &_systemd1_unit_property_info_requires_mounts_for.parent_struct, + &_systemd1_unit_property_info_documentation.parent_struct, + &_systemd1_unit_property_info_description.parent_struct, + &_systemd1_unit_property_info_load_state.parent_struct, + &_systemd1_unit_property_info_active_state.parent_struct, + &_systemd1_unit_property_info_freezer_state.parent_struct, + &_systemd1_unit_property_info_sub_state.parent_struct, + &_systemd1_unit_property_info_fragment_path.parent_struct, + &_systemd1_unit_property_info_source_path.parent_struct, + &_systemd1_unit_property_info_drop_in_paths.parent_struct, + &_systemd1_unit_property_info_unit_file_state.parent_struct, + &_systemd1_unit_property_info_unit_file_preset.parent_struct, + &_systemd1_unit_property_info_state_change_timestamp.parent_struct, + &_systemd1_unit_property_info_state_change_timestamp_monotonic.parent_struct, + &_systemd1_unit_property_info_inactive_exit_timestamp.parent_struct, + &_systemd1_unit_property_info_inactive_exit_timestamp_monotonic.parent_struct, + &_systemd1_unit_property_info_active_enter_timestamp.parent_struct, + &_systemd1_unit_property_info_active_enter_timestamp_monotonic.parent_struct, + &_systemd1_unit_property_info_active_exit_timestamp.parent_struct, + &_systemd1_unit_property_info_active_exit_timestamp_monotonic.parent_struct, + &_systemd1_unit_property_info_inactive_enter_timestamp.parent_struct, + &_systemd1_unit_property_info_inactive_enter_timestamp_monotonic.parent_struct, + &_systemd1_unit_property_info_can_start.parent_struct, + &_systemd1_unit_property_info_can_stop.parent_struct, + &_systemd1_unit_property_info_can_reload.parent_struct, + &_systemd1_unit_property_info_can_isolate.parent_struct, + &_systemd1_unit_property_info_can_clean.parent_struct, + &_systemd1_unit_property_info_can_freeze.parent_struct, + &_systemd1_unit_property_info_job.parent_struct, + &_systemd1_unit_property_info_stop_when_unneeded.parent_struct, + &_systemd1_unit_property_info_refuse_manual_start.parent_struct, + &_systemd1_unit_property_info_refuse_manual_stop.parent_struct, + &_systemd1_unit_property_info_allow_isolate.parent_struct, + &_systemd1_unit_property_info_default_dependencies.parent_struct, + &_systemd1_unit_property_info_on_success_job_mode.parent_struct, + &_systemd1_unit_property_info_on_failure_job_mode.parent_struct, + &_systemd1_unit_property_info_ignore_on_isolate.parent_struct, + &_systemd1_unit_property_info_need_daemon_reload.parent_struct, + &_systemd1_unit_property_info_markers.parent_struct, + &_systemd1_unit_property_info_job_timeout_usec.parent_struct, + &_systemd1_unit_property_info_job_running_timeout_usec.parent_struct, + &_systemd1_unit_property_info_job_timeout_action.parent_struct, + &_systemd1_unit_property_info_job_timeout_reboot_argument.parent_struct, + &_systemd1_unit_property_info_condition_result.parent_struct, + &_systemd1_unit_property_info_assert_result.parent_struct, + &_systemd1_unit_property_info_condition_timestamp.parent_struct, + &_systemd1_unit_property_info_condition_timestamp_monotonic.parent_struct, + &_systemd1_unit_property_info_assert_timestamp.parent_struct, + &_systemd1_unit_property_info_assert_timestamp_monotonic.parent_struct, + &_systemd1_unit_property_info_conditions.parent_struct, + &_systemd1_unit_property_info_asserts.parent_struct, + &_systemd1_unit_property_info_load_error.parent_struct, + &_systemd1_unit_property_info_transient.parent_struct, + &_systemd1_unit_property_info_perpetual.parent_struct, + &_systemd1_unit_property_info_start_limit_interval_usec.parent_struct, + &_systemd1_unit_property_info_start_limit_burst.parent_struct, + &_systemd1_unit_property_info_start_limit_action.parent_struct, + &_systemd1_unit_property_info_failure_action.parent_struct, + &_systemd1_unit_property_info_failure_action_exit_status.parent_struct, + &_systemd1_unit_property_info_success_action.parent_struct, + &_systemd1_unit_property_info_success_action_exit_status.parent_struct, + &_systemd1_unit_property_info_reboot_argument.parent_struct, + &_systemd1_unit_property_info_invocation_id.parent_struct, + &_systemd1_unit_property_info_collect_mode.parent_struct, + &_systemd1_unit_property_info_refs.parent_struct, + NULL +}; + +static const _ExtendedGDBusInterfaceInfo _systemd1_unit_interface_info = +{ + { + -1, + (gchar *) "org.freedesktop.systemd1.Unit", + (GDBusMethodInfo **) &_systemd1_unit_method_info_pointers, + NULL, + (GDBusPropertyInfo **) &_systemd1_unit_property_info_pointers, + NULL + }, + "systemd1-unit", +}; + + +/** + * systemd1_unit_interface_info: + * + * Gets a machine-readable description of the <link linkend="gdbus-interface-org-freedesktop-systemd1-Unit.top_of_page">org.freedesktop.systemd1.Unit</link> D-Bus interface. + * + * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free. + */ +GDBusInterfaceInfo * +systemd1_unit_interface_info (void) +{ + return (GDBusInterfaceInfo *) &_systemd1_unit_interface_info.parent_struct; +} + +/** + * systemd1_unit_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 #Systemd1Unit interface for a concrete class. + * The properties are overridden in the order they are defined. + * + * Returns: The last property id. + */ +guint +systemd1_unit_override_properties (GObjectClass *klass, guint property_id_begin) +{ + g_object_class_override_property (klass, property_id_begin++, "id"); + g_object_class_override_property (klass, property_id_begin++, "names"); + g_object_class_override_property (klass, property_id_begin++, "following"); + g_object_class_override_property (klass, property_id_begin++, "requires"); + g_object_class_override_property (klass, property_id_begin++, "requisite"); + g_object_class_override_property (klass, property_id_begin++, "wants"); + g_object_class_override_property (klass, property_id_begin++, "binds-to"); + g_object_class_override_property (klass, property_id_begin++, "part-of"); + g_object_class_override_property (klass, property_id_begin++, "required-by"); + g_object_class_override_property (klass, property_id_begin++, "requisite-of"); + g_object_class_override_property (klass, property_id_begin++, "wanted-by"); + g_object_class_override_property (klass, property_id_begin++, "bound-by"); + g_object_class_override_property (klass, property_id_begin++, "consists-of"); + g_object_class_override_property (klass, property_id_begin++, "conflicts"); + g_object_class_override_property (klass, property_id_begin++, "conflicted-by"); + g_object_class_override_property (klass, property_id_begin++, "before"); + g_object_class_override_property (klass, property_id_begin++, "after"); + g_object_class_override_property (klass, property_id_begin++, "on-failure"); + g_object_class_override_property (klass, property_id_begin++, "on-failure-of"); + g_object_class_override_property (klass, property_id_begin++, "on-success"); + g_object_class_override_property (klass, property_id_begin++, "on-success-of"); + g_object_class_override_property (klass, property_id_begin++, "triggers"); + g_object_class_override_property (klass, property_id_begin++, "triggered-by"); + g_object_class_override_property (klass, property_id_begin++, "propagates-reload-to"); + g_object_class_override_property (klass, property_id_begin++, "reload-propagated-from"); + g_object_class_override_property (klass, property_id_begin++, "propagates-stop-to"); + g_object_class_override_property (klass, property_id_begin++, "stop-propagated-from"); + g_object_class_override_property (klass, property_id_begin++, "joins-namespace-of"); + g_object_class_override_property (klass, property_id_begin++, "slice-of"); + g_object_class_override_property (klass, property_id_begin++, "requires-mounts-for"); + g_object_class_override_property (klass, property_id_begin++, "documentation"); + g_object_class_override_property (klass, property_id_begin++, "description"); + g_object_class_override_property (klass, property_id_begin++, "load-state"); + g_object_class_override_property (klass, property_id_begin++, "active-state"); + g_object_class_override_property (klass, property_id_begin++, "freezer-state"); + g_object_class_override_property (klass, property_id_begin++, "sub-state"); + g_object_class_override_property (klass, property_id_begin++, "fragment-path"); + g_object_class_override_property (klass, property_id_begin++, "source-path"); + g_object_class_override_property (klass, property_id_begin++, "drop-in-paths"); + g_object_class_override_property (klass, property_id_begin++, "unit-file-state"); + g_object_class_override_property (klass, property_id_begin++, "unit-file-preset"); + g_object_class_override_property (klass, property_id_begin++, "state-change-timestamp"); + g_object_class_override_property (klass, property_id_begin++, "state-change-timestamp-monotonic"); + g_object_class_override_property (klass, property_id_begin++, "inactive-exit-timestamp"); + g_object_class_override_property (klass, property_id_begin++, "inactive-exit-timestamp-monotonic"); + g_object_class_override_property (klass, property_id_begin++, "active-enter-timestamp"); + g_object_class_override_property (klass, property_id_begin++, "active-enter-timestamp-monotonic"); + g_object_class_override_property (klass, property_id_begin++, "active-exit-timestamp"); + g_object_class_override_property (klass, property_id_begin++, "active-exit-timestamp-monotonic"); + g_object_class_override_property (klass, property_id_begin++, "inactive-enter-timestamp"); + g_object_class_override_property (klass, property_id_begin++, "inactive-enter-timestamp-monotonic"); + g_object_class_override_property (klass, property_id_begin++, "can-start"); + g_object_class_override_property (klass, property_id_begin++, "can-stop"); + g_object_class_override_property (klass, property_id_begin++, "can-reload"); + g_object_class_override_property (klass, property_id_begin++, "can-isolate"); + g_object_class_override_property (klass, property_id_begin++, "can-clean"); + g_object_class_override_property (klass, property_id_begin++, "can-freeze"); + g_object_class_override_property (klass, property_id_begin++, "job"); + g_object_class_override_property (klass, property_id_begin++, "stop-when-unneeded"); + g_object_class_override_property (klass, property_id_begin++, "refuse-manual-start"); + g_object_class_override_property (klass, property_id_begin++, "refuse-manual-stop"); + g_object_class_override_property (klass, property_id_begin++, "allow-isolate"); + g_object_class_override_property (klass, property_id_begin++, "default-dependencies"); + g_object_class_override_property (klass, property_id_begin++, "on-success-job-mode"); + g_object_class_override_property (klass, property_id_begin++, "on-failure-job-mode"); + g_object_class_override_property (klass, property_id_begin++, "ignore-on-isolate"); + g_object_class_override_property (klass, property_id_begin++, "need-daemon-reload"); + g_object_class_override_property (klass, property_id_begin++, "markers"); + g_object_class_override_property (klass, property_id_begin++, "job-timeout-usec"); + g_object_class_override_property (klass, property_id_begin++, "job-running-timeout-usec"); + g_object_class_override_property (klass, property_id_begin++, "job-timeout-action"); + g_object_class_override_property (klass, property_id_begin++, "job-timeout-reboot-argument"); + g_object_class_override_property (klass, property_id_begin++, "condition-result"); + g_object_class_override_property (klass, property_id_begin++, "assert-result"); + g_object_class_override_property (klass, property_id_begin++, "condition-timestamp"); + g_object_class_override_property (klass, property_id_begin++, "condition-timestamp-monotonic"); + g_object_class_override_property (klass, property_id_begin++, "assert-timestamp"); + g_object_class_override_property (klass, property_id_begin++, "assert-timestamp-monotonic"); + g_object_class_override_property (klass, property_id_begin++, "conditions"); + g_object_class_override_property (klass, property_id_begin++, "asserts"); + g_object_class_override_property (klass, property_id_begin++, "load-error"); + g_object_class_override_property (klass, property_id_begin++, "transient"); + g_object_class_override_property (klass, property_id_begin++, "perpetual"); + g_object_class_override_property (klass, property_id_begin++, "start-limit-interval-usec"); + g_object_class_override_property (klass, property_id_begin++, "start-limit-burst"); + g_object_class_override_property (klass, property_id_begin++, "start-limit-action"); + g_object_class_override_property (klass, property_id_begin++, "failure-action"); + g_object_class_override_property (klass, property_id_begin++, "failure-action-exit-status"); + g_object_class_override_property (klass, property_id_begin++, "success-action"); + g_object_class_override_property (klass, property_id_begin++, "success-action-exit-status"); + g_object_class_override_property (klass, property_id_begin++, "reboot-argument"); + g_object_class_override_property (klass, property_id_begin++, "invocation-id"); + g_object_class_override_property (klass, property_id_begin++, "collect-mode"); + g_object_class_override_property (klass, property_id_begin++, "refs"); + return property_id_begin - 1; +} + + + +/** + * Systemd1Unit: + * + * Abstract interface type for the D-Bus interface <link linkend="gdbus-interface-org-freedesktop-systemd1-Unit.top_of_page">org.freedesktop.systemd1.Unit</link>. + */ + +/** + * Systemd1UnitIface: + * @parent_iface: The parent interface. + * @handle_clean: Handler for the #Systemd1Unit::handle-clean signal. + * @handle_enqueue_job: Handler for the #Systemd1Unit::handle-enqueue-job signal. + * @handle_freeze: Handler for the #Systemd1Unit::handle-freeze signal. + * @handle_kill: Handler for the #Systemd1Unit::handle-kill signal. + * @handle_ref: Handler for the #Systemd1Unit::handle-ref signal. + * @handle_reload: Handler for the #Systemd1Unit::handle-reload signal. + * @handle_reload_or_restart: Handler for the #Systemd1Unit::handle-reload-or-restart signal. + * @handle_reload_or_try_restart: Handler for the #Systemd1Unit::handle-reload-or-try-restart signal. + * @handle_reset_failed: Handler for the #Systemd1Unit::handle-reset-failed signal. + * @handle_restart: Handler for the #Systemd1Unit::handle-restart signal. + * @handle_set_properties: Handler for the #Systemd1Unit::handle-set-properties signal. + * @handle_start: Handler for the #Systemd1Unit::handle-start signal. + * @handle_stop: Handler for the #Systemd1Unit::handle-stop signal. + * @handle_thaw: Handler for the #Systemd1Unit::handle-thaw signal. + * @handle_try_restart: Handler for the #Systemd1Unit::handle-try-restart signal. + * @handle_unref: Handler for the #Systemd1Unit::handle-unref signal. + * @get_active_enter_timestamp: Getter for the #Systemd1Unit:active-enter-timestamp property. + * @get_active_enter_timestamp_monotonic: Getter for the #Systemd1Unit:active-enter-timestamp-monotonic property. + * @get_active_exit_timestamp: Getter for the #Systemd1Unit:active-exit-timestamp property. + * @get_active_exit_timestamp_monotonic: Getter for the #Systemd1Unit:active-exit-timestamp-monotonic property. + * @get_active_state: Getter for the #Systemd1Unit:active-state property. + * @get_after: Getter for the #Systemd1Unit:after property. + * @get_allow_isolate: Getter for the #Systemd1Unit:allow-isolate property. + * @get_assert_result: Getter for the #Systemd1Unit:assert-result property. + * @get_assert_timestamp: Getter for the #Systemd1Unit:assert-timestamp property. + * @get_assert_timestamp_monotonic: Getter for the #Systemd1Unit:assert-timestamp-monotonic property. + * @get_asserts: Getter for the #Systemd1Unit:asserts property. + * @get_before: Getter for the #Systemd1Unit:before property. + * @get_binds_to: Getter for the #Systemd1Unit:binds-to property. + * @get_bound_by: Getter for the #Systemd1Unit:bound-by property. + * @get_can_clean: Getter for the #Systemd1Unit:can-clean property. + * @get_can_freeze: Getter for the #Systemd1Unit:can-freeze property. + * @get_can_isolate: Getter for the #Systemd1Unit:can-isolate property. + * @get_can_reload: Getter for the #Systemd1Unit:can-reload property. + * @get_can_start: Getter for the #Systemd1Unit:can-start property. + * @get_can_stop: Getter for the #Systemd1Unit:can-stop property. + * @get_collect_mode: Getter for the #Systemd1Unit:collect-mode property. + * @get_condition_result: Getter for the #Systemd1Unit:condition-result property. + * @get_condition_timestamp: Getter for the #Systemd1Unit:condition-timestamp property. + * @get_condition_timestamp_monotonic: Getter for the #Systemd1Unit:condition-timestamp-monotonic property. + * @get_conditions: Getter for the #Systemd1Unit:conditions property. + * @get_conflicted_by: Getter for the #Systemd1Unit:conflicted-by property. + * @get_conflicts: Getter for the #Systemd1Unit:conflicts property. + * @get_consists_of: Getter for the #Systemd1Unit:consists-of property. + * @get_default_dependencies: Getter for the #Systemd1Unit:default-dependencies property. + * @get_description: Getter for the #Systemd1Unit:description property. + * @get_documentation: Getter for the #Systemd1Unit:documentation property. + * @get_drop_in_paths: Getter for the #Systemd1Unit:drop-in-paths property. + * @get_failure_action: Getter for the #Systemd1Unit:failure-action property. + * @get_failure_action_exit_status: Getter for the #Systemd1Unit:failure-action-exit-status property. + * @get_following: Getter for the #Systemd1Unit:following property. + * @get_fragment_path: Getter for the #Systemd1Unit:fragment-path property. + * @get_freezer_state: Getter for the #Systemd1Unit:freezer-state property. + * @get_id: Getter for the #Systemd1Unit:id property. + * @get_ignore_on_isolate: Getter for the #Systemd1Unit:ignore-on-isolate property. + * @get_inactive_enter_timestamp: Getter for the #Systemd1Unit:inactive-enter-timestamp property. + * @get_inactive_enter_timestamp_monotonic: Getter for the #Systemd1Unit:inactive-enter-timestamp-monotonic property. + * @get_inactive_exit_timestamp: Getter for the #Systemd1Unit:inactive-exit-timestamp property. + * @get_inactive_exit_timestamp_monotonic: Getter for the #Systemd1Unit:inactive-exit-timestamp-monotonic property. + * @get_invocation_id: Getter for the #Systemd1Unit:invocation-id property. + * @get_job: Getter for the #Systemd1Unit:job property. + * @get_job_running_timeout_usec: Getter for the #Systemd1Unit:job-running-timeout-usec property. + * @get_job_timeout_action: Getter for the #Systemd1Unit:job-timeout-action property. + * @get_job_timeout_reboot_argument: Getter for the #Systemd1Unit:job-timeout-reboot-argument property. + * @get_job_timeout_usec: Getter for the #Systemd1Unit:job-timeout-usec property. + * @get_joins_namespace_of: Getter for the #Systemd1Unit:joins-namespace-of property. + * @get_load_error: Getter for the #Systemd1Unit:load-error property. + * @get_load_state: Getter for the #Systemd1Unit:load-state property. + * @get_markers: Getter for the #Systemd1Unit:markers property. + * @get_names: Getter for the #Systemd1Unit:names property. + * @get_need_daemon_reload: Getter for the #Systemd1Unit:need-daemon-reload property. + * @get_on_failure: Getter for the #Systemd1Unit:on-failure property. + * @get_on_failure_job_mode: Getter for the #Systemd1Unit:on-failure-job-mode property. + * @get_on_failure_of: Getter for the #Systemd1Unit:on-failure-of property. + * @get_on_success: Getter for the #Systemd1Unit:on-success property. + * @get_on_success_job_mode: Getter for the #Systemd1Unit:on-success-job-mode property. + * @get_on_success_of: Getter for the #Systemd1Unit:on-success-of property. + * @get_part_of: Getter for the #Systemd1Unit:part-of property. + * @get_perpetual: Getter for the #Systemd1Unit:perpetual property. + * @get_propagates_reload_to: Getter for the #Systemd1Unit:propagates-reload-to property. + * @get_propagates_stop_to: Getter for the #Systemd1Unit:propagates-stop-to property. + * @get_reboot_argument: Getter for the #Systemd1Unit:reboot-argument property. + * @get_refs: Getter for the #Systemd1Unit:refs property. + * @get_refuse_manual_start: Getter for the #Systemd1Unit:refuse-manual-start property. + * @get_refuse_manual_stop: Getter for the #Systemd1Unit:refuse-manual-stop property. + * @get_reload_propagated_from: Getter for the #Systemd1Unit:reload-propagated-from property. + * @get_required_by: Getter for the #Systemd1Unit:required-by property. + * @get_requires: Getter for the #Systemd1Unit:requires property. + * @get_requires_mounts_for: Getter for the #Systemd1Unit:requires-mounts-for property. + * @get_requisite: Getter for the #Systemd1Unit:requisite property. + * @get_requisite_of: Getter for the #Systemd1Unit:requisite-of property. + * @get_slice_of: Getter for the #Systemd1Unit:slice-of property. + * @get_source_path: Getter for the #Systemd1Unit:source-path property. + * @get_start_limit_action: Getter for the #Systemd1Unit:start-limit-action property. + * @get_start_limit_burst: Getter for the #Systemd1Unit:start-limit-burst property. + * @get_start_limit_interval_usec: Getter for the #Systemd1Unit:start-limit-interval-usec property. + * @get_state_change_timestamp: Getter for the #Systemd1Unit:state-change-timestamp property. + * @get_state_change_timestamp_monotonic: Getter for the #Systemd1Unit:state-change-timestamp-monotonic property. + * @get_stop_propagated_from: Getter for the #Systemd1Unit:stop-propagated-from property. + * @get_stop_when_unneeded: Getter for the #Systemd1Unit:stop-when-unneeded property. + * @get_sub_state: Getter for the #Systemd1Unit:sub-state property. + * @get_success_action: Getter for the #Systemd1Unit:success-action property. + * @get_success_action_exit_status: Getter for the #Systemd1Unit:success-action-exit-status property. + * @get_transient: Getter for the #Systemd1Unit:transient property. + * @get_triggered_by: Getter for the #Systemd1Unit:triggered-by property. + * @get_triggers: Getter for the #Systemd1Unit:triggers property. + * @get_unit_file_preset: Getter for the #Systemd1Unit:unit-file-preset property. + * @get_unit_file_state: Getter for the #Systemd1Unit:unit-file-state property. + * @get_wanted_by: Getter for the #Systemd1Unit:wanted-by property. + * @get_wants: Getter for the #Systemd1Unit:wants property. + * + * Virtual table for the D-Bus interface <link linkend="gdbus-interface-org-freedesktop-systemd1-Unit.top_of_page">org.freedesktop.systemd1.Unit</link>. + */ + +typedef Systemd1UnitIface Systemd1UnitInterface; +G_DEFINE_INTERFACE (Systemd1Unit, systemd1_unit, G_TYPE_OBJECT) + +static void +systemd1_unit_default_init (Systemd1UnitIface *iface) +{ + /* GObject signals for incoming D-Bus method calls: */ + /** + * Systemd1Unit::handle-start: + * @object: A #Systemd1Unit. + * @invocation: A #GDBusMethodInvocation. + * @arg_mode: Argument passed by remote caller. + * + * Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-freedesktop-systemd1-Unit.Start">Start()</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 systemd1_unit_complete_start() 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: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. + */ + g_signal_new ("handle-start", + G_TYPE_FROM_INTERFACE (iface), + G_SIGNAL_RUN_LAST, + G_STRUCT_OFFSET (Systemd1UnitIface, handle_start), + g_signal_accumulator_true_handled, + NULL, + g_cclosure_marshal_generic, + G_TYPE_BOOLEAN, + 2, + G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); + + /** + * Systemd1Unit::handle-stop: + * @object: A #Systemd1Unit. + * @invocation: A #GDBusMethodInvocation. + * @arg_mode: Argument passed by remote caller. + * + * Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-freedesktop-systemd1-Unit.Stop">Stop()</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 systemd1_unit_complete_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: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. + */ + g_signal_new ("handle-stop", + G_TYPE_FROM_INTERFACE (iface), + G_SIGNAL_RUN_LAST, + G_STRUCT_OFFSET (Systemd1UnitIface, handle_stop), + g_signal_accumulator_true_handled, + NULL, + g_cclosure_marshal_generic, + G_TYPE_BOOLEAN, + 2, + G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); + + /** + * Systemd1Unit::handle-reload: + * @object: A #Systemd1Unit. + * @invocation: A #GDBusMethodInvocation. + * @arg_mode: Argument passed by remote caller. + * + * Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-freedesktop-systemd1-Unit.Reload">Reload()</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 systemd1_unit_complete_reload() 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: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. + */ + g_signal_new ("handle-reload", + G_TYPE_FROM_INTERFACE (iface), + G_SIGNAL_RUN_LAST, + G_STRUCT_OFFSET (Systemd1UnitIface, handle_reload), + g_signal_accumulator_true_handled, + NULL, + g_cclosure_marshal_generic, + G_TYPE_BOOLEAN, + 2, + G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); + + /** + * Systemd1Unit::handle-restart: + * @object: A #Systemd1Unit. + * @invocation: A #GDBusMethodInvocation. + * @arg_mode: Argument passed by remote caller. + * + * Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-freedesktop-systemd1-Unit.Restart">Restart()</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 systemd1_unit_complete_restart() 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: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. + */ + g_signal_new ("handle-restart", + G_TYPE_FROM_INTERFACE (iface), + G_SIGNAL_RUN_LAST, + G_STRUCT_OFFSET (Systemd1UnitIface, handle_restart), + g_signal_accumulator_true_handled, + NULL, + g_cclosure_marshal_generic, + G_TYPE_BOOLEAN, + 2, + G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); + + /** + * Systemd1Unit::handle-try-restart: + * @object: A #Systemd1Unit. + * @invocation: A #GDBusMethodInvocation. + * @arg_mode: Argument passed by remote caller. + * + * Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-freedesktop-systemd1-Unit.TryRestart">TryRestart()</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 systemd1_unit_complete_try_restart() 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: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. + */ + g_signal_new ("handle-try-restart", + G_TYPE_FROM_INTERFACE (iface), + G_SIGNAL_RUN_LAST, + G_STRUCT_OFFSET (Systemd1UnitIface, handle_try_restart), + g_signal_accumulator_true_handled, + NULL, + g_cclosure_marshal_generic, + G_TYPE_BOOLEAN, + 2, + G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); + + /** + * Systemd1Unit::handle-reload-or-restart: + * @object: A #Systemd1Unit. + * @invocation: A #GDBusMethodInvocation. + * @arg_mode: Argument passed by remote caller. + * + * Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-freedesktop-systemd1-Unit.ReloadOrRestart">ReloadOrRestart()</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 systemd1_unit_complete_reload_or_restart() 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: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. + */ + g_signal_new ("handle-reload-or-restart", + G_TYPE_FROM_INTERFACE (iface), + G_SIGNAL_RUN_LAST, + G_STRUCT_OFFSET (Systemd1UnitIface, handle_reload_or_restart), + g_signal_accumulator_true_handled, + NULL, + g_cclosure_marshal_generic, + G_TYPE_BOOLEAN, + 2, + G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); + + /** + * Systemd1Unit::handle-reload-or-try-restart: + * @object: A #Systemd1Unit. + * @invocation: A #GDBusMethodInvocation. + * @arg_mode: Argument passed by remote caller. + * + * Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-freedesktop-systemd1-Unit.ReloadOrTryRestart">ReloadOrTryRestart()</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 systemd1_unit_complete_reload_or_try_restart() 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: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. + */ + g_signal_new ("handle-reload-or-try-restart", + G_TYPE_FROM_INTERFACE (iface), + G_SIGNAL_RUN_LAST, + G_STRUCT_OFFSET (Systemd1UnitIface, handle_reload_or_try_restart), + g_signal_accumulator_true_handled, + NULL, + g_cclosure_marshal_generic, + G_TYPE_BOOLEAN, + 2, + G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING); + + /** + * Systemd1Unit::handle-enqueue-job: + * @object: A #Systemd1Unit. + * @invocation: A #GDBusMethodInvocation. + * @arg_job_type: Argument passed by remote caller. + * @arg_job_mode: Argument passed by remote caller. + * + * Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-freedesktop-systemd1-Unit.EnqueueJob">EnqueueJob()</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 systemd1_unit_complete_enqueue_job() 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: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. + */ + g_signal_new ("handle-enqueue-job", + G_TYPE_FROM_INTERFACE (iface), + G_SIGNAL_RUN_LAST, + G_STRUCT_OFFSET (Systemd1UnitIface, handle_enqueue_job), + 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); + + /** + * Systemd1Unit::handle-kill: + * @object: A #Systemd1Unit. + * @invocation: A #GDBusMethodInvocation. + * @arg_whom: Argument passed by remote caller. + * @arg_signal: Argument passed by remote caller. + * + * Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-freedesktop-systemd1-Unit.Kill">Kill()</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 systemd1_unit_complete_kill() 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: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. + */ + g_signal_new ("handle-kill", + G_TYPE_FROM_INTERFACE (iface), + G_SIGNAL_RUN_LAST, + G_STRUCT_OFFSET (Systemd1UnitIface, handle_kill), + g_signal_accumulator_true_handled, + NULL, + g_cclosure_marshal_generic, + G_TYPE_BOOLEAN, + 3, + G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING, G_TYPE_INT); + + /** + * Systemd1Unit::handle-reset-failed: + * @object: A #Systemd1Unit. + * @invocation: A #GDBusMethodInvocation. + * + * Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-freedesktop-systemd1-Unit.ResetFailed">ResetFailed()</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 systemd1_unit_complete_reset_failed() 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: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. + */ + g_signal_new ("handle-reset-failed", + G_TYPE_FROM_INTERFACE (iface), + G_SIGNAL_RUN_LAST, + G_STRUCT_OFFSET (Systemd1UnitIface, handle_reset_failed), + g_signal_accumulator_true_handled, + NULL, + g_cclosure_marshal_generic, + G_TYPE_BOOLEAN, + 1, + G_TYPE_DBUS_METHOD_INVOCATION); + + /** + * Systemd1Unit::handle-set-properties: + * @object: A #Systemd1Unit. + * @invocation: A #GDBusMethodInvocation. + * @arg_runtime: Argument passed by remote caller. + * @arg_properties: Argument passed by remote caller. + * + * Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-freedesktop-systemd1-Unit.SetProperties">SetProperties()</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 systemd1_unit_complete_set_properties() 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: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. + */ + g_signal_new ("handle-set-properties", + G_TYPE_FROM_INTERFACE (iface), + G_SIGNAL_RUN_LAST, + G_STRUCT_OFFSET (Systemd1UnitIface, handle_set_properties), + g_signal_accumulator_true_handled, + NULL, + g_cclosure_marshal_generic, + G_TYPE_BOOLEAN, + 3, + G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_BOOLEAN, G_TYPE_VARIANT); + + /** + * Systemd1Unit::handle-ref: + * @object: A #Systemd1Unit. + * @invocation: A #GDBusMethodInvocation. + * + * Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-freedesktop-systemd1-Unit.Ref">Ref()</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 systemd1_unit_complete_ref() 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: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. + */ + g_signal_new ("handle-ref", + G_TYPE_FROM_INTERFACE (iface), + G_SIGNAL_RUN_LAST, + G_STRUCT_OFFSET (Systemd1UnitIface, handle_ref), + g_signal_accumulator_true_handled, + NULL, + g_cclosure_marshal_generic, + G_TYPE_BOOLEAN, + 1, + G_TYPE_DBUS_METHOD_INVOCATION); + + /** + * Systemd1Unit::handle-unref: + * @object: A #Systemd1Unit. + * @invocation: A #GDBusMethodInvocation. + * + * Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-freedesktop-systemd1-Unit.Unref">Unref()</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 systemd1_unit_complete_unref() 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: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. + */ + g_signal_new ("handle-unref", + G_TYPE_FROM_INTERFACE (iface), + G_SIGNAL_RUN_LAST, + G_STRUCT_OFFSET (Systemd1UnitIface, handle_unref), + g_signal_accumulator_true_handled, + NULL, + g_cclosure_marshal_generic, + G_TYPE_BOOLEAN, + 1, + G_TYPE_DBUS_METHOD_INVOCATION); + + /** + * Systemd1Unit::handle-clean: + * @object: A #Systemd1Unit. + * @invocation: A #GDBusMethodInvocation. + * @arg_mask: Argument passed by remote caller. + * + * Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-freedesktop-systemd1-Unit.Clean">Clean()</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 systemd1_unit_complete_clean() 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: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. + */ + g_signal_new ("handle-clean", + G_TYPE_FROM_INTERFACE (iface), + G_SIGNAL_RUN_LAST, + G_STRUCT_OFFSET (Systemd1UnitIface, handle_clean), + g_signal_accumulator_true_handled, + NULL, + g_cclosure_marshal_generic, + G_TYPE_BOOLEAN, + 2, + G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV); + + /** + * Systemd1Unit::handle-freeze: + * @object: A #Systemd1Unit. + * @invocation: A #GDBusMethodInvocation. + * + * Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-freedesktop-systemd1-Unit.Freeze">Freeze()</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 systemd1_unit_complete_freeze() 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: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. + */ + g_signal_new ("handle-freeze", + G_TYPE_FROM_INTERFACE (iface), + G_SIGNAL_RUN_LAST, + G_STRUCT_OFFSET (Systemd1UnitIface, handle_freeze), + g_signal_accumulator_true_handled, + NULL, + g_cclosure_marshal_generic, + G_TYPE_BOOLEAN, + 1, + G_TYPE_DBUS_METHOD_INVOCATION); + + /** + * Systemd1Unit::handle-thaw: + * @object: A #Systemd1Unit. + * @invocation: A #GDBusMethodInvocation. + * + * Signal emitted when a remote caller is invoking the <link linkend="gdbus-method-org-freedesktop-systemd1-Unit.Thaw">Thaw()</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 systemd1_unit_complete_thaw() 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: %G_DBUS_METHOD_INVOCATION_HANDLED or %TRUE if the invocation was handled, %G_DBUS_METHOD_INVOCATION_UNHANDLED or %FALSE to let other signal handlers run. + */ + g_signal_new ("handle-thaw", + G_TYPE_FROM_INTERFACE (iface), + G_SIGNAL_RUN_LAST, + G_STRUCT_OFFSET (Systemd1UnitIface, handle_thaw), + g_signal_accumulator_true_handled, + NULL, + g_cclosure_marshal_generic, + G_TYPE_BOOLEAN, + 1, + G_TYPE_DBUS_METHOD_INVOCATION); + + /* GObject properties for D-Bus properties: */ + /** + * Systemd1Unit:id: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.Id">"Id"</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", "Id", "Id", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Unit:names: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.Names">"Names"</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 ("names", "Names", "Names", G_TYPE_STRV, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Unit:following: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.Following">"Following"</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 ("following", "Following", "Following", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Unit:requires: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.Requires">"Requires"</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 ("requires", "Requires", "Requires", G_TYPE_STRV, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Unit:requisite: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.Requisite">"Requisite"</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 ("requisite", "Requisite", "Requisite", G_TYPE_STRV, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Unit:wants: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.Wants">"Wants"</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 ("wants", "Wants", "Wants", G_TYPE_STRV, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Unit:binds-to: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.BindsTo">"BindsTo"</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 ("binds-to", "BindsTo", "BindsTo", G_TYPE_STRV, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Unit:part-of: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.PartOf">"PartOf"</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 ("part-of", "PartOf", "PartOf", G_TYPE_STRV, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Unit:required-by: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.RequiredBy">"RequiredBy"</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 ("required-by", "RequiredBy", "RequiredBy", G_TYPE_STRV, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Unit:requisite-of: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.RequisiteOf">"RequisiteOf"</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 ("requisite-of", "RequisiteOf", "RequisiteOf", G_TYPE_STRV, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Unit:wanted-by: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.WantedBy">"WantedBy"</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 ("wanted-by", "WantedBy", "WantedBy", G_TYPE_STRV, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Unit:bound-by: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.BoundBy">"BoundBy"</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 ("bound-by", "BoundBy", "BoundBy", G_TYPE_STRV, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Unit:consists-of: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.ConsistsOf">"ConsistsOf"</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 ("consists-of", "ConsistsOf", "ConsistsOf", G_TYPE_STRV, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Unit:conflicts: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.Conflicts">"Conflicts"</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 ("conflicts", "Conflicts", "Conflicts", G_TYPE_STRV, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Unit:conflicted-by: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.ConflictedBy">"ConflictedBy"</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 ("conflicted-by", "ConflictedBy", "ConflictedBy", G_TYPE_STRV, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Unit:before: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.Before">"Before"</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 ("before", "Before", "Before", G_TYPE_STRV, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Unit:after: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.After">"After"</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 ("after", "After", "After", G_TYPE_STRV, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Unit:on-failure: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.OnFailure">"OnFailure"</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 ("on-failure", "OnFailure", "OnFailure", G_TYPE_STRV, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Unit:on-failure-of: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.OnFailureOf">"OnFailureOf"</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 ("on-failure-of", "OnFailureOf", "OnFailureOf", G_TYPE_STRV, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Unit:on-success: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.OnSuccess">"OnSuccess"</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 ("on-success", "OnSuccess", "OnSuccess", G_TYPE_STRV, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Unit:on-success-of: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.OnSuccessOf">"OnSuccessOf"</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 ("on-success-of", "OnSuccessOf", "OnSuccessOf", G_TYPE_STRV, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Unit:triggers: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.Triggers">"Triggers"</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 ("triggers", "Triggers", "Triggers", G_TYPE_STRV, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Unit:triggered-by: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.TriggeredBy">"TriggeredBy"</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 ("triggered-by", "TriggeredBy", "TriggeredBy", G_TYPE_STRV, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Unit:propagates-reload-to: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.PropagatesReloadTo">"PropagatesReloadTo"</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 ("propagates-reload-to", "PropagatesReloadTo", "PropagatesReloadTo", G_TYPE_STRV, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Unit:reload-propagated-from: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.ReloadPropagatedFrom">"ReloadPropagatedFrom"</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 ("reload-propagated-from", "ReloadPropagatedFrom", "ReloadPropagatedFrom", G_TYPE_STRV, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Unit:propagates-stop-to: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.PropagatesStopTo">"PropagatesStopTo"</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 ("propagates-stop-to", "PropagatesStopTo", "PropagatesStopTo", G_TYPE_STRV, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Unit:stop-propagated-from: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.StopPropagatedFrom">"StopPropagatedFrom"</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 ("stop-propagated-from", "StopPropagatedFrom", "StopPropagatedFrom", G_TYPE_STRV, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Unit:joins-namespace-of: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.JoinsNamespaceOf">"JoinsNamespaceOf"</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 ("joins-namespace-of", "JoinsNamespaceOf", "JoinsNamespaceOf", G_TYPE_STRV, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Unit:slice-of: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.SliceOf">"SliceOf"</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 ("slice-of", "SliceOf", "SliceOf", G_TYPE_STRV, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Unit:requires-mounts-for: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.RequiresMountsFor">"RequiresMountsFor"</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 ("requires-mounts-for", "RequiresMountsFor", "RequiresMountsFor", G_TYPE_STRV, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Unit:documentation: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.Documentation">"Documentation"</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 ("documentation", "Documentation", "Documentation", G_TYPE_STRV, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Unit:description: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.Description">"Description"</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 ("description", "Description", "Description", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Unit:load-state: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.LoadState">"LoadState"</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 ("load-state", "LoadState", "LoadState", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Unit:active-state: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.ActiveState">"ActiveState"</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 ("active-state", "ActiveState", "ActiveState", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Unit:freezer-state: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.FreezerState">"FreezerState"</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 ("freezer-state", "FreezerState", "FreezerState", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Unit:sub-state: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.SubState">"SubState"</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 ("sub-state", "SubState", "SubState", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Unit:fragment-path: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.FragmentPath">"FragmentPath"</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 ("fragment-path", "FragmentPath", "FragmentPath", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Unit:source-path: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.SourcePath">"SourcePath"</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 ("source-path", "SourcePath", "SourcePath", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Unit:drop-in-paths: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.DropInPaths">"DropInPaths"</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 ("drop-in-paths", "DropInPaths", "DropInPaths", G_TYPE_STRV, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Unit:unit-file-state: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.UnitFileState">"UnitFileState"</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 ("unit-file-state", "UnitFileState", "UnitFileState", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Unit:unit-file-preset: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.UnitFilePreset">"UnitFilePreset"</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 ("unit-file-preset", "UnitFilePreset", "UnitFilePreset", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Unit:state-change-timestamp: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.StateChangeTimestamp">"StateChangeTimestamp"</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 ("state-change-timestamp", "StateChangeTimestamp", "StateChangeTimestamp", 0, G_MAXUINT64, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Unit:state-change-timestamp-monotonic: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.StateChangeTimestampMonotonic">"StateChangeTimestampMonotonic"</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 ("state-change-timestamp-monotonic", "StateChangeTimestampMonotonic", "StateChangeTimestampMonotonic", 0, G_MAXUINT64, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Unit:inactive-exit-timestamp: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.InactiveExitTimestamp">"InactiveExitTimestamp"</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 ("inactive-exit-timestamp", "InactiveExitTimestamp", "InactiveExitTimestamp", 0, G_MAXUINT64, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Unit:inactive-exit-timestamp-monotonic: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.InactiveExitTimestampMonotonic">"InactiveExitTimestampMonotonic"</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 ("inactive-exit-timestamp-monotonic", "InactiveExitTimestampMonotonic", "InactiveExitTimestampMonotonic", 0, G_MAXUINT64, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Unit:active-enter-timestamp: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.ActiveEnterTimestamp">"ActiveEnterTimestamp"</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 ("active-enter-timestamp", "ActiveEnterTimestamp", "ActiveEnterTimestamp", 0, G_MAXUINT64, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Unit:active-enter-timestamp-monotonic: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.ActiveEnterTimestampMonotonic">"ActiveEnterTimestampMonotonic"</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 ("active-enter-timestamp-monotonic", "ActiveEnterTimestampMonotonic", "ActiveEnterTimestampMonotonic", 0, G_MAXUINT64, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Unit:active-exit-timestamp: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.ActiveExitTimestamp">"ActiveExitTimestamp"</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 ("active-exit-timestamp", "ActiveExitTimestamp", "ActiveExitTimestamp", 0, G_MAXUINT64, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Unit:active-exit-timestamp-monotonic: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.ActiveExitTimestampMonotonic">"ActiveExitTimestampMonotonic"</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 ("active-exit-timestamp-monotonic", "ActiveExitTimestampMonotonic", "ActiveExitTimestampMonotonic", 0, G_MAXUINT64, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Unit:inactive-enter-timestamp: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.InactiveEnterTimestamp">"InactiveEnterTimestamp"</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 ("inactive-enter-timestamp", "InactiveEnterTimestamp", "InactiveEnterTimestamp", 0, G_MAXUINT64, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Unit:inactive-enter-timestamp-monotonic: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.InactiveEnterTimestampMonotonic">"InactiveEnterTimestampMonotonic"</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 ("inactive-enter-timestamp-monotonic", "InactiveEnterTimestampMonotonic", "InactiveEnterTimestampMonotonic", 0, G_MAXUINT64, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Unit:can-start: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.CanStart">"CanStart"</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 ("can-start", "CanStart", "CanStart", FALSE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Unit:can-stop: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.CanStop">"CanStop"</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 ("can-stop", "CanStop", "CanStop", FALSE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Unit:can-reload: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.CanReload">"CanReload"</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 ("can-reload", "CanReload", "CanReload", FALSE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Unit:can-isolate: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.CanIsolate">"CanIsolate"</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 ("can-isolate", "CanIsolate", "CanIsolate", FALSE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Unit:can-clean: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.CanClean">"CanClean"</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 ("can-clean", "CanClean", "CanClean", G_TYPE_STRV, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Unit:can-freeze: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.CanFreeze">"CanFreeze"</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 ("can-freeze", "CanFreeze", "CanFreeze", FALSE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Unit:job: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.Job">"Job"</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_variant ("job", "Job", "Job", G_VARIANT_TYPE ("(uo)"), NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Unit:stop-when-unneeded: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.StopWhenUnneeded">"StopWhenUnneeded"</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 ("stop-when-unneeded", "StopWhenUnneeded", "StopWhenUnneeded", FALSE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Unit:refuse-manual-start: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.RefuseManualStart">"RefuseManualStart"</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 ("refuse-manual-start", "RefuseManualStart", "RefuseManualStart", FALSE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Unit:refuse-manual-stop: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.RefuseManualStop">"RefuseManualStop"</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 ("refuse-manual-stop", "RefuseManualStop", "RefuseManualStop", FALSE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Unit:allow-isolate: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.AllowIsolate">"AllowIsolate"</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 ("allow-isolate", "AllowIsolate", "AllowIsolate", FALSE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Unit:default-dependencies: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.DefaultDependencies">"DefaultDependencies"</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 ("default-dependencies", "DefaultDependencies", "DefaultDependencies", FALSE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Unit:on-success-job-mode: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.OnSuccessJobMode">"OnSuccessJobMode"</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 ("on-success-job-mode", "OnSuccessJobMode", "OnSuccessJobMode", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Unit:on-failure-job-mode: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.OnFailureJobMode">"OnFailureJobMode"</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 ("on-failure-job-mode", "OnFailureJobMode", "OnFailureJobMode", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Unit:ignore-on-isolate: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.IgnoreOnIsolate">"IgnoreOnIsolate"</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 ("ignore-on-isolate", "IgnoreOnIsolate", "IgnoreOnIsolate", FALSE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Unit:need-daemon-reload: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.NeedDaemonReload">"NeedDaemonReload"</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 ("need-daemon-reload", "NeedDaemonReload", "NeedDaemonReload", FALSE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Unit:markers: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.Markers">"Markers"</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 ("markers", "Markers", "Markers", G_TYPE_STRV, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Unit:job-timeout-usec: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.JobTimeoutUSec">"JobTimeoutUSec"</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 ("job-timeout-usec", "JobTimeoutUSec", "JobTimeoutUSec", 0, G_MAXUINT64, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Unit:job-running-timeout-usec: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.JobRunningTimeoutUSec">"JobRunningTimeoutUSec"</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 ("job-running-timeout-usec", "JobRunningTimeoutUSec", "JobRunningTimeoutUSec", 0, G_MAXUINT64, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Unit:job-timeout-action: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.JobTimeoutAction">"JobTimeoutAction"</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-timeout-action", "JobTimeoutAction", "JobTimeoutAction", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Unit:job-timeout-reboot-argument: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.JobTimeoutRebootArgument">"JobTimeoutRebootArgument"</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-timeout-reboot-argument", "JobTimeoutRebootArgument", "JobTimeoutRebootArgument", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Unit:condition-result: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.ConditionResult">"ConditionResult"</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 ("condition-result", "ConditionResult", "ConditionResult", FALSE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Unit:assert-result: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.AssertResult">"AssertResult"</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 ("assert-result", "AssertResult", "AssertResult", FALSE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Unit:condition-timestamp: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.ConditionTimestamp">"ConditionTimestamp"</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 ("condition-timestamp", "ConditionTimestamp", "ConditionTimestamp", 0, G_MAXUINT64, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Unit:condition-timestamp-monotonic: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.ConditionTimestampMonotonic">"ConditionTimestampMonotonic"</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 ("condition-timestamp-monotonic", "ConditionTimestampMonotonic", "ConditionTimestampMonotonic", 0, G_MAXUINT64, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Unit:assert-timestamp: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.AssertTimestamp">"AssertTimestamp"</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 ("assert-timestamp", "AssertTimestamp", "AssertTimestamp", 0, G_MAXUINT64, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Unit:assert-timestamp-monotonic: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.AssertTimestampMonotonic">"AssertTimestampMonotonic"</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 ("assert-timestamp-monotonic", "AssertTimestampMonotonic", "AssertTimestampMonotonic", 0, G_MAXUINT64, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Unit:conditions: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.Conditions">"Conditions"</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_variant ("conditions", "Conditions", "Conditions", G_VARIANT_TYPE ("a(sbbsi)"), NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Unit:asserts: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.Asserts">"Asserts"</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_variant ("asserts", "Asserts", "Asserts", G_VARIANT_TYPE ("a(sbbsi)"), NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Unit:load-error: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.LoadError">"LoadError"</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_variant ("load-error", "LoadError", "LoadError", G_VARIANT_TYPE ("(ss)"), NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Unit:transient: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.Transient">"Transient"</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 ("transient", "Transient", "Transient", FALSE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Unit:perpetual: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.Perpetual">"Perpetual"</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 ("perpetual", "Perpetual", "Perpetual", FALSE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Unit:start-limit-interval-usec: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.StartLimitIntervalUSec">"StartLimitIntervalUSec"</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 ("start-limit-interval-usec", "StartLimitIntervalUSec", "StartLimitIntervalUSec", 0, G_MAXUINT64, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Unit:start-limit-burst: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.StartLimitBurst">"StartLimitBurst"</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 ("start-limit-burst", "StartLimitBurst", "StartLimitBurst", 0, G_MAXUINT32, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Unit:start-limit-action: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.StartLimitAction">"StartLimitAction"</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 ("start-limit-action", "StartLimitAction", "StartLimitAction", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Unit:failure-action: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.FailureAction">"FailureAction"</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 ("failure-action", "FailureAction", "FailureAction", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Unit:failure-action-exit-status: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.FailureActionExitStatus">"FailureActionExitStatus"</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 ("failure-action-exit-status", "FailureActionExitStatus", "FailureActionExitStatus", G_MININT32, G_MAXINT32, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Unit:success-action: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.SuccessAction">"SuccessAction"</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 ("success-action", "SuccessAction", "SuccessAction", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Unit:success-action-exit-status: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.SuccessActionExitStatus">"SuccessActionExitStatus"</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 ("success-action-exit-status", "SuccessActionExitStatus", "SuccessActionExitStatus", G_MININT32, G_MAXINT32, 0, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Unit:reboot-argument: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.RebootArgument">"RebootArgument"</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 ("reboot-argument", "RebootArgument", "RebootArgument", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Unit:invocation-id: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.InvocationID">"InvocationID"</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 ("invocation-id", "InvocationID", "InvocationID", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Unit:collect-mode: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.CollectMode">"CollectMode"</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 ("collect-mode", "CollectMode", "CollectMode", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); + /** + * Systemd1Unit:refs: + * + * Represents the D-Bus property <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.Refs">"Refs"</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 ("refs", "Refs", "Refs", G_TYPE_STRV, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); +} + +/** + * systemd1_unit_get_id: (skip) + * @object: A #Systemd1Unit. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.Id">"Id"</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. + * + * 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 systemd1_unit_dup_id() if on another thread. + * + * Returns: (transfer none) (nullable): The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object. + */ +const gchar * +systemd1_unit_get_id (Systemd1Unit *object) +{ + return SYSTEMD1_UNIT_GET_IFACE (object)->get_id (object); +} + +/** + * systemd1_unit_dup_id: (skip) + * @object: A #Systemd1Unit. + * + * Gets a copy of the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.Id">"Id"</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) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_free(). + */ +gchar * +systemd1_unit_dup_id (Systemd1Unit *object) +{ + gchar *value; + g_object_get (G_OBJECT (object), "id", &value, NULL); + return value; +} + +/** + * systemd1_unit_set_id: (skip) + * @object: A #Systemd1Unit. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.Id">"Id"</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 +systemd1_unit_set_id (Systemd1Unit *object, const gchar *value) +{ + g_object_set (G_OBJECT (object), "id", value, NULL); +} + +/** + * systemd1_unit_get_names: (skip) + * @object: A #Systemd1Unit. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.Names">"Names"</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. + * + * 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 systemd1_unit_dup_names() if on another thread. + * + * Returns: (transfer none) (nullable): The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object. + */ +const gchar *const * +systemd1_unit_get_names (Systemd1Unit *object) +{ + return SYSTEMD1_UNIT_GET_IFACE (object)->get_names (object); +} + +/** + * systemd1_unit_dup_names: (skip) + * @object: A #Systemd1Unit. + * + * Gets a copy of the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.Names">"Names"</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) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_strfreev(). + */ +gchar ** +systemd1_unit_dup_names (Systemd1Unit *object) +{ + gchar **value; + g_object_get (G_OBJECT (object), "names", &value, NULL); + return value; +} + +/** + * systemd1_unit_set_names: (skip) + * @object: A #Systemd1Unit. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.Names">"Names"</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 +systemd1_unit_set_names (Systemd1Unit *object, const gchar *const *value) +{ + g_object_set (G_OBJECT (object), "names", value, NULL); +} + +/** + * systemd1_unit_get_following: (skip) + * @object: A #Systemd1Unit. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.Following">"Following"</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. + * + * 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 systemd1_unit_dup_following() if on another thread. + * + * Returns: (transfer none) (nullable): The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object. + */ +const gchar * +systemd1_unit_get_following (Systemd1Unit *object) +{ + return SYSTEMD1_UNIT_GET_IFACE (object)->get_following (object); +} + +/** + * systemd1_unit_dup_following: (skip) + * @object: A #Systemd1Unit. + * + * Gets a copy of the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.Following">"Following"</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) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_free(). + */ +gchar * +systemd1_unit_dup_following (Systemd1Unit *object) +{ + gchar *value; + g_object_get (G_OBJECT (object), "following", &value, NULL); + return value; +} + +/** + * systemd1_unit_set_following: (skip) + * @object: A #Systemd1Unit. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.Following">"Following"</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 +systemd1_unit_set_following (Systemd1Unit *object, const gchar *value) +{ + g_object_set (G_OBJECT (object), "following", value, NULL); +} + +/** + * systemd1_unit_get_requires: (skip) + * @object: A #Systemd1Unit. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.Requires">"Requires"</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. + * + * 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 systemd1_unit_dup_requires() if on another thread. + * + * Returns: (transfer none) (nullable): The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object. + */ +const gchar *const * +systemd1_unit_get_requires (Systemd1Unit *object) +{ + return SYSTEMD1_UNIT_GET_IFACE (object)->get_requires (object); +} + +/** + * systemd1_unit_dup_requires: (skip) + * @object: A #Systemd1Unit. + * + * Gets a copy of the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.Requires">"Requires"</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) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_strfreev(). + */ +gchar ** +systemd1_unit_dup_requires (Systemd1Unit *object) +{ + gchar **value; + g_object_get (G_OBJECT (object), "requires", &value, NULL); + return value; +} + +/** + * systemd1_unit_set_requires: (skip) + * @object: A #Systemd1Unit. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.Requires">"Requires"</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 +systemd1_unit_set_requires (Systemd1Unit *object, const gchar *const *value) +{ + g_object_set (G_OBJECT (object), "requires", value, NULL); +} + +/** + * systemd1_unit_get_requisite: (skip) + * @object: A #Systemd1Unit. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.Requisite">"Requisite"</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. + * + * 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 systemd1_unit_dup_requisite() if on another thread. + * + * Returns: (transfer none) (nullable): The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object. + */ +const gchar *const * +systemd1_unit_get_requisite (Systemd1Unit *object) +{ + return SYSTEMD1_UNIT_GET_IFACE (object)->get_requisite (object); +} + +/** + * systemd1_unit_dup_requisite: (skip) + * @object: A #Systemd1Unit. + * + * Gets a copy of the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.Requisite">"Requisite"</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) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_strfreev(). + */ +gchar ** +systemd1_unit_dup_requisite (Systemd1Unit *object) +{ + gchar **value; + g_object_get (G_OBJECT (object), "requisite", &value, NULL); + return value; +} + +/** + * systemd1_unit_set_requisite: (skip) + * @object: A #Systemd1Unit. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.Requisite">"Requisite"</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 +systemd1_unit_set_requisite (Systemd1Unit *object, const gchar *const *value) +{ + g_object_set (G_OBJECT (object), "requisite", value, NULL); +} + +/** + * systemd1_unit_get_wants: (skip) + * @object: A #Systemd1Unit. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.Wants">"Wants"</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. + * + * 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 systemd1_unit_dup_wants() if on another thread. + * + * Returns: (transfer none) (nullable): The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object. + */ +const gchar *const * +systemd1_unit_get_wants (Systemd1Unit *object) +{ + return SYSTEMD1_UNIT_GET_IFACE (object)->get_wants (object); +} + +/** + * systemd1_unit_dup_wants: (skip) + * @object: A #Systemd1Unit. + * + * Gets a copy of the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.Wants">"Wants"</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) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_strfreev(). + */ +gchar ** +systemd1_unit_dup_wants (Systemd1Unit *object) +{ + gchar **value; + g_object_get (G_OBJECT (object), "wants", &value, NULL); + return value; +} + +/** + * systemd1_unit_set_wants: (skip) + * @object: A #Systemd1Unit. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.Wants">"Wants"</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 +systemd1_unit_set_wants (Systemd1Unit *object, const gchar *const *value) +{ + g_object_set (G_OBJECT (object), "wants", value, NULL); +} + +/** + * systemd1_unit_get_binds_to: (skip) + * @object: A #Systemd1Unit. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.BindsTo">"BindsTo"</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. + * + * 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 systemd1_unit_dup_binds_to() if on another thread. + * + * Returns: (transfer none) (nullable): The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object. + */ +const gchar *const * +systemd1_unit_get_binds_to (Systemd1Unit *object) +{ + return SYSTEMD1_UNIT_GET_IFACE (object)->get_binds_to (object); +} + +/** + * systemd1_unit_dup_binds_to: (skip) + * @object: A #Systemd1Unit. + * + * Gets a copy of the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.BindsTo">"BindsTo"</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) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_strfreev(). + */ +gchar ** +systemd1_unit_dup_binds_to (Systemd1Unit *object) +{ + gchar **value; + g_object_get (G_OBJECT (object), "binds-to", &value, NULL); + return value; +} + +/** + * systemd1_unit_set_binds_to: (skip) + * @object: A #Systemd1Unit. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.BindsTo">"BindsTo"</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 +systemd1_unit_set_binds_to (Systemd1Unit *object, const gchar *const *value) +{ + g_object_set (G_OBJECT (object), "binds-to", value, NULL); +} + +/** + * systemd1_unit_get_part_of: (skip) + * @object: A #Systemd1Unit. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.PartOf">"PartOf"</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. + * + * 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 systemd1_unit_dup_part_of() if on another thread. + * + * Returns: (transfer none) (nullable): The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object. + */ +const gchar *const * +systemd1_unit_get_part_of (Systemd1Unit *object) +{ + return SYSTEMD1_UNIT_GET_IFACE (object)->get_part_of (object); +} + +/** + * systemd1_unit_dup_part_of: (skip) + * @object: A #Systemd1Unit. + * + * Gets a copy of the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.PartOf">"PartOf"</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) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_strfreev(). + */ +gchar ** +systemd1_unit_dup_part_of (Systemd1Unit *object) +{ + gchar **value; + g_object_get (G_OBJECT (object), "part-of", &value, NULL); + return value; +} + +/** + * systemd1_unit_set_part_of: (skip) + * @object: A #Systemd1Unit. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.PartOf">"PartOf"</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 +systemd1_unit_set_part_of (Systemd1Unit *object, const gchar *const *value) +{ + g_object_set (G_OBJECT (object), "part-of", value, NULL); +} + +/** + * systemd1_unit_get_required_by: (skip) + * @object: A #Systemd1Unit. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.RequiredBy">"RequiredBy"</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. + * + * 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 systemd1_unit_dup_required_by() if on another thread. + * + * Returns: (transfer none) (nullable): The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object. + */ +const gchar *const * +systemd1_unit_get_required_by (Systemd1Unit *object) +{ + return SYSTEMD1_UNIT_GET_IFACE (object)->get_required_by (object); +} + +/** + * systemd1_unit_dup_required_by: (skip) + * @object: A #Systemd1Unit. + * + * Gets a copy of the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.RequiredBy">"RequiredBy"</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) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_strfreev(). + */ +gchar ** +systemd1_unit_dup_required_by (Systemd1Unit *object) +{ + gchar **value; + g_object_get (G_OBJECT (object), "required-by", &value, NULL); + return value; +} + +/** + * systemd1_unit_set_required_by: (skip) + * @object: A #Systemd1Unit. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.RequiredBy">"RequiredBy"</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 +systemd1_unit_set_required_by (Systemd1Unit *object, const gchar *const *value) +{ + g_object_set (G_OBJECT (object), "required-by", value, NULL); +} + +/** + * systemd1_unit_get_requisite_of: (skip) + * @object: A #Systemd1Unit. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.RequisiteOf">"RequisiteOf"</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. + * + * 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 systemd1_unit_dup_requisite_of() if on another thread. + * + * Returns: (transfer none) (nullable): The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object. + */ +const gchar *const * +systemd1_unit_get_requisite_of (Systemd1Unit *object) +{ + return SYSTEMD1_UNIT_GET_IFACE (object)->get_requisite_of (object); +} + +/** + * systemd1_unit_dup_requisite_of: (skip) + * @object: A #Systemd1Unit. + * + * Gets a copy of the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.RequisiteOf">"RequisiteOf"</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) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_strfreev(). + */ +gchar ** +systemd1_unit_dup_requisite_of (Systemd1Unit *object) +{ + gchar **value; + g_object_get (G_OBJECT (object), "requisite-of", &value, NULL); + return value; +} + +/** + * systemd1_unit_set_requisite_of: (skip) + * @object: A #Systemd1Unit. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.RequisiteOf">"RequisiteOf"</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 +systemd1_unit_set_requisite_of (Systemd1Unit *object, const gchar *const *value) +{ + g_object_set (G_OBJECT (object), "requisite-of", value, NULL); +} + +/** + * systemd1_unit_get_wanted_by: (skip) + * @object: A #Systemd1Unit. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.WantedBy">"WantedBy"</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. + * + * 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 systemd1_unit_dup_wanted_by() if on another thread. + * + * Returns: (transfer none) (nullable): The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object. + */ +const gchar *const * +systemd1_unit_get_wanted_by (Systemd1Unit *object) +{ + return SYSTEMD1_UNIT_GET_IFACE (object)->get_wanted_by (object); +} + +/** + * systemd1_unit_dup_wanted_by: (skip) + * @object: A #Systemd1Unit. + * + * Gets a copy of the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.WantedBy">"WantedBy"</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) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_strfreev(). + */ +gchar ** +systemd1_unit_dup_wanted_by (Systemd1Unit *object) +{ + gchar **value; + g_object_get (G_OBJECT (object), "wanted-by", &value, NULL); + return value; +} + +/** + * systemd1_unit_set_wanted_by: (skip) + * @object: A #Systemd1Unit. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.WantedBy">"WantedBy"</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 +systemd1_unit_set_wanted_by (Systemd1Unit *object, const gchar *const *value) +{ + g_object_set (G_OBJECT (object), "wanted-by", value, NULL); +} + +/** + * systemd1_unit_get_bound_by: (skip) + * @object: A #Systemd1Unit. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.BoundBy">"BoundBy"</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. + * + * 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 systemd1_unit_dup_bound_by() if on another thread. + * + * Returns: (transfer none) (nullable): The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object. + */ +const gchar *const * +systemd1_unit_get_bound_by (Systemd1Unit *object) +{ + return SYSTEMD1_UNIT_GET_IFACE (object)->get_bound_by (object); +} + +/** + * systemd1_unit_dup_bound_by: (skip) + * @object: A #Systemd1Unit. + * + * Gets a copy of the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.BoundBy">"BoundBy"</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) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_strfreev(). + */ +gchar ** +systemd1_unit_dup_bound_by (Systemd1Unit *object) +{ + gchar **value; + g_object_get (G_OBJECT (object), "bound-by", &value, NULL); + return value; +} + +/** + * systemd1_unit_set_bound_by: (skip) + * @object: A #Systemd1Unit. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.BoundBy">"BoundBy"</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 +systemd1_unit_set_bound_by (Systemd1Unit *object, const gchar *const *value) +{ + g_object_set (G_OBJECT (object), "bound-by", value, NULL); +} + +/** + * systemd1_unit_get_consists_of: (skip) + * @object: A #Systemd1Unit. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.ConsistsOf">"ConsistsOf"</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. + * + * 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 systemd1_unit_dup_consists_of() if on another thread. + * + * Returns: (transfer none) (nullable): The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object. + */ +const gchar *const * +systemd1_unit_get_consists_of (Systemd1Unit *object) +{ + return SYSTEMD1_UNIT_GET_IFACE (object)->get_consists_of (object); +} + +/** + * systemd1_unit_dup_consists_of: (skip) + * @object: A #Systemd1Unit. + * + * Gets a copy of the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.ConsistsOf">"ConsistsOf"</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) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_strfreev(). + */ +gchar ** +systemd1_unit_dup_consists_of (Systemd1Unit *object) +{ + gchar **value; + g_object_get (G_OBJECT (object), "consists-of", &value, NULL); + return value; +} + +/** + * systemd1_unit_set_consists_of: (skip) + * @object: A #Systemd1Unit. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.ConsistsOf">"ConsistsOf"</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 +systemd1_unit_set_consists_of (Systemd1Unit *object, const gchar *const *value) +{ + g_object_set (G_OBJECT (object), "consists-of", value, NULL); +} + +/** + * systemd1_unit_get_conflicts: (skip) + * @object: A #Systemd1Unit. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.Conflicts">"Conflicts"</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. + * + * 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 systemd1_unit_dup_conflicts() if on another thread. + * + * Returns: (transfer none) (nullable): The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object. + */ +const gchar *const * +systemd1_unit_get_conflicts (Systemd1Unit *object) +{ + return SYSTEMD1_UNIT_GET_IFACE (object)->get_conflicts (object); +} + +/** + * systemd1_unit_dup_conflicts: (skip) + * @object: A #Systemd1Unit. + * + * Gets a copy of the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.Conflicts">"Conflicts"</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) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_strfreev(). + */ +gchar ** +systemd1_unit_dup_conflicts (Systemd1Unit *object) +{ + gchar **value; + g_object_get (G_OBJECT (object), "conflicts", &value, NULL); + return value; +} + +/** + * systemd1_unit_set_conflicts: (skip) + * @object: A #Systemd1Unit. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.Conflicts">"Conflicts"</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 +systemd1_unit_set_conflicts (Systemd1Unit *object, const gchar *const *value) +{ + g_object_set (G_OBJECT (object), "conflicts", value, NULL); +} + +/** + * systemd1_unit_get_conflicted_by: (skip) + * @object: A #Systemd1Unit. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.ConflictedBy">"ConflictedBy"</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. + * + * 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 systemd1_unit_dup_conflicted_by() if on another thread. + * + * Returns: (transfer none) (nullable): The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object. + */ +const gchar *const * +systemd1_unit_get_conflicted_by (Systemd1Unit *object) +{ + return SYSTEMD1_UNIT_GET_IFACE (object)->get_conflicted_by (object); +} + +/** + * systemd1_unit_dup_conflicted_by: (skip) + * @object: A #Systemd1Unit. + * + * Gets a copy of the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.ConflictedBy">"ConflictedBy"</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) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_strfreev(). + */ +gchar ** +systemd1_unit_dup_conflicted_by (Systemd1Unit *object) +{ + gchar **value; + g_object_get (G_OBJECT (object), "conflicted-by", &value, NULL); + return value; +} + +/** + * systemd1_unit_set_conflicted_by: (skip) + * @object: A #Systemd1Unit. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.ConflictedBy">"ConflictedBy"</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 +systemd1_unit_set_conflicted_by (Systemd1Unit *object, const gchar *const *value) +{ + g_object_set (G_OBJECT (object), "conflicted-by", value, NULL); +} + +/** + * systemd1_unit_get_before: (skip) + * @object: A #Systemd1Unit. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.Before">"Before"</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. + * + * 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 systemd1_unit_dup_before() if on another thread. + * + * Returns: (transfer none) (nullable): The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object. + */ +const gchar *const * +systemd1_unit_get_before (Systemd1Unit *object) +{ + return SYSTEMD1_UNIT_GET_IFACE (object)->get_before (object); +} + +/** + * systemd1_unit_dup_before: (skip) + * @object: A #Systemd1Unit. + * + * Gets a copy of the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.Before">"Before"</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) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_strfreev(). + */ +gchar ** +systemd1_unit_dup_before (Systemd1Unit *object) +{ + gchar **value; + g_object_get (G_OBJECT (object), "before", &value, NULL); + return value; +} + +/** + * systemd1_unit_set_before: (skip) + * @object: A #Systemd1Unit. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.Before">"Before"</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 +systemd1_unit_set_before (Systemd1Unit *object, const gchar *const *value) +{ + g_object_set (G_OBJECT (object), "before", value, NULL); +} + +/** + * systemd1_unit_get_after: (skip) + * @object: A #Systemd1Unit. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.After">"After"</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. + * + * 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 systemd1_unit_dup_after() if on another thread. + * + * Returns: (transfer none) (nullable): The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object. + */ +const gchar *const * +systemd1_unit_get_after (Systemd1Unit *object) +{ + return SYSTEMD1_UNIT_GET_IFACE (object)->get_after (object); +} + +/** + * systemd1_unit_dup_after: (skip) + * @object: A #Systemd1Unit. + * + * Gets a copy of the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.After">"After"</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) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_strfreev(). + */ +gchar ** +systemd1_unit_dup_after (Systemd1Unit *object) +{ + gchar **value; + g_object_get (G_OBJECT (object), "after", &value, NULL); + return value; +} + +/** + * systemd1_unit_set_after: (skip) + * @object: A #Systemd1Unit. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.After">"After"</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 +systemd1_unit_set_after (Systemd1Unit *object, const gchar *const *value) +{ + g_object_set (G_OBJECT (object), "after", value, NULL); +} + +/** + * systemd1_unit_get_on_failure: (skip) + * @object: A #Systemd1Unit. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.OnFailure">"OnFailure"</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. + * + * 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 systemd1_unit_dup_on_failure() if on another thread. + * + * Returns: (transfer none) (nullable): The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object. + */ +const gchar *const * +systemd1_unit_get_on_failure (Systemd1Unit *object) +{ + return SYSTEMD1_UNIT_GET_IFACE (object)->get_on_failure (object); +} + +/** + * systemd1_unit_dup_on_failure: (skip) + * @object: A #Systemd1Unit. + * + * Gets a copy of the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.OnFailure">"OnFailure"</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) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_strfreev(). + */ +gchar ** +systemd1_unit_dup_on_failure (Systemd1Unit *object) +{ + gchar **value; + g_object_get (G_OBJECT (object), "on-failure", &value, NULL); + return value; +} + +/** + * systemd1_unit_set_on_failure: (skip) + * @object: A #Systemd1Unit. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.OnFailure">"OnFailure"</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 +systemd1_unit_set_on_failure (Systemd1Unit *object, const gchar *const *value) +{ + g_object_set (G_OBJECT (object), "on-failure", value, NULL); +} + +/** + * systemd1_unit_get_on_failure_of: (skip) + * @object: A #Systemd1Unit. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.OnFailureOf">"OnFailureOf"</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. + * + * 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 systemd1_unit_dup_on_failure_of() if on another thread. + * + * Returns: (transfer none) (nullable): The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object. + */ +const gchar *const * +systemd1_unit_get_on_failure_of (Systemd1Unit *object) +{ + return SYSTEMD1_UNIT_GET_IFACE (object)->get_on_failure_of (object); +} + +/** + * systemd1_unit_dup_on_failure_of: (skip) + * @object: A #Systemd1Unit. + * + * Gets a copy of the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.OnFailureOf">"OnFailureOf"</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) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_strfreev(). + */ +gchar ** +systemd1_unit_dup_on_failure_of (Systemd1Unit *object) +{ + gchar **value; + g_object_get (G_OBJECT (object), "on-failure-of", &value, NULL); + return value; +} + +/** + * systemd1_unit_set_on_failure_of: (skip) + * @object: A #Systemd1Unit. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.OnFailureOf">"OnFailureOf"</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 +systemd1_unit_set_on_failure_of (Systemd1Unit *object, const gchar *const *value) +{ + g_object_set (G_OBJECT (object), "on-failure-of", value, NULL); +} + +/** + * systemd1_unit_get_on_success: (skip) + * @object: A #Systemd1Unit. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.OnSuccess">"OnSuccess"</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. + * + * 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 systemd1_unit_dup_on_success() if on another thread. + * + * Returns: (transfer none) (nullable): The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object. + */ +const gchar *const * +systemd1_unit_get_on_success (Systemd1Unit *object) +{ + return SYSTEMD1_UNIT_GET_IFACE (object)->get_on_success (object); +} + +/** + * systemd1_unit_dup_on_success: (skip) + * @object: A #Systemd1Unit. + * + * Gets a copy of the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.OnSuccess">"OnSuccess"</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) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_strfreev(). + */ +gchar ** +systemd1_unit_dup_on_success (Systemd1Unit *object) +{ + gchar **value; + g_object_get (G_OBJECT (object), "on-success", &value, NULL); + return value; +} + +/** + * systemd1_unit_set_on_success: (skip) + * @object: A #Systemd1Unit. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.OnSuccess">"OnSuccess"</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 +systemd1_unit_set_on_success (Systemd1Unit *object, const gchar *const *value) +{ + g_object_set (G_OBJECT (object), "on-success", value, NULL); +} + +/** + * systemd1_unit_get_on_success_of: (skip) + * @object: A #Systemd1Unit. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.OnSuccessOf">"OnSuccessOf"</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. + * + * 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 systemd1_unit_dup_on_success_of() if on another thread. + * + * Returns: (transfer none) (nullable): The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object. + */ +const gchar *const * +systemd1_unit_get_on_success_of (Systemd1Unit *object) +{ + return SYSTEMD1_UNIT_GET_IFACE (object)->get_on_success_of (object); +} + +/** + * systemd1_unit_dup_on_success_of: (skip) + * @object: A #Systemd1Unit. + * + * Gets a copy of the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.OnSuccessOf">"OnSuccessOf"</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) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_strfreev(). + */ +gchar ** +systemd1_unit_dup_on_success_of (Systemd1Unit *object) +{ + gchar **value; + g_object_get (G_OBJECT (object), "on-success-of", &value, NULL); + return value; +} + +/** + * systemd1_unit_set_on_success_of: (skip) + * @object: A #Systemd1Unit. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.OnSuccessOf">"OnSuccessOf"</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 +systemd1_unit_set_on_success_of (Systemd1Unit *object, const gchar *const *value) +{ + g_object_set (G_OBJECT (object), "on-success-of", value, NULL); +} + +/** + * systemd1_unit_get_triggers: (skip) + * @object: A #Systemd1Unit. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.Triggers">"Triggers"</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. + * + * 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 systemd1_unit_dup_triggers() if on another thread. + * + * Returns: (transfer none) (nullable): The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object. + */ +const gchar *const * +systemd1_unit_get_triggers (Systemd1Unit *object) +{ + return SYSTEMD1_UNIT_GET_IFACE (object)->get_triggers (object); +} + +/** + * systemd1_unit_dup_triggers: (skip) + * @object: A #Systemd1Unit. + * + * Gets a copy of the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.Triggers">"Triggers"</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) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_strfreev(). + */ +gchar ** +systemd1_unit_dup_triggers (Systemd1Unit *object) +{ + gchar **value; + g_object_get (G_OBJECT (object), "triggers", &value, NULL); + return value; +} + +/** + * systemd1_unit_set_triggers: (skip) + * @object: A #Systemd1Unit. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.Triggers">"Triggers"</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 +systemd1_unit_set_triggers (Systemd1Unit *object, const gchar *const *value) +{ + g_object_set (G_OBJECT (object), "triggers", value, NULL); +} + +/** + * systemd1_unit_get_triggered_by: (skip) + * @object: A #Systemd1Unit. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.TriggeredBy">"TriggeredBy"</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. + * + * 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 systemd1_unit_dup_triggered_by() if on another thread. + * + * Returns: (transfer none) (nullable): The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object. + */ +const gchar *const * +systemd1_unit_get_triggered_by (Systemd1Unit *object) +{ + return SYSTEMD1_UNIT_GET_IFACE (object)->get_triggered_by (object); +} + +/** + * systemd1_unit_dup_triggered_by: (skip) + * @object: A #Systemd1Unit. + * + * Gets a copy of the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.TriggeredBy">"TriggeredBy"</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) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_strfreev(). + */ +gchar ** +systemd1_unit_dup_triggered_by (Systemd1Unit *object) +{ + gchar **value; + g_object_get (G_OBJECT (object), "triggered-by", &value, NULL); + return value; +} + +/** + * systemd1_unit_set_triggered_by: (skip) + * @object: A #Systemd1Unit. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.TriggeredBy">"TriggeredBy"</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 +systemd1_unit_set_triggered_by (Systemd1Unit *object, const gchar *const *value) +{ + g_object_set (G_OBJECT (object), "triggered-by", value, NULL); +} + +/** + * systemd1_unit_get_propagates_reload_to: (skip) + * @object: A #Systemd1Unit. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.PropagatesReloadTo">"PropagatesReloadTo"</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. + * + * 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 systemd1_unit_dup_propagates_reload_to() if on another thread. + * + * Returns: (transfer none) (nullable): The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object. + */ +const gchar *const * +systemd1_unit_get_propagates_reload_to (Systemd1Unit *object) +{ + return SYSTEMD1_UNIT_GET_IFACE (object)->get_propagates_reload_to (object); +} + +/** + * systemd1_unit_dup_propagates_reload_to: (skip) + * @object: A #Systemd1Unit. + * + * Gets a copy of the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.PropagatesReloadTo">"PropagatesReloadTo"</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) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_strfreev(). + */ +gchar ** +systemd1_unit_dup_propagates_reload_to (Systemd1Unit *object) +{ + gchar **value; + g_object_get (G_OBJECT (object), "propagates-reload-to", &value, NULL); + return value; +} + +/** + * systemd1_unit_set_propagates_reload_to: (skip) + * @object: A #Systemd1Unit. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.PropagatesReloadTo">"PropagatesReloadTo"</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 +systemd1_unit_set_propagates_reload_to (Systemd1Unit *object, const gchar *const *value) +{ + g_object_set (G_OBJECT (object), "propagates-reload-to", value, NULL); +} + +/** + * systemd1_unit_get_reload_propagated_from: (skip) + * @object: A #Systemd1Unit. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.ReloadPropagatedFrom">"ReloadPropagatedFrom"</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. + * + * 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 systemd1_unit_dup_reload_propagated_from() if on another thread. + * + * Returns: (transfer none) (nullable): The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object. + */ +const gchar *const * +systemd1_unit_get_reload_propagated_from (Systemd1Unit *object) +{ + return SYSTEMD1_UNIT_GET_IFACE (object)->get_reload_propagated_from (object); +} + +/** + * systemd1_unit_dup_reload_propagated_from: (skip) + * @object: A #Systemd1Unit. + * + * Gets a copy of the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.ReloadPropagatedFrom">"ReloadPropagatedFrom"</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) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_strfreev(). + */ +gchar ** +systemd1_unit_dup_reload_propagated_from (Systemd1Unit *object) +{ + gchar **value; + g_object_get (G_OBJECT (object), "reload-propagated-from", &value, NULL); + return value; +} + +/** + * systemd1_unit_set_reload_propagated_from: (skip) + * @object: A #Systemd1Unit. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.ReloadPropagatedFrom">"ReloadPropagatedFrom"</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 +systemd1_unit_set_reload_propagated_from (Systemd1Unit *object, const gchar *const *value) +{ + g_object_set (G_OBJECT (object), "reload-propagated-from", value, NULL); +} + +/** + * systemd1_unit_get_propagates_stop_to: (skip) + * @object: A #Systemd1Unit. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.PropagatesStopTo">"PropagatesStopTo"</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. + * + * 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 systemd1_unit_dup_propagates_stop_to() if on another thread. + * + * Returns: (transfer none) (nullable): The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object. + */ +const gchar *const * +systemd1_unit_get_propagates_stop_to (Systemd1Unit *object) +{ + return SYSTEMD1_UNIT_GET_IFACE (object)->get_propagates_stop_to (object); +} + +/** + * systemd1_unit_dup_propagates_stop_to: (skip) + * @object: A #Systemd1Unit. + * + * Gets a copy of the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.PropagatesStopTo">"PropagatesStopTo"</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) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_strfreev(). + */ +gchar ** +systemd1_unit_dup_propagates_stop_to (Systemd1Unit *object) +{ + gchar **value; + g_object_get (G_OBJECT (object), "propagates-stop-to", &value, NULL); + return value; +} + +/** + * systemd1_unit_set_propagates_stop_to: (skip) + * @object: A #Systemd1Unit. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.PropagatesStopTo">"PropagatesStopTo"</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 +systemd1_unit_set_propagates_stop_to (Systemd1Unit *object, const gchar *const *value) +{ + g_object_set (G_OBJECT (object), "propagates-stop-to", value, NULL); +} + +/** + * systemd1_unit_get_stop_propagated_from: (skip) + * @object: A #Systemd1Unit. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.StopPropagatedFrom">"StopPropagatedFrom"</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. + * + * 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 systemd1_unit_dup_stop_propagated_from() if on another thread. + * + * Returns: (transfer none) (nullable): The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object. + */ +const gchar *const * +systemd1_unit_get_stop_propagated_from (Systemd1Unit *object) +{ + return SYSTEMD1_UNIT_GET_IFACE (object)->get_stop_propagated_from (object); +} + +/** + * systemd1_unit_dup_stop_propagated_from: (skip) + * @object: A #Systemd1Unit. + * + * Gets a copy of the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.StopPropagatedFrom">"StopPropagatedFrom"</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) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_strfreev(). + */ +gchar ** +systemd1_unit_dup_stop_propagated_from (Systemd1Unit *object) +{ + gchar **value; + g_object_get (G_OBJECT (object), "stop-propagated-from", &value, NULL); + return value; +} + +/** + * systemd1_unit_set_stop_propagated_from: (skip) + * @object: A #Systemd1Unit. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.StopPropagatedFrom">"StopPropagatedFrom"</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 +systemd1_unit_set_stop_propagated_from (Systemd1Unit *object, const gchar *const *value) +{ + g_object_set (G_OBJECT (object), "stop-propagated-from", value, NULL); +} + +/** + * systemd1_unit_get_joins_namespace_of: (skip) + * @object: A #Systemd1Unit. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.JoinsNamespaceOf">"JoinsNamespaceOf"</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. + * + * 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 systemd1_unit_dup_joins_namespace_of() if on another thread. + * + * Returns: (transfer none) (nullable): The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object. + */ +const gchar *const * +systemd1_unit_get_joins_namespace_of (Systemd1Unit *object) +{ + return SYSTEMD1_UNIT_GET_IFACE (object)->get_joins_namespace_of (object); +} + +/** + * systemd1_unit_dup_joins_namespace_of: (skip) + * @object: A #Systemd1Unit. + * + * Gets a copy of the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.JoinsNamespaceOf">"JoinsNamespaceOf"</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) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_strfreev(). + */ +gchar ** +systemd1_unit_dup_joins_namespace_of (Systemd1Unit *object) +{ + gchar **value; + g_object_get (G_OBJECT (object), "joins-namespace-of", &value, NULL); + return value; +} + +/** + * systemd1_unit_set_joins_namespace_of: (skip) + * @object: A #Systemd1Unit. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.JoinsNamespaceOf">"JoinsNamespaceOf"</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 +systemd1_unit_set_joins_namespace_of (Systemd1Unit *object, const gchar *const *value) +{ + g_object_set (G_OBJECT (object), "joins-namespace-of", value, NULL); +} + +/** + * systemd1_unit_get_slice_of: (skip) + * @object: A #Systemd1Unit. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.SliceOf">"SliceOf"</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. + * + * 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 systemd1_unit_dup_slice_of() if on another thread. + * + * Returns: (transfer none) (nullable): The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object. + */ +const gchar *const * +systemd1_unit_get_slice_of (Systemd1Unit *object) +{ + return SYSTEMD1_UNIT_GET_IFACE (object)->get_slice_of (object); +} + +/** + * systemd1_unit_dup_slice_of: (skip) + * @object: A #Systemd1Unit. + * + * Gets a copy of the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.SliceOf">"SliceOf"</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) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_strfreev(). + */ +gchar ** +systemd1_unit_dup_slice_of (Systemd1Unit *object) +{ + gchar **value; + g_object_get (G_OBJECT (object), "slice-of", &value, NULL); + return value; +} + +/** + * systemd1_unit_set_slice_of: (skip) + * @object: A #Systemd1Unit. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.SliceOf">"SliceOf"</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 +systemd1_unit_set_slice_of (Systemd1Unit *object, const gchar *const *value) +{ + g_object_set (G_OBJECT (object), "slice-of", value, NULL); +} + +/** + * systemd1_unit_get_requires_mounts_for: (skip) + * @object: A #Systemd1Unit. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.RequiresMountsFor">"RequiresMountsFor"</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. + * + * 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 systemd1_unit_dup_requires_mounts_for() if on another thread. + * + * Returns: (transfer none) (nullable): The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object. + */ +const gchar *const * +systemd1_unit_get_requires_mounts_for (Systemd1Unit *object) +{ + return SYSTEMD1_UNIT_GET_IFACE (object)->get_requires_mounts_for (object); +} + +/** + * systemd1_unit_dup_requires_mounts_for: (skip) + * @object: A #Systemd1Unit. + * + * Gets a copy of the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.RequiresMountsFor">"RequiresMountsFor"</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) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_strfreev(). + */ +gchar ** +systemd1_unit_dup_requires_mounts_for (Systemd1Unit *object) +{ + gchar **value; + g_object_get (G_OBJECT (object), "requires-mounts-for", &value, NULL); + return value; +} + +/** + * systemd1_unit_set_requires_mounts_for: (skip) + * @object: A #Systemd1Unit. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.RequiresMountsFor">"RequiresMountsFor"</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 +systemd1_unit_set_requires_mounts_for (Systemd1Unit *object, const gchar *const *value) +{ + g_object_set (G_OBJECT (object), "requires-mounts-for", value, NULL); +} + +/** + * systemd1_unit_get_documentation: (skip) + * @object: A #Systemd1Unit. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.Documentation">"Documentation"</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. + * + * 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 systemd1_unit_dup_documentation() if on another thread. + * + * Returns: (transfer none) (nullable): The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object. + */ +const gchar *const * +systemd1_unit_get_documentation (Systemd1Unit *object) +{ + return SYSTEMD1_UNIT_GET_IFACE (object)->get_documentation (object); +} + +/** + * systemd1_unit_dup_documentation: (skip) + * @object: A #Systemd1Unit. + * + * Gets a copy of the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.Documentation">"Documentation"</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) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_strfreev(). + */ +gchar ** +systemd1_unit_dup_documentation (Systemd1Unit *object) +{ + gchar **value; + g_object_get (G_OBJECT (object), "documentation", &value, NULL); + return value; +} + +/** + * systemd1_unit_set_documentation: (skip) + * @object: A #Systemd1Unit. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.Documentation">"Documentation"</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 +systemd1_unit_set_documentation (Systemd1Unit *object, const gchar *const *value) +{ + g_object_set (G_OBJECT (object), "documentation", value, NULL); +} + +/** + * systemd1_unit_get_description: (skip) + * @object: A #Systemd1Unit. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.Description">"Description"</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. + * + * 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 systemd1_unit_dup_description() if on another thread. + * + * Returns: (transfer none) (nullable): The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object. + */ +const gchar * +systemd1_unit_get_description (Systemd1Unit *object) +{ + return SYSTEMD1_UNIT_GET_IFACE (object)->get_description (object); +} + +/** + * systemd1_unit_dup_description: (skip) + * @object: A #Systemd1Unit. + * + * Gets a copy of the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.Description">"Description"</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) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_free(). + */ +gchar * +systemd1_unit_dup_description (Systemd1Unit *object) +{ + gchar *value; + g_object_get (G_OBJECT (object), "description", &value, NULL); + return value; +} + +/** + * systemd1_unit_set_description: (skip) + * @object: A #Systemd1Unit. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.Description">"Description"</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 +systemd1_unit_set_description (Systemd1Unit *object, const gchar *value) +{ + g_object_set (G_OBJECT (object), "description", value, NULL); +} + +/** + * systemd1_unit_get_load_state: (skip) + * @object: A #Systemd1Unit. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.LoadState">"LoadState"</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. + * + * 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 systemd1_unit_dup_load_state() if on another thread. + * + * Returns: (transfer none) (nullable): The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object. + */ +const gchar * +systemd1_unit_get_load_state (Systemd1Unit *object) +{ + return SYSTEMD1_UNIT_GET_IFACE (object)->get_load_state (object); +} + +/** + * systemd1_unit_dup_load_state: (skip) + * @object: A #Systemd1Unit. + * + * Gets a copy of the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.LoadState">"LoadState"</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) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_free(). + */ +gchar * +systemd1_unit_dup_load_state (Systemd1Unit *object) +{ + gchar *value; + g_object_get (G_OBJECT (object), "load-state", &value, NULL); + return value; +} + +/** + * systemd1_unit_set_load_state: (skip) + * @object: A #Systemd1Unit. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.LoadState">"LoadState"</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 +systemd1_unit_set_load_state (Systemd1Unit *object, const gchar *value) +{ + g_object_set (G_OBJECT (object), "load-state", value, NULL); +} + +/** + * systemd1_unit_get_active_state: (skip) + * @object: A #Systemd1Unit. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.ActiveState">"ActiveState"</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. + * + * 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 systemd1_unit_dup_active_state() if on another thread. + * + * Returns: (transfer none) (nullable): The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object. + */ +const gchar * +systemd1_unit_get_active_state (Systemd1Unit *object) +{ + return SYSTEMD1_UNIT_GET_IFACE (object)->get_active_state (object); +} + +/** + * systemd1_unit_dup_active_state: (skip) + * @object: A #Systemd1Unit. + * + * Gets a copy of the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.ActiveState">"ActiveState"</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) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_free(). + */ +gchar * +systemd1_unit_dup_active_state (Systemd1Unit *object) +{ + gchar *value; + g_object_get (G_OBJECT (object), "active-state", &value, NULL); + return value; +} + +/** + * systemd1_unit_set_active_state: (skip) + * @object: A #Systemd1Unit. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.ActiveState">"ActiveState"</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 +systemd1_unit_set_active_state (Systemd1Unit *object, const gchar *value) +{ + g_object_set (G_OBJECT (object), "active-state", value, NULL); +} + +/** + * systemd1_unit_get_freezer_state: (skip) + * @object: A #Systemd1Unit. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.FreezerState">"FreezerState"</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. + * + * 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 systemd1_unit_dup_freezer_state() if on another thread. + * + * Returns: (transfer none) (nullable): The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object. + */ +const gchar * +systemd1_unit_get_freezer_state (Systemd1Unit *object) +{ + return SYSTEMD1_UNIT_GET_IFACE (object)->get_freezer_state (object); +} + +/** + * systemd1_unit_dup_freezer_state: (skip) + * @object: A #Systemd1Unit. + * + * Gets a copy of the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.FreezerState">"FreezerState"</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) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_free(). + */ +gchar * +systemd1_unit_dup_freezer_state (Systemd1Unit *object) +{ + gchar *value; + g_object_get (G_OBJECT (object), "freezer-state", &value, NULL); + return value; +} + +/** + * systemd1_unit_set_freezer_state: (skip) + * @object: A #Systemd1Unit. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.FreezerState">"FreezerState"</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 +systemd1_unit_set_freezer_state (Systemd1Unit *object, const gchar *value) +{ + g_object_set (G_OBJECT (object), "freezer-state", value, NULL); +} + +/** + * systemd1_unit_get_sub_state: (skip) + * @object: A #Systemd1Unit. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.SubState">"SubState"</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. + * + * 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 systemd1_unit_dup_sub_state() if on another thread. + * + * Returns: (transfer none) (nullable): The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object. + */ +const gchar * +systemd1_unit_get_sub_state (Systemd1Unit *object) +{ + return SYSTEMD1_UNIT_GET_IFACE (object)->get_sub_state (object); +} + +/** + * systemd1_unit_dup_sub_state: (skip) + * @object: A #Systemd1Unit. + * + * Gets a copy of the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.SubState">"SubState"</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) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_free(). + */ +gchar * +systemd1_unit_dup_sub_state (Systemd1Unit *object) +{ + gchar *value; + g_object_get (G_OBJECT (object), "sub-state", &value, NULL); + return value; +} + +/** + * systemd1_unit_set_sub_state: (skip) + * @object: A #Systemd1Unit. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.SubState">"SubState"</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 +systemd1_unit_set_sub_state (Systemd1Unit *object, const gchar *value) +{ + g_object_set (G_OBJECT (object), "sub-state", value, NULL); +} + +/** + * systemd1_unit_get_fragment_path: (skip) + * @object: A #Systemd1Unit. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.FragmentPath">"FragmentPath"</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. + * + * 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 systemd1_unit_dup_fragment_path() if on another thread. + * + * Returns: (transfer none) (nullable): The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object. + */ +const gchar * +systemd1_unit_get_fragment_path (Systemd1Unit *object) +{ + return SYSTEMD1_UNIT_GET_IFACE (object)->get_fragment_path (object); +} + +/** + * systemd1_unit_dup_fragment_path: (skip) + * @object: A #Systemd1Unit. + * + * Gets a copy of the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.FragmentPath">"FragmentPath"</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) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_free(). + */ +gchar * +systemd1_unit_dup_fragment_path (Systemd1Unit *object) +{ + gchar *value; + g_object_get (G_OBJECT (object), "fragment-path", &value, NULL); + return value; +} + +/** + * systemd1_unit_set_fragment_path: (skip) + * @object: A #Systemd1Unit. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.FragmentPath">"FragmentPath"</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 +systemd1_unit_set_fragment_path (Systemd1Unit *object, const gchar *value) +{ + g_object_set (G_OBJECT (object), "fragment-path", value, NULL); +} + +/** + * systemd1_unit_get_source_path: (skip) + * @object: A #Systemd1Unit. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.SourcePath">"SourcePath"</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. + * + * 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 systemd1_unit_dup_source_path() if on another thread. + * + * Returns: (transfer none) (nullable): The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object. + */ +const gchar * +systemd1_unit_get_source_path (Systemd1Unit *object) +{ + return SYSTEMD1_UNIT_GET_IFACE (object)->get_source_path (object); +} + +/** + * systemd1_unit_dup_source_path: (skip) + * @object: A #Systemd1Unit. + * + * Gets a copy of the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.SourcePath">"SourcePath"</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) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_free(). + */ +gchar * +systemd1_unit_dup_source_path (Systemd1Unit *object) +{ + gchar *value; + g_object_get (G_OBJECT (object), "source-path", &value, NULL); + return value; +} + +/** + * systemd1_unit_set_source_path: (skip) + * @object: A #Systemd1Unit. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.SourcePath">"SourcePath"</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 +systemd1_unit_set_source_path (Systemd1Unit *object, const gchar *value) +{ + g_object_set (G_OBJECT (object), "source-path", value, NULL); +} + +/** + * systemd1_unit_get_drop_in_paths: (skip) + * @object: A #Systemd1Unit. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.DropInPaths">"DropInPaths"</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. + * + * 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 systemd1_unit_dup_drop_in_paths() if on another thread. + * + * Returns: (transfer none) (nullable): The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object. + */ +const gchar *const * +systemd1_unit_get_drop_in_paths (Systemd1Unit *object) +{ + return SYSTEMD1_UNIT_GET_IFACE (object)->get_drop_in_paths (object); +} + +/** + * systemd1_unit_dup_drop_in_paths: (skip) + * @object: A #Systemd1Unit. + * + * Gets a copy of the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.DropInPaths">"DropInPaths"</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) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_strfreev(). + */ +gchar ** +systemd1_unit_dup_drop_in_paths (Systemd1Unit *object) +{ + gchar **value; + g_object_get (G_OBJECT (object), "drop-in-paths", &value, NULL); + return value; +} + +/** + * systemd1_unit_set_drop_in_paths: (skip) + * @object: A #Systemd1Unit. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.DropInPaths">"DropInPaths"</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 +systemd1_unit_set_drop_in_paths (Systemd1Unit *object, const gchar *const *value) +{ + g_object_set (G_OBJECT (object), "drop-in-paths", value, NULL); +} + +/** + * systemd1_unit_get_unit_file_state: (skip) + * @object: A #Systemd1Unit. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.UnitFileState">"UnitFileState"</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. + * + * 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 systemd1_unit_dup_unit_file_state() if on another thread. + * + * Returns: (transfer none) (nullable): The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object. + */ +const gchar * +systemd1_unit_get_unit_file_state (Systemd1Unit *object) +{ + return SYSTEMD1_UNIT_GET_IFACE (object)->get_unit_file_state (object); +} + +/** + * systemd1_unit_dup_unit_file_state: (skip) + * @object: A #Systemd1Unit. + * + * Gets a copy of the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.UnitFileState">"UnitFileState"</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) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_free(). + */ +gchar * +systemd1_unit_dup_unit_file_state (Systemd1Unit *object) +{ + gchar *value; + g_object_get (G_OBJECT (object), "unit-file-state", &value, NULL); + return value; +} + +/** + * systemd1_unit_set_unit_file_state: (skip) + * @object: A #Systemd1Unit. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.UnitFileState">"UnitFileState"</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 +systemd1_unit_set_unit_file_state (Systemd1Unit *object, const gchar *value) +{ + g_object_set (G_OBJECT (object), "unit-file-state", value, NULL); +} + +/** + * systemd1_unit_get_unit_file_preset: (skip) + * @object: A #Systemd1Unit. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.UnitFilePreset">"UnitFilePreset"</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. + * + * 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 systemd1_unit_dup_unit_file_preset() if on another thread. + * + * Returns: (transfer none) (nullable): The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object. + */ +const gchar * +systemd1_unit_get_unit_file_preset (Systemd1Unit *object) +{ + return SYSTEMD1_UNIT_GET_IFACE (object)->get_unit_file_preset (object); +} + +/** + * systemd1_unit_dup_unit_file_preset: (skip) + * @object: A #Systemd1Unit. + * + * Gets a copy of the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.UnitFilePreset">"UnitFilePreset"</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) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_free(). + */ +gchar * +systemd1_unit_dup_unit_file_preset (Systemd1Unit *object) +{ + gchar *value; + g_object_get (G_OBJECT (object), "unit-file-preset", &value, NULL); + return value; +} + +/** + * systemd1_unit_set_unit_file_preset: (skip) + * @object: A #Systemd1Unit. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.UnitFilePreset">"UnitFilePreset"</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 +systemd1_unit_set_unit_file_preset (Systemd1Unit *object, const gchar *value) +{ + g_object_set (G_OBJECT (object), "unit-file-preset", value, NULL); +} + +/** + * systemd1_unit_get_state_change_timestamp: (skip) + * @object: A #Systemd1Unit. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.StateChangeTimestamp">"StateChangeTimestamp"</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 +systemd1_unit_get_state_change_timestamp (Systemd1Unit *object) +{ + return SYSTEMD1_UNIT_GET_IFACE (object)->get_state_change_timestamp (object); +} + +/** + * systemd1_unit_set_state_change_timestamp: (skip) + * @object: A #Systemd1Unit. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.StateChangeTimestamp">"StateChangeTimestamp"</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 +systemd1_unit_set_state_change_timestamp (Systemd1Unit *object, guint64 value) +{ + g_object_set (G_OBJECT (object), "state-change-timestamp", value, NULL); +} + +/** + * systemd1_unit_get_state_change_timestamp_monotonic: (skip) + * @object: A #Systemd1Unit. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.StateChangeTimestampMonotonic">"StateChangeTimestampMonotonic"</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 +systemd1_unit_get_state_change_timestamp_monotonic (Systemd1Unit *object) +{ + return SYSTEMD1_UNIT_GET_IFACE (object)->get_state_change_timestamp_monotonic (object); +} + +/** + * systemd1_unit_set_state_change_timestamp_monotonic: (skip) + * @object: A #Systemd1Unit. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.StateChangeTimestampMonotonic">"StateChangeTimestampMonotonic"</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 +systemd1_unit_set_state_change_timestamp_monotonic (Systemd1Unit *object, guint64 value) +{ + g_object_set (G_OBJECT (object), "state-change-timestamp-monotonic", value, NULL); +} + +/** + * systemd1_unit_get_inactive_exit_timestamp: (skip) + * @object: A #Systemd1Unit. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.InactiveExitTimestamp">"InactiveExitTimestamp"</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 +systemd1_unit_get_inactive_exit_timestamp (Systemd1Unit *object) +{ + return SYSTEMD1_UNIT_GET_IFACE (object)->get_inactive_exit_timestamp (object); +} + +/** + * systemd1_unit_set_inactive_exit_timestamp: (skip) + * @object: A #Systemd1Unit. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.InactiveExitTimestamp">"InactiveExitTimestamp"</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 +systemd1_unit_set_inactive_exit_timestamp (Systemd1Unit *object, guint64 value) +{ + g_object_set (G_OBJECT (object), "inactive-exit-timestamp", value, NULL); +} + +/** + * systemd1_unit_get_inactive_exit_timestamp_monotonic: (skip) + * @object: A #Systemd1Unit. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.InactiveExitTimestampMonotonic">"InactiveExitTimestampMonotonic"</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 +systemd1_unit_get_inactive_exit_timestamp_monotonic (Systemd1Unit *object) +{ + return SYSTEMD1_UNIT_GET_IFACE (object)->get_inactive_exit_timestamp_monotonic (object); +} + +/** + * systemd1_unit_set_inactive_exit_timestamp_monotonic: (skip) + * @object: A #Systemd1Unit. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.InactiveExitTimestampMonotonic">"InactiveExitTimestampMonotonic"</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 +systemd1_unit_set_inactive_exit_timestamp_monotonic (Systemd1Unit *object, guint64 value) +{ + g_object_set (G_OBJECT (object), "inactive-exit-timestamp-monotonic", value, NULL); +} + +/** + * systemd1_unit_get_active_enter_timestamp: (skip) + * @object: A #Systemd1Unit. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.ActiveEnterTimestamp">"ActiveEnterTimestamp"</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 +systemd1_unit_get_active_enter_timestamp (Systemd1Unit *object) +{ + return SYSTEMD1_UNIT_GET_IFACE (object)->get_active_enter_timestamp (object); +} + +/** + * systemd1_unit_set_active_enter_timestamp: (skip) + * @object: A #Systemd1Unit. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.ActiveEnterTimestamp">"ActiveEnterTimestamp"</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 +systemd1_unit_set_active_enter_timestamp (Systemd1Unit *object, guint64 value) +{ + g_object_set (G_OBJECT (object), "active-enter-timestamp", value, NULL); +} + +/** + * systemd1_unit_get_active_enter_timestamp_monotonic: (skip) + * @object: A #Systemd1Unit. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.ActiveEnterTimestampMonotonic">"ActiveEnterTimestampMonotonic"</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 +systemd1_unit_get_active_enter_timestamp_monotonic (Systemd1Unit *object) +{ + return SYSTEMD1_UNIT_GET_IFACE (object)->get_active_enter_timestamp_monotonic (object); +} + +/** + * systemd1_unit_set_active_enter_timestamp_monotonic: (skip) + * @object: A #Systemd1Unit. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.ActiveEnterTimestampMonotonic">"ActiveEnterTimestampMonotonic"</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 +systemd1_unit_set_active_enter_timestamp_monotonic (Systemd1Unit *object, guint64 value) +{ + g_object_set (G_OBJECT (object), "active-enter-timestamp-monotonic", value, NULL); +} + +/** + * systemd1_unit_get_active_exit_timestamp: (skip) + * @object: A #Systemd1Unit. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.ActiveExitTimestamp">"ActiveExitTimestamp"</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 +systemd1_unit_get_active_exit_timestamp (Systemd1Unit *object) +{ + return SYSTEMD1_UNIT_GET_IFACE (object)->get_active_exit_timestamp (object); +} + +/** + * systemd1_unit_set_active_exit_timestamp: (skip) + * @object: A #Systemd1Unit. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.ActiveExitTimestamp">"ActiveExitTimestamp"</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 +systemd1_unit_set_active_exit_timestamp (Systemd1Unit *object, guint64 value) +{ + g_object_set (G_OBJECT (object), "active-exit-timestamp", value, NULL); +} + +/** + * systemd1_unit_get_active_exit_timestamp_monotonic: (skip) + * @object: A #Systemd1Unit. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.ActiveExitTimestampMonotonic">"ActiveExitTimestampMonotonic"</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 +systemd1_unit_get_active_exit_timestamp_monotonic (Systemd1Unit *object) +{ + return SYSTEMD1_UNIT_GET_IFACE (object)->get_active_exit_timestamp_monotonic (object); +} + +/** + * systemd1_unit_set_active_exit_timestamp_monotonic: (skip) + * @object: A #Systemd1Unit. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.ActiveExitTimestampMonotonic">"ActiveExitTimestampMonotonic"</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 +systemd1_unit_set_active_exit_timestamp_monotonic (Systemd1Unit *object, guint64 value) +{ + g_object_set (G_OBJECT (object), "active-exit-timestamp-monotonic", value, NULL); +} + +/** + * systemd1_unit_get_inactive_enter_timestamp: (skip) + * @object: A #Systemd1Unit. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.InactiveEnterTimestamp">"InactiveEnterTimestamp"</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 +systemd1_unit_get_inactive_enter_timestamp (Systemd1Unit *object) +{ + return SYSTEMD1_UNIT_GET_IFACE (object)->get_inactive_enter_timestamp (object); +} + +/** + * systemd1_unit_set_inactive_enter_timestamp: (skip) + * @object: A #Systemd1Unit. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.InactiveEnterTimestamp">"InactiveEnterTimestamp"</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 +systemd1_unit_set_inactive_enter_timestamp (Systemd1Unit *object, guint64 value) +{ + g_object_set (G_OBJECT (object), "inactive-enter-timestamp", value, NULL); +} + +/** + * systemd1_unit_get_inactive_enter_timestamp_monotonic: (skip) + * @object: A #Systemd1Unit. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.InactiveEnterTimestampMonotonic">"InactiveEnterTimestampMonotonic"</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 +systemd1_unit_get_inactive_enter_timestamp_monotonic (Systemd1Unit *object) +{ + return SYSTEMD1_UNIT_GET_IFACE (object)->get_inactive_enter_timestamp_monotonic (object); +} + +/** + * systemd1_unit_set_inactive_enter_timestamp_monotonic: (skip) + * @object: A #Systemd1Unit. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.InactiveEnterTimestampMonotonic">"InactiveEnterTimestampMonotonic"</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 +systemd1_unit_set_inactive_enter_timestamp_monotonic (Systemd1Unit *object, guint64 value) +{ + g_object_set (G_OBJECT (object), "inactive-enter-timestamp-monotonic", value, NULL); +} + +/** + * systemd1_unit_get_can_start: (skip) + * @object: A #Systemd1Unit. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.CanStart">"CanStart"</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 +systemd1_unit_get_can_start (Systemd1Unit *object) +{ + return SYSTEMD1_UNIT_GET_IFACE (object)->get_can_start (object); +} + +/** + * systemd1_unit_set_can_start: (skip) + * @object: A #Systemd1Unit. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.CanStart">"CanStart"</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 +systemd1_unit_set_can_start (Systemd1Unit *object, gboolean value) +{ + g_object_set (G_OBJECT (object), "can-start", value, NULL); +} + +/** + * systemd1_unit_get_can_stop: (skip) + * @object: A #Systemd1Unit. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.CanStop">"CanStop"</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 +systemd1_unit_get_can_stop (Systemd1Unit *object) +{ + return SYSTEMD1_UNIT_GET_IFACE (object)->get_can_stop (object); +} + +/** + * systemd1_unit_set_can_stop: (skip) + * @object: A #Systemd1Unit. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.CanStop">"CanStop"</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 +systemd1_unit_set_can_stop (Systemd1Unit *object, gboolean value) +{ + g_object_set (G_OBJECT (object), "can-stop", value, NULL); +} + +/** + * systemd1_unit_get_can_reload: (skip) + * @object: A #Systemd1Unit. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.CanReload">"CanReload"</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 +systemd1_unit_get_can_reload (Systemd1Unit *object) +{ + return SYSTEMD1_UNIT_GET_IFACE (object)->get_can_reload (object); +} + +/** + * systemd1_unit_set_can_reload: (skip) + * @object: A #Systemd1Unit. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.CanReload">"CanReload"</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 +systemd1_unit_set_can_reload (Systemd1Unit *object, gboolean value) +{ + g_object_set (G_OBJECT (object), "can-reload", value, NULL); +} + +/** + * systemd1_unit_get_can_isolate: (skip) + * @object: A #Systemd1Unit. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.CanIsolate">"CanIsolate"</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 +systemd1_unit_get_can_isolate (Systemd1Unit *object) +{ + return SYSTEMD1_UNIT_GET_IFACE (object)->get_can_isolate (object); +} + +/** + * systemd1_unit_set_can_isolate: (skip) + * @object: A #Systemd1Unit. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.CanIsolate">"CanIsolate"</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 +systemd1_unit_set_can_isolate (Systemd1Unit *object, gboolean value) +{ + g_object_set (G_OBJECT (object), "can-isolate", value, NULL); +} + +/** + * systemd1_unit_get_can_clean: (skip) + * @object: A #Systemd1Unit. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.CanClean">"CanClean"</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. + * + * 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 systemd1_unit_dup_can_clean() if on another thread. + * + * Returns: (transfer none) (nullable): The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object. + */ +const gchar *const * +systemd1_unit_get_can_clean (Systemd1Unit *object) +{ + return SYSTEMD1_UNIT_GET_IFACE (object)->get_can_clean (object); +} + +/** + * systemd1_unit_dup_can_clean: (skip) + * @object: A #Systemd1Unit. + * + * Gets a copy of the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.CanClean">"CanClean"</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) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_strfreev(). + */ +gchar ** +systemd1_unit_dup_can_clean (Systemd1Unit *object) +{ + gchar **value; + g_object_get (G_OBJECT (object), "can-clean", &value, NULL); + return value; +} + +/** + * systemd1_unit_set_can_clean: (skip) + * @object: A #Systemd1Unit. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.CanClean">"CanClean"</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 +systemd1_unit_set_can_clean (Systemd1Unit *object, const gchar *const *value) +{ + g_object_set (G_OBJECT (object), "can-clean", value, NULL); +} + +/** + * systemd1_unit_get_can_freeze: (skip) + * @object: A #Systemd1Unit. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.CanFreeze">"CanFreeze"</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 +systemd1_unit_get_can_freeze (Systemd1Unit *object) +{ + return SYSTEMD1_UNIT_GET_IFACE (object)->get_can_freeze (object); +} + +/** + * systemd1_unit_set_can_freeze: (skip) + * @object: A #Systemd1Unit. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.CanFreeze">"CanFreeze"</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 +systemd1_unit_set_can_freeze (Systemd1Unit *object, gboolean value) +{ + g_object_set (G_OBJECT (object), "can-freeze", value, NULL); +} + +/** + * systemd1_unit_get_job: (skip) + * @object: A #Systemd1Unit. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.Job">"Job"</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. + * + * 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 systemd1_unit_dup_job() if on another thread. + * + * Returns: (transfer none) (nullable): The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object. + */ +GVariant * +systemd1_unit_get_job (Systemd1Unit *object) +{ + return SYSTEMD1_UNIT_GET_IFACE (object)->get_job (object); +} + +/** + * systemd1_unit_dup_job: (skip) + * @object: A #Systemd1Unit. + * + * Gets a copy of the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.Job">"Job"</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) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_variant_unref(). + */ +GVariant * +systemd1_unit_dup_job (Systemd1Unit *object) +{ + GVariant *value; + g_object_get (G_OBJECT (object), "job", &value, NULL); + return value; +} + +/** + * systemd1_unit_set_job: (skip) + * @object: A #Systemd1Unit. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.Job">"Job"</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 +systemd1_unit_set_job (Systemd1Unit *object, GVariant *value) +{ + g_object_set (G_OBJECT (object), "job", value, NULL); +} + +/** + * systemd1_unit_get_stop_when_unneeded: (skip) + * @object: A #Systemd1Unit. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.StopWhenUnneeded">"StopWhenUnneeded"</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 +systemd1_unit_get_stop_when_unneeded (Systemd1Unit *object) +{ + return SYSTEMD1_UNIT_GET_IFACE (object)->get_stop_when_unneeded (object); +} + +/** + * systemd1_unit_set_stop_when_unneeded: (skip) + * @object: A #Systemd1Unit. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.StopWhenUnneeded">"StopWhenUnneeded"</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 +systemd1_unit_set_stop_when_unneeded (Systemd1Unit *object, gboolean value) +{ + g_object_set (G_OBJECT (object), "stop-when-unneeded", value, NULL); +} + +/** + * systemd1_unit_get_refuse_manual_start: (skip) + * @object: A #Systemd1Unit. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.RefuseManualStart">"RefuseManualStart"</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 +systemd1_unit_get_refuse_manual_start (Systemd1Unit *object) +{ + return SYSTEMD1_UNIT_GET_IFACE (object)->get_refuse_manual_start (object); +} + +/** + * systemd1_unit_set_refuse_manual_start: (skip) + * @object: A #Systemd1Unit. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.RefuseManualStart">"RefuseManualStart"</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 +systemd1_unit_set_refuse_manual_start (Systemd1Unit *object, gboolean value) +{ + g_object_set (G_OBJECT (object), "refuse-manual-start", value, NULL); +} + +/** + * systemd1_unit_get_refuse_manual_stop: (skip) + * @object: A #Systemd1Unit. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.RefuseManualStop">"RefuseManualStop"</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 +systemd1_unit_get_refuse_manual_stop (Systemd1Unit *object) +{ + return SYSTEMD1_UNIT_GET_IFACE (object)->get_refuse_manual_stop (object); +} + +/** + * systemd1_unit_set_refuse_manual_stop: (skip) + * @object: A #Systemd1Unit. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.RefuseManualStop">"RefuseManualStop"</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 +systemd1_unit_set_refuse_manual_stop (Systemd1Unit *object, gboolean value) +{ + g_object_set (G_OBJECT (object), "refuse-manual-stop", value, NULL); +} + +/** + * systemd1_unit_get_allow_isolate: (skip) + * @object: A #Systemd1Unit. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.AllowIsolate">"AllowIsolate"</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 +systemd1_unit_get_allow_isolate (Systemd1Unit *object) +{ + return SYSTEMD1_UNIT_GET_IFACE (object)->get_allow_isolate (object); +} + +/** + * systemd1_unit_set_allow_isolate: (skip) + * @object: A #Systemd1Unit. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.AllowIsolate">"AllowIsolate"</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 +systemd1_unit_set_allow_isolate (Systemd1Unit *object, gboolean value) +{ + g_object_set (G_OBJECT (object), "allow-isolate", value, NULL); +} + +/** + * systemd1_unit_get_default_dependencies: (skip) + * @object: A #Systemd1Unit. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.DefaultDependencies">"DefaultDependencies"</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 +systemd1_unit_get_default_dependencies (Systemd1Unit *object) +{ + return SYSTEMD1_UNIT_GET_IFACE (object)->get_default_dependencies (object); +} + +/** + * systemd1_unit_set_default_dependencies: (skip) + * @object: A #Systemd1Unit. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.DefaultDependencies">"DefaultDependencies"</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 +systemd1_unit_set_default_dependencies (Systemd1Unit *object, gboolean value) +{ + g_object_set (G_OBJECT (object), "default-dependencies", value, NULL); +} + +/** + * systemd1_unit_get_on_success_job_mode: (skip) + * @object: A #Systemd1Unit. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.OnSuccessJobMode">"OnSuccessJobMode"</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. + * + * 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 systemd1_unit_dup_on_success_job_mode() if on another thread. + * + * Returns: (transfer none) (nullable): The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object. + */ +const gchar * +systemd1_unit_get_on_success_job_mode (Systemd1Unit *object) +{ + return SYSTEMD1_UNIT_GET_IFACE (object)->get_on_success_job_mode (object); +} + +/** + * systemd1_unit_dup_on_success_job_mode: (skip) + * @object: A #Systemd1Unit. + * + * Gets a copy of the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.OnSuccessJobMode">"OnSuccessJobMode"</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) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_free(). + */ +gchar * +systemd1_unit_dup_on_success_job_mode (Systemd1Unit *object) +{ + gchar *value; + g_object_get (G_OBJECT (object), "on-success-job-mode", &value, NULL); + return value; +} + +/** + * systemd1_unit_set_on_success_job_mode: (skip) + * @object: A #Systemd1Unit. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.OnSuccessJobMode">"OnSuccessJobMode"</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 +systemd1_unit_set_on_success_job_mode (Systemd1Unit *object, const gchar *value) +{ + g_object_set (G_OBJECT (object), "on-success-job-mode", value, NULL); +} + +/** + * systemd1_unit_get_on_failure_job_mode: (skip) + * @object: A #Systemd1Unit. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.OnFailureJobMode">"OnFailureJobMode"</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. + * + * 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 systemd1_unit_dup_on_failure_job_mode() if on another thread. + * + * Returns: (transfer none) (nullable): The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object. + */ +const gchar * +systemd1_unit_get_on_failure_job_mode (Systemd1Unit *object) +{ + return SYSTEMD1_UNIT_GET_IFACE (object)->get_on_failure_job_mode (object); +} + +/** + * systemd1_unit_dup_on_failure_job_mode: (skip) + * @object: A #Systemd1Unit. + * + * Gets a copy of the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.OnFailureJobMode">"OnFailureJobMode"</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) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_free(). + */ +gchar * +systemd1_unit_dup_on_failure_job_mode (Systemd1Unit *object) +{ + gchar *value; + g_object_get (G_OBJECT (object), "on-failure-job-mode", &value, NULL); + return value; +} + +/** + * systemd1_unit_set_on_failure_job_mode: (skip) + * @object: A #Systemd1Unit. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.OnFailureJobMode">"OnFailureJobMode"</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 +systemd1_unit_set_on_failure_job_mode (Systemd1Unit *object, const gchar *value) +{ + g_object_set (G_OBJECT (object), "on-failure-job-mode", value, NULL); +} + +/** + * systemd1_unit_get_ignore_on_isolate: (skip) + * @object: A #Systemd1Unit. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.IgnoreOnIsolate">"IgnoreOnIsolate"</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 +systemd1_unit_get_ignore_on_isolate (Systemd1Unit *object) +{ + return SYSTEMD1_UNIT_GET_IFACE (object)->get_ignore_on_isolate (object); +} + +/** + * systemd1_unit_set_ignore_on_isolate: (skip) + * @object: A #Systemd1Unit. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.IgnoreOnIsolate">"IgnoreOnIsolate"</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 +systemd1_unit_set_ignore_on_isolate (Systemd1Unit *object, gboolean value) +{ + g_object_set (G_OBJECT (object), "ignore-on-isolate", value, NULL); +} + +/** + * systemd1_unit_get_need_daemon_reload: (skip) + * @object: A #Systemd1Unit. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.NeedDaemonReload">"NeedDaemonReload"</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 +systemd1_unit_get_need_daemon_reload (Systemd1Unit *object) +{ + return SYSTEMD1_UNIT_GET_IFACE (object)->get_need_daemon_reload (object); +} + +/** + * systemd1_unit_set_need_daemon_reload: (skip) + * @object: A #Systemd1Unit. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.NeedDaemonReload">"NeedDaemonReload"</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 +systemd1_unit_set_need_daemon_reload (Systemd1Unit *object, gboolean value) +{ + g_object_set (G_OBJECT (object), "need-daemon-reload", value, NULL); +} + +/** + * systemd1_unit_get_markers: (skip) + * @object: A #Systemd1Unit. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.Markers">"Markers"</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. + * + * 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 systemd1_unit_dup_markers() if on another thread. + * + * Returns: (transfer none) (nullable): The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object. + */ +const gchar *const * +systemd1_unit_get_markers (Systemd1Unit *object) +{ + return SYSTEMD1_UNIT_GET_IFACE (object)->get_markers (object); +} + +/** + * systemd1_unit_dup_markers: (skip) + * @object: A #Systemd1Unit. + * + * Gets a copy of the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.Markers">"Markers"</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) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_strfreev(). + */ +gchar ** +systemd1_unit_dup_markers (Systemd1Unit *object) +{ + gchar **value; + g_object_get (G_OBJECT (object), "markers", &value, NULL); + return value; +} + +/** + * systemd1_unit_set_markers: (skip) + * @object: A #Systemd1Unit. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.Markers">"Markers"</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 +systemd1_unit_set_markers (Systemd1Unit *object, const gchar *const *value) +{ + g_object_set (G_OBJECT (object), "markers", value, NULL); +} + +/** + * systemd1_unit_get_job_timeout_usec: (skip) + * @object: A #Systemd1Unit. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.JobTimeoutUSec">"JobTimeoutUSec"</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 +systemd1_unit_get_job_timeout_usec (Systemd1Unit *object) +{ + return SYSTEMD1_UNIT_GET_IFACE (object)->get_job_timeout_usec (object); +} + +/** + * systemd1_unit_set_job_timeout_usec: (skip) + * @object: A #Systemd1Unit. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.JobTimeoutUSec">"JobTimeoutUSec"</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 +systemd1_unit_set_job_timeout_usec (Systemd1Unit *object, guint64 value) +{ + g_object_set (G_OBJECT (object), "job-timeout-usec", value, NULL); +} + +/** + * systemd1_unit_get_job_running_timeout_usec: (skip) + * @object: A #Systemd1Unit. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.JobRunningTimeoutUSec">"JobRunningTimeoutUSec"</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 +systemd1_unit_get_job_running_timeout_usec (Systemd1Unit *object) +{ + return SYSTEMD1_UNIT_GET_IFACE (object)->get_job_running_timeout_usec (object); +} + +/** + * systemd1_unit_set_job_running_timeout_usec: (skip) + * @object: A #Systemd1Unit. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.JobRunningTimeoutUSec">"JobRunningTimeoutUSec"</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 +systemd1_unit_set_job_running_timeout_usec (Systemd1Unit *object, guint64 value) +{ + g_object_set (G_OBJECT (object), "job-running-timeout-usec", value, NULL); +} + +/** + * systemd1_unit_get_job_timeout_action: (skip) + * @object: A #Systemd1Unit. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.JobTimeoutAction">"JobTimeoutAction"</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. + * + * 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 systemd1_unit_dup_job_timeout_action() if on another thread. + * + * Returns: (transfer none) (nullable): The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object. + */ +const gchar * +systemd1_unit_get_job_timeout_action (Systemd1Unit *object) +{ + return SYSTEMD1_UNIT_GET_IFACE (object)->get_job_timeout_action (object); +} + +/** + * systemd1_unit_dup_job_timeout_action: (skip) + * @object: A #Systemd1Unit. + * + * Gets a copy of the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.JobTimeoutAction">"JobTimeoutAction"</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) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_free(). + */ +gchar * +systemd1_unit_dup_job_timeout_action (Systemd1Unit *object) +{ + gchar *value; + g_object_get (G_OBJECT (object), "job-timeout-action", &value, NULL); + return value; +} + +/** + * systemd1_unit_set_job_timeout_action: (skip) + * @object: A #Systemd1Unit. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.JobTimeoutAction">"JobTimeoutAction"</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 +systemd1_unit_set_job_timeout_action (Systemd1Unit *object, const gchar *value) +{ + g_object_set (G_OBJECT (object), "job-timeout-action", value, NULL); +} + +/** + * systemd1_unit_get_job_timeout_reboot_argument: (skip) + * @object: A #Systemd1Unit. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.JobTimeoutRebootArgument">"JobTimeoutRebootArgument"</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. + * + * 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 systemd1_unit_dup_job_timeout_reboot_argument() if on another thread. + * + * Returns: (transfer none) (nullable): The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object. + */ +const gchar * +systemd1_unit_get_job_timeout_reboot_argument (Systemd1Unit *object) +{ + return SYSTEMD1_UNIT_GET_IFACE (object)->get_job_timeout_reboot_argument (object); +} + +/** + * systemd1_unit_dup_job_timeout_reboot_argument: (skip) + * @object: A #Systemd1Unit. + * + * Gets a copy of the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.JobTimeoutRebootArgument">"JobTimeoutRebootArgument"</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) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_free(). + */ +gchar * +systemd1_unit_dup_job_timeout_reboot_argument (Systemd1Unit *object) +{ + gchar *value; + g_object_get (G_OBJECT (object), "job-timeout-reboot-argument", &value, NULL); + return value; +} + +/** + * systemd1_unit_set_job_timeout_reboot_argument: (skip) + * @object: A #Systemd1Unit. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.JobTimeoutRebootArgument">"JobTimeoutRebootArgument"</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 +systemd1_unit_set_job_timeout_reboot_argument (Systemd1Unit *object, const gchar *value) +{ + g_object_set (G_OBJECT (object), "job-timeout-reboot-argument", value, NULL); +} + +/** + * systemd1_unit_get_condition_result: (skip) + * @object: A #Systemd1Unit. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.ConditionResult">"ConditionResult"</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 +systemd1_unit_get_condition_result (Systemd1Unit *object) +{ + return SYSTEMD1_UNIT_GET_IFACE (object)->get_condition_result (object); +} + +/** + * systemd1_unit_set_condition_result: (skip) + * @object: A #Systemd1Unit. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.ConditionResult">"ConditionResult"</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 +systemd1_unit_set_condition_result (Systemd1Unit *object, gboolean value) +{ + g_object_set (G_OBJECT (object), "condition-result", value, NULL); +} + +/** + * systemd1_unit_get_assert_result: (skip) + * @object: A #Systemd1Unit. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.AssertResult">"AssertResult"</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 +systemd1_unit_get_assert_result (Systemd1Unit *object) +{ + return SYSTEMD1_UNIT_GET_IFACE (object)->get_assert_result (object); +} + +/** + * systemd1_unit_set_assert_result: (skip) + * @object: A #Systemd1Unit. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.AssertResult">"AssertResult"</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 +systemd1_unit_set_assert_result (Systemd1Unit *object, gboolean value) +{ + g_object_set (G_OBJECT (object), "assert-result", value, NULL); +} + +/** + * systemd1_unit_get_condition_timestamp: (skip) + * @object: A #Systemd1Unit. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.ConditionTimestamp">"ConditionTimestamp"</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 +systemd1_unit_get_condition_timestamp (Systemd1Unit *object) +{ + return SYSTEMD1_UNIT_GET_IFACE (object)->get_condition_timestamp (object); +} + +/** + * systemd1_unit_set_condition_timestamp: (skip) + * @object: A #Systemd1Unit. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.ConditionTimestamp">"ConditionTimestamp"</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 +systemd1_unit_set_condition_timestamp (Systemd1Unit *object, guint64 value) +{ + g_object_set (G_OBJECT (object), "condition-timestamp", value, NULL); +} + +/** + * systemd1_unit_get_condition_timestamp_monotonic: (skip) + * @object: A #Systemd1Unit. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.ConditionTimestampMonotonic">"ConditionTimestampMonotonic"</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 +systemd1_unit_get_condition_timestamp_monotonic (Systemd1Unit *object) +{ + return SYSTEMD1_UNIT_GET_IFACE (object)->get_condition_timestamp_monotonic (object); +} + +/** + * systemd1_unit_set_condition_timestamp_monotonic: (skip) + * @object: A #Systemd1Unit. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.ConditionTimestampMonotonic">"ConditionTimestampMonotonic"</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 +systemd1_unit_set_condition_timestamp_monotonic (Systemd1Unit *object, guint64 value) +{ + g_object_set (G_OBJECT (object), "condition-timestamp-monotonic", value, NULL); +} + +/** + * systemd1_unit_get_assert_timestamp: (skip) + * @object: A #Systemd1Unit. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.AssertTimestamp">"AssertTimestamp"</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 +systemd1_unit_get_assert_timestamp (Systemd1Unit *object) +{ + return SYSTEMD1_UNIT_GET_IFACE (object)->get_assert_timestamp (object); +} + +/** + * systemd1_unit_set_assert_timestamp: (skip) + * @object: A #Systemd1Unit. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.AssertTimestamp">"AssertTimestamp"</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 +systemd1_unit_set_assert_timestamp (Systemd1Unit *object, guint64 value) +{ + g_object_set (G_OBJECT (object), "assert-timestamp", value, NULL); +} + +/** + * systemd1_unit_get_assert_timestamp_monotonic: (skip) + * @object: A #Systemd1Unit. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.AssertTimestampMonotonic">"AssertTimestampMonotonic"</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 +systemd1_unit_get_assert_timestamp_monotonic (Systemd1Unit *object) +{ + return SYSTEMD1_UNIT_GET_IFACE (object)->get_assert_timestamp_monotonic (object); +} + +/** + * systemd1_unit_set_assert_timestamp_monotonic: (skip) + * @object: A #Systemd1Unit. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.AssertTimestampMonotonic">"AssertTimestampMonotonic"</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 +systemd1_unit_set_assert_timestamp_monotonic (Systemd1Unit *object, guint64 value) +{ + g_object_set (G_OBJECT (object), "assert-timestamp-monotonic", value, NULL); +} + +/** + * systemd1_unit_get_conditions: (skip) + * @object: A #Systemd1Unit. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.Conditions">"Conditions"</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. + * + * 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 systemd1_unit_dup_conditions() if on another thread. + * + * Returns: (transfer none) (nullable): The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object. + */ +GVariant * +systemd1_unit_get_conditions (Systemd1Unit *object) +{ + return SYSTEMD1_UNIT_GET_IFACE (object)->get_conditions (object); +} + +/** + * systemd1_unit_dup_conditions: (skip) + * @object: A #Systemd1Unit. + * + * Gets a copy of the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.Conditions">"Conditions"</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) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_variant_unref(). + */ +GVariant * +systemd1_unit_dup_conditions (Systemd1Unit *object) +{ + GVariant *value; + g_object_get (G_OBJECT (object), "conditions", &value, NULL); + return value; +} + +/** + * systemd1_unit_set_conditions: (skip) + * @object: A #Systemd1Unit. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.Conditions">"Conditions"</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 +systemd1_unit_set_conditions (Systemd1Unit *object, GVariant *value) +{ + g_object_set (G_OBJECT (object), "conditions", value, NULL); +} + +/** + * systemd1_unit_get_asserts: (skip) + * @object: A #Systemd1Unit. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.Asserts">"Asserts"</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. + * + * 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 systemd1_unit_dup_asserts() if on another thread. + * + * Returns: (transfer none) (nullable): The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object. + */ +GVariant * +systemd1_unit_get_asserts (Systemd1Unit *object) +{ + return SYSTEMD1_UNIT_GET_IFACE (object)->get_asserts (object); +} + +/** + * systemd1_unit_dup_asserts: (skip) + * @object: A #Systemd1Unit. + * + * Gets a copy of the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.Asserts">"Asserts"</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) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_variant_unref(). + */ +GVariant * +systemd1_unit_dup_asserts (Systemd1Unit *object) +{ + GVariant *value; + g_object_get (G_OBJECT (object), "asserts", &value, NULL); + return value; +} + +/** + * systemd1_unit_set_asserts: (skip) + * @object: A #Systemd1Unit. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.Asserts">"Asserts"</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 +systemd1_unit_set_asserts (Systemd1Unit *object, GVariant *value) +{ + g_object_set (G_OBJECT (object), "asserts", value, NULL); +} + +/** + * systemd1_unit_get_load_error: (skip) + * @object: A #Systemd1Unit. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.LoadError">"LoadError"</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. + * + * 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 systemd1_unit_dup_load_error() if on another thread. + * + * Returns: (transfer none) (nullable): The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object. + */ +GVariant * +systemd1_unit_get_load_error (Systemd1Unit *object) +{ + return SYSTEMD1_UNIT_GET_IFACE (object)->get_load_error (object); +} + +/** + * systemd1_unit_dup_load_error: (skip) + * @object: A #Systemd1Unit. + * + * Gets a copy of the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.LoadError">"LoadError"</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) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_variant_unref(). + */ +GVariant * +systemd1_unit_dup_load_error (Systemd1Unit *object) +{ + GVariant *value; + g_object_get (G_OBJECT (object), "load-error", &value, NULL); + return value; +} + +/** + * systemd1_unit_set_load_error: (skip) + * @object: A #Systemd1Unit. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.LoadError">"LoadError"</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 +systemd1_unit_set_load_error (Systemd1Unit *object, GVariant *value) +{ + g_object_set (G_OBJECT (object), "load-error", value, NULL); +} + +/** + * systemd1_unit_get_transient: (skip) + * @object: A #Systemd1Unit. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.Transient">"Transient"</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 +systemd1_unit_get_transient (Systemd1Unit *object) +{ + return SYSTEMD1_UNIT_GET_IFACE (object)->get_transient (object); +} + +/** + * systemd1_unit_set_transient: (skip) + * @object: A #Systemd1Unit. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.Transient">"Transient"</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 +systemd1_unit_set_transient (Systemd1Unit *object, gboolean value) +{ + g_object_set (G_OBJECT (object), "transient", value, NULL); +} + +/** + * systemd1_unit_get_perpetual: (skip) + * @object: A #Systemd1Unit. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.Perpetual">"Perpetual"</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 +systemd1_unit_get_perpetual (Systemd1Unit *object) +{ + return SYSTEMD1_UNIT_GET_IFACE (object)->get_perpetual (object); +} + +/** + * systemd1_unit_set_perpetual: (skip) + * @object: A #Systemd1Unit. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.Perpetual">"Perpetual"</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 +systemd1_unit_set_perpetual (Systemd1Unit *object, gboolean value) +{ + g_object_set (G_OBJECT (object), "perpetual", value, NULL); +} + +/** + * systemd1_unit_get_start_limit_interval_usec: (skip) + * @object: A #Systemd1Unit. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.StartLimitIntervalUSec">"StartLimitIntervalUSec"</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 +systemd1_unit_get_start_limit_interval_usec (Systemd1Unit *object) +{ + return SYSTEMD1_UNIT_GET_IFACE (object)->get_start_limit_interval_usec (object); +} + +/** + * systemd1_unit_set_start_limit_interval_usec: (skip) + * @object: A #Systemd1Unit. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.StartLimitIntervalUSec">"StartLimitIntervalUSec"</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 +systemd1_unit_set_start_limit_interval_usec (Systemd1Unit *object, guint64 value) +{ + g_object_set (G_OBJECT (object), "start-limit-interval-usec", value, NULL); +} + +/** + * systemd1_unit_get_start_limit_burst: (skip) + * @object: A #Systemd1Unit. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.StartLimitBurst">"StartLimitBurst"</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 +systemd1_unit_get_start_limit_burst (Systemd1Unit *object) +{ + return SYSTEMD1_UNIT_GET_IFACE (object)->get_start_limit_burst (object); +} + +/** + * systemd1_unit_set_start_limit_burst: (skip) + * @object: A #Systemd1Unit. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.StartLimitBurst">"StartLimitBurst"</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 +systemd1_unit_set_start_limit_burst (Systemd1Unit *object, guint value) +{ + g_object_set (G_OBJECT (object), "start-limit-burst", value, NULL); +} + +/** + * systemd1_unit_get_start_limit_action: (skip) + * @object: A #Systemd1Unit. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.StartLimitAction">"StartLimitAction"</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. + * + * 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 systemd1_unit_dup_start_limit_action() if on another thread. + * + * Returns: (transfer none) (nullable): The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object. + */ +const gchar * +systemd1_unit_get_start_limit_action (Systemd1Unit *object) +{ + return SYSTEMD1_UNIT_GET_IFACE (object)->get_start_limit_action (object); +} + +/** + * systemd1_unit_dup_start_limit_action: (skip) + * @object: A #Systemd1Unit. + * + * Gets a copy of the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.StartLimitAction">"StartLimitAction"</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) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_free(). + */ +gchar * +systemd1_unit_dup_start_limit_action (Systemd1Unit *object) +{ + gchar *value; + g_object_get (G_OBJECT (object), "start-limit-action", &value, NULL); + return value; +} + +/** + * systemd1_unit_set_start_limit_action: (skip) + * @object: A #Systemd1Unit. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.StartLimitAction">"StartLimitAction"</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 +systemd1_unit_set_start_limit_action (Systemd1Unit *object, const gchar *value) +{ + g_object_set (G_OBJECT (object), "start-limit-action", value, NULL); +} + +/** + * systemd1_unit_get_failure_action: (skip) + * @object: A #Systemd1Unit. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.FailureAction">"FailureAction"</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. + * + * 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 systemd1_unit_dup_failure_action() if on another thread. + * + * Returns: (transfer none) (nullable): The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object. + */ +const gchar * +systemd1_unit_get_failure_action (Systemd1Unit *object) +{ + return SYSTEMD1_UNIT_GET_IFACE (object)->get_failure_action (object); +} + +/** + * systemd1_unit_dup_failure_action: (skip) + * @object: A #Systemd1Unit. + * + * Gets a copy of the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.FailureAction">"FailureAction"</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) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_free(). + */ +gchar * +systemd1_unit_dup_failure_action (Systemd1Unit *object) +{ + gchar *value; + g_object_get (G_OBJECT (object), "failure-action", &value, NULL); + return value; +} + +/** + * systemd1_unit_set_failure_action: (skip) + * @object: A #Systemd1Unit. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.FailureAction">"FailureAction"</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 +systemd1_unit_set_failure_action (Systemd1Unit *object, const gchar *value) +{ + g_object_set (G_OBJECT (object), "failure-action", value, NULL); +} + +/** + * systemd1_unit_get_failure_action_exit_status: (skip) + * @object: A #Systemd1Unit. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.FailureActionExitStatus">"FailureActionExitStatus"</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 +systemd1_unit_get_failure_action_exit_status (Systemd1Unit *object) +{ + return SYSTEMD1_UNIT_GET_IFACE (object)->get_failure_action_exit_status (object); +} + +/** + * systemd1_unit_set_failure_action_exit_status: (skip) + * @object: A #Systemd1Unit. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.FailureActionExitStatus">"FailureActionExitStatus"</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 +systemd1_unit_set_failure_action_exit_status (Systemd1Unit *object, gint value) +{ + g_object_set (G_OBJECT (object), "failure-action-exit-status", value, NULL); +} + +/** + * systemd1_unit_get_success_action: (skip) + * @object: A #Systemd1Unit. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.SuccessAction">"SuccessAction"</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. + * + * 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 systemd1_unit_dup_success_action() if on another thread. + * + * Returns: (transfer none) (nullable): The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object. + */ +const gchar * +systemd1_unit_get_success_action (Systemd1Unit *object) +{ + return SYSTEMD1_UNIT_GET_IFACE (object)->get_success_action (object); +} + +/** + * systemd1_unit_dup_success_action: (skip) + * @object: A #Systemd1Unit. + * + * Gets a copy of the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.SuccessAction">"SuccessAction"</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) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_free(). + */ +gchar * +systemd1_unit_dup_success_action (Systemd1Unit *object) +{ + gchar *value; + g_object_get (G_OBJECT (object), "success-action", &value, NULL); + return value; +} + +/** + * systemd1_unit_set_success_action: (skip) + * @object: A #Systemd1Unit. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.SuccessAction">"SuccessAction"</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 +systemd1_unit_set_success_action (Systemd1Unit *object, const gchar *value) +{ + g_object_set (G_OBJECT (object), "success-action", value, NULL); +} + +/** + * systemd1_unit_get_success_action_exit_status: (skip) + * @object: A #Systemd1Unit. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.SuccessActionExitStatus">"SuccessActionExitStatus"</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 +systemd1_unit_get_success_action_exit_status (Systemd1Unit *object) +{ + return SYSTEMD1_UNIT_GET_IFACE (object)->get_success_action_exit_status (object); +} + +/** + * systemd1_unit_set_success_action_exit_status: (skip) + * @object: A #Systemd1Unit. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.SuccessActionExitStatus">"SuccessActionExitStatus"</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 +systemd1_unit_set_success_action_exit_status (Systemd1Unit *object, gint value) +{ + g_object_set (G_OBJECT (object), "success-action-exit-status", value, NULL); +} + +/** + * systemd1_unit_get_reboot_argument: (skip) + * @object: A #Systemd1Unit. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.RebootArgument">"RebootArgument"</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. + * + * 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 systemd1_unit_dup_reboot_argument() if on another thread. + * + * Returns: (transfer none) (nullable): The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object. + */ +const gchar * +systemd1_unit_get_reboot_argument (Systemd1Unit *object) +{ + return SYSTEMD1_UNIT_GET_IFACE (object)->get_reboot_argument (object); +} + +/** + * systemd1_unit_dup_reboot_argument: (skip) + * @object: A #Systemd1Unit. + * + * Gets a copy of the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.RebootArgument">"RebootArgument"</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) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_free(). + */ +gchar * +systemd1_unit_dup_reboot_argument (Systemd1Unit *object) +{ + gchar *value; + g_object_get (G_OBJECT (object), "reboot-argument", &value, NULL); + return value; +} + +/** + * systemd1_unit_set_reboot_argument: (skip) + * @object: A #Systemd1Unit. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.RebootArgument">"RebootArgument"</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 +systemd1_unit_set_reboot_argument (Systemd1Unit *object, const gchar *value) +{ + g_object_set (G_OBJECT (object), "reboot-argument", value, NULL); +} + +/** + * systemd1_unit_get_invocation_id: (skip) + * @object: A #Systemd1Unit. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.InvocationID">"InvocationID"</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. + * + * 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 systemd1_unit_dup_invocation_id() if on another thread. + * + * Returns: (transfer none) (nullable): The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object. + */ +const gchar * +systemd1_unit_get_invocation_id (Systemd1Unit *object) +{ + return SYSTEMD1_UNIT_GET_IFACE (object)->get_invocation_id (object); +} + +/** + * systemd1_unit_dup_invocation_id: (skip) + * @object: A #Systemd1Unit. + * + * Gets a copy of the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.InvocationID">"InvocationID"</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) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_free(). + */ +gchar * +systemd1_unit_dup_invocation_id (Systemd1Unit *object) +{ + gchar *value; + g_object_get (G_OBJECT (object), "invocation-id", &value, NULL); + return value; +} + +/** + * systemd1_unit_set_invocation_id: (skip) + * @object: A #Systemd1Unit. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.InvocationID">"InvocationID"</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 +systemd1_unit_set_invocation_id (Systemd1Unit *object, const gchar *value) +{ + g_object_set (G_OBJECT (object), "invocation-id", value, NULL); +} + +/** + * systemd1_unit_get_collect_mode: (skip) + * @object: A #Systemd1Unit. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.CollectMode">"CollectMode"</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. + * + * 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 systemd1_unit_dup_collect_mode() if on another thread. + * + * Returns: (transfer none) (nullable): The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object. + */ +const gchar * +systemd1_unit_get_collect_mode (Systemd1Unit *object) +{ + return SYSTEMD1_UNIT_GET_IFACE (object)->get_collect_mode (object); +} + +/** + * systemd1_unit_dup_collect_mode: (skip) + * @object: A #Systemd1Unit. + * + * Gets a copy of the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.CollectMode">"CollectMode"</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) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_free(). + */ +gchar * +systemd1_unit_dup_collect_mode (Systemd1Unit *object) +{ + gchar *value; + g_object_get (G_OBJECT (object), "collect-mode", &value, NULL); + return value; +} + +/** + * systemd1_unit_set_collect_mode: (skip) + * @object: A #Systemd1Unit. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.CollectMode">"CollectMode"</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 +systemd1_unit_set_collect_mode (Systemd1Unit *object, const gchar *value) +{ + g_object_set (G_OBJECT (object), "collect-mode", value, NULL); +} + +/** + * systemd1_unit_get_refs: (skip) + * @object: A #Systemd1Unit. + * + * Gets the value of the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.Refs">"Refs"</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. + * + * 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 systemd1_unit_dup_refs() if on another thread. + * + * Returns: (transfer none) (nullable): The property value or %NULL if the property is not set. Do not free the returned value, it belongs to @object. + */ +const gchar *const * +systemd1_unit_get_refs (Systemd1Unit *object) +{ + return SYSTEMD1_UNIT_GET_IFACE (object)->get_refs (object); +} + +/** + * systemd1_unit_dup_refs: (skip) + * @object: A #Systemd1Unit. + * + * Gets a copy of the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.Refs">"Refs"</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) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_strfreev(). + */ +gchar ** +systemd1_unit_dup_refs (Systemd1Unit *object) +{ + gchar **value; + g_object_get (G_OBJECT (object), "refs", &value, NULL); + return value; +} + +/** + * systemd1_unit_set_refs: (skip) + * @object: A #Systemd1Unit. + * @value: The value to set. + * + * Sets the <link linkend="gdbus-property-org-freedesktop-systemd1-Unit.Refs">"Refs"</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 +systemd1_unit_set_refs (Systemd1Unit *object, const gchar *const *value) +{ + g_object_set (G_OBJECT (object), "refs", value, NULL); +} + +/** + * systemd1_unit_call_start: + * @proxy: A #Systemd1UnitProxy. + * @arg_mode: Argument to pass with the method invocation. + * @cancellable: (nullable): 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-systemd1-Unit.Start">Start()</link> D-Bus method on @proxy. + * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). + * You can then call systemd1_unit_call_start_finish() to get the result of the operation. + * + * See systemd1_unit_call_start_sync() for the synchronous, blocking version of this method. + */ +void +systemd1_unit_call_start ( + Systemd1Unit *proxy, + const gchar *arg_mode, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data) +{ + g_dbus_proxy_call (G_DBUS_PROXY (proxy), + "Start", + g_variant_new ("(s)", + arg_mode), + G_DBUS_CALL_FLAGS_NONE, + -1, + cancellable, + callback, + user_data); +} + +/** + * systemd1_unit_call_start_finish: + * @proxy: A #Systemd1UnitProxy. + * @out_job: (out) (optional): Return location for return parameter or %NULL to ignore. + * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to systemd1_unit_call_start(). + * @error: Return location for error or %NULL. + * + * Finishes an operation started with systemd1_unit_call_start(). + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_unit_call_start_finish ( + Systemd1Unit *proxy, + gchar **out_job, + 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_job); + g_variant_unref (_ret); +_out: + return _ret != NULL; +} + +/** + * systemd1_unit_call_start_sync: + * @proxy: A #Systemd1UnitProxy. + * @arg_mode: Argument to pass with the method invocation. + * @out_job: (out) (optional): Return location for return parameter or %NULL to ignore. + * @cancellable: (nullable): A #GCancellable or %NULL. + * @error: Return location for error or %NULL. + * + * Synchronously invokes the <link linkend="gdbus-method-org-freedesktop-systemd1-Unit.Start">Start()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received. + * + * See systemd1_unit_call_start() for the asynchronous version of this method. + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_unit_call_start_sync ( + Systemd1Unit *proxy, + const gchar *arg_mode, + gchar **out_job, + GCancellable *cancellable, + GError **error) +{ + GVariant *_ret; + _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), + "Start", + g_variant_new ("(s)", + arg_mode), + G_DBUS_CALL_FLAGS_NONE, + -1, + cancellable, + error); + if (_ret == NULL) + goto _out; + g_variant_get (_ret, + "(o)", + out_job); + g_variant_unref (_ret); +_out: + return _ret != NULL; +} + +/** + * systemd1_unit_call_stop: + * @proxy: A #Systemd1UnitProxy. + * @arg_mode: Argument to pass with the method invocation. + * @cancellable: (nullable): 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-systemd1-Unit.Stop">Stop()</link> D-Bus method on @proxy. + * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). + * You can then call systemd1_unit_call_stop_finish() to get the result of the operation. + * + * See systemd1_unit_call_stop_sync() for the synchronous, blocking version of this method. + */ +void +systemd1_unit_call_stop ( + Systemd1Unit *proxy, + const gchar *arg_mode, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data) +{ + g_dbus_proxy_call (G_DBUS_PROXY (proxy), + "Stop", + g_variant_new ("(s)", + arg_mode), + G_DBUS_CALL_FLAGS_NONE, + -1, + cancellable, + callback, + user_data); +} + +/** + * systemd1_unit_call_stop_finish: + * @proxy: A #Systemd1UnitProxy. + * @out_job: (out) (optional): Return location for return parameter or %NULL to ignore. + * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to systemd1_unit_call_stop(). + * @error: Return location for error or %NULL. + * + * Finishes an operation started with systemd1_unit_call_stop(). + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_unit_call_stop_finish ( + Systemd1Unit *proxy, + gchar **out_job, + 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_job); + g_variant_unref (_ret); +_out: + return _ret != NULL; +} + +/** + * systemd1_unit_call_stop_sync: + * @proxy: A #Systemd1UnitProxy. + * @arg_mode: Argument to pass with the method invocation. + * @out_job: (out) (optional): Return location for return parameter or %NULL to ignore. + * @cancellable: (nullable): A #GCancellable or %NULL. + * @error: Return location for error or %NULL. + * + * Synchronously invokes the <link linkend="gdbus-method-org-freedesktop-systemd1-Unit.Stop">Stop()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received. + * + * See systemd1_unit_call_stop() for the asynchronous version of this method. + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_unit_call_stop_sync ( + Systemd1Unit *proxy, + const gchar *arg_mode, + gchar **out_job, + GCancellable *cancellable, + GError **error) +{ + GVariant *_ret; + _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), + "Stop", + g_variant_new ("(s)", + arg_mode), + G_DBUS_CALL_FLAGS_NONE, + -1, + cancellable, + error); + if (_ret == NULL) + goto _out; + g_variant_get (_ret, + "(o)", + out_job); + g_variant_unref (_ret); +_out: + return _ret != NULL; +} + +/** + * systemd1_unit_call_reload: + * @proxy: A #Systemd1UnitProxy. + * @arg_mode: Argument to pass with the method invocation. + * @cancellable: (nullable): 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-systemd1-Unit.Reload">Reload()</link> D-Bus method on @proxy. + * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). + * You can then call systemd1_unit_call_reload_finish() to get the result of the operation. + * + * See systemd1_unit_call_reload_sync() for the synchronous, blocking version of this method. + */ +void +systemd1_unit_call_reload ( + Systemd1Unit *proxy, + const gchar *arg_mode, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data) +{ + g_dbus_proxy_call (G_DBUS_PROXY (proxy), + "Reload", + g_variant_new ("(s)", + arg_mode), + G_DBUS_CALL_FLAGS_NONE, + -1, + cancellable, + callback, + user_data); +} + +/** + * systemd1_unit_call_reload_finish: + * @proxy: A #Systemd1UnitProxy. + * @out_job: (out) (optional): Return location for return parameter or %NULL to ignore. + * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to systemd1_unit_call_reload(). + * @error: Return location for error or %NULL. + * + * Finishes an operation started with systemd1_unit_call_reload(). + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_unit_call_reload_finish ( + Systemd1Unit *proxy, + gchar **out_job, + 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_job); + g_variant_unref (_ret); +_out: + return _ret != NULL; +} + +/** + * systemd1_unit_call_reload_sync: + * @proxy: A #Systemd1UnitProxy. + * @arg_mode: Argument to pass with the method invocation. + * @out_job: (out) (optional): Return location for return parameter or %NULL to ignore. + * @cancellable: (nullable): A #GCancellable or %NULL. + * @error: Return location for error or %NULL. + * + * Synchronously invokes the <link linkend="gdbus-method-org-freedesktop-systemd1-Unit.Reload">Reload()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received. + * + * See systemd1_unit_call_reload() for the asynchronous version of this method. + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_unit_call_reload_sync ( + Systemd1Unit *proxy, + const gchar *arg_mode, + gchar **out_job, + GCancellable *cancellable, + GError **error) +{ + GVariant *_ret; + _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), + "Reload", + g_variant_new ("(s)", + arg_mode), + G_DBUS_CALL_FLAGS_NONE, + -1, + cancellable, + error); + if (_ret == NULL) + goto _out; + g_variant_get (_ret, + "(o)", + out_job); + g_variant_unref (_ret); +_out: + return _ret != NULL; +} + +/** + * systemd1_unit_call_restart: + * @proxy: A #Systemd1UnitProxy. + * @arg_mode: Argument to pass with the method invocation. + * @cancellable: (nullable): 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-systemd1-Unit.Restart">Restart()</link> D-Bus method on @proxy. + * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). + * You can then call systemd1_unit_call_restart_finish() to get the result of the operation. + * + * See systemd1_unit_call_restart_sync() for the synchronous, blocking version of this method. + */ +void +systemd1_unit_call_restart ( + Systemd1Unit *proxy, + const gchar *arg_mode, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data) +{ + g_dbus_proxy_call (G_DBUS_PROXY (proxy), + "Restart", + g_variant_new ("(s)", + arg_mode), + G_DBUS_CALL_FLAGS_NONE, + -1, + cancellable, + callback, + user_data); +} + +/** + * systemd1_unit_call_restart_finish: + * @proxy: A #Systemd1UnitProxy. + * @out_job: (out) (optional): Return location for return parameter or %NULL to ignore. + * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to systemd1_unit_call_restart(). + * @error: Return location for error or %NULL. + * + * Finishes an operation started with systemd1_unit_call_restart(). + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_unit_call_restart_finish ( + Systemd1Unit *proxy, + gchar **out_job, + 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_job); + g_variant_unref (_ret); +_out: + return _ret != NULL; +} + +/** + * systemd1_unit_call_restart_sync: + * @proxy: A #Systemd1UnitProxy. + * @arg_mode: Argument to pass with the method invocation. + * @out_job: (out) (optional): Return location for return parameter or %NULL to ignore. + * @cancellable: (nullable): A #GCancellable or %NULL. + * @error: Return location for error or %NULL. + * + * Synchronously invokes the <link linkend="gdbus-method-org-freedesktop-systemd1-Unit.Restart">Restart()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received. + * + * See systemd1_unit_call_restart() for the asynchronous version of this method. + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_unit_call_restart_sync ( + Systemd1Unit *proxy, + const gchar *arg_mode, + gchar **out_job, + GCancellable *cancellable, + GError **error) +{ + GVariant *_ret; + _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), + "Restart", + g_variant_new ("(s)", + arg_mode), + G_DBUS_CALL_FLAGS_NONE, + -1, + cancellable, + error); + if (_ret == NULL) + goto _out; + g_variant_get (_ret, + "(o)", + out_job); + g_variant_unref (_ret); +_out: + return _ret != NULL; +} + +/** + * systemd1_unit_call_try_restart: + * @proxy: A #Systemd1UnitProxy. + * @arg_mode: Argument to pass with the method invocation. + * @cancellable: (nullable): 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-systemd1-Unit.TryRestart">TryRestart()</link> D-Bus method on @proxy. + * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). + * You can then call systemd1_unit_call_try_restart_finish() to get the result of the operation. + * + * See systemd1_unit_call_try_restart_sync() for the synchronous, blocking version of this method. + */ +void +systemd1_unit_call_try_restart ( + Systemd1Unit *proxy, + const gchar *arg_mode, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data) +{ + g_dbus_proxy_call (G_DBUS_PROXY (proxy), + "TryRestart", + g_variant_new ("(s)", + arg_mode), + G_DBUS_CALL_FLAGS_NONE, + -1, + cancellable, + callback, + user_data); +} + +/** + * systemd1_unit_call_try_restart_finish: + * @proxy: A #Systemd1UnitProxy. + * @out_job: (out) (optional): Return location for return parameter or %NULL to ignore. + * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to systemd1_unit_call_try_restart(). + * @error: Return location for error or %NULL. + * + * Finishes an operation started with systemd1_unit_call_try_restart(). + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_unit_call_try_restart_finish ( + Systemd1Unit *proxy, + gchar **out_job, + 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_job); + g_variant_unref (_ret); +_out: + return _ret != NULL; +} + +/** + * systemd1_unit_call_try_restart_sync: + * @proxy: A #Systemd1UnitProxy. + * @arg_mode: Argument to pass with the method invocation. + * @out_job: (out) (optional): Return location for return parameter or %NULL to ignore. + * @cancellable: (nullable): A #GCancellable or %NULL. + * @error: Return location for error or %NULL. + * + * Synchronously invokes the <link linkend="gdbus-method-org-freedesktop-systemd1-Unit.TryRestart">TryRestart()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received. + * + * See systemd1_unit_call_try_restart() for the asynchronous version of this method. + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_unit_call_try_restart_sync ( + Systemd1Unit *proxy, + const gchar *arg_mode, + gchar **out_job, + GCancellable *cancellable, + GError **error) +{ + GVariant *_ret; + _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), + "TryRestart", + g_variant_new ("(s)", + arg_mode), + G_DBUS_CALL_FLAGS_NONE, + -1, + cancellable, + error); + if (_ret == NULL) + goto _out; + g_variant_get (_ret, + "(o)", + out_job); + g_variant_unref (_ret); +_out: + return _ret != NULL; +} + +/** + * systemd1_unit_call_reload_or_restart: + * @proxy: A #Systemd1UnitProxy. + * @arg_mode: Argument to pass with the method invocation. + * @cancellable: (nullable): 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-systemd1-Unit.ReloadOrRestart">ReloadOrRestart()</link> D-Bus method on @proxy. + * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). + * You can then call systemd1_unit_call_reload_or_restart_finish() to get the result of the operation. + * + * See systemd1_unit_call_reload_or_restart_sync() for the synchronous, blocking version of this method. + */ +void +systemd1_unit_call_reload_or_restart ( + Systemd1Unit *proxy, + const gchar *arg_mode, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data) +{ + g_dbus_proxy_call (G_DBUS_PROXY (proxy), + "ReloadOrRestart", + g_variant_new ("(s)", + arg_mode), + G_DBUS_CALL_FLAGS_NONE, + -1, + cancellable, + callback, + user_data); +} + +/** + * systemd1_unit_call_reload_or_restart_finish: + * @proxy: A #Systemd1UnitProxy. + * @out_job: (out) (optional): Return location for return parameter or %NULL to ignore. + * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to systemd1_unit_call_reload_or_restart(). + * @error: Return location for error or %NULL. + * + * Finishes an operation started with systemd1_unit_call_reload_or_restart(). + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_unit_call_reload_or_restart_finish ( + Systemd1Unit *proxy, + gchar **out_job, + 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_job); + g_variant_unref (_ret); +_out: + return _ret != NULL; +} + +/** + * systemd1_unit_call_reload_or_restart_sync: + * @proxy: A #Systemd1UnitProxy. + * @arg_mode: Argument to pass with the method invocation. + * @out_job: (out) (optional): Return location for return parameter or %NULL to ignore. + * @cancellable: (nullable): A #GCancellable or %NULL. + * @error: Return location for error or %NULL. + * + * Synchronously invokes the <link linkend="gdbus-method-org-freedesktop-systemd1-Unit.ReloadOrRestart">ReloadOrRestart()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received. + * + * See systemd1_unit_call_reload_or_restart() for the asynchronous version of this method. + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_unit_call_reload_or_restart_sync ( + Systemd1Unit *proxy, + const gchar *arg_mode, + gchar **out_job, + GCancellable *cancellable, + GError **error) +{ + GVariant *_ret; + _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), + "ReloadOrRestart", + g_variant_new ("(s)", + arg_mode), + G_DBUS_CALL_FLAGS_NONE, + -1, + cancellable, + error); + if (_ret == NULL) + goto _out; + g_variant_get (_ret, + "(o)", + out_job); + g_variant_unref (_ret); +_out: + return _ret != NULL; +} + +/** + * systemd1_unit_call_reload_or_try_restart: + * @proxy: A #Systemd1UnitProxy. + * @arg_mode: Argument to pass with the method invocation. + * @cancellable: (nullable): 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-systemd1-Unit.ReloadOrTryRestart">ReloadOrTryRestart()</link> D-Bus method on @proxy. + * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). + * You can then call systemd1_unit_call_reload_or_try_restart_finish() to get the result of the operation. + * + * See systemd1_unit_call_reload_or_try_restart_sync() for the synchronous, blocking version of this method. + */ +void +systemd1_unit_call_reload_or_try_restart ( + Systemd1Unit *proxy, + const gchar *arg_mode, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data) +{ + g_dbus_proxy_call (G_DBUS_PROXY (proxy), + "ReloadOrTryRestart", + g_variant_new ("(s)", + arg_mode), + G_DBUS_CALL_FLAGS_NONE, + -1, + cancellable, + callback, + user_data); +} + +/** + * systemd1_unit_call_reload_or_try_restart_finish: + * @proxy: A #Systemd1UnitProxy. + * @out_job: (out) (optional): Return location for return parameter or %NULL to ignore. + * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to systemd1_unit_call_reload_or_try_restart(). + * @error: Return location for error or %NULL. + * + * Finishes an operation started with systemd1_unit_call_reload_or_try_restart(). + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_unit_call_reload_or_try_restart_finish ( + Systemd1Unit *proxy, + gchar **out_job, + 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_job); + g_variant_unref (_ret); +_out: + return _ret != NULL; +} + +/** + * systemd1_unit_call_reload_or_try_restart_sync: + * @proxy: A #Systemd1UnitProxy. + * @arg_mode: Argument to pass with the method invocation. + * @out_job: (out) (optional): Return location for return parameter or %NULL to ignore. + * @cancellable: (nullable): A #GCancellable or %NULL. + * @error: Return location for error or %NULL. + * + * Synchronously invokes the <link linkend="gdbus-method-org-freedesktop-systemd1-Unit.ReloadOrTryRestart">ReloadOrTryRestart()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received. + * + * See systemd1_unit_call_reload_or_try_restart() for the asynchronous version of this method. + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_unit_call_reload_or_try_restart_sync ( + Systemd1Unit *proxy, + const gchar *arg_mode, + gchar **out_job, + GCancellable *cancellable, + GError **error) +{ + GVariant *_ret; + _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), + "ReloadOrTryRestart", + g_variant_new ("(s)", + arg_mode), + G_DBUS_CALL_FLAGS_NONE, + -1, + cancellable, + error); + if (_ret == NULL) + goto _out; + g_variant_get (_ret, + "(o)", + out_job); + g_variant_unref (_ret); +_out: + return _ret != NULL; +} + +/** + * systemd1_unit_call_enqueue_job: + * @proxy: A #Systemd1UnitProxy. + * @arg_job_type: Argument to pass with the method invocation. + * @arg_job_mode: Argument to pass with the method invocation. + * @cancellable: (nullable): 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-systemd1-Unit.EnqueueJob">EnqueueJob()</link> D-Bus method on @proxy. + * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). + * You can then call systemd1_unit_call_enqueue_job_finish() to get the result of the operation. + * + * See systemd1_unit_call_enqueue_job_sync() for the synchronous, blocking version of this method. + */ +void +systemd1_unit_call_enqueue_job ( + Systemd1Unit *proxy, + const gchar *arg_job_type, + const gchar *arg_job_mode, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data) +{ + g_dbus_proxy_call (G_DBUS_PROXY (proxy), + "EnqueueJob", + g_variant_new ("(ss)", + arg_job_type, + arg_job_mode), + G_DBUS_CALL_FLAGS_NONE, + -1, + cancellable, + callback, + user_data); +} + +/** + * systemd1_unit_call_enqueue_job_finish: + * @proxy: A #Systemd1UnitProxy. + * @out_job_id: (out) (optional): Return location for return parameter or %NULL to ignore. + * @out_job_path: (out) (optional): Return location for return parameter or %NULL to ignore. + * @out_unit_id: (out) (optional): Return location for return parameter or %NULL to ignore. + * @out_unit_path: (out) (optional): Return location for return parameter or %NULL to ignore. + * @out_job_type: (out) (optional): Return location for return parameter or %NULL to ignore. + * @out_affected_jobs: (out) (optional): Return location for return parameter or %NULL to ignore. + * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to systemd1_unit_call_enqueue_job(). + * @error: Return location for error or %NULL. + * + * Finishes an operation started with systemd1_unit_call_enqueue_job(). + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_unit_call_enqueue_job_finish ( + Systemd1Unit *proxy, + guint *out_job_id, + gchar **out_job_path, + gchar **out_unit_id, + gchar **out_unit_path, + gchar **out_job_type, + GVariant **out_affected_jobs, + 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, + "(uosos@a(uosos))", + out_job_id, + out_job_path, + out_unit_id, + out_unit_path, + out_job_type, + out_affected_jobs); + g_variant_unref (_ret); +_out: + return _ret != NULL; +} + +/** + * systemd1_unit_call_enqueue_job_sync: + * @proxy: A #Systemd1UnitProxy. + * @arg_job_type: Argument to pass with the method invocation. + * @arg_job_mode: Argument to pass with the method invocation. + * @out_job_id: (out) (optional): Return location for return parameter or %NULL to ignore. + * @out_job_path: (out) (optional): Return location for return parameter or %NULL to ignore. + * @out_unit_id: (out) (optional): Return location for return parameter or %NULL to ignore. + * @out_unit_path: (out) (optional): Return location for return parameter or %NULL to ignore. + * @out_job_type: (out) (optional): Return location for return parameter or %NULL to ignore. + * @out_affected_jobs: (out) (optional): Return location for return parameter or %NULL to ignore. + * @cancellable: (nullable): A #GCancellable or %NULL. + * @error: Return location for error or %NULL. + * + * Synchronously invokes the <link linkend="gdbus-method-org-freedesktop-systemd1-Unit.EnqueueJob">EnqueueJob()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received. + * + * See systemd1_unit_call_enqueue_job() for the asynchronous version of this method. + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_unit_call_enqueue_job_sync ( + Systemd1Unit *proxy, + const gchar *arg_job_type, + const gchar *arg_job_mode, + guint *out_job_id, + gchar **out_job_path, + gchar **out_unit_id, + gchar **out_unit_path, + gchar **out_job_type, + GVariant **out_affected_jobs, + GCancellable *cancellable, + GError **error) +{ + GVariant *_ret; + _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), + "EnqueueJob", + g_variant_new ("(ss)", + arg_job_type, + arg_job_mode), + G_DBUS_CALL_FLAGS_NONE, + -1, + cancellable, + error); + if (_ret == NULL) + goto _out; + g_variant_get (_ret, + "(uosos@a(uosos))", + out_job_id, + out_job_path, + out_unit_id, + out_unit_path, + out_job_type, + out_affected_jobs); + g_variant_unref (_ret); +_out: + return _ret != NULL; +} + +/** + * systemd1_unit_call_kill: + * @proxy: A #Systemd1UnitProxy. + * @arg_whom: Argument to pass with the method invocation. + * @arg_signal: Argument to pass with the method invocation. + * @cancellable: (nullable): 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-systemd1-Unit.Kill">Kill()</link> D-Bus method on @proxy. + * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). + * You can then call systemd1_unit_call_kill_finish() to get the result of the operation. + * + * See systemd1_unit_call_kill_sync() for the synchronous, blocking version of this method. + */ +void +systemd1_unit_call_kill ( + Systemd1Unit *proxy, + const gchar *arg_whom, + gint arg_signal, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data) +{ + g_dbus_proxy_call (G_DBUS_PROXY (proxy), + "Kill", + g_variant_new ("(si)", + arg_whom, + arg_signal), + G_DBUS_CALL_FLAGS_NONE, + -1, + cancellable, + callback, + user_data); +} + +/** + * systemd1_unit_call_kill_finish: + * @proxy: A #Systemd1UnitProxy. + * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to systemd1_unit_call_kill(). + * @error: Return location for error or %NULL. + * + * Finishes an operation started with systemd1_unit_call_kill(). + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_unit_call_kill_finish ( + Systemd1Unit *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; +} + +/** + * systemd1_unit_call_kill_sync: + * @proxy: A #Systemd1UnitProxy. + * @arg_whom: Argument to pass with the method invocation. + * @arg_signal: Argument to pass with the method invocation. + * @cancellable: (nullable): A #GCancellable or %NULL. + * @error: Return location for error or %NULL. + * + * Synchronously invokes the <link linkend="gdbus-method-org-freedesktop-systemd1-Unit.Kill">Kill()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received. + * + * See systemd1_unit_call_kill() for the asynchronous version of this method. + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_unit_call_kill_sync ( + Systemd1Unit *proxy, + const gchar *arg_whom, + gint arg_signal, + GCancellable *cancellable, + GError **error) +{ + GVariant *_ret; + _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), + "Kill", + g_variant_new ("(si)", + arg_whom, + arg_signal), + 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; +} + +/** + * systemd1_unit_call_reset_failed: + * @proxy: A #Systemd1UnitProxy. + * @cancellable: (nullable): 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-systemd1-Unit.ResetFailed">ResetFailed()</link> D-Bus method on @proxy. + * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). + * You can then call systemd1_unit_call_reset_failed_finish() to get the result of the operation. + * + * See systemd1_unit_call_reset_failed_sync() for the synchronous, blocking version of this method. + */ +void +systemd1_unit_call_reset_failed ( + Systemd1Unit *proxy, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data) +{ + g_dbus_proxy_call (G_DBUS_PROXY (proxy), + "ResetFailed", + g_variant_new ("()"), + G_DBUS_CALL_FLAGS_NONE, + -1, + cancellable, + callback, + user_data); +} + +/** + * systemd1_unit_call_reset_failed_finish: + * @proxy: A #Systemd1UnitProxy. + * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to systemd1_unit_call_reset_failed(). + * @error: Return location for error or %NULL. + * + * Finishes an operation started with systemd1_unit_call_reset_failed(). + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_unit_call_reset_failed_finish ( + Systemd1Unit *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; +} + +/** + * systemd1_unit_call_reset_failed_sync: + * @proxy: A #Systemd1UnitProxy. + * @cancellable: (nullable): A #GCancellable or %NULL. + * @error: Return location for error or %NULL. + * + * Synchronously invokes the <link linkend="gdbus-method-org-freedesktop-systemd1-Unit.ResetFailed">ResetFailed()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received. + * + * See systemd1_unit_call_reset_failed() for the asynchronous version of this method. + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_unit_call_reset_failed_sync ( + Systemd1Unit *proxy, + GCancellable *cancellable, + GError **error) +{ + GVariant *_ret; + _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), + "ResetFailed", + 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; +} + +/** + * systemd1_unit_call_set_properties: + * @proxy: A #Systemd1UnitProxy. + * @arg_runtime: Argument to pass with the method invocation. + * @arg_properties: Argument to pass with the method invocation. + * @cancellable: (nullable): 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-systemd1-Unit.SetProperties">SetProperties()</link> D-Bus method on @proxy. + * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). + * You can then call systemd1_unit_call_set_properties_finish() to get the result of the operation. + * + * See systemd1_unit_call_set_properties_sync() for the synchronous, blocking version of this method. + */ +void +systemd1_unit_call_set_properties ( + Systemd1Unit *proxy, + gboolean arg_runtime, + GVariant *arg_properties, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data) +{ + g_dbus_proxy_call (G_DBUS_PROXY (proxy), + "SetProperties", + g_variant_new ("(b@a(sv))", + arg_runtime, + arg_properties), + G_DBUS_CALL_FLAGS_NONE, + -1, + cancellable, + callback, + user_data); +} + +/** + * systemd1_unit_call_set_properties_finish: + * @proxy: A #Systemd1UnitProxy. + * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to systemd1_unit_call_set_properties(). + * @error: Return location for error or %NULL. + * + * Finishes an operation started with systemd1_unit_call_set_properties(). + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_unit_call_set_properties_finish ( + Systemd1Unit *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; +} + +/** + * systemd1_unit_call_set_properties_sync: + * @proxy: A #Systemd1UnitProxy. + * @arg_runtime: Argument to pass with the method invocation. + * @arg_properties: Argument to pass with the method invocation. + * @cancellable: (nullable): A #GCancellable or %NULL. + * @error: Return location for error or %NULL. + * + * Synchronously invokes the <link linkend="gdbus-method-org-freedesktop-systemd1-Unit.SetProperties">SetProperties()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received. + * + * See systemd1_unit_call_set_properties() for the asynchronous version of this method. + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_unit_call_set_properties_sync ( + Systemd1Unit *proxy, + gboolean arg_runtime, + GVariant *arg_properties, + GCancellable *cancellable, + GError **error) +{ + GVariant *_ret; + _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), + "SetProperties", + g_variant_new ("(b@a(sv))", + arg_runtime, + arg_properties), + 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; +} + +/** + * systemd1_unit_call_ref: + * @proxy: A #Systemd1UnitProxy. + * @cancellable: (nullable): 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-systemd1-Unit.Ref">Ref()</link> D-Bus method on @proxy. + * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). + * You can then call systemd1_unit_call_ref_finish() to get the result of the operation. + * + * See systemd1_unit_call_ref_sync() for the synchronous, blocking version of this method. + */ +void +systemd1_unit_call_ref ( + Systemd1Unit *proxy, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data) +{ + g_dbus_proxy_call (G_DBUS_PROXY (proxy), + "Ref", + g_variant_new ("()"), + G_DBUS_CALL_FLAGS_NONE, + -1, + cancellable, + callback, + user_data); +} + +/** + * systemd1_unit_call_ref_finish: + * @proxy: A #Systemd1UnitProxy. + * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to systemd1_unit_call_ref(). + * @error: Return location for error or %NULL. + * + * Finishes an operation started with systemd1_unit_call_ref(). + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_unit_call_ref_finish ( + Systemd1Unit *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; +} + +/** + * systemd1_unit_call_ref_sync: + * @proxy: A #Systemd1UnitProxy. + * @cancellable: (nullable): A #GCancellable or %NULL. + * @error: Return location for error or %NULL. + * + * Synchronously invokes the <link linkend="gdbus-method-org-freedesktop-systemd1-Unit.Ref">Ref()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received. + * + * See systemd1_unit_call_ref() for the asynchronous version of this method. + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_unit_call_ref_sync ( + Systemd1Unit *proxy, + GCancellable *cancellable, + GError **error) +{ + GVariant *_ret; + _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), + "Ref", + 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; +} + +/** + * systemd1_unit_call_unref: + * @proxy: A #Systemd1UnitProxy. + * @cancellable: (nullable): 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-systemd1-Unit.Unref">Unref()</link> D-Bus method on @proxy. + * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). + * You can then call systemd1_unit_call_unref_finish() to get the result of the operation. + * + * See systemd1_unit_call_unref_sync() for the synchronous, blocking version of this method. + */ +void +systemd1_unit_call_unref ( + Systemd1Unit *proxy, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data) +{ + g_dbus_proxy_call (G_DBUS_PROXY (proxy), + "Unref", + g_variant_new ("()"), + G_DBUS_CALL_FLAGS_NONE, + -1, + cancellable, + callback, + user_data); +} + +/** + * systemd1_unit_call_unref_finish: + * @proxy: A #Systemd1UnitProxy. + * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to systemd1_unit_call_unref(). + * @error: Return location for error or %NULL. + * + * Finishes an operation started with systemd1_unit_call_unref(). + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_unit_call_unref_finish ( + Systemd1Unit *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; +} + +/** + * systemd1_unit_call_unref_sync: + * @proxy: A #Systemd1UnitProxy. + * @cancellable: (nullable): A #GCancellable or %NULL. + * @error: Return location for error or %NULL. + * + * Synchronously invokes the <link linkend="gdbus-method-org-freedesktop-systemd1-Unit.Unref">Unref()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received. + * + * See systemd1_unit_call_unref() for the asynchronous version of this method. + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_unit_call_unref_sync ( + Systemd1Unit *proxy, + GCancellable *cancellable, + GError **error) +{ + GVariant *_ret; + _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), + "Unref", + 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; +} + +/** + * systemd1_unit_call_clean: + * @proxy: A #Systemd1UnitProxy. + * @arg_mask: Argument to pass with the method invocation. + * @cancellable: (nullable): 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-systemd1-Unit.Clean">Clean()</link> D-Bus method on @proxy. + * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). + * You can then call systemd1_unit_call_clean_finish() to get the result of the operation. + * + * See systemd1_unit_call_clean_sync() for the synchronous, blocking version of this method. + */ +void +systemd1_unit_call_clean ( + Systemd1Unit *proxy, + const gchar *const *arg_mask, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data) +{ + g_dbus_proxy_call (G_DBUS_PROXY (proxy), + "Clean", + g_variant_new ("(^as)", + arg_mask), + G_DBUS_CALL_FLAGS_NONE, + -1, + cancellable, + callback, + user_data); +} + +/** + * systemd1_unit_call_clean_finish: + * @proxy: A #Systemd1UnitProxy. + * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to systemd1_unit_call_clean(). + * @error: Return location for error or %NULL. + * + * Finishes an operation started with systemd1_unit_call_clean(). + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_unit_call_clean_finish ( + Systemd1Unit *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; +} + +/** + * systemd1_unit_call_clean_sync: + * @proxy: A #Systemd1UnitProxy. + * @arg_mask: Argument to pass with the method invocation. + * @cancellable: (nullable): A #GCancellable or %NULL. + * @error: Return location for error or %NULL. + * + * Synchronously invokes the <link linkend="gdbus-method-org-freedesktop-systemd1-Unit.Clean">Clean()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received. + * + * See systemd1_unit_call_clean() for the asynchronous version of this method. + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_unit_call_clean_sync ( + Systemd1Unit *proxy, + const gchar *const *arg_mask, + GCancellable *cancellable, + GError **error) +{ + GVariant *_ret; + _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), + "Clean", + g_variant_new ("(^as)", + arg_mask), + 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; +} + +/** + * systemd1_unit_call_freeze: + * @proxy: A #Systemd1UnitProxy. + * @cancellable: (nullable): 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-systemd1-Unit.Freeze">Freeze()</link> D-Bus method on @proxy. + * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). + * You can then call systemd1_unit_call_freeze_finish() to get the result of the operation. + * + * See systemd1_unit_call_freeze_sync() for the synchronous, blocking version of this method. + */ +void +systemd1_unit_call_freeze ( + Systemd1Unit *proxy, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data) +{ + g_dbus_proxy_call (G_DBUS_PROXY (proxy), + "Freeze", + g_variant_new ("()"), + G_DBUS_CALL_FLAGS_NONE, + -1, + cancellable, + callback, + user_data); +} + +/** + * systemd1_unit_call_freeze_finish: + * @proxy: A #Systemd1UnitProxy. + * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to systemd1_unit_call_freeze(). + * @error: Return location for error or %NULL. + * + * Finishes an operation started with systemd1_unit_call_freeze(). + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_unit_call_freeze_finish ( + Systemd1Unit *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; +} + +/** + * systemd1_unit_call_freeze_sync: + * @proxy: A #Systemd1UnitProxy. + * @cancellable: (nullable): A #GCancellable or %NULL. + * @error: Return location for error or %NULL. + * + * Synchronously invokes the <link linkend="gdbus-method-org-freedesktop-systemd1-Unit.Freeze">Freeze()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received. + * + * See systemd1_unit_call_freeze() for the asynchronous version of this method. + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_unit_call_freeze_sync ( + Systemd1Unit *proxy, + GCancellable *cancellable, + GError **error) +{ + GVariant *_ret; + _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), + "Freeze", + 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; +} + +/** + * systemd1_unit_call_thaw: + * @proxy: A #Systemd1UnitProxy. + * @cancellable: (nullable): 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-systemd1-Unit.Thaw">Thaw()</link> D-Bus method on @proxy. + * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). + * You can then call systemd1_unit_call_thaw_finish() to get the result of the operation. + * + * See systemd1_unit_call_thaw_sync() for the synchronous, blocking version of this method. + */ +void +systemd1_unit_call_thaw ( + Systemd1Unit *proxy, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data) +{ + g_dbus_proxy_call (G_DBUS_PROXY (proxy), + "Thaw", + g_variant_new ("()"), + G_DBUS_CALL_FLAGS_NONE, + -1, + cancellable, + callback, + user_data); +} + +/** + * systemd1_unit_call_thaw_finish: + * @proxy: A #Systemd1UnitProxy. + * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to systemd1_unit_call_thaw(). + * @error: Return location for error or %NULL. + * + * Finishes an operation started with systemd1_unit_call_thaw(). + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_unit_call_thaw_finish ( + Systemd1Unit *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; +} + +/** + * systemd1_unit_call_thaw_sync: + * @proxy: A #Systemd1UnitProxy. + * @cancellable: (nullable): A #GCancellable or %NULL. + * @error: Return location for error or %NULL. + * + * Synchronously invokes the <link linkend="gdbus-method-org-freedesktop-systemd1-Unit.Thaw">Thaw()</link> D-Bus method on @proxy. The calling thread is blocked until a reply is received. + * + * See systemd1_unit_call_thaw() for the asynchronous version of this method. + * + * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set. + */ +gboolean +systemd1_unit_call_thaw_sync ( + Systemd1Unit *proxy, + GCancellable *cancellable, + GError **error) +{ + GVariant *_ret; + _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy), + "Thaw", + 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; +} + +/** + * systemd1_unit_complete_start: + * @object: A #Systemd1Unit. + * @invocation: (transfer full): A #GDBusMethodInvocation. + * @job: Parameter to return. + * + * Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-freedesktop-systemd1-Unit.Start">Start()</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 +systemd1_unit_complete_start ( + Systemd1Unit *object G_GNUC_UNUSED, + GDBusMethodInvocation *invocation, + const gchar *job) +{ + g_dbus_method_invocation_return_value (invocation, + g_variant_new ("(o)", + job)); +} + +/** + * systemd1_unit_complete_stop: + * @object: A #Systemd1Unit. + * @invocation: (transfer full): A #GDBusMethodInvocation. + * @job: Parameter to return. + * + * Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-freedesktop-systemd1-Unit.Stop">Stop()</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 +systemd1_unit_complete_stop ( + Systemd1Unit *object G_GNUC_UNUSED, + GDBusMethodInvocation *invocation, + const gchar *job) +{ + g_dbus_method_invocation_return_value (invocation, + g_variant_new ("(o)", + job)); +} + +/** + * systemd1_unit_complete_reload: + * @object: A #Systemd1Unit. + * @invocation: (transfer full): A #GDBusMethodInvocation. + * @job: Parameter to return. + * + * Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-freedesktop-systemd1-Unit.Reload">Reload()</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 +systemd1_unit_complete_reload ( + Systemd1Unit *object G_GNUC_UNUSED, + GDBusMethodInvocation *invocation, + const gchar *job) +{ + g_dbus_method_invocation_return_value (invocation, + g_variant_new ("(o)", + job)); +} + +/** + * systemd1_unit_complete_restart: + * @object: A #Systemd1Unit. + * @invocation: (transfer full): A #GDBusMethodInvocation. + * @job: Parameter to return. + * + * Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-freedesktop-systemd1-Unit.Restart">Restart()</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 +systemd1_unit_complete_restart ( + Systemd1Unit *object G_GNUC_UNUSED, + GDBusMethodInvocation *invocation, + const gchar *job) +{ + g_dbus_method_invocation_return_value (invocation, + g_variant_new ("(o)", + job)); +} + +/** + * systemd1_unit_complete_try_restart: + * @object: A #Systemd1Unit. + * @invocation: (transfer full): A #GDBusMethodInvocation. + * @job: Parameter to return. + * + * Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-freedesktop-systemd1-Unit.TryRestart">TryRestart()</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 +systemd1_unit_complete_try_restart ( + Systemd1Unit *object G_GNUC_UNUSED, + GDBusMethodInvocation *invocation, + const gchar *job) +{ + g_dbus_method_invocation_return_value (invocation, + g_variant_new ("(o)", + job)); +} + +/** + * systemd1_unit_complete_reload_or_restart: + * @object: A #Systemd1Unit. + * @invocation: (transfer full): A #GDBusMethodInvocation. + * @job: Parameter to return. + * + * Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-freedesktop-systemd1-Unit.ReloadOrRestart">ReloadOrRestart()</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 +systemd1_unit_complete_reload_or_restart ( + Systemd1Unit *object G_GNUC_UNUSED, + GDBusMethodInvocation *invocation, + const gchar *job) +{ + g_dbus_method_invocation_return_value (invocation, + g_variant_new ("(o)", + job)); +} + +/** + * systemd1_unit_complete_reload_or_try_restart: + * @object: A #Systemd1Unit. + * @invocation: (transfer full): A #GDBusMethodInvocation. + * @job: Parameter to return. + * + * Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-freedesktop-systemd1-Unit.ReloadOrTryRestart">ReloadOrTryRestart()</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 +systemd1_unit_complete_reload_or_try_restart ( + Systemd1Unit *object G_GNUC_UNUSED, + GDBusMethodInvocation *invocation, + const gchar *job) +{ + g_dbus_method_invocation_return_value (invocation, + g_variant_new ("(o)", + job)); +} + +/** + * systemd1_unit_complete_enqueue_job: + * @object: A #Systemd1Unit. + * @invocation: (transfer full): A #GDBusMethodInvocation. + * @job_id: Parameter to return. + * @job_path: Parameter to return. + * @unit_id: Parameter to return. + * @unit_path: Parameter to return. + * @job_type: Parameter to return. + * @affected_jobs: Parameter to return. + * + * Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-freedesktop-systemd1-Unit.EnqueueJob">EnqueueJob()</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 +systemd1_unit_complete_enqueue_job ( + Systemd1Unit *object G_GNUC_UNUSED, + GDBusMethodInvocation *invocation, + guint job_id, + const gchar *job_path, + const gchar *unit_id, + const gchar *unit_path, + const gchar *job_type, + GVariant *affected_jobs) +{ + g_dbus_method_invocation_return_value (invocation, + g_variant_new ("(uosos@a(uosos))", + job_id, + job_path, + unit_id, + unit_path, + job_type, + affected_jobs)); +} + +/** + * systemd1_unit_complete_kill: + * @object: A #Systemd1Unit. + * @invocation: (transfer full): A #GDBusMethodInvocation. + * + * Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-freedesktop-systemd1-Unit.Kill">Kill()</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 +systemd1_unit_complete_kill ( + Systemd1Unit *object G_GNUC_UNUSED, + GDBusMethodInvocation *invocation) +{ + g_dbus_method_invocation_return_value (invocation, + g_variant_new ("()")); +} + +/** + * systemd1_unit_complete_reset_failed: + * @object: A #Systemd1Unit. + * @invocation: (transfer full): A #GDBusMethodInvocation. + * + * Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-freedesktop-systemd1-Unit.ResetFailed">ResetFailed()</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 +systemd1_unit_complete_reset_failed ( + Systemd1Unit *object G_GNUC_UNUSED, + GDBusMethodInvocation *invocation) +{ + g_dbus_method_invocation_return_value (invocation, + g_variant_new ("()")); +} + +/** + * systemd1_unit_complete_set_properties: + * @object: A #Systemd1Unit. + * @invocation: (transfer full): A #GDBusMethodInvocation. + * + * Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-freedesktop-systemd1-Unit.SetProperties">SetProperties()</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 +systemd1_unit_complete_set_properties ( + Systemd1Unit *object G_GNUC_UNUSED, + GDBusMethodInvocation *invocation) +{ + g_dbus_method_invocation_return_value (invocation, + g_variant_new ("()")); +} + +/** + * systemd1_unit_complete_ref: + * @object: A #Systemd1Unit. + * @invocation: (transfer full): A #GDBusMethodInvocation. + * + * Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-freedesktop-systemd1-Unit.Ref">Ref()</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 +systemd1_unit_complete_ref ( + Systemd1Unit *object G_GNUC_UNUSED, + GDBusMethodInvocation *invocation) +{ + g_dbus_method_invocation_return_value (invocation, + g_variant_new ("()")); +} + +/** + * systemd1_unit_complete_unref: + * @object: A #Systemd1Unit. + * @invocation: (transfer full): A #GDBusMethodInvocation. + * + * Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-freedesktop-systemd1-Unit.Unref">Unref()</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 +systemd1_unit_complete_unref ( + Systemd1Unit *object G_GNUC_UNUSED, + GDBusMethodInvocation *invocation) +{ + g_dbus_method_invocation_return_value (invocation, + g_variant_new ("()")); +} + +/** + * systemd1_unit_complete_clean: + * @object: A #Systemd1Unit. + * @invocation: (transfer full): A #GDBusMethodInvocation. + * + * Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-freedesktop-systemd1-Unit.Clean">Clean()</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 +systemd1_unit_complete_clean ( + Systemd1Unit *object G_GNUC_UNUSED, + GDBusMethodInvocation *invocation) +{ + g_dbus_method_invocation_return_value (invocation, + g_variant_new ("()")); +} + +/** + * systemd1_unit_complete_freeze: + * @object: A #Systemd1Unit. + * @invocation: (transfer full): A #GDBusMethodInvocation. + * + * Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-freedesktop-systemd1-Unit.Freeze">Freeze()</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 +systemd1_unit_complete_freeze ( + Systemd1Unit *object G_GNUC_UNUSED, + GDBusMethodInvocation *invocation) +{ + g_dbus_method_invocation_return_value (invocation, + g_variant_new ("()")); +} + +/** + * systemd1_unit_complete_thaw: + * @object: A #Systemd1Unit. + * @invocation: (transfer full): A #GDBusMethodInvocation. + * + * Helper function used in service implementations to finish handling invocations of the <link linkend="gdbus-method-org-freedesktop-systemd1-Unit.Thaw">Thaw()</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 +systemd1_unit_complete_thaw ( + Systemd1Unit *object G_GNUC_UNUSED, + GDBusMethodInvocation *invocation) +{ + g_dbus_method_invocation_return_value (invocation, + g_variant_new ("()")); +} + +/* ------------------------------------------------------------------------ */ + +/** + * Systemd1UnitProxy: + * + * The #Systemd1UnitProxy structure contains only private data and should only be accessed using the provided API. + */ + +/** + * Systemd1UnitProxyClass: + * @parent_class: The parent class. + * + * Class structure for #Systemd1UnitProxy. + */ + +struct _Systemd1UnitProxyPrivate +{ + GData *qdata; +}; + +static void systemd1_unit_proxy_iface_init (Systemd1UnitIface *iface); + +#if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 +G_DEFINE_TYPE_WITH_CODE (Systemd1UnitProxy, systemd1_unit_proxy, G_TYPE_DBUS_PROXY, + G_ADD_PRIVATE (Systemd1UnitProxy) + G_IMPLEMENT_INTERFACE (TYPE_SYSTEMD1_UNIT, systemd1_unit_proxy_iface_init)) + +#else +G_DEFINE_TYPE_WITH_CODE (Systemd1UnitProxy, systemd1_unit_proxy, G_TYPE_DBUS_PROXY, + G_IMPLEMENT_INTERFACE (TYPE_SYSTEMD1_UNIT, systemd1_unit_proxy_iface_init)) + +#endif +static void +systemd1_unit_proxy_finalize (GObject *object) +{ + Systemd1UnitProxy *proxy = SYSTEMD1_UNIT_PROXY (object); + g_datalist_clear (&proxy->priv->qdata); + G_OBJECT_CLASS (systemd1_unit_proxy_parent_class)->finalize (object); +} + +static void +systemd1_unit_proxy_get_property (GObject *object, + guint prop_id, + GValue *value, + GParamSpec *pspec G_GNUC_UNUSED) +{ + const _ExtendedGDBusPropertyInfo *info; + GVariant *variant; + g_assert (prop_id != 0 && prop_id - 1 < 94); + info = (const _ExtendedGDBusPropertyInfo *) _systemd1_unit_property_info_pointers[prop_id - 1]; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name); + if (info->use_gvariant) + { + g_value_set_variant (value, variant); + } + else + { + if (variant != NULL) + g_dbus_gvariant_to_gvalue (variant, value); + } + if (variant != NULL) + g_variant_unref (variant); +} + +static void +systemd1_unit_proxy_set_property_cb (GDBusProxy *proxy, + GAsyncResult *res, + gpointer user_data) +{ + const _ExtendedGDBusPropertyInfo *info = user_data; + GError *error; + GVariant *_ret; + error = NULL; + _ret = g_dbus_proxy_call_finish (proxy, res, &error); + if (!_ret) + { + g_warning ("Error setting property '%s' on interface org.freedesktop.systemd1.Unit: %s (%s, %d)", + info->parent_struct.name, + error->message, g_quark_to_string (error->domain), error->code); + g_error_free (error); + } + else + { + g_variant_unref (_ret); + } +} + +static void +systemd1_unit_proxy_set_property (GObject *object, + guint prop_id, + const GValue *value, + GParamSpec *pspec G_GNUC_UNUSED) +{ + const _ExtendedGDBusPropertyInfo *info; + GVariant *variant; + g_assert (prop_id != 0 && prop_id - 1 < 94); + info = (const _ExtendedGDBusPropertyInfo *) _systemd1_unit_property_info_pointers[prop_id - 1]; + variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature)); + g_dbus_proxy_call (G_DBUS_PROXY (object), + "org.freedesktop.DBus.Properties.Set", + g_variant_new ("(ssv)", "org.freedesktop.systemd1.Unit", info->parent_struct.name, variant), + G_DBUS_CALL_FLAGS_NONE, + -1, + NULL, (GAsyncReadyCallback) systemd1_unit_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct); + g_variant_unref (variant); +} + +static void +systemd1_unit_proxy_g_signal (GDBusProxy *proxy, + const gchar *sender_name G_GNUC_UNUSED, + const gchar *signal_name, + GVariant *parameters) +{ + _ExtendedGDBusSignalInfo *info; + GVariantIter iter; + GVariant *child; + GValue *paramv; + gsize num_params; + gsize n; + guint signal_id; + info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_systemd1_unit_interface_info.parent_struct, signal_name); + if (info == NULL) + return; + num_params = g_variant_n_children (parameters); + paramv = g_new0 (GValue, num_params + 1); + g_value_init (¶mv[0], TYPE_SYSTEMD1_UNIT); + g_value_set_object (¶mv[0], proxy); + g_variant_iter_init (&iter, parameters); + n = 1; + while ((child = g_variant_iter_next_value (&iter)) != NULL) + { + _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1]; + if (arg_info->use_gvariant) + { + g_value_init (¶mv[n], G_TYPE_VARIANT); + g_value_set_variant (¶mv[n], child); + n++; + } + else + g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); + g_variant_unref (child); + } + signal_id = g_signal_lookup (info->signal_name, TYPE_SYSTEMD1_UNIT); + g_signal_emitv (paramv, signal_id, 0, NULL); + for (n = 0; n < num_params + 1; n++) + g_value_unset (¶mv[n]); + g_free (paramv); +} + +static void +systemd1_unit_proxy_g_properties_changed (GDBusProxy *_proxy, + GVariant *changed_properties, + const gchar *const *invalidated_properties) +{ + Systemd1UnitProxy *proxy = SYSTEMD1_UNIT_PROXY (_proxy); + guint n; + const gchar *key; + GVariantIter *iter; + _ExtendedGDBusPropertyInfo *info; + g_variant_get (changed_properties, "a{sv}", &iter); + while (g_variant_iter_next (iter, "{&sv}", &key, NULL)) + { + info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_systemd1_unit_interface_info.parent_struct, key); + g_datalist_remove_data (&proxy->priv->qdata, key); + if (info != NULL) + g_object_notify (G_OBJECT (proxy), info->hyphen_name); + } + g_variant_iter_free (iter); + for (n = 0; invalidated_properties[n] != NULL; n++) + { + info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_systemd1_unit_interface_info.parent_struct, invalidated_properties[n]); + g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]); + if (info != NULL) + g_object_notify (G_OBJECT (proxy), info->hyphen_name); + } +} + +static const gchar * +systemd1_unit_proxy_get_id (Systemd1Unit *object) +{ + Systemd1UnitProxy *proxy = SYSTEMD1_UNIT_PROXY (object); + GVariant *variant; + const gchar *value = NULL; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "Id"); + if (variant != NULL) + { + value = g_variant_get_string (variant, NULL); + g_variant_unref (variant); + } + return value; +} + +static const gchar *const * +systemd1_unit_proxy_get_names (Systemd1Unit *object) +{ + Systemd1UnitProxy *proxy = SYSTEMD1_UNIT_PROXY (object); + GVariant *variant; + const gchar *const *value = NULL; + value = g_datalist_get_data (&proxy->priv->qdata, "Names"); + if (value != NULL) + return value; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "Names"); + if (variant != NULL) + { + value = g_variant_get_strv (variant, NULL); + g_datalist_set_data_full (&proxy->priv->qdata, "Names", (gpointer) value, g_free); + g_variant_unref (variant); + } + return value; +} + +static const gchar * +systemd1_unit_proxy_get_following (Systemd1Unit *object) +{ + Systemd1UnitProxy *proxy = SYSTEMD1_UNIT_PROXY (object); + GVariant *variant; + const gchar *value = NULL; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "Following"); + if (variant != NULL) + { + value = g_variant_get_string (variant, NULL); + g_variant_unref (variant); + } + return value; +} + +static const gchar *const * +systemd1_unit_proxy_get_requires (Systemd1Unit *object) +{ + Systemd1UnitProxy *proxy = SYSTEMD1_UNIT_PROXY (object); + GVariant *variant; + const gchar *const *value = NULL; + value = g_datalist_get_data (&proxy->priv->qdata, "Requires"); + if (value != NULL) + return value; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "Requires"); + if (variant != NULL) + { + value = g_variant_get_strv (variant, NULL); + g_datalist_set_data_full (&proxy->priv->qdata, "Requires", (gpointer) value, g_free); + g_variant_unref (variant); + } + return value; +} + +static const gchar *const * +systemd1_unit_proxy_get_requisite (Systemd1Unit *object) +{ + Systemd1UnitProxy *proxy = SYSTEMD1_UNIT_PROXY (object); + GVariant *variant; + const gchar *const *value = NULL; + value = g_datalist_get_data (&proxy->priv->qdata, "Requisite"); + if (value != NULL) + return value; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "Requisite"); + if (variant != NULL) + { + value = g_variant_get_strv (variant, NULL); + g_datalist_set_data_full (&proxy->priv->qdata, "Requisite", (gpointer) value, g_free); + g_variant_unref (variant); + } + return value; +} + +static const gchar *const * +systemd1_unit_proxy_get_wants (Systemd1Unit *object) +{ + Systemd1UnitProxy *proxy = SYSTEMD1_UNIT_PROXY (object); + GVariant *variant; + const gchar *const *value = NULL; + value = g_datalist_get_data (&proxy->priv->qdata, "Wants"); + if (value != NULL) + return value; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "Wants"); + if (variant != NULL) + { + value = g_variant_get_strv (variant, NULL); + g_datalist_set_data_full (&proxy->priv->qdata, "Wants", (gpointer) value, g_free); + g_variant_unref (variant); + } + return value; +} + +static const gchar *const * +systemd1_unit_proxy_get_binds_to (Systemd1Unit *object) +{ + Systemd1UnitProxy *proxy = SYSTEMD1_UNIT_PROXY (object); + GVariant *variant; + const gchar *const *value = NULL; + value = g_datalist_get_data (&proxy->priv->qdata, "BindsTo"); + if (value != NULL) + return value; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "BindsTo"); + if (variant != NULL) + { + value = g_variant_get_strv (variant, NULL); + g_datalist_set_data_full (&proxy->priv->qdata, "BindsTo", (gpointer) value, g_free); + g_variant_unref (variant); + } + return value; +} + +static const gchar *const * +systemd1_unit_proxy_get_part_of (Systemd1Unit *object) +{ + Systemd1UnitProxy *proxy = SYSTEMD1_UNIT_PROXY (object); + GVariant *variant; + const gchar *const *value = NULL; + value = g_datalist_get_data (&proxy->priv->qdata, "PartOf"); + if (value != NULL) + return value; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "PartOf"); + if (variant != NULL) + { + value = g_variant_get_strv (variant, NULL); + g_datalist_set_data_full (&proxy->priv->qdata, "PartOf", (gpointer) value, g_free); + g_variant_unref (variant); + } + return value; +} + +static const gchar *const * +systemd1_unit_proxy_get_required_by (Systemd1Unit *object) +{ + Systemd1UnitProxy *proxy = SYSTEMD1_UNIT_PROXY (object); + GVariant *variant; + const gchar *const *value = NULL; + value = g_datalist_get_data (&proxy->priv->qdata, "RequiredBy"); + if (value != NULL) + return value; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "RequiredBy"); + if (variant != NULL) + { + value = g_variant_get_strv (variant, NULL); + g_datalist_set_data_full (&proxy->priv->qdata, "RequiredBy", (gpointer) value, g_free); + g_variant_unref (variant); + } + return value; +} + +static const gchar *const * +systemd1_unit_proxy_get_requisite_of (Systemd1Unit *object) +{ + Systemd1UnitProxy *proxy = SYSTEMD1_UNIT_PROXY (object); + GVariant *variant; + const gchar *const *value = NULL; + value = g_datalist_get_data (&proxy->priv->qdata, "RequisiteOf"); + if (value != NULL) + return value; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "RequisiteOf"); + if (variant != NULL) + { + value = g_variant_get_strv (variant, NULL); + g_datalist_set_data_full (&proxy->priv->qdata, "RequisiteOf", (gpointer) value, g_free); + g_variant_unref (variant); + } + return value; +} + +static const gchar *const * +systemd1_unit_proxy_get_wanted_by (Systemd1Unit *object) +{ + Systemd1UnitProxy *proxy = SYSTEMD1_UNIT_PROXY (object); + GVariant *variant; + const gchar *const *value = NULL; + value = g_datalist_get_data (&proxy->priv->qdata, "WantedBy"); + if (value != NULL) + return value; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "WantedBy"); + if (variant != NULL) + { + value = g_variant_get_strv (variant, NULL); + g_datalist_set_data_full (&proxy->priv->qdata, "WantedBy", (gpointer) value, g_free); + g_variant_unref (variant); + } + return value; +} + +static const gchar *const * +systemd1_unit_proxy_get_bound_by (Systemd1Unit *object) +{ + Systemd1UnitProxy *proxy = SYSTEMD1_UNIT_PROXY (object); + GVariant *variant; + const gchar *const *value = NULL; + value = g_datalist_get_data (&proxy->priv->qdata, "BoundBy"); + if (value != NULL) + return value; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "BoundBy"); + if (variant != NULL) + { + value = g_variant_get_strv (variant, NULL); + g_datalist_set_data_full (&proxy->priv->qdata, "BoundBy", (gpointer) value, g_free); + g_variant_unref (variant); + } + return value; +} + +static const gchar *const * +systemd1_unit_proxy_get_consists_of (Systemd1Unit *object) +{ + Systemd1UnitProxy *proxy = SYSTEMD1_UNIT_PROXY (object); + GVariant *variant; + const gchar *const *value = NULL; + value = g_datalist_get_data (&proxy->priv->qdata, "ConsistsOf"); + if (value != NULL) + return value; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "ConsistsOf"); + if (variant != NULL) + { + value = g_variant_get_strv (variant, NULL); + g_datalist_set_data_full (&proxy->priv->qdata, "ConsistsOf", (gpointer) value, g_free); + g_variant_unref (variant); + } + return value; +} + +static const gchar *const * +systemd1_unit_proxy_get_conflicts (Systemd1Unit *object) +{ + Systemd1UnitProxy *proxy = SYSTEMD1_UNIT_PROXY (object); + GVariant *variant; + const gchar *const *value = NULL; + value = g_datalist_get_data (&proxy->priv->qdata, "Conflicts"); + if (value != NULL) + return value; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "Conflicts"); + if (variant != NULL) + { + value = g_variant_get_strv (variant, NULL); + g_datalist_set_data_full (&proxy->priv->qdata, "Conflicts", (gpointer) value, g_free); + g_variant_unref (variant); + } + return value; +} + +static const gchar *const * +systemd1_unit_proxy_get_conflicted_by (Systemd1Unit *object) +{ + Systemd1UnitProxy *proxy = SYSTEMD1_UNIT_PROXY (object); + GVariant *variant; + const gchar *const *value = NULL; + value = g_datalist_get_data (&proxy->priv->qdata, "ConflictedBy"); + if (value != NULL) + return value; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "ConflictedBy"); + if (variant != NULL) + { + value = g_variant_get_strv (variant, NULL); + g_datalist_set_data_full (&proxy->priv->qdata, "ConflictedBy", (gpointer) value, g_free); + g_variant_unref (variant); + } + return value; +} + +static const gchar *const * +systemd1_unit_proxy_get_before (Systemd1Unit *object) +{ + Systemd1UnitProxy *proxy = SYSTEMD1_UNIT_PROXY (object); + GVariant *variant; + const gchar *const *value = NULL; + value = g_datalist_get_data (&proxy->priv->qdata, "Before"); + if (value != NULL) + return value; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "Before"); + if (variant != NULL) + { + value = g_variant_get_strv (variant, NULL); + g_datalist_set_data_full (&proxy->priv->qdata, "Before", (gpointer) value, g_free); + g_variant_unref (variant); + } + return value; +} + +static const gchar *const * +systemd1_unit_proxy_get_after (Systemd1Unit *object) +{ + Systemd1UnitProxy *proxy = SYSTEMD1_UNIT_PROXY (object); + GVariant *variant; + const gchar *const *value = NULL; + value = g_datalist_get_data (&proxy->priv->qdata, "After"); + if (value != NULL) + return value; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "After"); + if (variant != NULL) + { + value = g_variant_get_strv (variant, NULL); + g_datalist_set_data_full (&proxy->priv->qdata, "After", (gpointer) value, g_free); + g_variant_unref (variant); + } + return value; +} + +static const gchar *const * +systemd1_unit_proxy_get_on_failure (Systemd1Unit *object) +{ + Systemd1UnitProxy *proxy = SYSTEMD1_UNIT_PROXY (object); + GVariant *variant; + const gchar *const *value = NULL; + value = g_datalist_get_data (&proxy->priv->qdata, "OnFailure"); + if (value != NULL) + return value; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "OnFailure"); + if (variant != NULL) + { + value = g_variant_get_strv (variant, NULL); + g_datalist_set_data_full (&proxy->priv->qdata, "OnFailure", (gpointer) value, g_free); + g_variant_unref (variant); + } + return value; +} + +static const gchar *const * +systemd1_unit_proxy_get_on_failure_of (Systemd1Unit *object) +{ + Systemd1UnitProxy *proxy = SYSTEMD1_UNIT_PROXY (object); + GVariant *variant; + const gchar *const *value = NULL; + value = g_datalist_get_data (&proxy->priv->qdata, "OnFailureOf"); + if (value != NULL) + return value; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "OnFailureOf"); + if (variant != NULL) + { + value = g_variant_get_strv (variant, NULL); + g_datalist_set_data_full (&proxy->priv->qdata, "OnFailureOf", (gpointer) value, g_free); + g_variant_unref (variant); + } + return value; +} + +static const gchar *const * +systemd1_unit_proxy_get_on_success (Systemd1Unit *object) +{ + Systemd1UnitProxy *proxy = SYSTEMD1_UNIT_PROXY (object); + GVariant *variant; + const gchar *const *value = NULL; + value = g_datalist_get_data (&proxy->priv->qdata, "OnSuccess"); + if (value != NULL) + return value; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "OnSuccess"); + if (variant != NULL) + { + value = g_variant_get_strv (variant, NULL); + g_datalist_set_data_full (&proxy->priv->qdata, "OnSuccess", (gpointer) value, g_free); + g_variant_unref (variant); + } + return value; +} + +static const gchar *const * +systemd1_unit_proxy_get_on_success_of (Systemd1Unit *object) +{ + Systemd1UnitProxy *proxy = SYSTEMD1_UNIT_PROXY (object); + GVariant *variant; + const gchar *const *value = NULL; + value = g_datalist_get_data (&proxy->priv->qdata, "OnSuccessOf"); + if (value != NULL) + return value; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "OnSuccessOf"); + if (variant != NULL) + { + value = g_variant_get_strv (variant, NULL); + g_datalist_set_data_full (&proxy->priv->qdata, "OnSuccessOf", (gpointer) value, g_free); + g_variant_unref (variant); + } + return value; +} + +static const gchar *const * +systemd1_unit_proxy_get_triggers (Systemd1Unit *object) +{ + Systemd1UnitProxy *proxy = SYSTEMD1_UNIT_PROXY (object); + GVariant *variant; + const gchar *const *value = NULL; + value = g_datalist_get_data (&proxy->priv->qdata, "Triggers"); + if (value != NULL) + return value; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "Triggers"); + if (variant != NULL) + { + value = g_variant_get_strv (variant, NULL); + g_datalist_set_data_full (&proxy->priv->qdata, "Triggers", (gpointer) value, g_free); + g_variant_unref (variant); + } + return value; +} + +static const gchar *const * +systemd1_unit_proxy_get_triggered_by (Systemd1Unit *object) +{ + Systemd1UnitProxy *proxy = SYSTEMD1_UNIT_PROXY (object); + GVariant *variant; + const gchar *const *value = NULL; + value = g_datalist_get_data (&proxy->priv->qdata, "TriggeredBy"); + if (value != NULL) + return value; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "TriggeredBy"); + if (variant != NULL) + { + value = g_variant_get_strv (variant, NULL); + g_datalist_set_data_full (&proxy->priv->qdata, "TriggeredBy", (gpointer) value, g_free); + g_variant_unref (variant); + } + return value; +} + +static const gchar *const * +systemd1_unit_proxy_get_propagates_reload_to (Systemd1Unit *object) +{ + Systemd1UnitProxy *proxy = SYSTEMD1_UNIT_PROXY (object); + GVariant *variant; + const gchar *const *value = NULL; + value = g_datalist_get_data (&proxy->priv->qdata, "PropagatesReloadTo"); + if (value != NULL) + return value; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "PropagatesReloadTo"); + if (variant != NULL) + { + value = g_variant_get_strv (variant, NULL); + g_datalist_set_data_full (&proxy->priv->qdata, "PropagatesReloadTo", (gpointer) value, g_free); + g_variant_unref (variant); + } + return value; +} + +static const gchar *const * +systemd1_unit_proxy_get_reload_propagated_from (Systemd1Unit *object) +{ + Systemd1UnitProxy *proxy = SYSTEMD1_UNIT_PROXY (object); + GVariant *variant; + const gchar *const *value = NULL; + value = g_datalist_get_data (&proxy->priv->qdata, "ReloadPropagatedFrom"); + if (value != NULL) + return value; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "ReloadPropagatedFrom"); + if (variant != NULL) + { + value = g_variant_get_strv (variant, NULL); + g_datalist_set_data_full (&proxy->priv->qdata, "ReloadPropagatedFrom", (gpointer) value, g_free); + g_variant_unref (variant); + } + return value; +} + +static const gchar *const * +systemd1_unit_proxy_get_propagates_stop_to (Systemd1Unit *object) +{ + Systemd1UnitProxy *proxy = SYSTEMD1_UNIT_PROXY (object); + GVariant *variant; + const gchar *const *value = NULL; + value = g_datalist_get_data (&proxy->priv->qdata, "PropagatesStopTo"); + if (value != NULL) + return value; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "PropagatesStopTo"); + if (variant != NULL) + { + value = g_variant_get_strv (variant, NULL); + g_datalist_set_data_full (&proxy->priv->qdata, "PropagatesStopTo", (gpointer) value, g_free); + g_variant_unref (variant); + } + return value; +} + +static const gchar *const * +systemd1_unit_proxy_get_stop_propagated_from (Systemd1Unit *object) +{ + Systemd1UnitProxy *proxy = SYSTEMD1_UNIT_PROXY (object); + GVariant *variant; + const gchar *const *value = NULL; + value = g_datalist_get_data (&proxy->priv->qdata, "StopPropagatedFrom"); + if (value != NULL) + return value; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "StopPropagatedFrom"); + if (variant != NULL) + { + value = g_variant_get_strv (variant, NULL); + g_datalist_set_data_full (&proxy->priv->qdata, "StopPropagatedFrom", (gpointer) value, g_free); + g_variant_unref (variant); + } + return value; +} + +static const gchar *const * +systemd1_unit_proxy_get_joins_namespace_of (Systemd1Unit *object) +{ + Systemd1UnitProxy *proxy = SYSTEMD1_UNIT_PROXY (object); + GVariant *variant; + const gchar *const *value = NULL; + value = g_datalist_get_data (&proxy->priv->qdata, "JoinsNamespaceOf"); + if (value != NULL) + return value; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "JoinsNamespaceOf"); + if (variant != NULL) + { + value = g_variant_get_strv (variant, NULL); + g_datalist_set_data_full (&proxy->priv->qdata, "JoinsNamespaceOf", (gpointer) value, g_free); + g_variant_unref (variant); + } + return value; +} + +static const gchar *const * +systemd1_unit_proxy_get_slice_of (Systemd1Unit *object) +{ + Systemd1UnitProxy *proxy = SYSTEMD1_UNIT_PROXY (object); + GVariant *variant; + const gchar *const *value = NULL; + value = g_datalist_get_data (&proxy->priv->qdata, "SliceOf"); + if (value != NULL) + return value; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "SliceOf"); + if (variant != NULL) + { + value = g_variant_get_strv (variant, NULL); + g_datalist_set_data_full (&proxy->priv->qdata, "SliceOf", (gpointer) value, g_free); + g_variant_unref (variant); + } + return value; +} + +static const gchar *const * +systemd1_unit_proxy_get_requires_mounts_for (Systemd1Unit *object) +{ + Systemd1UnitProxy *proxy = SYSTEMD1_UNIT_PROXY (object); + GVariant *variant; + const gchar *const *value = NULL; + value = g_datalist_get_data (&proxy->priv->qdata, "RequiresMountsFor"); + if (value != NULL) + return value; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "RequiresMountsFor"); + if (variant != NULL) + { + value = g_variant_get_strv (variant, NULL); + g_datalist_set_data_full (&proxy->priv->qdata, "RequiresMountsFor", (gpointer) value, g_free); + g_variant_unref (variant); + } + return value; +} + +static const gchar *const * +systemd1_unit_proxy_get_documentation (Systemd1Unit *object) +{ + Systemd1UnitProxy *proxy = SYSTEMD1_UNIT_PROXY (object); + GVariant *variant; + const gchar *const *value = NULL; + value = g_datalist_get_data (&proxy->priv->qdata, "Documentation"); + if (value != NULL) + return value; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "Documentation"); + if (variant != NULL) + { + value = g_variant_get_strv (variant, NULL); + g_datalist_set_data_full (&proxy->priv->qdata, "Documentation", (gpointer) value, g_free); + g_variant_unref (variant); + } + return value; +} + +static const gchar * +systemd1_unit_proxy_get_description (Systemd1Unit *object) +{ + Systemd1UnitProxy *proxy = SYSTEMD1_UNIT_PROXY (object); + GVariant *variant; + const gchar *value = NULL; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "Description"); + if (variant != NULL) + { + value = g_variant_get_string (variant, NULL); + g_variant_unref (variant); + } + return value; +} + +static const gchar * +systemd1_unit_proxy_get_load_state (Systemd1Unit *object) +{ + Systemd1UnitProxy *proxy = SYSTEMD1_UNIT_PROXY (object); + GVariant *variant; + const gchar *value = NULL; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "LoadState"); + if (variant != NULL) + { + value = g_variant_get_string (variant, NULL); + g_variant_unref (variant); + } + return value; +} + +static const gchar * +systemd1_unit_proxy_get_active_state (Systemd1Unit *object) +{ + Systemd1UnitProxy *proxy = SYSTEMD1_UNIT_PROXY (object); + GVariant *variant; + const gchar *value = NULL; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "ActiveState"); + if (variant != NULL) + { + value = g_variant_get_string (variant, NULL); + g_variant_unref (variant); + } + return value; +} + +static const gchar * +systemd1_unit_proxy_get_freezer_state (Systemd1Unit *object) +{ + Systemd1UnitProxy *proxy = SYSTEMD1_UNIT_PROXY (object); + GVariant *variant; + const gchar *value = NULL; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "FreezerState"); + if (variant != NULL) + { + value = g_variant_get_string (variant, NULL); + g_variant_unref (variant); + } + return value; +} + +static const gchar * +systemd1_unit_proxy_get_sub_state (Systemd1Unit *object) +{ + Systemd1UnitProxy *proxy = SYSTEMD1_UNIT_PROXY (object); + GVariant *variant; + const gchar *value = NULL; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "SubState"); + if (variant != NULL) + { + value = g_variant_get_string (variant, NULL); + g_variant_unref (variant); + } + return value; +} + +static const gchar * +systemd1_unit_proxy_get_fragment_path (Systemd1Unit *object) +{ + Systemd1UnitProxy *proxy = SYSTEMD1_UNIT_PROXY (object); + GVariant *variant; + const gchar *value = NULL; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "FragmentPath"); + if (variant != NULL) + { + value = g_variant_get_string (variant, NULL); + g_variant_unref (variant); + } + return value; +} + +static const gchar * +systemd1_unit_proxy_get_source_path (Systemd1Unit *object) +{ + Systemd1UnitProxy *proxy = SYSTEMD1_UNIT_PROXY (object); + GVariant *variant; + const gchar *value = NULL; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "SourcePath"); + if (variant != NULL) + { + value = g_variant_get_string (variant, NULL); + g_variant_unref (variant); + } + return value; +} + +static const gchar *const * +systemd1_unit_proxy_get_drop_in_paths (Systemd1Unit *object) +{ + Systemd1UnitProxy *proxy = SYSTEMD1_UNIT_PROXY (object); + GVariant *variant; + const gchar *const *value = NULL; + value = g_datalist_get_data (&proxy->priv->qdata, "DropInPaths"); + if (value != NULL) + return value; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "DropInPaths"); + if (variant != NULL) + { + value = g_variant_get_strv (variant, NULL); + g_datalist_set_data_full (&proxy->priv->qdata, "DropInPaths", (gpointer) value, g_free); + g_variant_unref (variant); + } + return value; +} + +static const gchar * +systemd1_unit_proxy_get_unit_file_state (Systemd1Unit *object) +{ + Systemd1UnitProxy *proxy = SYSTEMD1_UNIT_PROXY (object); + GVariant *variant; + const gchar *value = NULL; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "UnitFileState"); + if (variant != NULL) + { + value = g_variant_get_string (variant, NULL); + g_variant_unref (variant); + } + return value; +} + +static const gchar * +systemd1_unit_proxy_get_unit_file_preset (Systemd1Unit *object) +{ + Systemd1UnitProxy *proxy = SYSTEMD1_UNIT_PROXY (object); + GVariant *variant; + const gchar *value = NULL; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "UnitFilePreset"); + if (variant != NULL) + { + value = g_variant_get_string (variant, NULL); + g_variant_unref (variant); + } + return value; +} + +static guint64 +systemd1_unit_proxy_get_state_change_timestamp (Systemd1Unit *object) +{ + Systemd1UnitProxy *proxy = SYSTEMD1_UNIT_PROXY (object); + GVariant *variant; + guint64 value = 0; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "StateChangeTimestamp"); + if (variant != NULL) + { + value = g_variant_get_uint64 (variant); + g_variant_unref (variant); + } + return value; +} + +static guint64 +systemd1_unit_proxy_get_state_change_timestamp_monotonic (Systemd1Unit *object) +{ + Systemd1UnitProxy *proxy = SYSTEMD1_UNIT_PROXY (object); + GVariant *variant; + guint64 value = 0; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "StateChangeTimestampMonotonic"); + if (variant != NULL) + { + value = g_variant_get_uint64 (variant); + g_variant_unref (variant); + } + return value; +} + +static guint64 +systemd1_unit_proxy_get_inactive_exit_timestamp (Systemd1Unit *object) +{ + Systemd1UnitProxy *proxy = SYSTEMD1_UNIT_PROXY (object); + GVariant *variant; + guint64 value = 0; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "InactiveExitTimestamp"); + if (variant != NULL) + { + value = g_variant_get_uint64 (variant); + g_variant_unref (variant); + } + return value; +} + +static guint64 +systemd1_unit_proxy_get_inactive_exit_timestamp_monotonic (Systemd1Unit *object) +{ + Systemd1UnitProxy *proxy = SYSTEMD1_UNIT_PROXY (object); + GVariant *variant; + guint64 value = 0; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "InactiveExitTimestampMonotonic"); + if (variant != NULL) + { + value = g_variant_get_uint64 (variant); + g_variant_unref (variant); + } + return value; +} + +static guint64 +systemd1_unit_proxy_get_active_enter_timestamp (Systemd1Unit *object) +{ + Systemd1UnitProxy *proxy = SYSTEMD1_UNIT_PROXY (object); + GVariant *variant; + guint64 value = 0; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "ActiveEnterTimestamp"); + if (variant != NULL) + { + value = g_variant_get_uint64 (variant); + g_variant_unref (variant); + } + return value; +} + +static guint64 +systemd1_unit_proxy_get_active_enter_timestamp_monotonic (Systemd1Unit *object) +{ + Systemd1UnitProxy *proxy = SYSTEMD1_UNIT_PROXY (object); + GVariant *variant; + guint64 value = 0; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "ActiveEnterTimestampMonotonic"); + if (variant != NULL) + { + value = g_variant_get_uint64 (variant); + g_variant_unref (variant); + } + return value; +} + +static guint64 +systemd1_unit_proxy_get_active_exit_timestamp (Systemd1Unit *object) +{ + Systemd1UnitProxy *proxy = SYSTEMD1_UNIT_PROXY (object); + GVariant *variant; + guint64 value = 0; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "ActiveExitTimestamp"); + if (variant != NULL) + { + value = g_variant_get_uint64 (variant); + g_variant_unref (variant); + } + return value; +} + +static guint64 +systemd1_unit_proxy_get_active_exit_timestamp_monotonic (Systemd1Unit *object) +{ + Systemd1UnitProxy *proxy = SYSTEMD1_UNIT_PROXY (object); + GVariant *variant; + guint64 value = 0; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "ActiveExitTimestampMonotonic"); + if (variant != NULL) + { + value = g_variant_get_uint64 (variant); + g_variant_unref (variant); + } + return value; +} + +static guint64 +systemd1_unit_proxy_get_inactive_enter_timestamp (Systemd1Unit *object) +{ + Systemd1UnitProxy *proxy = SYSTEMD1_UNIT_PROXY (object); + GVariant *variant; + guint64 value = 0; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "InactiveEnterTimestamp"); + if (variant != NULL) + { + value = g_variant_get_uint64 (variant); + g_variant_unref (variant); + } + return value; +} + +static guint64 +systemd1_unit_proxy_get_inactive_enter_timestamp_monotonic (Systemd1Unit *object) +{ + Systemd1UnitProxy *proxy = SYSTEMD1_UNIT_PROXY (object); + GVariant *variant; + guint64 value = 0; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "InactiveEnterTimestampMonotonic"); + if (variant != NULL) + { + value = g_variant_get_uint64 (variant); + g_variant_unref (variant); + } + return value; +} + +static gboolean +systemd1_unit_proxy_get_can_start (Systemd1Unit *object) +{ + Systemd1UnitProxy *proxy = SYSTEMD1_UNIT_PROXY (object); + GVariant *variant; + gboolean value = 0; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "CanStart"); + if (variant != NULL) + { + value = g_variant_get_boolean (variant); + g_variant_unref (variant); + } + return value; +} + +static gboolean +systemd1_unit_proxy_get_can_stop (Systemd1Unit *object) +{ + Systemd1UnitProxy *proxy = SYSTEMD1_UNIT_PROXY (object); + GVariant *variant; + gboolean value = 0; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "CanStop"); + if (variant != NULL) + { + value = g_variant_get_boolean (variant); + g_variant_unref (variant); + } + return value; +} + +static gboolean +systemd1_unit_proxy_get_can_reload (Systemd1Unit *object) +{ + Systemd1UnitProxy *proxy = SYSTEMD1_UNIT_PROXY (object); + GVariant *variant; + gboolean value = 0; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "CanReload"); + if (variant != NULL) + { + value = g_variant_get_boolean (variant); + g_variant_unref (variant); + } + return value; +} + +static gboolean +systemd1_unit_proxy_get_can_isolate (Systemd1Unit *object) +{ + Systemd1UnitProxy *proxy = SYSTEMD1_UNIT_PROXY (object); + GVariant *variant; + gboolean value = 0; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "CanIsolate"); + if (variant != NULL) + { + value = g_variant_get_boolean (variant); + g_variant_unref (variant); + } + return value; +} + +static const gchar *const * +systemd1_unit_proxy_get_can_clean (Systemd1Unit *object) +{ + Systemd1UnitProxy *proxy = SYSTEMD1_UNIT_PROXY (object); + GVariant *variant; + const gchar *const *value = NULL; + value = g_datalist_get_data (&proxy->priv->qdata, "CanClean"); + if (value != NULL) + return value; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "CanClean"); + if (variant != NULL) + { + value = g_variant_get_strv (variant, NULL); + g_datalist_set_data_full (&proxy->priv->qdata, "CanClean", (gpointer) value, g_free); + g_variant_unref (variant); + } + return value; +} + +static gboolean +systemd1_unit_proxy_get_can_freeze (Systemd1Unit *object) +{ + Systemd1UnitProxy *proxy = SYSTEMD1_UNIT_PROXY (object); + GVariant *variant; + gboolean value = 0; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "CanFreeze"); + if (variant != NULL) + { + value = g_variant_get_boolean (variant); + g_variant_unref (variant); + } + return value; +} + +static GVariant * +systemd1_unit_proxy_get_job (Systemd1Unit *object) +{ + Systemd1UnitProxy *proxy = SYSTEMD1_UNIT_PROXY (object); + GVariant *variant; + GVariant *value = NULL; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "Job"); + value = variant; + if (variant != NULL) + g_variant_unref (variant); + return value; +} + +static gboolean +systemd1_unit_proxy_get_stop_when_unneeded (Systemd1Unit *object) +{ + Systemd1UnitProxy *proxy = SYSTEMD1_UNIT_PROXY (object); + GVariant *variant; + gboolean value = 0; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "StopWhenUnneeded"); + if (variant != NULL) + { + value = g_variant_get_boolean (variant); + g_variant_unref (variant); + } + return value; +} + +static gboolean +systemd1_unit_proxy_get_refuse_manual_start (Systemd1Unit *object) +{ + Systemd1UnitProxy *proxy = SYSTEMD1_UNIT_PROXY (object); + GVariant *variant; + gboolean value = 0; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "RefuseManualStart"); + if (variant != NULL) + { + value = g_variant_get_boolean (variant); + g_variant_unref (variant); + } + return value; +} + +static gboolean +systemd1_unit_proxy_get_refuse_manual_stop (Systemd1Unit *object) +{ + Systemd1UnitProxy *proxy = SYSTEMD1_UNIT_PROXY (object); + GVariant *variant; + gboolean value = 0; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "RefuseManualStop"); + if (variant != NULL) + { + value = g_variant_get_boolean (variant); + g_variant_unref (variant); + } + return value; +} + +static gboolean +systemd1_unit_proxy_get_allow_isolate (Systemd1Unit *object) +{ + Systemd1UnitProxy *proxy = SYSTEMD1_UNIT_PROXY (object); + GVariant *variant; + gboolean value = 0; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "AllowIsolate"); + if (variant != NULL) + { + value = g_variant_get_boolean (variant); + g_variant_unref (variant); + } + return value; +} + +static gboolean +systemd1_unit_proxy_get_default_dependencies (Systemd1Unit *object) +{ + Systemd1UnitProxy *proxy = SYSTEMD1_UNIT_PROXY (object); + GVariant *variant; + gboolean value = 0; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "DefaultDependencies"); + if (variant != NULL) + { + value = g_variant_get_boolean (variant); + g_variant_unref (variant); + } + return value; +} + +static const gchar * +systemd1_unit_proxy_get_on_success_job_mode (Systemd1Unit *object) +{ + Systemd1UnitProxy *proxy = SYSTEMD1_UNIT_PROXY (object); + GVariant *variant; + const gchar *value = NULL; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "OnSuccessJobMode"); + if (variant != NULL) + { + value = g_variant_get_string (variant, NULL); + g_variant_unref (variant); + } + return value; +} + +static const gchar * +systemd1_unit_proxy_get_on_failure_job_mode (Systemd1Unit *object) +{ + Systemd1UnitProxy *proxy = SYSTEMD1_UNIT_PROXY (object); + GVariant *variant; + const gchar *value = NULL; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "OnFailureJobMode"); + if (variant != NULL) + { + value = g_variant_get_string (variant, NULL); + g_variant_unref (variant); + } + return value; +} + +static gboolean +systemd1_unit_proxy_get_ignore_on_isolate (Systemd1Unit *object) +{ + Systemd1UnitProxy *proxy = SYSTEMD1_UNIT_PROXY (object); + GVariant *variant; + gboolean value = 0; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "IgnoreOnIsolate"); + if (variant != NULL) + { + value = g_variant_get_boolean (variant); + g_variant_unref (variant); + } + return value; +} + +static gboolean +systemd1_unit_proxy_get_need_daemon_reload (Systemd1Unit *object) +{ + Systemd1UnitProxy *proxy = SYSTEMD1_UNIT_PROXY (object); + GVariant *variant; + gboolean value = 0; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "NeedDaemonReload"); + if (variant != NULL) + { + value = g_variant_get_boolean (variant); + g_variant_unref (variant); + } + return value; +} + +static const gchar *const * +systemd1_unit_proxy_get_markers (Systemd1Unit *object) +{ + Systemd1UnitProxy *proxy = SYSTEMD1_UNIT_PROXY (object); + GVariant *variant; + const gchar *const *value = NULL; + value = g_datalist_get_data (&proxy->priv->qdata, "Markers"); + if (value != NULL) + return value; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "Markers"); + if (variant != NULL) + { + value = g_variant_get_strv (variant, NULL); + g_datalist_set_data_full (&proxy->priv->qdata, "Markers", (gpointer) value, g_free); + g_variant_unref (variant); + } + return value; +} + +static guint64 +systemd1_unit_proxy_get_job_timeout_usec (Systemd1Unit *object) +{ + Systemd1UnitProxy *proxy = SYSTEMD1_UNIT_PROXY (object); + GVariant *variant; + guint64 value = 0; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "JobTimeoutUSec"); + if (variant != NULL) + { + value = g_variant_get_uint64 (variant); + g_variant_unref (variant); + } + return value; +} + +static guint64 +systemd1_unit_proxy_get_job_running_timeout_usec (Systemd1Unit *object) +{ + Systemd1UnitProxy *proxy = SYSTEMD1_UNIT_PROXY (object); + GVariant *variant; + guint64 value = 0; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "JobRunningTimeoutUSec"); + if (variant != NULL) + { + value = g_variant_get_uint64 (variant); + g_variant_unref (variant); + } + return value; +} + +static const gchar * +systemd1_unit_proxy_get_job_timeout_action (Systemd1Unit *object) +{ + Systemd1UnitProxy *proxy = SYSTEMD1_UNIT_PROXY (object); + GVariant *variant; + const gchar *value = NULL; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "JobTimeoutAction"); + if (variant != NULL) + { + value = g_variant_get_string (variant, NULL); + g_variant_unref (variant); + } + return value; +} + +static const gchar * +systemd1_unit_proxy_get_job_timeout_reboot_argument (Systemd1Unit *object) +{ + Systemd1UnitProxy *proxy = SYSTEMD1_UNIT_PROXY (object); + GVariant *variant; + const gchar *value = NULL; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "JobTimeoutRebootArgument"); + if (variant != NULL) + { + value = g_variant_get_string (variant, NULL); + g_variant_unref (variant); + } + return value; +} + +static gboolean +systemd1_unit_proxy_get_condition_result (Systemd1Unit *object) +{ + Systemd1UnitProxy *proxy = SYSTEMD1_UNIT_PROXY (object); + GVariant *variant; + gboolean value = 0; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "ConditionResult"); + if (variant != NULL) + { + value = g_variant_get_boolean (variant); + g_variant_unref (variant); + } + return value; +} + +static gboolean +systemd1_unit_proxy_get_assert_result (Systemd1Unit *object) +{ + Systemd1UnitProxy *proxy = SYSTEMD1_UNIT_PROXY (object); + GVariant *variant; + gboolean value = 0; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "AssertResult"); + if (variant != NULL) + { + value = g_variant_get_boolean (variant); + g_variant_unref (variant); + } + return value; +} + +static guint64 +systemd1_unit_proxy_get_condition_timestamp (Systemd1Unit *object) +{ + Systemd1UnitProxy *proxy = SYSTEMD1_UNIT_PROXY (object); + GVariant *variant; + guint64 value = 0; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "ConditionTimestamp"); + if (variant != NULL) + { + value = g_variant_get_uint64 (variant); + g_variant_unref (variant); + } + return value; +} + +static guint64 +systemd1_unit_proxy_get_condition_timestamp_monotonic (Systemd1Unit *object) +{ + Systemd1UnitProxy *proxy = SYSTEMD1_UNIT_PROXY (object); + GVariant *variant; + guint64 value = 0; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "ConditionTimestampMonotonic"); + if (variant != NULL) + { + value = g_variant_get_uint64 (variant); + g_variant_unref (variant); + } + return value; +} + +static guint64 +systemd1_unit_proxy_get_assert_timestamp (Systemd1Unit *object) +{ + Systemd1UnitProxy *proxy = SYSTEMD1_UNIT_PROXY (object); + GVariant *variant; + guint64 value = 0; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "AssertTimestamp"); + if (variant != NULL) + { + value = g_variant_get_uint64 (variant); + g_variant_unref (variant); + } + return value; +} + +static guint64 +systemd1_unit_proxy_get_assert_timestamp_monotonic (Systemd1Unit *object) +{ + Systemd1UnitProxy *proxy = SYSTEMD1_UNIT_PROXY (object); + GVariant *variant; + guint64 value = 0; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "AssertTimestampMonotonic"); + if (variant != NULL) + { + value = g_variant_get_uint64 (variant); + g_variant_unref (variant); + } + return value; +} + +static GVariant * +systemd1_unit_proxy_get_conditions (Systemd1Unit *object) +{ + Systemd1UnitProxy *proxy = SYSTEMD1_UNIT_PROXY (object); + GVariant *variant; + GVariant *value = NULL; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "Conditions"); + value = variant; + if (variant != NULL) + g_variant_unref (variant); + return value; +} + +static GVariant * +systemd1_unit_proxy_get_asserts (Systemd1Unit *object) +{ + Systemd1UnitProxy *proxy = SYSTEMD1_UNIT_PROXY (object); + GVariant *variant; + GVariant *value = NULL; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "Asserts"); + value = variant; + if (variant != NULL) + g_variant_unref (variant); + return value; +} + +static GVariant * +systemd1_unit_proxy_get_load_error (Systemd1Unit *object) +{ + Systemd1UnitProxy *proxy = SYSTEMD1_UNIT_PROXY (object); + GVariant *variant; + GVariant *value = NULL; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "LoadError"); + value = variant; + if (variant != NULL) + g_variant_unref (variant); + return value; +} + +static gboolean +systemd1_unit_proxy_get_transient (Systemd1Unit *object) +{ + Systemd1UnitProxy *proxy = SYSTEMD1_UNIT_PROXY (object); + GVariant *variant; + gboolean value = 0; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "Transient"); + if (variant != NULL) + { + value = g_variant_get_boolean (variant); + g_variant_unref (variant); + } + return value; +} + +static gboolean +systemd1_unit_proxy_get_perpetual (Systemd1Unit *object) +{ + Systemd1UnitProxy *proxy = SYSTEMD1_UNIT_PROXY (object); + GVariant *variant; + gboolean value = 0; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "Perpetual"); + if (variant != NULL) + { + value = g_variant_get_boolean (variant); + g_variant_unref (variant); + } + return value; +} + +static guint64 +systemd1_unit_proxy_get_start_limit_interval_usec (Systemd1Unit *object) +{ + Systemd1UnitProxy *proxy = SYSTEMD1_UNIT_PROXY (object); + GVariant *variant; + guint64 value = 0; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "StartLimitIntervalUSec"); + if (variant != NULL) + { + value = g_variant_get_uint64 (variant); + g_variant_unref (variant); + } + return value; +} + +static guint +systemd1_unit_proxy_get_start_limit_burst (Systemd1Unit *object) +{ + Systemd1UnitProxy *proxy = SYSTEMD1_UNIT_PROXY (object); + GVariant *variant; + guint value = 0; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "StartLimitBurst"); + if (variant != NULL) + { + value = g_variant_get_uint32 (variant); + g_variant_unref (variant); + } + return value; +} + +static const gchar * +systemd1_unit_proxy_get_start_limit_action (Systemd1Unit *object) +{ + Systemd1UnitProxy *proxy = SYSTEMD1_UNIT_PROXY (object); + GVariant *variant; + const gchar *value = NULL; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "StartLimitAction"); + if (variant != NULL) + { + value = g_variant_get_string (variant, NULL); + g_variant_unref (variant); + } + return value; +} + +static const gchar * +systemd1_unit_proxy_get_failure_action (Systemd1Unit *object) +{ + Systemd1UnitProxy *proxy = SYSTEMD1_UNIT_PROXY (object); + GVariant *variant; + const gchar *value = NULL; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "FailureAction"); + if (variant != NULL) + { + value = g_variant_get_string (variant, NULL); + g_variant_unref (variant); + } + return value; +} + +static gint +systemd1_unit_proxy_get_failure_action_exit_status (Systemd1Unit *object) +{ + Systemd1UnitProxy *proxy = SYSTEMD1_UNIT_PROXY (object); + GVariant *variant; + gint value = 0; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "FailureActionExitStatus"); + if (variant != NULL) + { + value = g_variant_get_int32 (variant); + g_variant_unref (variant); + } + return value; +} + +static const gchar * +systemd1_unit_proxy_get_success_action (Systemd1Unit *object) +{ + Systemd1UnitProxy *proxy = SYSTEMD1_UNIT_PROXY (object); + GVariant *variant; + const gchar *value = NULL; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "SuccessAction"); + if (variant != NULL) + { + value = g_variant_get_string (variant, NULL); + g_variant_unref (variant); + } + return value; +} + +static gint +systemd1_unit_proxy_get_success_action_exit_status (Systemd1Unit *object) +{ + Systemd1UnitProxy *proxy = SYSTEMD1_UNIT_PROXY (object); + GVariant *variant; + gint value = 0; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "SuccessActionExitStatus"); + if (variant != NULL) + { + value = g_variant_get_int32 (variant); + g_variant_unref (variant); + } + return value; +} + +static const gchar * +systemd1_unit_proxy_get_reboot_argument (Systemd1Unit *object) +{ + Systemd1UnitProxy *proxy = SYSTEMD1_UNIT_PROXY (object); + GVariant *variant; + const gchar *value = NULL; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "RebootArgument"); + if (variant != NULL) + { + value = g_variant_get_string (variant, NULL); + g_variant_unref (variant); + } + return value; +} + +static const gchar * +systemd1_unit_proxy_get_invocation_id (Systemd1Unit *object) +{ + Systemd1UnitProxy *proxy = SYSTEMD1_UNIT_PROXY (object); + GVariant *variant; + const gchar *value = NULL; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "InvocationID"); + if (variant != NULL) + { + value = g_variant_get_bytestring (variant); + g_variant_unref (variant); + } + return value; +} + +static const gchar * +systemd1_unit_proxy_get_collect_mode (Systemd1Unit *object) +{ + Systemd1UnitProxy *proxy = SYSTEMD1_UNIT_PROXY (object); + GVariant *variant; + const gchar *value = NULL; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "CollectMode"); + if (variant != NULL) + { + value = g_variant_get_string (variant, NULL); + g_variant_unref (variant); + } + return value; +} + +static const gchar *const * +systemd1_unit_proxy_get_refs (Systemd1Unit *object) +{ + Systemd1UnitProxy *proxy = SYSTEMD1_UNIT_PROXY (object); + GVariant *variant; + const gchar *const *value = NULL; + value = g_datalist_get_data (&proxy->priv->qdata, "Refs"); + if (value != NULL) + return value; + variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "Refs"); + if (variant != NULL) + { + value = g_variant_get_strv (variant, NULL); + g_datalist_set_data_full (&proxy->priv->qdata, "Refs", (gpointer) value, g_free); + g_variant_unref (variant); + } + return value; +} + +static void +systemd1_unit_proxy_init (Systemd1UnitProxy *proxy) +{ +#if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 + proxy->priv = systemd1_unit_proxy_get_instance_private (proxy); +#else + proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_SYSTEMD1_UNIT_PROXY, Systemd1UnitProxyPrivate); +#endif + + g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), systemd1_unit_interface_info ()); +} + +static void +systemd1_unit_proxy_class_init (Systemd1UnitProxyClass *klass) +{ + GObjectClass *gobject_class; + GDBusProxyClass *proxy_class; + + gobject_class = G_OBJECT_CLASS (klass); + gobject_class->finalize = systemd1_unit_proxy_finalize; + gobject_class->get_property = systemd1_unit_proxy_get_property; + gobject_class->set_property = systemd1_unit_proxy_set_property; + + proxy_class = G_DBUS_PROXY_CLASS (klass); + proxy_class->g_signal = systemd1_unit_proxy_g_signal; + proxy_class->g_properties_changed = systemd1_unit_proxy_g_properties_changed; + + systemd1_unit_override_properties (gobject_class, 1); + +#if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 + g_type_class_add_private (klass, sizeof (Systemd1UnitProxyPrivate)); +#endif +} + +static void +systemd1_unit_proxy_iface_init (Systemd1UnitIface *iface) +{ + iface->get_id = systemd1_unit_proxy_get_id; + iface->get_names = systemd1_unit_proxy_get_names; + iface->get_following = systemd1_unit_proxy_get_following; + iface->get_requires = systemd1_unit_proxy_get_requires; + iface->get_requisite = systemd1_unit_proxy_get_requisite; + iface->get_wants = systemd1_unit_proxy_get_wants; + iface->get_binds_to = systemd1_unit_proxy_get_binds_to; + iface->get_part_of = systemd1_unit_proxy_get_part_of; + iface->get_required_by = systemd1_unit_proxy_get_required_by; + iface->get_requisite_of = systemd1_unit_proxy_get_requisite_of; + iface->get_wanted_by = systemd1_unit_proxy_get_wanted_by; + iface->get_bound_by = systemd1_unit_proxy_get_bound_by; + iface->get_consists_of = systemd1_unit_proxy_get_consists_of; + iface->get_conflicts = systemd1_unit_proxy_get_conflicts; + iface->get_conflicted_by = systemd1_unit_proxy_get_conflicted_by; + iface->get_before = systemd1_unit_proxy_get_before; + iface->get_after = systemd1_unit_proxy_get_after; + iface->get_on_failure = systemd1_unit_proxy_get_on_failure; + iface->get_on_failure_of = systemd1_unit_proxy_get_on_failure_of; + iface->get_on_success = systemd1_unit_proxy_get_on_success; + iface->get_on_success_of = systemd1_unit_proxy_get_on_success_of; + iface->get_triggers = systemd1_unit_proxy_get_triggers; + iface->get_triggered_by = systemd1_unit_proxy_get_triggered_by; + iface->get_propagates_reload_to = systemd1_unit_proxy_get_propagates_reload_to; + iface->get_reload_propagated_from = systemd1_unit_proxy_get_reload_propagated_from; + iface->get_propagates_stop_to = systemd1_unit_proxy_get_propagates_stop_to; + iface->get_stop_propagated_from = systemd1_unit_proxy_get_stop_propagated_from; + iface->get_joins_namespace_of = systemd1_unit_proxy_get_joins_namespace_of; + iface->get_slice_of = systemd1_unit_proxy_get_slice_of; + iface->get_requires_mounts_for = systemd1_unit_proxy_get_requires_mounts_for; + iface->get_documentation = systemd1_unit_proxy_get_documentation; + iface->get_description = systemd1_unit_proxy_get_description; + iface->get_load_state = systemd1_unit_proxy_get_load_state; + iface->get_active_state = systemd1_unit_proxy_get_active_state; + iface->get_freezer_state = systemd1_unit_proxy_get_freezer_state; + iface->get_sub_state = systemd1_unit_proxy_get_sub_state; + iface->get_fragment_path = systemd1_unit_proxy_get_fragment_path; + iface->get_source_path = systemd1_unit_proxy_get_source_path; + iface->get_drop_in_paths = systemd1_unit_proxy_get_drop_in_paths; + iface->get_unit_file_state = systemd1_unit_proxy_get_unit_file_state; + iface->get_unit_file_preset = systemd1_unit_proxy_get_unit_file_preset; + iface->get_state_change_timestamp = systemd1_unit_proxy_get_state_change_timestamp; + iface->get_state_change_timestamp_monotonic = systemd1_unit_proxy_get_state_change_timestamp_monotonic; + iface->get_inactive_exit_timestamp = systemd1_unit_proxy_get_inactive_exit_timestamp; + iface->get_inactive_exit_timestamp_monotonic = systemd1_unit_proxy_get_inactive_exit_timestamp_monotonic; + iface->get_active_enter_timestamp = systemd1_unit_proxy_get_active_enter_timestamp; + iface->get_active_enter_timestamp_monotonic = systemd1_unit_proxy_get_active_enter_timestamp_monotonic; + iface->get_active_exit_timestamp = systemd1_unit_proxy_get_active_exit_timestamp; + iface->get_active_exit_timestamp_monotonic = systemd1_unit_proxy_get_active_exit_timestamp_monotonic; + iface->get_inactive_enter_timestamp = systemd1_unit_proxy_get_inactive_enter_timestamp; + iface->get_inactive_enter_timestamp_monotonic = systemd1_unit_proxy_get_inactive_enter_timestamp_monotonic; + iface->get_can_start = systemd1_unit_proxy_get_can_start; + iface->get_can_stop = systemd1_unit_proxy_get_can_stop; + iface->get_can_reload = systemd1_unit_proxy_get_can_reload; + iface->get_can_isolate = systemd1_unit_proxy_get_can_isolate; + iface->get_can_clean = systemd1_unit_proxy_get_can_clean; + iface->get_can_freeze = systemd1_unit_proxy_get_can_freeze; + iface->get_job = systemd1_unit_proxy_get_job; + iface->get_stop_when_unneeded = systemd1_unit_proxy_get_stop_when_unneeded; + iface->get_refuse_manual_start = systemd1_unit_proxy_get_refuse_manual_start; + iface->get_refuse_manual_stop = systemd1_unit_proxy_get_refuse_manual_stop; + iface->get_allow_isolate = systemd1_unit_proxy_get_allow_isolate; + iface->get_default_dependencies = systemd1_unit_proxy_get_default_dependencies; + iface->get_on_success_job_mode = systemd1_unit_proxy_get_on_success_job_mode; + iface->get_on_failure_job_mode = systemd1_unit_proxy_get_on_failure_job_mode; + iface->get_ignore_on_isolate = systemd1_unit_proxy_get_ignore_on_isolate; + iface->get_need_daemon_reload = systemd1_unit_proxy_get_need_daemon_reload; + iface->get_markers = systemd1_unit_proxy_get_markers; + iface->get_job_timeout_usec = systemd1_unit_proxy_get_job_timeout_usec; + iface->get_job_running_timeout_usec = systemd1_unit_proxy_get_job_running_timeout_usec; + iface->get_job_timeout_action = systemd1_unit_proxy_get_job_timeout_action; + iface->get_job_timeout_reboot_argument = systemd1_unit_proxy_get_job_timeout_reboot_argument; + iface->get_condition_result = systemd1_unit_proxy_get_condition_result; + iface->get_assert_result = systemd1_unit_proxy_get_assert_result; + iface->get_condition_timestamp = systemd1_unit_proxy_get_condition_timestamp; + iface->get_condition_timestamp_monotonic = systemd1_unit_proxy_get_condition_timestamp_monotonic; + iface->get_assert_timestamp = systemd1_unit_proxy_get_assert_timestamp; + iface->get_assert_timestamp_monotonic = systemd1_unit_proxy_get_assert_timestamp_monotonic; + iface->get_conditions = systemd1_unit_proxy_get_conditions; + iface->get_asserts = systemd1_unit_proxy_get_asserts; + iface->get_load_error = systemd1_unit_proxy_get_load_error; + iface->get_transient = systemd1_unit_proxy_get_transient; + iface->get_perpetual = systemd1_unit_proxy_get_perpetual; + iface->get_start_limit_interval_usec = systemd1_unit_proxy_get_start_limit_interval_usec; + iface->get_start_limit_burst = systemd1_unit_proxy_get_start_limit_burst; + iface->get_start_limit_action = systemd1_unit_proxy_get_start_limit_action; + iface->get_failure_action = systemd1_unit_proxy_get_failure_action; + iface->get_failure_action_exit_status = systemd1_unit_proxy_get_failure_action_exit_status; + iface->get_success_action = systemd1_unit_proxy_get_success_action; + iface->get_success_action_exit_status = systemd1_unit_proxy_get_success_action_exit_status; + iface->get_reboot_argument = systemd1_unit_proxy_get_reboot_argument; + iface->get_invocation_id = systemd1_unit_proxy_get_invocation_id; + iface->get_collect_mode = systemd1_unit_proxy_get_collect_mode; + iface->get_refs = systemd1_unit_proxy_get_refs; +} + +/** + * systemd1_unit_proxy_new: + * @connection: A #GDBusConnection. + * @flags: Flags from the #GDBusProxyFlags enumeration. + * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. + * @object_path: An object path. + * @cancellable: (nullable): A #GCancellable or %NULL. + * @callback: A #GAsyncReadyCallback to call when the request is satisfied. + * @user_data: User data to pass to @callback. + * + * Asynchronously creates a proxy for the D-Bus interface <link linkend="gdbus-interface-org-freedesktop-systemd1-Unit.top_of_page">org.freedesktop.systemd1.Unit</link>. See g_dbus_proxy_new() for more details. + * + * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). + * You can then call systemd1_unit_proxy_new_finish() to get the result of the operation. + * + * See systemd1_unit_proxy_new_sync() for the synchronous, blocking version of this constructor. + */ +void +systemd1_unit_proxy_new ( + GDBusConnection *connection, + GDBusProxyFlags flags, + const gchar *name, + const gchar *object_path, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data) +{ + g_async_initable_new_async (TYPE_SYSTEMD1_UNIT_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.freedesktop.systemd1.Unit", NULL); +} + +/** + * systemd1_unit_proxy_new_finish: + * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to systemd1_unit_proxy_new(). + * @error: Return location for error or %NULL + * + * Finishes an operation started with systemd1_unit_proxy_new(). + * + * Returns: (transfer full) (type Systemd1UnitProxy): The constructed proxy object or %NULL if @error is set. + */ +Systemd1Unit * +systemd1_unit_proxy_new_finish ( + GAsyncResult *res, + GError **error) +{ + GObject *ret; + GObject *source_object; + source_object = g_async_result_get_source_object (res); + ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); + g_object_unref (source_object); + if (ret != NULL) + return SYSTEMD1_UNIT (ret); + else + return NULL; +} + +/** + * systemd1_unit_proxy_new_sync: + * @connection: A #GDBusConnection. + * @flags: Flags from the #GDBusProxyFlags enumeration. + * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection. + * @object_path: An object path. + * @cancellable: (nullable): A #GCancellable or %NULL. + * @error: Return location for error or %NULL + * + * Synchronously creates a proxy for the D-Bus interface <link linkend="gdbus-interface-org-freedesktop-systemd1-Unit.top_of_page">org.freedesktop.systemd1.Unit</link>. See g_dbus_proxy_new_sync() for more details. + * + * The calling thread is blocked until a reply is received. + * + * See systemd1_unit_proxy_new() for the asynchronous version of this constructor. + * + * Returns: (transfer full) (type Systemd1UnitProxy): The constructed proxy object or %NULL if @error is set. + */ +Systemd1Unit * +systemd1_unit_proxy_new_sync ( + GDBusConnection *connection, + GDBusProxyFlags flags, + const gchar *name, + const gchar *object_path, + GCancellable *cancellable, + GError **error) +{ + GInitable *ret; + ret = g_initable_new (TYPE_SYSTEMD1_UNIT_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-connection", connection, "g-object-path", object_path, "g-interface-name", "org.freedesktop.systemd1.Unit", NULL); + if (ret != NULL) + return SYSTEMD1_UNIT (ret); + else + return NULL; +} + + +/** + * systemd1_unit_proxy_new_for_bus: + * @bus_type: A #GBusType. + * @flags: Flags from the #GDBusProxyFlags enumeration. + * @name: A bus name (well-known or unique). + * @object_path: An object path. + * @cancellable: (nullable): A #GCancellable or %NULL. + * @callback: A #GAsyncReadyCallback to call when the request is satisfied. + * @user_data: User data to pass to @callback. + * + * Like systemd1_unit_proxy_new() but takes a #GBusType instead of a #GDBusConnection. + * + * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()). + * You can then call systemd1_unit_proxy_new_for_bus_finish() to get the result of the operation. + * + * See systemd1_unit_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor. + */ +void +systemd1_unit_proxy_new_for_bus ( + GBusType bus_type, + GDBusProxyFlags flags, + const gchar *name, + const gchar *object_path, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data) +{ + g_async_initable_new_async (TYPE_SYSTEMD1_UNIT_PROXY, G_PRIORITY_DEFAULT, cancellable, callback, user_data, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.freedesktop.systemd1.Unit", NULL); +} + +/** + * systemd1_unit_proxy_new_for_bus_finish: + * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to systemd1_unit_proxy_new_for_bus(). + * @error: Return location for error or %NULL + * + * Finishes an operation started with systemd1_unit_proxy_new_for_bus(). + * + * Returns: (transfer full) (type Systemd1UnitProxy): The constructed proxy object or %NULL if @error is set. + */ +Systemd1Unit * +systemd1_unit_proxy_new_for_bus_finish ( + GAsyncResult *res, + GError **error) +{ + GObject *ret; + GObject *source_object; + source_object = g_async_result_get_source_object (res); + ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error); + g_object_unref (source_object); + if (ret != NULL) + return SYSTEMD1_UNIT (ret); + else + return NULL; +} + +/** + * systemd1_unit_proxy_new_for_bus_sync: + * @bus_type: A #GBusType. + * @flags: Flags from the #GDBusProxyFlags enumeration. + * @name: A bus name (well-known or unique). + * @object_path: An object path. + * @cancellable: (nullable): A #GCancellable or %NULL. + * @error: Return location for error or %NULL + * + * Like systemd1_unit_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection. + * + * The calling thread is blocked until a reply is received. + * + * See systemd1_unit_proxy_new_for_bus() for the asynchronous version of this constructor. + * + * Returns: (transfer full) (type Systemd1UnitProxy): The constructed proxy object or %NULL if @error is set. + */ +Systemd1Unit * +systemd1_unit_proxy_new_for_bus_sync ( + GBusType bus_type, + GDBusProxyFlags flags, + const gchar *name, + const gchar *object_path, + GCancellable *cancellable, + GError **error) +{ + GInitable *ret; + ret = g_initable_new (TYPE_SYSTEMD1_UNIT_PROXY, cancellable, error, "g-flags", flags, "g-name", name, "g-bus-type", bus_type, "g-object-path", object_path, "g-interface-name", "org.freedesktop.systemd1.Unit", NULL); + if (ret != NULL) + return SYSTEMD1_UNIT (ret); + else + return NULL; +} + + +/* ------------------------------------------------------------------------ */ + +/** + * Systemd1UnitSkeleton: + * + * The #Systemd1UnitSkeleton structure contains only private data and should only be accessed using the provided API. + */ + +/** + * Systemd1UnitSkeletonClass: + * @parent_class: The parent class. + * + * Class structure for #Systemd1UnitSkeleton. + */ + +struct _Systemd1UnitSkeletonPrivate +{ + GValue *properties; + GList *changed_properties; + GSource *changed_properties_idle_source; + GMainContext *context; + GMutex lock; +}; + +static void +_systemd1_unit_skeleton_handle_method_call ( + GDBusConnection *connection G_GNUC_UNUSED, + const gchar *sender G_GNUC_UNUSED, + const gchar *object_path G_GNUC_UNUSED, + const gchar *interface_name, + const gchar *method_name, + GVariant *parameters, + GDBusMethodInvocation *invocation, + gpointer user_data) +{ + Systemd1UnitSkeleton *skeleton = SYSTEMD1_UNIT_SKELETON (user_data); + _ExtendedGDBusMethodInfo *info; + GVariantIter iter; + GVariant *child; + GValue *paramv; + gsize num_params; + guint num_extra; + gsize n; + guint signal_id; + GValue return_value = G_VALUE_INIT; + info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation); + g_assert (info != NULL); + num_params = g_variant_n_children (parameters); + num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra); + n = 0; + g_value_init (¶mv[n], TYPE_SYSTEMD1_UNIT); + g_value_set_object (¶mv[n++], skeleton); + g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION); + g_value_set_object (¶mv[n++], invocation); + if (info->pass_fdlist) + { +#ifdef G_OS_UNIX + g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST); + g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation))); +#else + g_assert_not_reached (); +#endif + } + g_variant_iter_init (&iter, parameters); + while ((child = g_variant_iter_next_value (&iter)) != NULL) + { + _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra]; + if (arg_info->use_gvariant) + { + g_value_init (¶mv[n], G_TYPE_VARIANT); + g_value_set_variant (¶mv[n], child); + n++; + } + else + g_dbus_gvariant_to_gvalue (child, ¶mv[n++]); + g_variant_unref (child); + } + signal_id = g_signal_lookup (info->signal_name, TYPE_SYSTEMD1_UNIT); + g_value_init (&return_value, G_TYPE_BOOLEAN); + g_signal_emitv (paramv, signal_id, 0, &return_value); + if (!g_value_get_boolean (&return_value)) + g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name); + g_value_unset (&return_value); + for (n = 0; n < num_params + num_extra; n++) + g_value_unset (¶mv[n]); + g_free (paramv); +} + +static GVariant * +_systemd1_unit_skeleton_handle_get_property ( + GDBusConnection *connection G_GNUC_UNUSED, + const gchar *sender G_GNUC_UNUSED, + const gchar *object_path G_GNUC_UNUSED, + const gchar *interface_name G_GNUC_UNUSED, + const gchar *property_name, + GError **error, + gpointer user_data) +{ + Systemd1UnitSkeleton *skeleton = SYSTEMD1_UNIT_SKELETON (user_data); + GValue value = G_VALUE_INIT; + GParamSpec *pspec; + _ExtendedGDBusPropertyInfo *info; + GVariant *ret; + ret = NULL; + info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_systemd1_unit_interface_info.parent_struct, property_name); + g_assert (info != NULL); + pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); + if (pspec == NULL) + { + g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); + } + else + { + g_value_init (&value, pspec->value_type); + g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value); + ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature)); + g_value_unset (&value); + } + return ret; +} + +static gboolean +_systemd1_unit_skeleton_handle_set_property ( + GDBusConnection *connection G_GNUC_UNUSED, + const gchar *sender G_GNUC_UNUSED, + const gchar *object_path G_GNUC_UNUSED, + const gchar *interface_name G_GNUC_UNUSED, + const gchar *property_name, + GVariant *variant, + GError **error, + gpointer user_data) +{ + Systemd1UnitSkeleton *skeleton = SYSTEMD1_UNIT_SKELETON (user_data); + GValue value = G_VALUE_INIT; + GParamSpec *pspec; + _ExtendedGDBusPropertyInfo *info; + gboolean ret; + ret = FALSE; + info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_systemd1_unit_interface_info.parent_struct, property_name); + g_assert (info != NULL); + pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name); + if (pspec == NULL) + { + g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name); + } + else + { + if (info->use_gvariant) + g_value_set_variant (&value, variant); + else + g_dbus_gvariant_to_gvalue (variant, &value); + g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value); + g_value_unset (&value); + ret = TRUE; + } + return ret; +} + +static const GDBusInterfaceVTable _systemd1_unit_skeleton_vtable = +{ + _systemd1_unit_skeleton_handle_method_call, + _systemd1_unit_skeleton_handle_get_property, + _systemd1_unit_skeleton_handle_set_property, + {NULL} +}; + +static GDBusInterfaceInfo * +systemd1_unit_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) +{ + return systemd1_unit_interface_info (); +} + +static GDBusInterfaceVTable * +systemd1_unit_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED) +{ + return (GDBusInterfaceVTable *) &_systemd1_unit_skeleton_vtable; +} + +static GVariant * +systemd1_unit_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton) +{ + Systemd1UnitSkeleton *skeleton = SYSTEMD1_UNIT_SKELETON (_skeleton); + + GVariantBuilder builder; + guint n; + g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); + if (_systemd1_unit_interface_info.parent_struct.properties == NULL) + goto out; + for (n = 0; _systemd1_unit_interface_info.parent_struct.properties[n] != NULL; n++) + { + GDBusPropertyInfo *info = _systemd1_unit_interface_info.parent_struct.properties[n]; + if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE) + { + GVariant *value; + value = _systemd1_unit_skeleton_handle_get_property (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)), NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.freedesktop.systemd1.Unit", info->name, NULL, skeleton); + if (value != NULL) + { + g_variant_take_ref (value); + g_variant_builder_add (&builder, "{sv}", info->name, value); + g_variant_unref (value); + } + } + } +out: + return g_variant_builder_end (&builder); +} + +static gboolean _systemd1_unit_emit_changed (gpointer user_data); + +static void +systemd1_unit_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton) +{ + Systemd1UnitSkeleton *skeleton = SYSTEMD1_UNIT_SKELETON (_skeleton); + gboolean emit_changed = FALSE; + + g_mutex_lock (&skeleton->priv->lock); + if (skeleton->priv->changed_properties_idle_source != NULL) + { + g_source_destroy (skeleton->priv->changed_properties_idle_source); + skeleton->priv->changed_properties_idle_source = NULL; + emit_changed = TRUE; + } + g_mutex_unlock (&skeleton->priv->lock); + + if (emit_changed) + _systemd1_unit_emit_changed (skeleton); +} + +static void systemd1_unit_skeleton_iface_init (Systemd1UnitIface *iface); +#if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 +G_DEFINE_TYPE_WITH_CODE (Systemd1UnitSkeleton, systemd1_unit_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, + G_ADD_PRIVATE (Systemd1UnitSkeleton) + G_IMPLEMENT_INTERFACE (TYPE_SYSTEMD1_UNIT, systemd1_unit_skeleton_iface_init)) + +#else +G_DEFINE_TYPE_WITH_CODE (Systemd1UnitSkeleton, systemd1_unit_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON, + G_IMPLEMENT_INTERFACE (TYPE_SYSTEMD1_UNIT, systemd1_unit_skeleton_iface_init)) + +#endif +static void +systemd1_unit_skeleton_finalize (GObject *object) +{ + Systemd1UnitSkeleton *skeleton = SYSTEMD1_UNIT_SKELETON (object); + guint n; + for (n = 0; n < 94; n++) + g_value_unset (&skeleton->priv->properties[n]); + g_free (skeleton->priv->properties); + g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); + if (skeleton->priv->changed_properties_idle_source != NULL) + g_source_destroy (skeleton->priv->changed_properties_idle_source); + g_main_context_unref (skeleton->priv->context); + g_mutex_clear (&skeleton->priv->lock); + G_OBJECT_CLASS (systemd1_unit_skeleton_parent_class)->finalize (object); +} + +static void +systemd1_unit_skeleton_get_property (GObject *object, + guint prop_id, + GValue *value, + GParamSpec *pspec G_GNUC_UNUSED) +{ + Systemd1UnitSkeleton *skeleton = SYSTEMD1_UNIT_SKELETON (object); + g_assert (prop_id != 0 && prop_id - 1 < 94); + g_mutex_lock (&skeleton->priv->lock); + g_value_copy (&skeleton->priv->properties[prop_id - 1], value); + g_mutex_unlock (&skeleton->priv->lock); +} + +static gboolean +_systemd1_unit_emit_changed (gpointer user_data) +{ + Systemd1UnitSkeleton *skeleton = SYSTEMD1_UNIT_SKELETON (user_data); + GList *l; + GVariantBuilder builder; + GVariantBuilder invalidated_builder; + guint num_changes; + + g_mutex_lock (&skeleton->priv->lock); + g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}")); + g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as")); + for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next) + { + ChangedProperty *cp = l->data; + GVariant *variant; + const GValue *cur_value; + + cur_value = &skeleton->priv->properties[cp->prop_id - 1]; + if (!_g_value_equal (cur_value, &cp->orig_value)) + { + variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature)); + g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant); + g_variant_unref (variant); + num_changes++; + } + } + if (num_changes > 0) + { + GList *connections, *ll; + GVariant *signal_variant; + signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "org.freedesktop.systemd1.Unit", + &builder, &invalidated_builder)); + connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton)); + for (ll = connections; ll != NULL; ll = ll->next) + { + GDBusConnection *connection = ll->data; + + g_dbus_connection_emit_signal (connection, + NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), + "org.freedesktop.DBus.Properties", + "PropertiesChanged", + signal_variant, + NULL); + } + g_variant_unref (signal_variant); + g_list_free_full (connections, g_object_unref); + } + else + { + g_variant_builder_clear (&builder); + g_variant_builder_clear (&invalidated_builder); + } + g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free); + skeleton->priv->changed_properties = NULL; + skeleton->priv->changed_properties_idle_source = NULL; + g_mutex_unlock (&skeleton->priv->lock); + return FALSE; +} + +static void +_systemd1_unit_schedule_emit_changed (Systemd1UnitSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value) +{ + ChangedProperty *cp; + GList *l; + cp = NULL; + for (l = skeleton->priv->changed_properties; l != NULL; l = l->next) + { + ChangedProperty *i_cp = l->data; + if (i_cp->info == info) + { + cp = i_cp; + break; + } + } + if (cp == NULL) + { + cp = g_new0 (ChangedProperty, 1); + cp->prop_id = prop_id; + cp->info = info; + skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp); + g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value)); + g_value_copy (orig_value, &cp->orig_value); + } +} + +static void +systemd1_unit_skeleton_notify (GObject *object, + GParamSpec *pspec G_GNUC_UNUSED) +{ + Systemd1UnitSkeleton *skeleton = SYSTEMD1_UNIT_SKELETON (object); + g_mutex_lock (&skeleton->priv->lock); + if (skeleton->priv->changed_properties != NULL && + skeleton->priv->changed_properties_idle_source == NULL) + { + skeleton->priv->changed_properties_idle_source = g_idle_source_new (); + g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT); + g_source_set_callback (skeleton->priv->changed_properties_idle_source, _systemd1_unit_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref); + g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _systemd1_unit_emit_changed"); + g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context); + g_source_unref (skeleton->priv->changed_properties_idle_source); + } + g_mutex_unlock (&skeleton->priv->lock); +} + +static void +systemd1_unit_skeleton_set_property (GObject *object, + guint prop_id, + const GValue *value, + GParamSpec *pspec) +{ + const _ExtendedGDBusPropertyInfo *info; + Systemd1UnitSkeleton *skeleton = SYSTEMD1_UNIT_SKELETON (object); + g_assert (prop_id != 0 && prop_id - 1 < 94); + info = (const _ExtendedGDBusPropertyInfo *) _systemd1_unit_property_info_pointers[prop_id - 1]; + g_mutex_lock (&skeleton->priv->lock); + g_object_freeze_notify (object); + if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1])) + { + if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL && + info->emits_changed_signal) + _systemd1_unit_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]); + g_value_copy (value, &skeleton->priv->properties[prop_id - 1]); + g_object_notify_by_pspec (object, pspec); + } + g_mutex_unlock (&skeleton->priv->lock); + g_object_thaw_notify (object); +} + +static void +systemd1_unit_skeleton_init (Systemd1UnitSkeleton *skeleton) +{ +#if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38 + skeleton->priv = systemd1_unit_skeleton_get_instance_private (skeleton); +#else + skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_SYSTEMD1_UNIT_SKELETON, Systemd1UnitSkeletonPrivate); +#endif + + g_mutex_init (&skeleton->priv->lock); + skeleton->priv->context = g_main_context_ref_thread_default (); + skeleton->priv->properties = g_new0 (GValue, 94); + g_value_init (&skeleton->priv->properties[0], G_TYPE_STRING); + g_value_init (&skeleton->priv->properties[1], G_TYPE_STRV); + g_value_init (&skeleton->priv->properties[2], G_TYPE_STRING); + g_value_init (&skeleton->priv->properties[3], G_TYPE_STRV); + g_value_init (&skeleton->priv->properties[4], G_TYPE_STRV); + g_value_init (&skeleton->priv->properties[5], G_TYPE_STRV); + g_value_init (&skeleton->priv->properties[6], G_TYPE_STRV); + g_value_init (&skeleton->priv->properties[7], G_TYPE_STRV); + g_value_init (&skeleton->priv->properties[8], G_TYPE_STRV); + g_value_init (&skeleton->priv->properties[9], G_TYPE_STRV); + g_value_init (&skeleton->priv->properties[10], G_TYPE_STRV); + g_value_init (&skeleton->priv->properties[11], G_TYPE_STRV); + g_value_init (&skeleton->priv->properties[12], G_TYPE_STRV); + g_value_init (&skeleton->priv->properties[13], G_TYPE_STRV); + g_value_init (&skeleton->priv->properties[14], G_TYPE_STRV); + g_value_init (&skeleton->priv->properties[15], G_TYPE_STRV); + g_value_init (&skeleton->priv->properties[16], G_TYPE_STRV); + g_value_init (&skeleton->priv->properties[17], G_TYPE_STRV); + g_value_init (&skeleton->priv->properties[18], G_TYPE_STRV); + g_value_init (&skeleton->priv->properties[19], G_TYPE_STRV); + g_value_init (&skeleton->priv->properties[20], G_TYPE_STRV); + g_value_init (&skeleton->priv->properties[21], G_TYPE_STRV); + g_value_init (&skeleton->priv->properties[22], G_TYPE_STRV); + g_value_init (&skeleton->priv->properties[23], G_TYPE_STRV); + g_value_init (&skeleton->priv->properties[24], G_TYPE_STRV); + g_value_init (&skeleton->priv->properties[25], G_TYPE_STRV); + g_value_init (&skeleton->priv->properties[26], G_TYPE_STRV); + g_value_init (&skeleton->priv->properties[27], G_TYPE_STRV); + g_value_init (&skeleton->priv->properties[28], G_TYPE_STRV); + g_value_init (&skeleton->priv->properties[29], G_TYPE_STRV); + g_value_init (&skeleton->priv->properties[30], G_TYPE_STRV); + g_value_init (&skeleton->priv->properties[31], G_TYPE_STRING); + g_value_init (&skeleton->priv->properties[32], G_TYPE_STRING); + g_value_init (&skeleton->priv->properties[33], G_TYPE_STRING); + g_value_init (&skeleton->priv->properties[34], G_TYPE_STRING); + g_value_init (&skeleton->priv->properties[35], G_TYPE_STRING); + g_value_init (&skeleton->priv->properties[36], G_TYPE_STRING); + g_value_init (&skeleton->priv->properties[37], G_TYPE_STRING); + g_value_init (&skeleton->priv->properties[38], G_TYPE_STRV); + g_value_init (&skeleton->priv->properties[39], G_TYPE_STRING); + g_value_init (&skeleton->priv->properties[40], G_TYPE_STRING); + g_value_init (&skeleton->priv->properties[41], G_TYPE_UINT64); + g_value_init (&skeleton->priv->properties[42], G_TYPE_UINT64); + g_value_init (&skeleton->priv->properties[43], G_TYPE_UINT64); + g_value_init (&skeleton->priv->properties[44], G_TYPE_UINT64); + g_value_init (&skeleton->priv->properties[45], G_TYPE_UINT64); + g_value_init (&skeleton->priv->properties[46], G_TYPE_UINT64); + g_value_init (&skeleton->priv->properties[47], G_TYPE_UINT64); + g_value_init (&skeleton->priv->properties[48], G_TYPE_UINT64); + g_value_init (&skeleton->priv->properties[49], G_TYPE_UINT64); + g_value_init (&skeleton->priv->properties[50], G_TYPE_UINT64); + g_value_init (&skeleton->priv->properties[51], G_TYPE_BOOLEAN); + g_value_init (&skeleton->priv->properties[52], G_TYPE_BOOLEAN); + g_value_init (&skeleton->priv->properties[53], G_TYPE_BOOLEAN); + g_value_init (&skeleton->priv->properties[54], G_TYPE_BOOLEAN); + g_value_init (&skeleton->priv->properties[55], G_TYPE_STRV); + g_value_init (&skeleton->priv->properties[56], G_TYPE_BOOLEAN); + g_value_init (&skeleton->priv->properties[57], G_TYPE_VARIANT); + g_value_init (&skeleton->priv->properties[58], G_TYPE_BOOLEAN); + g_value_init (&skeleton->priv->properties[59], G_TYPE_BOOLEAN); + g_value_init (&skeleton->priv->properties[60], G_TYPE_BOOLEAN); + g_value_init (&skeleton->priv->properties[61], G_TYPE_BOOLEAN); + g_value_init (&skeleton->priv->properties[62], G_TYPE_BOOLEAN); + g_value_init (&skeleton->priv->properties[63], G_TYPE_STRING); + g_value_init (&skeleton->priv->properties[64], G_TYPE_STRING); + g_value_init (&skeleton->priv->properties[65], G_TYPE_BOOLEAN); + g_value_init (&skeleton->priv->properties[66], G_TYPE_BOOLEAN); + g_value_init (&skeleton->priv->properties[67], G_TYPE_STRV); + g_value_init (&skeleton->priv->properties[68], G_TYPE_UINT64); + g_value_init (&skeleton->priv->properties[69], G_TYPE_UINT64); + g_value_init (&skeleton->priv->properties[70], G_TYPE_STRING); + g_value_init (&skeleton->priv->properties[71], G_TYPE_STRING); + g_value_init (&skeleton->priv->properties[72], G_TYPE_BOOLEAN); + g_value_init (&skeleton->priv->properties[73], G_TYPE_BOOLEAN); + g_value_init (&skeleton->priv->properties[74], G_TYPE_UINT64); + g_value_init (&skeleton->priv->properties[75], G_TYPE_UINT64); + g_value_init (&skeleton->priv->properties[76], G_TYPE_UINT64); + g_value_init (&skeleton->priv->properties[77], G_TYPE_UINT64); + g_value_init (&skeleton->priv->properties[78], G_TYPE_VARIANT); + g_value_init (&skeleton->priv->properties[79], G_TYPE_VARIANT); + g_value_init (&skeleton->priv->properties[80], G_TYPE_VARIANT); + g_value_init (&skeleton->priv->properties[81], G_TYPE_BOOLEAN); + g_value_init (&skeleton->priv->properties[82], G_TYPE_BOOLEAN); + g_value_init (&skeleton->priv->properties[83], G_TYPE_UINT64); + g_value_init (&skeleton->priv->properties[84], G_TYPE_UINT); + g_value_init (&skeleton->priv->properties[85], G_TYPE_STRING); + g_value_init (&skeleton->priv->properties[86], G_TYPE_STRING); + g_value_init (&skeleton->priv->properties[87], G_TYPE_INT); + g_value_init (&skeleton->priv->properties[88], G_TYPE_STRING); + g_value_init (&skeleton->priv->properties[89], G_TYPE_INT); + g_value_init (&skeleton->priv->properties[90], G_TYPE_STRING); + g_value_init (&skeleton->priv->properties[91], G_TYPE_STRING); + g_value_init (&skeleton->priv->properties[92], G_TYPE_STRING); + g_value_init (&skeleton->priv->properties[93], G_TYPE_STRV); +} + +static const gchar * +systemd1_unit_skeleton_get_id (Systemd1Unit *object) +{ + Systemd1UnitSkeleton *skeleton = SYSTEMD1_UNIT_SKELETON (object); + const gchar *value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_string (&(skeleton->priv->properties[0])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static const gchar *const * +systemd1_unit_skeleton_get_names (Systemd1Unit *object) +{ + Systemd1UnitSkeleton *skeleton = SYSTEMD1_UNIT_SKELETON (object); + const gchar *const *value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_boxed (&(skeleton->priv->properties[1])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static const gchar * +systemd1_unit_skeleton_get_following (Systemd1Unit *object) +{ + Systemd1UnitSkeleton *skeleton = SYSTEMD1_UNIT_SKELETON (object); + const gchar *value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_string (&(skeleton->priv->properties[2])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static const gchar *const * +systemd1_unit_skeleton_get_requires (Systemd1Unit *object) +{ + Systemd1UnitSkeleton *skeleton = SYSTEMD1_UNIT_SKELETON (object); + const gchar *const *value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_boxed (&(skeleton->priv->properties[3])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static const gchar *const * +systemd1_unit_skeleton_get_requisite (Systemd1Unit *object) +{ + Systemd1UnitSkeleton *skeleton = SYSTEMD1_UNIT_SKELETON (object); + const gchar *const *value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_boxed (&(skeleton->priv->properties[4])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static const gchar *const * +systemd1_unit_skeleton_get_wants (Systemd1Unit *object) +{ + Systemd1UnitSkeleton *skeleton = SYSTEMD1_UNIT_SKELETON (object); + const gchar *const *value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_boxed (&(skeleton->priv->properties[5])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static const gchar *const * +systemd1_unit_skeleton_get_binds_to (Systemd1Unit *object) +{ + Systemd1UnitSkeleton *skeleton = SYSTEMD1_UNIT_SKELETON (object); + const gchar *const *value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_boxed (&(skeleton->priv->properties[6])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static const gchar *const * +systemd1_unit_skeleton_get_part_of (Systemd1Unit *object) +{ + Systemd1UnitSkeleton *skeleton = SYSTEMD1_UNIT_SKELETON (object); + const gchar *const *value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_boxed (&(skeleton->priv->properties[7])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static const gchar *const * +systemd1_unit_skeleton_get_required_by (Systemd1Unit *object) +{ + Systemd1UnitSkeleton *skeleton = SYSTEMD1_UNIT_SKELETON (object); + const gchar *const *value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_boxed (&(skeleton->priv->properties[8])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static const gchar *const * +systemd1_unit_skeleton_get_requisite_of (Systemd1Unit *object) +{ + Systemd1UnitSkeleton *skeleton = SYSTEMD1_UNIT_SKELETON (object); + const gchar *const *value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_boxed (&(skeleton->priv->properties[9])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static const gchar *const * +systemd1_unit_skeleton_get_wanted_by (Systemd1Unit *object) +{ + Systemd1UnitSkeleton *skeleton = SYSTEMD1_UNIT_SKELETON (object); + const gchar *const *value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_boxed (&(skeleton->priv->properties[10])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static const gchar *const * +systemd1_unit_skeleton_get_bound_by (Systemd1Unit *object) +{ + Systemd1UnitSkeleton *skeleton = SYSTEMD1_UNIT_SKELETON (object); + const gchar *const *value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_boxed (&(skeleton->priv->properties[11])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static const gchar *const * +systemd1_unit_skeleton_get_consists_of (Systemd1Unit *object) +{ + Systemd1UnitSkeleton *skeleton = SYSTEMD1_UNIT_SKELETON (object); + const gchar *const *value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_boxed (&(skeleton->priv->properties[12])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static const gchar *const * +systemd1_unit_skeleton_get_conflicts (Systemd1Unit *object) +{ + Systemd1UnitSkeleton *skeleton = SYSTEMD1_UNIT_SKELETON (object); + const gchar *const *value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_boxed (&(skeleton->priv->properties[13])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static const gchar *const * +systemd1_unit_skeleton_get_conflicted_by (Systemd1Unit *object) +{ + Systemd1UnitSkeleton *skeleton = SYSTEMD1_UNIT_SKELETON (object); + const gchar *const *value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_boxed (&(skeleton->priv->properties[14])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static const gchar *const * +systemd1_unit_skeleton_get_before (Systemd1Unit *object) +{ + Systemd1UnitSkeleton *skeleton = SYSTEMD1_UNIT_SKELETON (object); + const gchar *const *value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_boxed (&(skeleton->priv->properties[15])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static const gchar *const * +systemd1_unit_skeleton_get_after (Systemd1Unit *object) +{ + Systemd1UnitSkeleton *skeleton = SYSTEMD1_UNIT_SKELETON (object); + const gchar *const *value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_boxed (&(skeleton->priv->properties[16])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static const gchar *const * +systemd1_unit_skeleton_get_on_failure (Systemd1Unit *object) +{ + Systemd1UnitSkeleton *skeleton = SYSTEMD1_UNIT_SKELETON (object); + const gchar *const *value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_boxed (&(skeleton->priv->properties[17])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static const gchar *const * +systemd1_unit_skeleton_get_on_failure_of (Systemd1Unit *object) +{ + Systemd1UnitSkeleton *skeleton = SYSTEMD1_UNIT_SKELETON (object); + const gchar *const *value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_boxed (&(skeleton->priv->properties[18])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static const gchar *const * +systemd1_unit_skeleton_get_on_success (Systemd1Unit *object) +{ + Systemd1UnitSkeleton *skeleton = SYSTEMD1_UNIT_SKELETON (object); + const gchar *const *value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_boxed (&(skeleton->priv->properties[19])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static const gchar *const * +systemd1_unit_skeleton_get_on_success_of (Systemd1Unit *object) +{ + Systemd1UnitSkeleton *skeleton = SYSTEMD1_UNIT_SKELETON (object); + const gchar *const *value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_boxed (&(skeleton->priv->properties[20])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static const gchar *const * +systemd1_unit_skeleton_get_triggers (Systemd1Unit *object) +{ + Systemd1UnitSkeleton *skeleton = SYSTEMD1_UNIT_SKELETON (object); + const gchar *const *value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_boxed (&(skeleton->priv->properties[21])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static const gchar *const * +systemd1_unit_skeleton_get_triggered_by (Systemd1Unit *object) +{ + Systemd1UnitSkeleton *skeleton = SYSTEMD1_UNIT_SKELETON (object); + const gchar *const *value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_boxed (&(skeleton->priv->properties[22])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static const gchar *const * +systemd1_unit_skeleton_get_propagates_reload_to (Systemd1Unit *object) +{ + Systemd1UnitSkeleton *skeleton = SYSTEMD1_UNIT_SKELETON (object); + const gchar *const *value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_boxed (&(skeleton->priv->properties[23])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static const gchar *const * +systemd1_unit_skeleton_get_reload_propagated_from (Systemd1Unit *object) +{ + Systemd1UnitSkeleton *skeleton = SYSTEMD1_UNIT_SKELETON (object); + const gchar *const *value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_boxed (&(skeleton->priv->properties[24])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static const gchar *const * +systemd1_unit_skeleton_get_propagates_stop_to (Systemd1Unit *object) +{ + Systemd1UnitSkeleton *skeleton = SYSTEMD1_UNIT_SKELETON (object); + const gchar *const *value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_boxed (&(skeleton->priv->properties[25])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static const gchar *const * +systemd1_unit_skeleton_get_stop_propagated_from (Systemd1Unit *object) +{ + Systemd1UnitSkeleton *skeleton = SYSTEMD1_UNIT_SKELETON (object); + const gchar *const *value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_boxed (&(skeleton->priv->properties[26])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static const gchar *const * +systemd1_unit_skeleton_get_joins_namespace_of (Systemd1Unit *object) +{ + Systemd1UnitSkeleton *skeleton = SYSTEMD1_UNIT_SKELETON (object); + const gchar *const *value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_boxed (&(skeleton->priv->properties[27])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static const gchar *const * +systemd1_unit_skeleton_get_slice_of (Systemd1Unit *object) +{ + Systemd1UnitSkeleton *skeleton = SYSTEMD1_UNIT_SKELETON (object); + const gchar *const *value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_boxed (&(skeleton->priv->properties[28])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static const gchar *const * +systemd1_unit_skeleton_get_requires_mounts_for (Systemd1Unit *object) +{ + Systemd1UnitSkeleton *skeleton = SYSTEMD1_UNIT_SKELETON (object); + const gchar *const *value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_boxed (&(skeleton->priv->properties[29])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static const gchar *const * +systemd1_unit_skeleton_get_documentation (Systemd1Unit *object) +{ + Systemd1UnitSkeleton *skeleton = SYSTEMD1_UNIT_SKELETON (object); + const gchar *const *value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_boxed (&(skeleton->priv->properties[30])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static const gchar * +systemd1_unit_skeleton_get_description (Systemd1Unit *object) +{ + Systemd1UnitSkeleton *skeleton = SYSTEMD1_UNIT_SKELETON (object); + const gchar *value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_string (&(skeleton->priv->properties[31])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static const gchar * +systemd1_unit_skeleton_get_load_state (Systemd1Unit *object) +{ + Systemd1UnitSkeleton *skeleton = SYSTEMD1_UNIT_SKELETON (object); + const gchar *value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_string (&(skeleton->priv->properties[32])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static const gchar * +systemd1_unit_skeleton_get_active_state (Systemd1Unit *object) +{ + Systemd1UnitSkeleton *skeleton = SYSTEMD1_UNIT_SKELETON (object); + const gchar *value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_string (&(skeleton->priv->properties[33])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static const gchar * +systemd1_unit_skeleton_get_freezer_state (Systemd1Unit *object) +{ + Systemd1UnitSkeleton *skeleton = SYSTEMD1_UNIT_SKELETON (object); + const gchar *value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_string (&(skeleton->priv->properties[34])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static const gchar * +systemd1_unit_skeleton_get_sub_state (Systemd1Unit *object) +{ + Systemd1UnitSkeleton *skeleton = SYSTEMD1_UNIT_SKELETON (object); + const gchar *value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_string (&(skeleton->priv->properties[35])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static const gchar * +systemd1_unit_skeleton_get_fragment_path (Systemd1Unit *object) +{ + Systemd1UnitSkeleton *skeleton = SYSTEMD1_UNIT_SKELETON (object); + const gchar *value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_string (&(skeleton->priv->properties[36])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static const gchar * +systemd1_unit_skeleton_get_source_path (Systemd1Unit *object) +{ + Systemd1UnitSkeleton *skeleton = SYSTEMD1_UNIT_SKELETON (object); + const gchar *value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_string (&(skeleton->priv->properties[37])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static const gchar *const * +systemd1_unit_skeleton_get_drop_in_paths (Systemd1Unit *object) +{ + Systemd1UnitSkeleton *skeleton = SYSTEMD1_UNIT_SKELETON (object); + const gchar *const *value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_boxed (&(skeleton->priv->properties[38])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static const gchar * +systemd1_unit_skeleton_get_unit_file_state (Systemd1Unit *object) +{ + Systemd1UnitSkeleton *skeleton = SYSTEMD1_UNIT_SKELETON (object); + const gchar *value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_string (&(skeleton->priv->properties[39])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static const gchar * +systemd1_unit_skeleton_get_unit_file_preset (Systemd1Unit *object) +{ + Systemd1UnitSkeleton *skeleton = SYSTEMD1_UNIT_SKELETON (object); + const gchar *value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_string (&(skeleton->priv->properties[40])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static guint64 +systemd1_unit_skeleton_get_state_change_timestamp (Systemd1Unit *object) +{ + Systemd1UnitSkeleton *skeleton = SYSTEMD1_UNIT_SKELETON (object); + guint64 value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_uint64 (&(skeleton->priv->properties[41])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static guint64 +systemd1_unit_skeleton_get_state_change_timestamp_monotonic (Systemd1Unit *object) +{ + Systemd1UnitSkeleton *skeleton = SYSTEMD1_UNIT_SKELETON (object); + guint64 value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_uint64 (&(skeleton->priv->properties[42])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static guint64 +systemd1_unit_skeleton_get_inactive_exit_timestamp (Systemd1Unit *object) +{ + Systemd1UnitSkeleton *skeleton = SYSTEMD1_UNIT_SKELETON (object); + guint64 value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_uint64 (&(skeleton->priv->properties[43])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static guint64 +systemd1_unit_skeleton_get_inactive_exit_timestamp_monotonic (Systemd1Unit *object) +{ + Systemd1UnitSkeleton *skeleton = SYSTEMD1_UNIT_SKELETON (object); + guint64 value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_uint64 (&(skeleton->priv->properties[44])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static guint64 +systemd1_unit_skeleton_get_active_enter_timestamp (Systemd1Unit *object) +{ + Systemd1UnitSkeleton *skeleton = SYSTEMD1_UNIT_SKELETON (object); + guint64 value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_uint64 (&(skeleton->priv->properties[45])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static guint64 +systemd1_unit_skeleton_get_active_enter_timestamp_monotonic (Systemd1Unit *object) +{ + Systemd1UnitSkeleton *skeleton = SYSTEMD1_UNIT_SKELETON (object); + guint64 value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_uint64 (&(skeleton->priv->properties[46])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static guint64 +systemd1_unit_skeleton_get_active_exit_timestamp (Systemd1Unit *object) +{ + Systemd1UnitSkeleton *skeleton = SYSTEMD1_UNIT_SKELETON (object); + guint64 value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_uint64 (&(skeleton->priv->properties[47])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static guint64 +systemd1_unit_skeleton_get_active_exit_timestamp_monotonic (Systemd1Unit *object) +{ + Systemd1UnitSkeleton *skeleton = SYSTEMD1_UNIT_SKELETON (object); + guint64 value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_uint64 (&(skeleton->priv->properties[48])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static guint64 +systemd1_unit_skeleton_get_inactive_enter_timestamp (Systemd1Unit *object) +{ + Systemd1UnitSkeleton *skeleton = SYSTEMD1_UNIT_SKELETON (object); + guint64 value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_uint64 (&(skeleton->priv->properties[49])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static guint64 +systemd1_unit_skeleton_get_inactive_enter_timestamp_monotonic (Systemd1Unit *object) +{ + Systemd1UnitSkeleton *skeleton = SYSTEMD1_UNIT_SKELETON (object); + guint64 value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_uint64 (&(skeleton->priv->properties[50])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static gboolean +systemd1_unit_skeleton_get_can_start (Systemd1Unit *object) +{ + Systemd1UnitSkeleton *skeleton = SYSTEMD1_UNIT_SKELETON (object); + gboolean value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_boolean (&(skeleton->priv->properties[51])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static gboolean +systemd1_unit_skeleton_get_can_stop (Systemd1Unit *object) +{ + Systemd1UnitSkeleton *skeleton = SYSTEMD1_UNIT_SKELETON (object); + gboolean value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_boolean (&(skeleton->priv->properties[52])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static gboolean +systemd1_unit_skeleton_get_can_reload (Systemd1Unit *object) +{ + Systemd1UnitSkeleton *skeleton = SYSTEMD1_UNIT_SKELETON (object); + gboolean value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_boolean (&(skeleton->priv->properties[53])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static gboolean +systemd1_unit_skeleton_get_can_isolate (Systemd1Unit *object) +{ + Systemd1UnitSkeleton *skeleton = SYSTEMD1_UNIT_SKELETON (object); + gboolean value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_boolean (&(skeleton->priv->properties[54])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static const gchar *const * +systemd1_unit_skeleton_get_can_clean (Systemd1Unit *object) +{ + Systemd1UnitSkeleton *skeleton = SYSTEMD1_UNIT_SKELETON (object); + const gchar *const *value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_boxed (&(skeleton->priv->properties[55])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static gboolean +systemd1_unit_skeleton_get_can_freeze (Systemd1Unit *object) +{ + Systemd1UnitSkeleton *skeleton = SYSTEMD1_UNIT_SKELETON (object); + gboolean value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_boolean (&(skeleton->priv->properties[56])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static GVariant * +systemd1_unit_skeleton_get_job (Systemd1Unit *object) +{ + Systemd1UnitSkeleton *skeleton = SYSTEMD1_UNIT_SKELETON (object); + GVariant *value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_variant (&(skeleton->priv->properties[57])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static gboolean +systemd1_unit_skeleton_get_stop_when_unneeded (Systemd1Unit *object) +{ + Systemd1UnitSkeleton *skeleton = SYSTEMD1_UNIT_SKELETON (object); + gboolean value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_boolean (&(skeleton->priv->properties[58])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static gboolean +systemd1_unit_skeleton_get_refuse_manual_start (Systemd1Unit *object) +{ + Systemd1UnitSkeleton *skeleton = SYSTEMD1_UNIT_SKELETON (object); + gboolean value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_boolean (&(skeleton->priv->properties[59])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static gboolean +systemd1_unit_skeleton_get_refuse_manual_stop (Systemd1Unit *object) +{ + Systemd1UnitSkeleton *skeleton = SYSTEMD1_UNIT_SKELETON (object); + gboolean value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_boolean (&(skeleton->priv->properties[60])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static gboolean +systemd1_unit_skeleton_get_allow_isolate (Systemd1Unit *object) +{ + Systemd1UnitSkeleton *skeleton = SYSTEMD1_UNIT_SKELETON (object); + gboolean value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_boolean (&(skeleton->priv->properties[61])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static gboolean +systemd1_unit_skeleton_get_default_dependencies (Systemd1Unit *object) +{ + Systemd1UnitSkeleton *skeleton = SYSTEMD1_UNIT_SKELETON (object); + gboolean value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_boolean (&(skeleton->priv->properties[62])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static const gchar * +systemd1_unit_skeleton_get_on_success_job_mode (Systemd1Unit *object) +{ + Systemd1UnitSkeleton *skeleton = SYSTEMD1_UNIT_SKELETON (object); + const gchar *value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_string (&(skeleton->priv->properties[63])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static const gchar * +systemd1_unit_skeleton_get_on_failure_job_mode (Systemd1Unit *object) +{ + Systemd1UnitSkeleton *skeleton = SYSTEMD1_UNIT_SKELETON (object); + const gchar *value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_string (&(skeleton->priv->properties[64])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static gboolean +systemd1_unit_skeleton_get_ignore_on_isolate (Systemd1Unit *object) +{ + Systemd1UnitSkeleton *skeleton = SYSTEMD1_UNIT_SKELETON (object); + gboolean value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_boolean (&(skeleton->priv->properties[65])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static gboolean +systemd1_unit_skeleton_get_need_daemon_reload (Systemd1Unit *object) +{ + Systemd1UnitSkeleton *skeleton = SYSTEMD1_UNIT_SKELETON (object); + gboolean value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_boolean (&(skeleton->priv->properties[66])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static const gchar *const * +systemd1_unit_skeleton_get_markers (Systemd1Unit *object) +{ + Systemd1UnitSkeleton *skeleton = SYSTEMD1_UNIT_SKELETON (object); + const gchar *const *value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_boxed (&(skeleton->priv->properties[67])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static guint64 +systemd1_unit_skeleton_get_job_timeout_usec (Systemd1Unit *object) +{ + Systemd1UnitSkeleton *skeleton = SYSTEMD1_UNIT_SKELETON (object); + guint64 value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_uint64 (&(skeleton->priv->properties[68])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static guint64 +systemd1_unit_skeleton_get_job_running_timeout_usec (Systemd1Unit *object) +{ + Systemd1UnitSkeleton *skeleton = SYSTEMD1_UNIT_SKELETON (object); + guint64 value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_uint64 (&(skeleton->priv->properties[69])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static const gchar * +systemd1_unit_skeleton_get_job_timeout_action (Systemd1Unit *object) +{ + Systemd1UnitSkeleton *skeleton = SYSTEMD1_UNIT_SKELETON (object); + const gchar *value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_string (&(skeleton->priv->properties[70])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static const gchar * +systemd1_unit_skeleton_get_job_timeout_reboot_argument (Systemd1Unit *object) +{ + Systemd1UnitSkeleton *skeleton = SYSTEMD1_UNIT_SKELETON (object); + const gchar *value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_string (&(skeleton->priv->properties[71])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static gboolean +systemd1_unit_skeleton_get_condition_result (Systemd1Unit *object) +{ + Systemd1UnitSkeleton *skeleton = SYSTEMD1_UNIT_SKELETON (object); + gboolean value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_boolean (&(skeleton->priv->properties[72])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static gboolean +systemd1_unit_skeleton_get_assert_result (Systemd1Unit *object) +{ + Systemd1UnitSkeleton *skeleton = SYSTEMD1_UNIT_SKELETON (object); + gboolean value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_boolean (&(skeleton->priv->properties[73])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static guint64 +systemd1_unit_skeleton_get_condition_timestamp (Systemd1Unit *object) +{ + Systemd1UnitSkeleton *skeleton = SYSTEMD1_UNIT_SKELETON (object); + guint64 value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_uint64 (&(skeleton->priv->properties[74])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static guint64 +systemd1_unit_skeleton_get_condition_timestamp_monotonic (Systemd1Unit *object) +{ + Systemd1UnitSkeleton *skeleton = SYSTEMD1_UNIT_SKELETON (object); + guint64 value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_uint64 (&(skeleton->priv->properties[75])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static guint64 +systemd1_unit_skeleton_get_assert_timestamp (Systemd1Unit *object) +{ + Systemd1UnitSkeleton *skeleton = SYSTEMD1_UNIT_SKELETON (object); + guint64 value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_uint64 (&(skeleton->priv->properties[76])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static guint64 +systemd1_unit_skeleton_get_assert_timestamp_monotonic (Systemd1Unit *object) +{ + Systemd1UnitSkeleton *skeleton = SYSTEMD1_UNIT_SKELETON (object); + guint64 value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_uint64 (&(skeleton->priv->properties[77])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static GVariant * +systemd1_unit_skeleton_get_conditions (Systemd1Unit *object) +{ + Systemd1UnitSkeleton *skeleton = SYSTEMD1_UNIT_SKELETON (object); + GVariant *value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_variant (&(skeleton->priv->properties[78])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static GVariant * +systemd1_unit_skeleton_get_asserts (Systemd1Unit *object) +{ + Systemd1UnitSkeleton *skeleton = SYSTEMD1_UNIT_SKELETON (object); + GVariant *value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_variant (&(skeleton->priv->properties[79])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static GVariant * +systemd1_unit_skeleton_get_load_error (Systemd1Unit *object) +{ + Systemd1UnitSkeleton *skeleton = SYSTEMD1_UNIT_SKELETON (object); + GVariant *value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_variant (&(skeleton->priv->properties[80])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static gboolean +systemd1_unit_skeleton_get_transient (Systemd1Unit *object) +{ + Systemd1UnitSkeleton *skeleton = SYSTEMD1_UNIT_SKELETON (object); + gboolean value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_boolean (&(skeleton->priv->properties[81])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static gboolean +systemd1_unit_skeleton_get_perpetual (Systemd1Unit *object) +{ + Systemd1UnitSkeleton *skeleton = SYSTEMD1_UNIT_SKELETON (object); + gboolean value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_boolean (&(skeleton->priv->properties[82])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static guint64 +systemd1_unit_skeleton_get_start_limit_interval_usec (Systemd1Unit *object) +{ + Systemd1UnitSkeleton *skeleton = SYSTEMD1_UNIT_SKELETON (object); + guint64 value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_uint64 (&(skeleton->priv->properties[83])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static guint +systemd1_unit_skeleton_get_start_limit_burst (Systemd1Unit *object) +{ + Systemd1UnitSkeleton *skeleton = SYSTEMD1_UNIT_SKELETON (object); + guint value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_uint (&(skeleton->priv->properties[84])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static const gchar * +systemd1_unit_skeleton_get_start_limit_action (Systemd1Unit *object) +{ + Systemd1UnitSkeleton *skeleton = SYSTEMD1_UNIT_SKELETON (object); + const gchar *value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_string (&(skeleton->priv->properties[85])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static const gchar * +systemd1_unit_skeleton_get_failure_action (Systemd1Unit *object) +{ + Systemd1UnitSkeleton *skeleton = SYSTEMD1_UNIT_SKELETON (object); + const gchar *value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_string (&(skeleton->priv->properties[86])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static gint +systemd1_unit_skeleton_get_failure_action_exit_status (Systemd1Unit *object) +{ + Systemd1UnitSkeleton *skeleton = SYSTEMD1_UNIT_SKELETON (object); + gint value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_int (&(skeleton->priv->properties[87])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static const gchar * +systemd1_unit_skeleton_get_success_action (Systemd1Unit *object) +{ + Systemd1UnitSkeleton *skeleton = SYSTEMD1_UNIT_SKELETON (object); + const gchar *value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_string (&(skeleton->priv->properties[88])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static gint +systemd1_unit_skeleton_get_success_action_exit_status (Systemd1Unit *object) +{ + Systemd1UnitSkeleton *skeleton = SYSTEMD1_UNIT_SKELETON (object); + gint value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_int (&(skeleton->priv->properties[89])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static const gchar * +systemd1_unit_skeleton_get_reboot_argument (Systemd1Unit *object) +{ + Systemd1UnitSkeleton *skeleton = SYSTEMD1_UNIT_SKELETON (object); + const gchar *value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_string (&(skeleton->priv->properties[90])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static const gchar * +systemd1_unit_skeleton_get_invocation_id (Systemd1Unit *object) +{ + Systemd1UnitSkeleton *skeleton = SYSTEMD1_UNIT_SKELETON (object); + const gchar *value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_string (&(skeleton->priv->properties[91])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static const gchar * +systemd1_unit_skeleton_get_collect_mode (Systemd1Unit *object) +{ + Systemd1UnitSkeleton *skeleton = SYSTEMD1_UNIT_SKELETON (object); + const gchar *value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_string (&(skeleton->priv->properties[92])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static const gchar *const * +systemd1_unit_skeleton_get_refs (Systemd1Unit *object) +{ + Systemd1UnitSkeleton *skeleton = SYSTEMD1_UNIT_SKELETON (object); + const gchar *const *value; + g_mutex_lock (&skeleton->priv->lock); + value = g_value_get_boxed (&(skeleton->priv->properties[93])); + g_mutex_unlock (&skeleton->priv->lock); + return value; +} + +static void +systemd1_unit_skeleton_class_init (Systemd1UnitSkeletonClass *klass) +{ + GObjectClass *gobject_class; + GDBusInterfaceSkeletonClass *skeleton_class; + + gobject_class = G_OBJECT_CLASS (klass); + gobject_class->finalize = systemd1_unit_skeleton_finalize; + gobject_class->get_property = systemd1_unit_skeleton_get_property; + gobject_class->set_property = systemd1_unit_skeleton_set_property; + gobject_class->notify = systemd1_unit_skeleton_notify; + + + systemd1_unit_override_properties (gobject_class, 1); + + skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass); + skeleton_class->get_info = systemd1_unit_skeleton_dbus_interface_get_info; + skeleton_class->get_properties = systemd1_unit_skeleton_dbus_interface_get_properties; + skeleton_class->flush = systemd1_unit_skeleton_dbus_interface_flush; + skeleton_class->get_vtable = systemd1_unit_skeleton_dbus_interface_get_vtable; + +#if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38 + g_type_class_add_private (klass, sizeof (Systemd1UnitSkeletonPrivate)); +#endif +} + +static void +systemd1_unit_skeleton_iface_init (Systemd1UnitIface *iface) +{ + iface->get_id = systemd1_unit_skeleton_get_id; + iface->get_names = systemd1_unit_skeleton_get_names; + iface->get_following = systemd1_unit_skeleton_get_following; + iface->get_requires = systemd1_unit_skeleton_get_requires; + iface->get_requisite = systemd1_unit_skeleton_get_requisite; + iface->get_wants = systemd1_unit_skeleton_get_wants; + iface->get_binds_to = systemd1_unit_skeleton_get_binds_to; + iface->get_part_of = systemd1_unit_skeleton_get_part_of; + iface->get_required_by = systemd1_unit_skeleton_get_required_by; + iface->get_requisite_of = systemd1_unit_skeleton_get_requisite_of; + iface->get_wanted_by = systemd1_unit_skeleton_get_wanted_by; + iface->get_bound_by = systemd1_unit_skeleton_get_bound_by; + iface->get_consists_of = systemd1_unit_skeleton_get_consists_of; + iface->get_conflicts = systemd1_unit_skeleton_get_conflicts; + iface->get_conflicted_by = systemd1_unit_skeleton_get_conflicted_by; + iface->get_before = systemd1_unit_skeleton_get_before; + iface->get_after = systemd1_unit_skeleton_get_after; + iface->get_on_failure = systemd1_unit_skeleton_get_on_failure; + iface->get_on_failure_of = systemd1_unit_skeleton_get_on_failure_of; + iface->get_on_success = systemd1_unit_skeleton_get_on_success; + iface->get_on_success_of = systemd1_unit_skeleton_get_on_success_of; + iface->get_triggers = systemd1_unit_skeleton_get_triggers; + iface->get_triggered_by = systemd1_unit_skeleton_get_triggered_by; + iface->get_propagates_reload_to = systemd1_unit_skeleton_get_propagates_reload_to; + iface->get_reload_propagated_from = systemd1_unit_skeleton_get_reload_propagated_from; + iface->get_propagates_stop_to = systemd1_unit_skeleton_get_propagates_stop_to; + iface->get_stop_propagated_from = systemd1_unit_skeleton_get_stop_propagated_from; + iface->get_joins_namespace_of = systemd1_unit_skeleton_get_joins_namespace_of; + iface->get_slice_of = systemd1_unit_skeleton_get_slice_of; + iface->get_requires_mounts_for = systemd1_unit_skeleton_get_requires_mounts_for; + iface->get_documentation = systemd1_unit_skeleton_get_documentation; + iface->get_description = systemd1_unit_skeleton_get_description; + iface->get_load_state = systemd1_unit_skeleton_get_load_state; + iface->get_active_state = systemd1_unit_skeleton_get_active_state; + iface->get_freezer_state = systemd1_unit_skeleton_get_freezer_state; + iface->get_sub_state = systemd1_unit_skeleton_get_sub_state; + iface->get_fragment_path = systemd1_unit_skeleton_get_fragment_path; + iface->get_source_path = systemd1_unit_skeleton_get_source_path; + iface->get_drop_in_paths = systemd1_unit_skeleton_get_drop_in_paths; + iface->get_unit_file_state = systemd1_unit_skeleton_get_unit_file_state; + iface->get_unit_file_preset = systemd1_unit_skeleton_get_unit_file_preset; + iface->get_state_change_timestamp = systemd1_unit_skeleton_get_state_change_timestamp; + iface->get_state_change_timestamp_monotonic = systemd1_unit_skeleton_get_state_change_timestamp_monotonic; + iface->get_inactive_exit_timestamp = systemd1_unit_skeleton_get_inactive_exit_timestamp; + iface->get_inactive_exit_timestamp_monotonic = systemd1_unit_skeleton_get_inactive_exit_timestamp_monotonic; + iface->get_active_enter_timestamp = systemd1_unit_skeleton_get_active_enter_timestamp; + iface->get_active_enter_timestamp_monotonic = systemd1_unit_skeleton_get_active_enter_timestamp_monotonic; + iface->get_active_exit_timestamp = systemd1_unit_skeleton_get_active_exit_timestamp; + iface->get_active_exit_timestamp_monotonic = systemd1_unit_skeleton_get_active_exit_timestamp_monotonic; + iface->get_inactive_enter_timestamp = systemd1_unit_skeleton_get_inactive_enter_timestamp; + iface->get_inactive_enter_timestamp_monotonic = systemd1_unit_skeleton_get_inactive_enter_timestamp_monotonic; + iface->get_can_start = systemd1_unit_skeleton_get_can_start; + iface->get_can_stop = systemd1_unit_skeleton_get_can_stop; + iface->get_can_reload = systemd1_unit_skeleton_get_can_reload; + iface->get_can_isolate = systemd1_unit_skeleton_get_can_isolate; + iface->get_can_clean = systemd1_unit_skeleton_get_can_clean; + iface->get_can_freeze = systemd1_unit_skeleton_get_can_freeze; + iface->get_job = systemd1_unit_skeleton_get_job; + iface->get_stop_when_unneeded = systemd1_unit_skeleton_get_stop_when_unneeded; + iface->get_refuse_manual_start = systemd1_unit_skeleton_get_refuse_manual_start; + iface->get_refuse_manual_stop = systemd1_unit_skeleton_get_refuse_manual_stop; + iface->get_allow_isolate = systemd1_unit_skeleton_get_allow_isolate; + iface->get_default_dependencies = systemd1_unit_skeleton_get_default_dependencies; + iface->get_on_success_job_mode = systemd1_unit_skeleton_get_on_success_job_mode; + iface->get_on_failure_job_mode = systemd1_unit_skeleton_get_on_failure_job_mode; + iface->get_ignore_on_isolate = systemd1_unit_skeleton_get_ignore_on_isolate; + iface->get_need_daemon_reload = systemd1_unit_skeleton_get_need_daemon_reload; + iface->get_markers = systemd1_unit_skeleton_get_markers; + iface->get_job_timeout_usec = systemd1_unit_skeleton_get_job_timeout_usec; + iface->get_job_running_timeout_usec = systemd1_unit_skeleton_get_job_running_timeout_usec; + iface->get_job_timeout_action = systemd1_unit_skeleton_get_job_timeout_action; + iface->get_job_timeout_reboot_argument = systemd1_unit_skeleton_get_job_timeout_reboot_argument; + iface->get_condition_result = systemd1_unit_skeleton_get_condition_result; + iface->get_assert_result = systemd1_unit_skeleton_get_assert_result; + iface->get_condition_timestamp = systemd1_unit_skeleton_get_condition_timestamp; + iface->get_condition_timestamp_monotonic = systemd1_unit_skeleton_get_condition_timestamp_monotonic; + iface->get_assert_timestamp = systemd1_unit_skeleton_get_assert_timestamp; + iface->get_assert_timestamp_monotonic = systemd1_unit_skeleton_get_assert_timestamp_monotonic; + iface->get_conditions = systemd1_unit_skeleton_get_conditions; + iface->get_asserts = systemd1_unit_skeleton_get_asserts; + iface->get_load_error = systemd1_unit_skeleton_get_load_error; + iface->get_transient = systemd1_unit_skeleton_get_transient; + iface->get_perpetual = systemd1_unit_skeleton_get_perpetual; + iface->get_start_limit_interval_usec = systemd1_unit_skeleton_get_start_limit_interval_usec; + iface->get_start_limit_burst = systemd1_unit_skeleton_get_start_limit_burst; + iface->get_start_limit_action = systemd1_unit_skeleton_get_start_limit_action; + iface->get_failure_action = systemd1_unit_skeleton_get_failure_action; + iface->get_failure_action_exit_status = systemd1_unit_skeleton_get_failure_action_exit_status; + iface->get_success_action = systemd1_unit_skeleton_get_success_action; + iface->get_success_action_exit_status = systemd1_unit_skeleton_get_success_action_exit_status; + iface->get_reboot_argument = systemd1_unit_skeleton_get_reboot_argument; + iface->get_invocation_id = systemd1_unit_skeleton_get_invocation_id; + iface->get_collect_mode = systemd1_unit_skeleton_get_collect_mode; + iface->get_refs = systemd1_unit_skeleton_get_refs; +} + +/** + * systemd1_unit_skeleton_new: + * + * Creates a skeleton object for the D-Bus interface <link linkend="gdbus-interface-org-freedesktop-systemd1-Unit.top_of_page">org.freedesktop.systemd1.Unit</link>. + * + * Returns: (transfer full) (type Systemd1UnitSkeleton): The skeleton object. + */ +Systemd1Unit * +systemd1_unit_skeleton_new (void) +{ + return SYSTEMD1_UNIT (g_object_new (TYPE_SYSTEMD1_UNIT_SKELETON, NULL)); +} + diff --git a/src/gdbus/systemd1_unit_interface.h b/src/gdbus/systemd1_unit_interface.h new file mode 100644 index 0000000..993445d --- /dev/null +++ b/src/gdbus/systemd1_unit_interface.h @@ -0,0 +1,1149 @@ +/* + * This file is generated by gdbus-codegen, do not modify it. + * + * The license of this code is the same as for the D-Bus interface description + * it was derived from. Note that it links to GLib, so must comply with the + * LGPL linking clauses. + */ + +#ifndef __SYSTEMD1_UNIT_INTERFACE_H__ +#define __SYSTEMD1_UNIT_INTERFACE_H__ + +#include <gio/gio.h> + +G_BEGIN_DECLS + + +/* ------------------------------------------------------------------------ */ +/* Declarations for org.freedesktop.systemd1.Unit */ + +#define TYPE_SYSTEMD1_UNIT (systemd1_unit_get_type ()) +#define SYSTEMD1_UNIT(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_SYSTEMD1_UNIT, Systemd1Unit)) +#define IS_SYSTEMD1_UNIT(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_SYSTEMD1_UNIT)) +#define SYSTEMD1_UNIT_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_SYSTEMD1_UNIT, Systemd1UnitIface)) + +struct _Systemd1Unit; +typedef struct _Systemd1Unit Systemd1Unit; +typedef struct _Systemd1UnitIface Systemd1UnitIface; + +struct _Systemd1UnitIface +{ + GTypeInterface parent_iface; + + + gboolean (*handle_clean) ( + Systemd1Unit *object, + GDBusMethodInvocation *invocation, + const gchar *const *arg_mask); + + gboolean (*handle_enqueue_job) ( + Systemd1Unit *object, + GDBusMethodInvocation *invocation, + const gchar *arg_job_type, + const gchar *arg_job_mode); + + gboolean (*handle_freeze) ( + Systemd1Unit *object, + GDBusMethodInvocation *invocation); + + gboolean (*handle_kill) ( + Systemd1Unit *object, + GDBusMethodInvocation *invocation, + const gchar *arg_whom, + gint arg_signal); + + gboolean (*handle_ref) ( + Systemd1Unit *object, + GDBusMethodInvocation *invocation); + + gboolean (*handle_reload) ( + Systemd1Unit *object, + GDBusMethodInvocation *invocation, + const gchar *arg_mode); + + gboolean (*handle_reload_or_restart) ( + Systemd1Unit *object, + GDBusMethodInvocation *invocation, + const gchar *arg_mode); + + gboolean (*handle_reload_or_try_restart) ( + Systemd1Unit *object, + GDBusMethodInvocation *invocation, + const gchar *arg_mode); + + gboolean (*handle_reset_failed) ( + Systemd1Unit *object, + GDBusMethodInvocation *invocation); + + gboolean (*handle_restart) ( + Systemd1Unit *object, + GDBusMethodInvocation *invocation, + const gchar *arg_mode); + + gboolean (*handle_set_properties) ( + Systemd1Unit *object, + GDBusMethodInvocation *invocation, + gboolean arg_runtime, + GVariant *arg_properties); + + gboolean (*handle_start) ( + Systemd1Unit *object, + GDBusMethodInvocation *invocation, + const gchar *arg_mode); + + gboolean (*handle_stop) ( + Systemd1Unit *object, + GDBusMethodInvocation *invocation, + const gchar *arg_mode); + + gboolean (*handle_thaw) ( + Systemd1Unit *object, + GDBusMethodInvocation *invocation); + + gboolean (*handle_try_restart) ( + Systemd1Unit *object, + GDBusMethodInvocation *invocation, + const gchar *arg_mode); + + gboolean (*handle_unref) ( + Systemd1Unit *object, + GDBusMethodInvocation *invocation); + + guint64 (*get_active_enter_timestamp) (Systemd1Unit *object); + + guint64 (*get_active_enter_timestamp_monotonic) (Systemd1Unit *object); + + guint64 (*get_active_exit_timestamp) (Systemd1Unit *object); + + guint64 (*get_active_exit_timestamp_monotonic) (Systemd1Unit *object); + + const gchar * (*get_active_state) (Systemd1Unit *object); + + const gchar *const * (*get_after) (Systemd1Unit *object); + + gboolean (*get_allow_isolate) (Systemd1Unit *object); + + gboolean (*get_assert_result) (Systemd1Unit *object); + + guint64 (*get_assert_timestamp) (Systemd1Unit *object); + + guint64 (*get_assert_timestamp_monotonic) (Systemd1Unit *object); + + GVariant * (*get_asserts) (Systemd1Unit *object); + + const gchar *const * (*get_before) (Systemd1Unit *object); + + const gchar *const * (*get_binds_to) (Systemd1Unit *object); + + const gchar *const * (*get_bound_by) (Systemd1Unit *object); + + const gchar *const * (*get_can_clean) (Systemd1Unit *object); + + gboolean (*get_can_freeze) (Systemd1Unit *object); + + gboolean (*get_can_isolate) (Systemd1Unit *object); + + gboolean (*get_can_reload) (Systemd1Unit *object); + + gboolean (*get_can_start) (Systemd1Unit *object); + + gboolean (*get_can_stop) (Systemd1Unit *object); + + const gchar * (*get_collect_mode) (Systemd1Unit *object); + + gboolean (*get_condition_result) (Systemd1Unit *object); + + guint64 (*get_condition_timestamp) (Systemd1Unit *object); + + guint64 (*get_condition_timestamp_monotonic) (Systemd1Unit *object); + + GVariant * (*get_conditions) (Systemd1Unit *object); + + const gchar *const * (*get_conflicted_by) (Systemd1Unit *object); + + const gchar *const * (*get_conflicts) (Systemd1Unit *object); + + const gchar *const * (*get_consists_of) (Systemd1Unit *object); + + gboolean (*get_default_dependencies) (Systemd1Unit *object); + + const gchar * (*get_description) (Systemd1Unit *object); + + const gchar *const * (*get_documentation) (Systemd1Unit *object); + + const gchar *const * (*get_drop_in_paths) (Systemd1Unit *object); + + const gchar * (*get_failure_action) (Systemd1Unit *object); + + gint (*get_failure_action_exit_status) (Systemd1Unit *object); + + const gchar * (*get_following) (Systemd1Unit *object); + + const gchar * (*get_fragment_path) (Systemd1Unit *object); + + const gchar * (*get_freezer_state) (Systemd1Unit *object); + + const gchar * (*get_id) (Systemd1Unit *object); + + gboolean (*get_ignore_on_isolate) (Systemd1Unit *object); + + guint64 (*get_inactive_enter_timestamp) (Systemd1Unit *object); + + guint64 (*get_inactive_enter_timestamp_monotonic) (Systemd1Unit *object); + + guint64 (*get_inactive_exit_timestamp) (Systemd1Unit *object); + + guint64 (*get_inactive_exit_timestamp_monotonic) (Systemd1Unit *object); + + const gchar * (*get_invocation_id) (Systemd1Unit *object); + + GVariant * (*get_job) (Systemd1Unit *object); + + guint64 (*get_job_running_timeout_usec) (Systemd1Unit *object); + + const gchar * (*get_job_timeout_action) (Systemd1Unit *object); + + const gchar * (*get_job_timeout_reboot_argument) (Systemd1Unit *object); + + guint64 (*get_job_timeout_usec) (Systemd1Unit *object); + + const gchar *const * (*get_joins_namespace_of) (Systemd1Unit *object); + + GVariant * (*get_load_error) (Systemd1Unit *object); + + const gchar * (*get_load_state) (Systemd1Unit *object); + + const gchar *const * (*get_markers) (Systemd1Unit *object); + + const gchar *const * (*get_names) (Systemd1Unit *object); + + gboolean (*get_need_daemon_reload) (Systemd1Unit *object); + + const gchar *const * (*get_on_failure) (Systemd1Unit *object); + + const gchar * (*get_on_failure_job_mode) (Systemd1Unit *object); + + const gchar *const * (*get_on_failure_of) (Systemd1Unit *object); + + const gchar *const * (*get_on_success) (Systemd1Unit *object); + + const gchar * (*get_on_success_job_mode) (Systemd1Unit *object); + + const gchar *const * (*get_on_success_of) (Systemd1Unit *object); + + const gchar *const * (*get_part_of) (Systemd1Unit *object); + + gboolean (*get_perpetual) (Systemd1Unit *object); + + const gchar *const * (*get_propagates_reload_to) (Systemd1Unit *object); + + const gchar *const * (*get_propagates_stop_to) (Systemd1Unit *object); + + const gchar * (*get_reboot_argument) (Systemd1Unit *object); + + const gchar *const * (*get_refs) (Systemd1Unit *object); + + gboolean (*get_refuse_manual_start) (Systemd1Unit *object); + + gboolean (*get_refuse_manual_stop) (Systemd1Unit *object); + + const gchar *const * (*get_reload_propagated_from) (Systemd1Unit *object); + + const gchar *const * (*get_required_by) (Systemd1Unit *object); + + const gchar *const * (*get_requires) (Systemd1Unit *object); + + const gchar *const * (*get_requires_mounts_for) (Systemd1Unit *object); + + const gchar *const * (*get_requisite) (Systemd1Unit *object); + + const gchar *const * (*get_requisite_of) (Systemd1Unit *object); + + const gchar *const * (*get_slice_of) (Systemd1Unit *object); + + const gchar * (*get_source_path) (Systemd1Unit *object); + + const gchar * (*get_start_limit_action) (Systemd1Unit *object); + + guint (*get_start_limit_burst) (Systemd1Unit *object); + + guint64 (*get_start_limit_interval_usec) (Systemd1Unit *object); + + guint64 (*get_state_change_timestamp) (Systemd1Unit *object); + + guint64 (*get_state_change_timestamp_monotonic) (Systemd1Unit *object); + + const gchar *const * (*get_stop_propagated_from) (Systemd1Unit *object); + + gboolean (*get_stop_when_unneeded) (Systemd1Unit *object); + + const gchar * (*get_sub_state) (Systemd1Unit *object); + + const gchar * (*get_success_action) (Systemd1Unit *object); + + gint (*get_success_action_exit_status) (Systemd1Unit *object); + + gboolean (*get_transient) (Systemd1Unit *object); + + const gchar *const * (*get_triggered_by) (Systemd1Unit *object); + + const gchar *const * (*get_triggers) (Systemd1Unit *object); + + const gchar * (*get_unit_file_preset) (Systemd1Unit *object); + + const gchar * (*get_unit_file_state) (Systemd1Unit *object); + + const gchar *const * (*get_wanted_by) (Systemd1Unit *object); + + const gchar *const * (*get_wants) (Systemd1Unit *object); + +}; + +GType systemd1_unit_get_type (void) G_GNUC_CONST; + +GDBusInterfaceInfo *systemd1_unit_interface_info (void); +guint systemd1_unit_override_properties (GObjectClass *klass, guint property_id_begin); + + +/* D-Bus method call completion functions: */ +void systemd1_unit_complete_start ( + Systemd1Unit *object, + GDBusMethodInvocation *invocation, + const gchar *job); + +void systemd1_unit_complete_stop ( + Systemd1Unit *object, + GDBusMethodInvocation *invocation, + const gchar *job); + +void systemd1_unit_complete_reload ( + Systemd1Unit *object, + GDBusMethodInvocation *invocation, + const gchar *job); + +void systemd1_unit_complete_restart ( + Systemd1Unit *object, + GDBusMethodInvocation *invocation, + const gchar *job); + +void systemd1_unit_complete_try_restart ( + Systemd1Unit *object, + GDBusMethodInvocation *invocation, + const gchar *job); + +void systemd1_unit_complete_reload_or_restart ( + Systemd1Unit *object, + GDBusMethodInvocation *invocation, + const gchar *job); + +void systemd1_unit_complete_reload_or_try_restart ( + Systemd1Unit *object, + GDBusMethodInvocation *invocation, + const gchar *job); + +void systemd1_unit_complete_enqueue_job ( + Systemd1Unit *object, + GDBusMethodInvocation *invocation, + guint job_id, + const gchar *job_path, + const gchar *unit_id, + const gchar *unit_path, + const gchar *job_type, + GVariant *affected_jobs); + +void systemd1_unit_complete_kill ( + Systemd1Unit *object, + GDBusMethodInvocation *invocation); + +void systemd1_unit_complete_reset_failed ( + Systemd1Unit *object, + GDBusMethodInvocation *invocation); + +void systemd1_unit_complete_set_properties ( + Systemd1Unit *object, + GDBusMethodInvocation *invocation); + +void systemd1_unit_complete_ref ( + Systemd1Unit *object, + GDBusMethodInvocation *invocation); + +void systemd1_unit_complete_unref ( + Systemd1Unit *object, + GDBusMethodInvocation *invocation); + +void systemd1_unit_complete_clean ( + Systemd1Unit *object, + GDBusMethodInvocation *invocation); + +void systemd1_unit_complete_freeze ( + Systemd1Unit *object, + GDBusMethodInvocation *invocation); + +void systemd1_unit_complete_thaw ( + Systemd1Unit *object, + GDBusMethodInvocation *invocation); + + + +/* D-Bus method calls: */ +void systemd1_unit_call_start ( + Systemd1Unit *proxy, + const gchar *arg_mode, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data); + +gboolean systemd1_unit_call_start_finish ( + Systemd1Unit *proxy, + gchar **out_job, + GAsyncResult *res, + GError **error); + +gboolean systemd1_unit_call_start_sync ( + Systemd1Unit *proxy, + const gchar *arg_mode, + gchar **out_job, + GCancellable *cancellable, + GError **error); + +void systemd1_unit_call_stop ( + Systemd1Unit *proxy, + const gchar *arg_mode, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data); + +gboolean systemd1_unit_call_stop_finish ( + Systemd1Unit *proxy, + gchar **out_job, + GAsyncResult *res, + GError **error); + +gboolean systemd1_unit_call_stop_sync ( + Systemd1Unit *proxy, + const gchar *arg_mode, + gchar **out_job, + GCancellable *cancellable, + GError **error); + +void systemd1_unit_call_reload ( + Systemd1Unit *proxy, + const gchar *arg_mode, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data); + +gboolean systemd1_unit_call_reload_finish ( + Systemd1Unit *proxy, + gchar **out_job, + GAsyncResult *res, + GError **error); + +gboolean systemd1_unit_call_reload_sync ( + Systemd1Unit *proxy, + const gchar *arg_mode, + gchar **out_job, + GCancellable *cancellable, + GError **error); + +void systemd1_unit_call_restart ( + Systemd1Unit *proxy, + const gchar *arg_mode, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data); + +gboolean systemd1_unit_call_restart_finish ( + Systemd1Unit *proxy, + gchar **out_job, + GAsyncResult *res, + GError **error); + +gboolean systemd1_unit_call_restart_sync ( + Systemd1Unit *proxy, + const gchar *arg_mode, + gchar **out_job, + GCancellable *cancellable, + GError **error); + +void systemd1_unit_call_try_restart ( + Systemd1Unit *proxy, + const gchar *arg_mode, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data); + +gboolean systemd1_unit_call_try_restart_finish ( + Systemd1Unit *proxy, + gchar **out_job, + GAsyncResult *res, + GError **error); + +gboolean systemd1_unit_call_try_restart_sync ( + Systemd1Unit *proxy, + const gchar *arg_mode, + gchar **out_job, + GCancellable *cancellable, + GError **error); + +void systemd1_unit_call_reload_or_restart ( + Systemd1Unit *proxy, + const gchar *arg_mode, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data); + +gboolean systemd1_unit_call_reload_or_restart_finish ( + Systemd1Unit *proxy, + gchar **out_job, + GAsyncResult *res, + GError **error); + +gboolean systemd1_unit_call_reload_or_restart_sync ( + Systemd1Unit *proxy, + const gchar *arg_mode, + gchar **out_job, + GCancellable *cancellable, + GError **error); + +void systemd1_unit_call_reload_or_try_restart ( + Systemd1Unit *proxy, + const gchar *arg_mode, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data); + +gboolean systemd1_unit_call_reload_or_try_restart_finish ( + Systemd1Unit *proxy, + gchar **out_job, + GAsyncResult *res, + GError **error); + +gboolean systemd1_unit_call_reload_or_try_restart_sync ( + Systemd1Unit *proxy, + const gchar *arg_mode, + gchar **out_job, + GCancellable *cancellable, + GError **error); + +void systemd1_unit_call_enqueue_job ( + Systemd1Unit *proxy, + const gchar *arg_job_type, + const gchar *arg_job_mode, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data); + +gboolean systemd1_unit_call_enqueue_job_finish ( + Systemd1Unit *proxy, + guint *out_job_id, + gchar **out_job_path, + gchar **out_unit_id, + gchar **out_unit_path, + gchar **out_job_type, + GVariant **out_affected_jobs, + GAsyncResult *res, + GError **error); + +gboolean systemd1_unit_call_enqueue_job_sync ( + Systemd1Unit *proxy, + const gchar *arg_job_type, + const gchar *arg_job_mode, + guint *out_job_id, + gchar **out_job_path, + gchar **out_unit_id, + gchar **out_unit_path, + gchar **out_job_type, + GVariant **out_affected_jobs, + GCancellable *cancellable, + GError **error); + +void systemd1_unit_call_kill ( + Systemd1Unit *proxy, + const gchar *arg_whom, + gint arg_signal, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data); + +gboolean systemd1_unit_call_kill_finish ( + Systemd1Unit *proxy, + GAsyncResult *res, + GError **error); + +gboolean systemd1_unit_call_kill_sync ( + Systemd1Unit *proxy, + const gchar *arg_whom, + gint arg_signal, + GCancellable *cancellable, + GError **error); + +void systemd1_unit_call_reset_failed ( + Systemd1Unit *proxy, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data); + +gboolean systemd1_unit_call_reset_failed_finish ( + Systemd1Unit *proxy, + GAsyncResult *res, + GError **error); + +gboolean systemd1_unit_call_reset_failed_sync ( + Systemd1Unit *proxy, + GCancellable *cancellable, + GError **error); + +void systemd1_unit_call_set_properties ( + Systemd1Unit *proxy, + gboolean arg_runtime, + GVariant *arg_properties, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data); + +gboolean systemd1_unit_call_set_properties_finish ( + Systemd1Unit *proxy, + GAsyncResult *res, + GError **error); + +gboolean systemd1_unit_call_set_properties_sync ( + Systemd1Unit *proxy, + gboolean arg_runtime, + GVariant *arg_properties, + GCancellable *cancellable, + GError **error); + +void systemd1_unit_call_ref ( + Systemd1Unit *proxy, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data); + +gboolean systemd1_unit_call_ref_finish ( + Systemd1Unit *proxy, + GAsyncResult *res, + GError **error); + +gboolean systemd1_unit_call_ref_sync ( + Systemd1Unit *proxy, + GCancellable *cancellable, + GError **error); + +void systemd1_unit_call_unref ( + Systemd1Unit *proxy, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data); + +gboolean systemd1_unit_call_unref_finish ( + Systemd1Unit *proxy, + GAsyncResult *res, + GError **error); + +gboolean systemd1_unit_call_unref_sync ( + Systemd1Unit *proxy, + GCancellable *cancellable, + GError **error); + +void systemd1_unit_call_clean ( + Systemd1Unit *proxy, + const gchar *const *arg_mask, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data); + +gboolean systemd1_unit_call_clean_finish ( + Systemd1Unit *proxy, + GAsyncResult *res, + GError **error); + +gboolean systemd1_unit_call_clean_sync ( + Systemd1Unit *proxy, + const gchar *const *arg_mask, + GCancellable *cancellable, + GError **error); + +void systemd1_unit_call_freeze ( + Systemd1Unit *proxy, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data); + +gboolean systemd1_unit_call_freeze_finish ( + Systemd1Unit *proxy, + GAsyncResult *res, + GError **error); + +gboolean systemd1_unit_call_freeze_sync ( + Systemd1Unit *proxy, + GCancellable *cancellable, + GError **error); + +void systemd1_unit_call_thaw ( + Systemd1Unit *proxy, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data); + +gboolean systemd1_unit_call_thaw_finish ( + Systemd1Unit *proxy, + GAsyncResult *res, + GError **error); + +gboolean systemd1_unit_call_thaw_sync ( + Systemd1Unit *proxy, + GCancellable *cancellable, + GError **error); + + + +/* D-Bus property accessors: */ +const gchar *systemd1_unit_get_id (Systemd1Unit *object); +gchar *systemd1_unit_dup_id (Systemd1Unit *object); +void systemd1_unit_set_id (Systemd1Unit *object, const gchar *value); + +const gchar *const *systemd1_unit_get_names (Systemd1Unit *object); +gchar **systemd1_unit_dup_names (Systemd1Unit *object); +void systemd1_unit_set_names (Systemd1Unit *object, const gchar *const *value); + +const gchar *systemd1_unit_get_following (Systemd1Unit *object); +gchar *systemd1_unit_dup_following (Systemd1Unit *object); +void systemd1_unit_set_following (Systemd1Unit *object, const gchar *value); + +const gchar *const *systemd1_unit_get_requires (Systemd1Unit *object); +gchar **systemd1_unit_dup_requires (Systemd1Unit *object); +void systemd1_unit_set_requires (Systemd1Unit *object, const gchar *const *value); + +const gchar *const *systemd1_unit_get_requisite (Systemd1Unit *object); +gchar **systemd1_unit_dup_requisite (Systemd1Unit *object); +void systemd1_unit_set_requisite (Systemd1Unit *object, const gchar *const *value); + +const gchar *const *systemd1_unit_get_wants (Systemd1Unit *object); +gchar **systemd1_unit_dup_wants (Systemd1Unit *object); +void systemd1_unit_set_wants (Systemd1Unit *object, const gchar *const *value); + +const gchar *const *systemd1_unit_get_binds_to (Systemd1Unit *object); +gchar **systemd1_unit_dup_binds_to (Systemd1Unit *object); +void systemd1_unit_set_binds_to (Systemd1Unit *object, const gchar *const *value); + +const gchar *const *systemd1_unit_get_part_of (Systemd1Unit *object); +gchar **systemd1_unit_dup_part_of (Systemd1Unit *object); +void systemd1_unit_set_part_of (Systemd1Unit *object, const gchar *const *value); + +const gchar *const *systemd1_unit_get_required_by (Systemd1Unit *object); +gchar **systemd1_unit_dup_required_by (Systemd1Unit *object); +void systemd1_unit_set_required_by (Systemd1Unit *object, const gchar *const *value); + +const gchar *const *systemd1_unit_get_requisite_of (Systemd1Unit *object); +gchar **systemd1_unit_dup_requisite_of (Systemd1Unit *object); +void systemd1_unit_set_requisite_of (Systemd1Unit *object, const gchar *const *value); + +const gchar *const *systemd1_unit_get_wanted_by (Systemd1Unit *object); +gchar **systemd1_unit_dup_wanted_by (Systemd1Unit *object); +void systemd1_unit_set_wanted_by (Systemd1Unit *object, const gchar *const *value); + +const gchar *const *systemd1_unit_get_bound_by (Systemd1Unit *object); +gchar **systemd1_unit_dup_bound_by (Systemd1Unit *object); +void systemd1_unit_set_bound_by (Systemd1Unit *object, const gchar *const *value); + +const gchar *const *systemd1_unit_get_consists_of (Systemd1Unit *object); +gchar **systemd1_unit_dup_consists_of (Systemd1Unit *object); +void systemd1_unit_set_consists_of (Systemd1Unit *object, const gchar *const *value); + +const gchar *const *systemd1_unit_get_conflicts (Systemd1Unit *object); +gchar **systemd1_unit_dup_conflicts (Systemd1Unit *object); +void systemd1_unit_set_conflicts (Systemd1Unit *object, const gchar *const *value); + +const gchar *const *systemd1_unit_get_conflicted_by (Systemd1Unit *object); +gchar **systemd1_unit_dup_conflicted_by (Systemd1Unit *object); +void systemd1_unit_set_conflicted_by (Systemd1Unit *object, const gchar *const *value); + +const gchar *const *systemd1_unit_get_before (Systemd1Unit *object); +gchar **systemd1_unit_dup_before (Systemd1Unit *object); +void systemd1_unit_set_before (Systemd1Unit *object, const gchar *const *value); + +const gchar *const *systemd1_unit_get_after (Systemd1Unit *object); +gchar **systemd1_unit_dup_after (Systemd1Unit *object); +void systemd1_unit_set_after (Systemd1Unit *object, const gchar *const *value); + +const gchar *const *systemd1_unit_get_on_failure (Systemd1Unit *object); +gchar **systemd1_unit_dup_on_failure (Systemd1Unit *object); +void systemd1_unit_set_on_failure (Systemd1Unit *object, const gchar *const *value); + +const gchar *const *systemd1_unit_get_on_failure_of (Systemd1Unit *object); +gchar **systemd1_unit_dup_on_failure_of (Systemd1Unit *object); +void systemd1_unit_set_on_failure_of (Systemd1Unit *object, const gchar *const *value); + +const gchar *const *systemd1_unit_get_on_success (Systemd1Unit *object); +gchar **systemd1_unit_dup_on_success (Systemd1Unit *object); +void systemd1_unit_set_on_success (Systemd1Unit *object, const gchar *const *value); + +const gchar *const *systemd1_unit_get_on_success_of (Systemd1Unit *object); +gchar **systemd1_unit_dup_on_success_of (Systemd1Unit *object); +void systemd1_unit_set_on_success_of (Systemd1Unit *object, const gchar *const *value); + +const gchar *const *systemd1_unit_get_triggers (Systemd1Unit *object); +gchar **systemd1_unit_dup_triggers (Systemd1Unit *object); +void systemd1_unit_set_triggers (Systemd1Unit *object, const gchar *const *value); + +const gchar *const *systemd1_unit_get_triggered_by (Systemd1Unit *object); +gchar **systemd1_unit_dup_triggered_by (Systemd1Unit *object); +void systemd1_unit_set_triggered_by (Systemd1Unit *object, const gchar *const *value); + +const gchar *const *systemd1_unit_get_propagates_reload_to (Systemd1Unit *object); +gchar **systemd1_unit_dup_propagates_reload_to (Systemd1Unit *object); +void systemd1_unit_set_propagates_reload_to (Systemd1Unit *object, const gchar *const *value); + +const gchar *const *systemd1_unit_get_reload_propagated_from (Systemd1Unit *object); +gchar **systemd1_unit_dup_reload_propagated_from (Systemd1Unit *object); +void systemd1_unit_set_reload_propagated_from (Systemd1Unit *object, const gchar *const *value); + +const gchar *const *systemd1_unit_get_propagates_stop_to (Systemd1Unit *object); +gchar **systemd1_unit_dup_propagates_stop_to (Systemd1Unit *object); +void systemd1_unit_set_propagates_stop_to (Systemd1Unit *object, const gchar *const *value); + +const gchar *const *systemd1_unit_get_stop_propagated_from (Systemd1Unit *object); +gchar **systemd1_unit_dup_stop_propagated_from (Systemd1Unit *object); +void systemd1_unit_set_stop_propagated_from (Systemd1Unit *object, const gchar *const *value); + +const gchar *const *systemd1_unit_get_joins_namespace_of (Systemd1Unit *object); +gchar **systemd1_unit_dup_joins_namespace_of (Systemd1Unit *object); +void systemd1_unit_set_joins_namespace_of (Systemd1Unit *object, const gchar *const *value); + +const gchar *const *systemd1_unit_get_slice_of (Systemd1Unit *object); +gchar **systemd1_unit_dup_slice_of (Systemd1Unit *object); +void systemd1_unit_set_slice_of (Systemd1Unit *object, const gchar *const *value); + +const gchar *const *systemd1_unit_get_requires_mounts_for (Systemd1Unit *object); +gchar **systemd1_unit_dup_requires_mounts_for (Systemd1Unit *object); +void systemd1_unit_set_requires_mounts_for (Systemd1Unit *object, const gchar *const *value); + +const gchar *const *systemd1_unit_get_documentation (Systemd1Unit *object); +gchar **systemd1_unit_dup_documentation (Systemd1Unit *object); +void systemd1_unit_set_documentation (Systemd1Unit *object, const gchar *const *value); + +const gchar *systemd1_unit_get_description (Systemd1Unit *object); +gchar *systemd1_unit_dup_description (Systemd1Unit *object); +void systemd1_unit_set_description (Systemd1Unit *object, const gchar *value); + +const gchar *systemd1_unit_get_load_state (Systemd1Unit *object); +gchar *systemd1_unit_dup_load_state (Systemd1Unit *object); +void systemd1_unit_set_load_state (Systemd1Unit *object, const gchar *value); + +const gchar *systemd1_unit_get_active_state (Systemd1Unit *object); +gchar *systemd1_unit_dup_active_state (Systemd1Unit *object); +void systemd1_unit_set_active_state (Systemd1Unit *object, const gchar *value); + +const gchar *systemd1_unit_get_freezer_state (Systemd1Unit *object); +gchar *systemd1_unit_dup_freezer_state (Systemd1Unit *object); +void systemd1_unit_set_freezer_state (Systemd1Unit *object, const gchar *value); + +const gchar *systemd1_unit_get_sub_state (Systemd1Unit *object); +gchar *systemd1_unit_dup_sub_state (Systemd1Unit *object); +void systemd1_unit_set_sub_state (Systemd1Unit *object, const gchar *value); + +const gchar *systemd1_unit_get_fragment_path (Systemd1Unit *object); +gchar *systemd1_unit_dup_fragment_path (Systemd1Unit *object); +void systemd1_unit_set_fragment_path (Systemd1Unit *object, const gchar *value); + +const gchar *systemd1_unit_get_source_path (Systemd1Unit *object); +gchar *systemd1_unit_dup_source_path (Systemd1Unit *object); +void systemd1_unit_set_source_path (Systemd1Unit *object, const gchar *value); + +const gchar *const *systemd1_unit_get_drop_in_paths (Systemd1Unit *object); +gchar **systemd1_unit_dup_drop_in_paths (Systemd1Unit *object); +void systemd1_unit_set_drop_in_paths (Systemd1Unit *object, const gchar *const *value); + +const gchar *systemd1_unit_get_unit_file_state (Systemd1Unit *object); +gchar *systemd1_unit_dup_unit_file_state (Systemd1Unit *object); +void systemd1_unit_set_unit_file_state (Systemd1Unit *object, const gchar *value); + +const gchar *systemd1_unit_get_unit_file_preset (Systemd1Unit *object); +gchar *systemd1_unit_dup_unit_file_preset (Systemd1Unit *object); +void systemd1_unit_set_unit_file_preset (Systemd1Unit *object, const gchar *value); + +guint64 systemd1_unit_get_state_change_timestamp (Systemd1Unit *object); +void systemd1_unit_set_state_change_timestamp (Systemd1Unit *object, guint64 value); + +guint64 systemd1_unit_get_state_change_timestamp_monotonic (Systemd1Unit *object); +void systemd1_unit_set_state_change_timestamp_monotonic (Systemd1Unit *object, guint64 value); + +guint64 systemd1_unit_get_inactive_exit_timestamp (Systemd1Unit *object); +void systemd1_unit_set_inactive_exit_timestamp (Systemd1Unit *object, guint64 value); + +guint64 systemd1_unit_get_inactive_exit_timestamp_monotonic (Systemd1Unit *object); +void systemd1_unit_set_inactive_exit_timestamp_monotonic (Systemd1Unit *object, guint64 value); + +guint64 systemd1_unit_get_active_enter_timestamp (Systemd1Unit *object); +void systemd1_unit_set_active_enter_timestamp (Systemd1Unit *object, guint64 value); + +guint64 systemd1_unit_get_active_enter_timestamp_monotonic (Systemd1Unit *object); +void systemd1_unit_set_active_enter_timestamp_monotonic (Systemd1Unit *object, guint64 value); + +guint64 systemd1_unit_get_active_exit_timestamp (Systemd1Unit *object); +void systemd1_unit_set_active_exit_timestamp (Systemd1Unit *object, guint64 value); + +guint64 systemd1_unit_get_active_exit_timestamp_monotonic (Systemd1Unit *object); +void systemd1_unit_set_active_exit_timestamp_monotonic (Systemd1Unit *object, guint64 value); + +guint64 systemd1_unit_get_inactive_enter_timestamp (Systemd1Unit *object); +void systemd1_unit_set_inactive_enter_timestamp (Systemd1Unit *object, guint64 value); + +guint64 systemd1_unit_get_inactive_enter_timestamp_monotonic (Systemd1Unit *object); +void systemd1_unit_set_inactive_enter_timestamp_monotonic (Systemd1Unit *object, guint64 value); + +gboolean systemd1_unit_get_can_start (Systemd1Unit *object); +void systemd1_unit_set_can_start (Systemd1Unit *object, gboolean value); + +gboolean systemd1_unit_get_can_stop (Systemd1Unit *object); +void systemd1_unit_set_can_stop (Systemd1Unit *object, gboolean value); + +gboolean systemd1_unit_get_can_reload (Systemd1Unit *object); +void systemd1_unit_set_can_reload (Systemd1Unit *object, gboolean value); + +gboolean systemd1_unit_get_can_isolate (Systemd1Unit *object); +void systemd1_unit_set_can_isolate (Systemd1Unit *object, gboolean value); + +const gchar *const *systemd1_unit_get_can_clean (Systemd1Unit *object); +gchar **systemd1_unit_dup_can_clean (Systemd1Unit *object); +void systemd1_unit_set_can_clean (Systemd1Unit *object, const gchar *const *value); + +gboolean systemd1_unit_get_can_freeze (Systemd1Unit *object); +void systemd1_unit_set_can_freeze (Systemd1Unit *object, gboolean value); + +GVariant *systemd1_unit_get_job (Systemd1Unit *object); +GVariant *systemd1_unit_dup_job (Systemd1Unit *object); +void systemd1_unit_set_job (Systemd1Unit *object, GVariant *value); + +gboolean systemd1_unit_get_stop_when_unneeded (Systemd1Unit *object); +void systemd1_unit_set_stop_when_unneeded (Systemd1Unit *object, gboolean value); + +gboolean systemd1_unit_get_refuse_manual_start (Systemd1Unit *object); +void systemd1_unit_set_refuse_manual_start (Systemd1Unit *object, gboolean value); + +gboolean systemd1_unit_get_refuse_manual_stop (Systemd1Unit *object); +void systemd1_unit_set_refuse_manual_stop (Systemd1Unit *object, gboolean value); + +gboolean systemd1_unit_get_allow_isolate (Systemd1Unit *object); +void systemd1_unit_set_allow_isolate (Systemd1Unit *object, gboolean value); + +gboolean systemd1_unit_get_default_dependencies (Systemd1Unit *object); +void systemd1_unit_set_default_dependencies (Systemd1Unit *object, gboolean value); + +const gchar *systemd1_unit_get_on_success_job_mode (Systemd1Unit *object); +gchar *systemd1_unit_dup_on_success_job_mode (Systemd1Unit *object); +void systemd1_unit_set_on_success_job_mode (Systemd1Unit *object, const gchar *value); + +const gchar *systemd1_unit_get_on_failure_job_mode (Systemd1Unit *object); +gchar *systemd1_unit_dup_on_failure_job_mode (Systemd1Unit *object); +void systemd1_unit_set_on_failure_job_mode (Systemd1Unit *object, const gchar *value); + +gboolean systemd1_unit_get_ignore_on_isolate (Systemd1Unit *object); +void systemd1_unit_set_ignore_on_isolate (Systemd1Unit *object, gboolean value); + +gboolean systemd1_unit_get_need_daemon_reload (Systemd1Unit *object); +void systemd1_unit_set_need_daemon_reload (Systemd1Unit *object, gboolean value); + +const gchar *const *systemd1_unit_get_markers (Systemd1Unit *object); +gchar **systemd1_unit_dup_markers (Systemd1Unit *object); +void systemd1_unit_set_markers (Systemd1Unit *object, const gchar *const *value); + +guint64 systemd1_unit_get_job_timeout_usec (Systemd1Unit *object); +void systemd1_unit_set_job_timeout_usec (Systemd1Unit *object, guint64 value); + +guint64 systemd1_unit_get_job_running_timeout_usec (Systemd1Unit *object); +void systemd1_unit_set_job_running_timeout_usec (Systemd1Unit *object, guint64 value); + +const gchar *systemd1_unit_get_job_timeout_action (Systemd1Unit *object); +gchar *systemd1_unit_dup_job_timeout_action (Systemd1Unit *object); +void systemd1_unit_set_job_timeout_action (Systemd1Unit *object, const gchar *value); + +const gchar *systemd1_unit_get_job_timeout_reboot_argument (Systemd1Unit *object); +gchar *systemd1_unit_dup_job_timeout_reboot_argument (Systemd1Unit *object); +void systemd1_unit_set_job_timeout_reboot_argument (Systemd1Unit *object, const gchar *value); + +gboolean systemd1_unit_get_condition_result (Systemd1Unit *object); +void systemd1_unit_set_condition_result (Systemd1Unit *object, gboolean value); + +gboolean systemd1_unit_get_assert_result (Systemd1Unit *object); +void systemd1_unit_set_assert_result (Systemd1Unit *object, gboolean value); + +guint64 systemd1_unit_get_condition_timestamp (Systemd1Unit *object); +void systemd1_unit_set_condition_timestamp (Systemd1Unit *object, guint64 value); + +guint64 systemd1_unit_get_condition_timestamp_monotonic (Systemd1Unit *object); +void systemd1_unit_set_condition_timestamp_monotonic (Systemd1Unit *object, guint64 value); + +guint64 systemd1_unit_get_assert_timestamp (Systemd1Unit *object); +void systemd1_unit_set_assert_timestamp (Systemd1Unit *object, guint64 value); + +guint64 systemd1_unit_get_assert_timestamp_monotonic (Systemd1Unit *object); +void systemd1_unit_set_assert_timestamp_monotonic (Systemd1Unit *object, guint64 value); + +GVariant *systemd1_unit_get_conditions (Systemd1Unit *object); +GVariant *systemd1_unit_dup_conditions (Systemd1Unit *object); +void systemd1_unit_set_conditions (Systemd1Unit *object, GVariant *value); + +GVariant *systemd1_unit_get_asserts (Systemd1Unit *object); +GVariant *systemd1_unit_dup_asserts (Systemd1Unit *object); +void systemd1_unit_set_asserts (Systemd1Unit *object, GVariant *value); + +GVariant *systemd1_unit_get_load_error (Systemd1Unit *object); +GVariant *systemd1_unit_dup_load_error (Systemd1Unit *object); +void systemd1_unit_set_load_error (Systemd1Unit *object, GVariant *value); + +gboolean systemd1_unit_get_transient (Systemd1Unit *object); +void systemd1_unit_set_transient (Systemd1Unit *object, gboolean value); + +gboolean systemd1_unit_get_perpetual (Systemd1Unit *object); +void systemd1_unit_set_perpetual (Systemd1Unit *object, gboolean value); + +guint64 systemd1_unit_get_start_limit_interval_usec (Systemd1Unit *object); +void systemd1_unit_set_start_limit_interval_usec (Systemd1Unit *object, guint64 value); + +guint systemd1_unit_get_start_limit_burst (Systemd1Unit *object); +void systemd1_unit_set_start_limit_burst (Systemd1Unit *object, guint value); + +const gchar *systemd1_unit_get_start_limit_action (Systemd1Unit *object); +gchar *systemd1_unit_dup_start_limit_action (Systemd1Unit *object); +void systemd1_unit_set_start_limit_action (Systemd1Unit *object, const gchar *value); + +const gchar *systemd1_unit_get_failure_action (Systemd1Unit *object); +gchar *systemd1_unit_dup_failure_action (Systemd1Unit *object); +void systemd1_unit_set_failure_action (Systemd1Unit *object, const gchar *value); + +gint systemd1_unit_get_failure_action_exit_status (Systemd1Unit *object); +void systemd1_unit_set_failure_action_exit_status (Systemd1Unit *object, gint value); + +const gchar *systemd1_unit_get_success_action (Systemd1Unit *object); +gchar *systemd1_unit_dup_success_action (Systemd1Unit *object); +void systemd1_unit_set_success_action (Systemd1Unit *object, const gchar *value); + +gint systemd1_unit_get_success_action_exit_status (Systemd1Unit *object); +void systemd1_unit_set_success_action_exit_status (Systemd1Unit *object, gint value); + +const gchar *systemd1_unit_get_reboot_argument (Systemd1Unit *object); +gchar *systemd1_unit_dup_reboot_argument (Systemd1Unit *object); +void systemd1_unit_set_reboot_argument (Systemd1Unit *object, const gchar *value); + +const gchar *systemd1_unit_get_invocation_id (Systemd1Unit *object); +gchar *systemd1_unit_dup_invocation_id (Systemd1Unit *object); +void systemd1_unit_set_invocation_id (Systemd1Unit *object, const gchar *value); + +const gchar *systemd1_unit_get_collect_mode (Systemd1Unit *object); +gchar *systemd1_unit_dup_collect_mode (Systemd1Unit *object); +void systemd1_unit_set_collect_mode (Systemd1Unit *object, const gchar *value); + +const gchar *const *systemd1_unit_get_refs (Systemd1Unit *object); +gchar **systemd1_unit_dup_refs (Systemd1Unit *object); +void systemd1_unit_set_refs (Systemd1Unit *object, const gchar *const *value); + + +/* ---- */ + +#define TYPE_SYSTEMD1_UNIT_PROXY (systemd1_unit_proxy_get_type ()) +#define SYSTEMD1_UNIT_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_SYSTEMD1_UNIT_PROXY, Systemd1UnitProxy)) +#define SYSTEMD1_UNIT_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_SYSTEMD1_UNIT_PROXY, Systemd1UnitProxyClass)) +#define SYSTEMD1_UNIT_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_SYSTEMD1_UNIT_PROXY, Systemd1UnitProxyClass)) +#define IS_SYSTEMD1_UNIT_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_SYSTEMD1_UNIT_PROXY)) +#define IS_SYSTEMD1_UNIT_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_SYSTEMD1_UNIT_PROXY)) + +typedef struct _Systemd1UnitProxy Systemd1UnitProxy; +typedef struct _Systemd1UnitProxyClass Systemd1UnitProxyClass; +typedef struct _Systemd1UnitProxyPrivate Systemd1UnitProxyPrivate; + +struct _Systemd1UnitProxy +{ + /*< private >*/ + GDBusProxy parent_instance; + Systemd1UnitProxyPrivate *priv; +}; + +struct _Systemd1UnitProxyClass +{ + GDBusProxyClass parent_class; +}; + +GType systemd1_unit_proxy_get_type (void) G_GNUC_CONST; + +#if GLIB_CHECK_VERSION(2, 44, 0) +G_DEFINE_AUTOPTR_CLEANUP_FUNC (Systemd1UnitProxy, g_object_unref) +#endif + +void systemd1_unit_proxy_new ( + GDBusConnection *connection, + GDBusProxyFlags flags, + const gchar *name, + const gchar *object_path, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data); +Systemd1Unit *systemd1_unit_proxy_new_finish ( + GAsyncResult *res, + GError **error); +Systemd1Unit *systemd1_unit_proxy_new_sync ( + GDBusConnection *connection, + GDBusProxyFlags flags, + const gchar *name, + const gchar *object_path, + GCancellable *cancellable, + GError **error); + +void systemd1_unit_proxy_new_for_bus ( + GBusType bus_type, + GDBusProxyFlags flags, + const gchar *name, + const gchar *object_path, + GCancellable *cancellable, + GAsyncReadyCallback callback, + gpointer user_data); +Systemd1Unit *systemd1_unit_proxy_new_for_bus_finish ( + GAsyncResult *res, + GError **error); +Systemd1Unit *systemd1_unit_proxy_new_for_bus_sync ( + GBusType bus_type, + GDBusProxyFlags flags, + const gchar *name, + const gchar *object_path, + GCancellable *cancellable, + GError **error); + + +/* ---- */ + +#define TYPE_SYSTEMD1_UNIT_SKELETON (systemd1_unit_skeleton_get_type ()) +#define SYSTEMD1_UNIT_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_SYSTEMD1_UNIT_SKELETON, Systemd1UnitSkeleton)) +#define SYSTEMD1_UNIT_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_SYSTEMD1_UNIT_SKELETON, Systemd1UnitSkeletonClass)) +#define SYSTEMD1_UNIT_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_SYSTEMD1_UNIT_SKELETON, Systemd1UnitSkeletonClass)) +#define IS_SYSTEMD1_UNIT_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_SYSTEMD1_UNIT_SKELETON)) +#define IS_SYSTEMD1_UNIT_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_SYSTEMD1_UNIT_SKELETON)) + +typedef struct _Systemd1UnitSkeleton Systemd1UnitSkeleton; +typedef struct _Systemd1UnitSkeletonClass Systemd1UnitSkeletonClass; +typedef struct _Systemd1UnitSkeletonPrivate Systemd1UnitSkeletonPrivate; + +struct _Systemd1UnitSkeleton +{ + /*< private >*/ + GDBusInterfaceSkeleton parent_instance; + Systemd1UnitSkeletonPrivate *priv; +}; + +struct _Systemd1UnitSkeletonClass +{ + GDBusInterfaceSkeletonClass parent_class; +}; + +GType systemd1_unit_skeleton_get_type (void) G_GNUC_CONST; + +#if GLIB_CHECK_VERSION(2, 44, 0) +G_DEFINE_AUTOPTR_CLEANUP_FUNC (Systemd1UnitSkeleton, g_object_unref) +#endif + +Systemd1Unit *systemd1_unit_skeleton_new (void); + + +G_END_DECLS + +#endif /* __SYSTEMD1_UNIT_INTERFACE_H__ */ diff --git a/src/main-grpc.cc b/src/main-grpc.cc new file mode 100644 index 0000000..d94e4aa --- /dev/null +++ b/src/main-grpc.cc @@ -0,0 +1,85 @@ +// SPDX-License-Identifier: Apache-2.0 +/* + * Copyright (C) 2022 Konsulko Group + */ + +#include <thread> +#include <chrono> +#include <glib.h> +#include <glib-unix.h> + +#include "systemd_manager.h" +#include "AppLauncherImpl.h" + +GMainLoop *main_loop = NULL; + +AppLauncherImpl *g_service = NULL; + +static gboolean quit_cb(gpointer user_data) +{ + g_info("Quitting..."); + + if (main_loop) + g_idle_add(G_SOURCE_FUNC(g_main_loop_quit), main_loop); + else + exit(0); + + return G_SOURCE_REMOVE; +} + +void RunGrpcServer(std::shared_ptr<Server> &server) +{ + // Start server and wait for shutdown + server->Wait(); +} + +int main(int argc, char *argv[]) +{ + main_loop = g_main_loop_new(NULL, FALSE); + + SystemdManager *manager = systemd_manager_get_default(); + + grpc::EnableDefaultHealthCheckService(true); + grpc::reflection::InitProtoReflectionServerBuilderPlugin(); + ServerBuilder builder; + + // Listen on the given address without any authentication mechanism (for now) + std::string server_address("localhost:50052"); + builder.AddListeningPort(server_address, grpc::InsecureServerCredentials()); + + // Register "service" as the instance through which we'll communicate with + // clients. In this case it corresponds to a *synchronous* service. + AppLauncherImpl *service = new AppLauncherImpl(manager); + builder.RegisterService(service); + + // Finally assemble the server. + std::shared_ptr<Server> server(builder.BuildAndStart()); + if (!server) { + exit(1); + } + std::cout << "Server listening on " << server_address << std::endl; + + g_unix_signal_add(SIGTERM, quit_cb, (gpointer) &server); + g_unix_signal_add(SIGINT, quit_cb, (gpointer) &server); + + // Start gRPC API server on its own thread + std::thread grpc_thread(RunGrpcServer, std::ref(server)); + + g_main_loop_run(main_loop); + + // Service implementation may have threads blocked from client streaming + // RPCs, make sure those exit. + service->Shutdown(); + + // Need to set a deadline to avoid blocking on clients doing streaming + // RPC reads + server->Shutdown(std::chrono::system_clock::now() + std::chrono::milliseconds(500)); + + grpc_thread.join(); + + g_object_unref(manager); + + g_main_loop_unref(main_loop); + + return 0; +} @@ -1,17 +1,7 @@ +// SPDX-License-Identifier: Apache-2.0 /* * Copyright (C) 2021 Collabora Ltd - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. + * Copyright (C) 2022 Konsulko Group */ #include <glib.h> @@ -25,15 +15,6 @@ #define APPLAUNCH_DBUS_NAME "org.automotivelinux.AppLaunch" #define APPLAUNCH_DBUS_PATH "/org/automotivelinux/AppLaunch" -/* TODO: see if it makes sense to move systemd event handling specifics - and interacting with GLib main loop into systemd_manager.c */ -typedef struct SDEventSource { - GSource source; - GPollFD pollfd; - sd_event *event; - sd_bus *bus; -} SDEventSource; - GMainLoop *main_loop = NULL; static gboolean quit_cb(gpointer user_data) @@ -71,45 +52,6 @@ static void name_lost_cb(GDBusConnection *connection, const gchar *name, g_main_loop_quit(main_loop); } -static gboolean event_prepare(GSource *source, gint *timeout_) { - return sd_event_prepare(((SDEventSource *)source)->event) > 0; -} - -static gboolean event_check(GSource *source) { - return sd_event_wait(((SDEventSource *)source)->event, 0) > 0; -} - -static gboolean event_dispatch(GSource *source, GSourceFunc callback, gpointer user_data) { - return sd_event_dispatch(((SDEventSource *)source)->event) > 0; -} - -static void event_finalize(GSource *source) { - sd_event_unref(((SDEventSource *)source)->event); -} - -static GSourceFuncs event_funcs = { - .prepare = event_prepare, - .check = event_check, - .dispatch = event_dispatch, - .finalize = event_finalize, -}; - -GSource *g_sd_event_create_source(sd_event *event, sd_bus *bus) -{ - SDEventSource *source; - - source = (SDEventSource *)g_source_new(&event_funcs, sizeof(SDEventSource)); - - source->event = sd_event_ref(event); - source->bus = sd_bus_ref(bus); - source->pollfd.fd = sd_bus_get_fd(bus); - source->pollfd.events = sd_bus_get_events(bus); - - g_source_add_poll((GSource *)source, &source->pollfd); - - return (GSource *)source; -} - int main(int argc, char *argv[]) { g_unix_signal_add(SIGTERM, quit_cb, NULL); diff --git a/src/meson.build b/src/meson.build index f44aef3..4a6f170 100644 --- a/src/meson.build +++ b/src/meson.build @@ -14,14 +14,45 @@ # limitations under the License. # +cpp = meson.get_compiler('cpp') +grpcpp_reflection_dep = cpp.find_library('grpc++_reflection') + +applaunchd_dbus_deps = [ + dependency('gobject-2.0'), + dependency('gio-unix-2.0'), + dependency('libsystemd'), +] + applaunchd_deps = [ dependency('gobject-2.0'), dependency('gio-unix-2.0'), dependency('libsystemd'), + dependency('protobuf'), + dependency('grpc'), + dependency('grpc++'), + grpcpp_reflection_dep, ] +protoc = find_program('protoc') +grpc_cpp = find_program('grpc_cpp_plugin') + +protoc_gen = generator(protoc, \ + output : ['@BASENAME@.pb.cc', '@BASENAME@.pb.h'], + arguments : ['--proto_path=@CURRENT_SOURCE_DIR@/../protos', + '--cpp_out=@BUILD_DIR@', + '@INPUT@']) +generated_protoc_sources = protoc_gen.process('../protos/applauncher.proto') + +grpc_gen = generator(protoc, \ + output : ['@BASENAME@.grpc.pb.cc', '@BASENAME@.grpc.pb.h'], + arguments : ['--proto_path=@CURRENT_SOURCE_DIR@/../protos', + '--grpc_out=@BUILD_DIR@', + '--plugin=protoc-gen-grpc=' + grpc_cpp.path(), + '@INPUT@']) +generated_grpc_sources = grpc_gen.process('../protos/applauncher.proto') + executable ( - 'applaunchd', + 'applaunchd-dbus', config_h, [ generated_dbus_sources, @@ -29,9 +60,31 @@ executable ( 'app_info.c', 'app_info.h', 'app_launcher.c', 'app_launcher.h', 'systemd_manager.c', 'systemd_manager.h', + 'gdbus/systemd1_manager_interface.c', + 'gdbus/systemd1_unit_interface.c', + 'utils.c', 'utils.h', + ], + dependencies : applaunchd_dbus_deps, + include_directories : include_directories('.', 'gdbus'), + install : true +) + +executable ( + 'applaunchd', + config_h, + [ + generated_dbus_sources, + generated_protoc_sources, + generated_grpc_sources, + 'main-grpc.cc', + 'AppLauncherImpl.cc', + 'app_info.c', 'app_info.h', + 'systemd_manager.c', 'systemd_manager.h', + 'gdbus/systemd1_manager_interface.c', + 'gdbus/systemd1_unit_interface.c', 'utils.c', 'utils.h', ], dependencies : applaunchd_deps, - include_directories : include_directories('..'), + include_directories : include_directories('.', 'gdbus'), install : true ) diff --git a/src/systemd_manager.c b/src/systemd_manager.c index 63e7094..e6d67f8 100644 --- a/src/systemd_manager.c +++ b/src/systemd_manager.c @@ -1,26 +1,31 @@ +// SPDX-License-Identifier: Apache-2.0 /* * Copyright (C) 2022 Konsulko Group - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ +#include <stdbool.h> +#include "systemd_manager.h" +#include "utils.h" + +// Pull in for sd_bus_path_encode, as there's no obvious alternative +// other than coding up a duplicate. No other sd_bus functions should +// be used! #include <systemd/sd-bus.h> -#include "app_launcher.h" -#include "systemd_manager.h" +// gdbus generated headers +#include "systemd1_manager_interface.h" +#include "systemd1_unit_interface.h" +extern GMainLoop *main_loop; + +// Object data struct _SystemdManager { GObject parent_instance; + + GDBusConnection *conn; + Systemd1Manager *proxy; + + GList *apps_list; }; G_DEFINE_TYPE(SystemdManager, systemd_manager, G_TYPE_OBJECT); @@ -37,12 +42,189 @@ static guint signals[N_SIGNALS]; * in the `running_apps` list */ struct systemd_runtime_data { - const gchar *esc_service; + gchar *esc_service; SystemdManager *mgr; - sd_bus_slot *slot; + Systemd1Unit *proxy; }; /* + * Internal functions + */ + +/* + * Get app unit list + */ +static gboolean systemd_manager_enumerate_app_units(SystemdManager *self, + GList **units) +{ + g_return_val_if_fail(APPLAUNCHD_IS_SYSTEMD_MANAGER(self), FALSE); + g_return_val_if_fail(units != NULL, FALSE); + + GVariant *matched_units = NULL; + GError *error = NULL; + const gchar *const states[1] = { NULL }; + const gchar *const patterns[2] = { "agl-app*@*.service", NULL }; + if (!systemd1_manager_call_list_unit_files_by_patterns_sync(self->proxy, + states, + patterns, + &matched_units, + NULL, + &error)) { + g_critical("Failed to issue method call: %s", error ? error->message : "unspecified"); + g_error_free(error); + goto finish; + } + + // We expect the response GVariant to be format "a(ss)" + GVariantIter *array; + g_variant_get(matched_units, "a(ss)", &array); + const char *unit; + const char *status; + while (g_variant_iter_loop(array, "(ss)", &unit, &status)) { + if (!g_str_has_suffix(unit, "@.service")) + *units = g_list_prepend(*units, g_strdup(unit)); + } + g_variant_iter_free(array); + g_variant_unref(matched_units); + + return TRUE; + +finish: + g_list_free_full(*units, g_free); + *units = NULL; + return FALSE; +} + +/* + * Get app unit description property + */ +static gboolean systemd_manager_get_app_description(SystemdManager *self, + gchar *service, + gchar **description) +{ + g_return_val_if_fail(APPLAUNCHD_IS_SYSTEMD_MANAGER(self), FALSE); + g_return_val_if_fail(service != NULL, FALSE); + g_return_val_if_fail(description != NULL, FALSE); + + // Get the escaped unit name in the systemd hierarchy + gchar *esc_service = NULL; + sd_bus_path_encode("/org/freedesktop/systemd1/unit", service, &esc_service); + + GError *error = NULL; + Systemd1Unit *proxy = systemd1_unit_proxy_new_sync(self->conn, + G_DBUS_PROXY_FLAGS_NONE, + "org.freedesktop.systemd1", + esc_service, + NULL, + &error); + if (!proxy) { + g_critical("Failed to create org.freedesktop.systemd1.Unit proxy: %s", + error ? error->message : "unspecified"); + g_error_free(error); + goto finish; + } + + gchar *value = systemd1_unit_dup_description(proxy); + if (value) { + *description = value; + } + + g_object_unref(proxy); + return TRUE; + +finish: + g_free(*description); + *description = NULL; + return FALSE; +} + +/* + * This function is executed during the object initialization. It goes through + * all available applications on the system and creates a static list + * containing all the relevant info (ID, name, unit, icon...) for further + * processing. + */ +static void systemd_manager_update_applications_list(SystemdManager *self) +{ + g_auto(GStrv) dirlist = NULL; + + char *xdg_data_dirs = getenv("XDG_DATA_DIRS"); + if (xdg_data_dirs) + dirlist = g_strsplit(getenv("XDG_DATA_DIRS"), ":", -1); + + GList *units = NULL; + if (!systemd_manager_enumerate_app_units(self, &units)) { + return; + } + + GList *iterator; + for (iterator = units; iterator != NULL; iterator = iterator->next) { + g_autofree const gchar *app_id = NULL; + g_autofree const gchar *icon_path = NULL; + gchar *service = NULL; + AppInfo *app_info = NULL; + + if (!iterator->data) + continue; + + // Parse service and app id out of unit filename + gchar *p = g_strrstr(iterator->data, "/"); + if (!p) + service = iterator->data; + else + service = p + 1; + + g_autofree char *tmp = g_strdup(service); + char *end = tmp + strlen(tmp); + while (end > tmp && *end != '.') { + --end; + } + if (end > tmp) { + *end = '\0'; + } else { + g_free(tmp); + continue; + } + while (end > tmp && *end != '@') { + --end; + } + if (end > tmp) { + app_id = g_strdup(end + 1); + } + // Potentially handle non-template agl-app-foo.service units here + + // Try getting display name from unit Description property + g_autofree gchar *name = NULL; + if (!systemd_manager_get_app_description(self, + service, + &name) || + name == NULL) { + + // Fall back to the application ID + g_warning("Could not retrieve Description of '%s'", service); + name = g_strdup(app_id); + } + + /* + * GAppInfo retrieves the icon data but doesn't provide a way to retrieve + * the corresponding file name, so we have to look it up by ourselves. + */ + if (app_id && dirlist) + icon_path = applaunchd_utils_get_icon(dirlist, app_id); + + app_info = app_info_new(app_id, + name, + icon_path ? icon_path : "", + service); + + g_debug("Adding application '%s' with display name '%s'", app_id, name); + self->apps_list = g_list_append(self->apps_list, app_info); + } + g_list_free_full(units, g_free); +} + + +/* * Initialization & cleanup functions */ @@ -52,6 +234,12 @@ static void systemd_manager_dispose(GObject *object) g_return_if_fail(APPLAUNCHD_IS_SYSTEMD_MANAGER(self)); + if (self->apps_list) + g_list_free_full(g_steal_pointer(&self->apps_list), g_object_unref); + + g_object_unref(self->proxy); + g_object_unref(self->conn); + G_OBJECT_CLASS(systemd_manager_parent_class)->dispose(object); } @@ -80,8 +268,33 @@ static void systemd_manager_class_init(SystemdManagerClass *klass) static void systemd_manager_init(SystemdManager *self) { + GError *error = NULL; + GDBusConnection *conn = g_bus_get_sync(G_BUS_TYPE_SYSTEM, NULL, &error); + if (!conn) { + g_critical("Failed to connect to D-Bus: %s", error ? error->message : "unspecified"); + g_error_free(error); + return; + } + self->conn = conn; + + Systemd1Manager *proxy = systemd1_manager_proxy_new_sync(conn, + G_DBUS_PROXY_FLAGS_NONE, + "org.freedesktop.systemd1", + "/org/freedesktop/systemd1", + NULL, + &error); + if (!proxy) { + g_critical("Failed to create org.freedesktop.systemd1.Manager proxy: %s", + error ? error->message : "unspecified"); + g_error_free(error); + return; + } + self->proxy = proxy; + + systemd_manager_update_applications_list(self); } + /* * Internal callbacks */ @@ -90,43 +303,59 @@ static void systemd_manager_init(SystemdManager *self) * This function is called when "PropertiesChanged" signal happens for * the matched Unit - check its "ActiveState" to update the app status */ -int systemd_manager_cb(sd_bus_message *m, void *userdata, sd_bus_error *ret_error) +static void unit_properties_changed_cb(GDBusProxy *proxy, + GVariant *changed_properties, + const gchar* const *invalidated_properties, + gpointer user_data) { - AppLauncher *launcher = app_launcher_get_default(); - sd_bus_error err = SD_BUS_ERROR_NULL; - char* msg = NULL; - AppInfo *app_info = userdata; + AppInfo *app_info = user_data; struct systemd_runtime_data *data; data = app_info_get_runtime_data(app_info); - if(!data) - { + if(!data) { g_critical("Couldn't find runtime data for %s!", app_info_get_app_id(app_info)); - return 0; + return; + } + + // NOTE: changed_properties and invalidated_properties are guaranteed to never be NULL + gchar *new_state = NULL; + bool found = false; + if (g_variant_n_children(changed_properties) > 0) { + GVariantIter *iter; + const gchar *key; + GVariant *value; + + g_variant_get(changed_properties, "a{sv}", &iter); + while (g_variant_iter_loop (iter, "{&sv}", &key, &value)) { + if (!g_strcmp0(key, "ActiveState")) { + new_state = g_variant_dup_string(value, NULL); + found = true; + } + } + g_variant_iter_free(iter); } - sd_bus_get_property_string( - app_launcher_get_bus(launcher), /* bus */ - "org.freedesktop.systemd1", /* destination */ - data->esc_service, /* path */ - "org.freedesktop.systemd1.Unit", /* interface */ - "ActiveState", /* member */ - &err, - &msg - ); - - if(!g_strcmp0(msg, "inactive")) + // Ignore invalidated_properties for now + + // Return if the changed property isn't "ActiveState" + if (!found) + return; + + if(!g_strcmp0(new_state, "inactive")) { - g_debug("Application %s has terminated", app_info_get_app_id(app_info)); - app_info_set_status(app_info, APP_STATUS_INACTIVE); - app_info_set_runtime_data(app_info, NULL); + if(app_info_get_status(app_info) != APP_STATUS_STARTING) + { + g_debug("Application %s has terminated", app_info_get_app_id(app_info)); + app_info_set_status(app_info, APP_STATUS_INACTIVE); + app_info_set_runtime_data(app_info, NULL); - g_signal_emit(data->mgr, signals[TERMINATED], 0, app_info_get_app_id(app_info)); - systemd_manager_free_runtime_data(data); + g_signal_emit(data->mgr, signals[TERMINATED], 0, app_info_get_app_id(app_info)); + systemd_manager_free_runtime_data(data); + } } - else if(!g_strcmp0(msg, "active")) + else if(!g_strcmp0(new_state, "active")) { - /* PropertiesChanged signal gets triggered multiple times, only handle it once */ + // PropertiesChanged signal gets triggered multiple times, only handle it once if(app_info_get_status(app_info) != APP_STATUS_RUNNING) { g_debug("Application %s has started", app_info_get_app_id(app_info)); @@ -134,128 +363,70 @@ int systemd_manager_cb(sd_bus_message *m, void *userdata, sd_bus_error *ret_erro g_signal_emit(data->mgr, signals[STARTED], 0, app_info_get_app_id(app_info)); } } - return 0; + g_free(new_state); } + /* * Public functions */ -SystemdManager *systemd_manager_new(void) +SystemdManager *systemd_manager_get_default(void) { - return g_object_new(APPLAUNCHD_TYPE_SYSTEMD_MANAGER, NULL); + static SystemdManager *manager; + + /* + * SystemdManager is a singleton, only create the object if it doesn't + * exist already. + */ + if (manager == NULL) { + g_debug("Initializing app launcher service..."); + manager = g_object_new(APPLAUNCHD_TYPE_SYSTEMD_MANAGER, NULL); + g_object_add_weak_pointer(G_OBJECT(manager), (gpointer*) &manager); + } + + return manager; +} + +void systemd_manager_connect_callbacks(SystemdManager *self, + GCallback started_cb, + GCallback terminated_cb, + void *data) +{ + if (started_cb) + g_signal_connect_swapped(self, "started", started_cb, data); + + if (terminated_cb) + g_signal_connect_swapped(self, "terminated", terminated_cb, data); } /* - * Get app unit list + * Search the applications list for an app which matches the provided app-id + * and return the corresponding AppInfo object. */ -gboolean systemd_manager_enumerate_app_units(SystemdManager *self, - AppLauncher *launcher, - GList **units) +AppInfo *systemd_manager_get_app_info(SystemdManager *self, const gchar *app_id) { - g_return_val_if_fail(APPLAUNCHD_IS_SYSTEMD_MANAGER(self), FALSE); - g_return_val_if_fail(APPLAUNCHD_IS_APP_LAUNCHER(launcher), FALSE); - g_return_val_if_fail(units != NULL, FALSE); + g_return_val_if_fail(APPLAUNCHD_IS_SYSTEMD_MANAGER(self), NULL); - sd_bus_error error = SD_BUS_ERROR_NULL; - sd_bus_message *m = NULL; - const char *path; - int r; - - r = sd_bus_call_method( - app_launcher_get_bus(launcher), /* bus */ - "org.freedesktop.systemd1", /* service to contact */ - "/org/freedesktop/systemd1", /* object path */ - "org.freedesktop.systemd1.Manager", /* interface name */ - "ListUnitFilesByPatterns", /* method name */ - &error, /* object to return error in */ - &m, /* return message on success */ - "asas", /* input signature */ - 0, /* first argument (empty array) */ - 1, /* second argument (array) */ - "agl-app*@*.service" - ); - if (r < 0) { - g_critical("Failed to issue method call: %s", error.message); - goto finish; - } + guint len = g_list_length(self->apps_list); - r = sd_bus_message_enter_container(m, SD_BUS_TYPE_ARRAY, "(ss)"); - if (r < 0) { - g_critical("Failed to parse response message: %s", strerror(-r)); - goto finish; - } + for (guint i = 0; i < len; i++) { + AppInfo *app_info = g_list_nth_data(self->apps_list, i); - const char *unit; - const char *state; - while ((r = sd_bus_message_read(m, "(ss)", &unit, &state)) > 0) { - if (!g_str_has_suffix(unit, "@.service")) - *units = g_list_prepend(*units, g_strdup(unit)); - } - if (r < 0) { - g_critical("Failed to parse unit entry: %s", strerror(-r)); - goto finish; + if (g_strcmp0(app_info_get_app_id(app_info), app_id) == 0) + return app_info; } - // Exit array - r = sd_bus_message_exit_container(m); - if (r < 0) { - g_critical("Failed to parse response message 5: %s", strerror(-r)); - goto finish; - } - - return TRUE; + g_warning("Unable to find application with ID '%s'", app_id); -finish: - sd_bus_error_free(&error); - sd_bus_message_unref(m); - g_list_free_full(*units, g_free); - *units = NULL; - return FALSE; + return NULL; } -/* - * Get app unit description property - */ -gboolean systemd_manager_get_app_description(SystemdManager *self, - AppLauncher *launcher, - gchar *service, - gchar **description) +GList *systemd_manager_get_app_list(SystemdManager *self) { - g_return_val_if_fail(APPLAUNCHD_IS_SYSTEMD_MANAGER(self), FALSE); - g_return_val_if_fail(APPLAUNCHD_IS_APP_LAUNCHER(launcher), FALSE); - g_return_val_if_fail(service != NULL, FALSE); - g_return_val_if_fail(description != NULL, FALSE); - - sd_bus_error error = SD_BUS_ERROR_NULL; - sd_bus_message *m = NULL; - gchar *esc_service = NULL; - const char *path; - int r; - - /* Get the escaped unit name in the systemd hierarchy */ - sd_bus_path_encode("/org/freedesktop/systemd1/unit", service, &esc_service); + g_return_val_if_fail(APPLAUNCHD_IS_SYSTEMD_MANAGER(self), NULL); - r = sd_bus_get_property_string( - app_launcher_get_bus(launcher), /* bus */ - "org.freedesktop.systemd1", /* service to contact */ - esc_service, /* object path */ - "org.freedesktop.systemd1.Unit", - "Description", - &error, - description); - if (r < 0) { - g_critical("Failed to issue method call: %s", error.message); - goto finish; - } - return TRUE; - -finish: - sd_bus_error_free(&error); - sd_bus_message_unref(m); - g_free(*description); - *description = NULL; - return FALSE; + return self->apps_list; } /* @@ -267,81 +438,90 @@ gboolean systemd_manager_start_app(SystemdManager *self, g_return_val_if_fail(APPLAUNCHD_IS_SYSTEMD_MANAGER(self), FALSE); g_return_val_if_fail(APPLAUNCHD_IS_APP_INFO(app_info), FALSE); - AppLauncher *launcher = app_launcher_get_default(); - gchar *esc_service = NULL; + AppStatus app_status = app_info_get_status(app_info); const gchar *app_id = app_info_get_app_id(app_info); + + switch (app_status) { + case APP_STATUS_STARTING: + g_debug("Application '%s' is already starting", app_id); + return TRUE; + case APP_STATUS_RUNNING: + g_debug("Application '%s' is already running", app_id); + + /* + * The application may be running in the background, notify + * subscribers it should be activated/brought to the foreground. + */ + g_signal_emit(self, signals[STARTED], 0, app_id); + return TRUE; + case APP_STATUS_INACTIVE: + // Fall through and start the application + break; + default: + g_critical("Unknown status %d for application '%s'", app_status, app_id); + return FALSE; + } + + gchar *esc_service = NULL; const gchar *service = app_info_get_service(app_info); struct systemd_runtime_data *runtime_data; - sd_bus_error error = SD_BUS_ERROR_NULL; - sd_bus_message *m = NULL; - const char *path; - int r; - runtime_data = g_new0(struct systemd_runtime_data, 1); if (!runtime_data) { g_critical("Unable to allocate runtime data structure for '%s'", app_id); return FALSE; } - /* Get the escaped unit name in the systemd hierarchy */ + // Get the escaped unit name in the systemd hierarchy sd_bus_path_encode("/org/freedesktop/systemd1/unit", service, &esc_service); g_debug("Trying to start service '%s', unit path '%s'", service, esc_service); runtime_data->mgr = self; runtime_data->esc_service = esc_service; - r = sd_bus_call_method( - app_launcher_get_bus(launcher), /* bus */ - "org.freedesktop.systemd1", /* service to contact */ - "/org/freedesktop/systemd1", /* object path */ - "org.freedesktop.systemd1.Manager", /* interface name */ - "StartUnit", /* method name */ - &error, /* object to return error in */ - &m, /* return message on success */ - "ss", /* input signature */ - service, /* first argument */ - "replace" /* second argument */ - ); - if (r < 0) { - g_critical("Failed to issue method call: %s", error.message); - goto finish; - } - - r = sd_bus_message_read(m, "o", &path); - if (r < 0) { - g_critical("Failed to parse response message: %s", strerror(-r)); - goto finish; - } - - r = sd_bus_match_signal( - app_launcher_get_bus(launcher), /* bus */ - &runtime_data->slot, /* slot */ - NULL, /* sender */ - esc_service, /* path */ - "org.freedesktop.DBus.Properties", /* interface */ - "PropertiesChanged", /* member */ - systemd_manager_cb, /* callback */ - app_info /* userdata */ - ); - if (r < 0) { - g_critical("Failed to set match signal: %s", strerror(-r)); - goto finish; + GError *error = NULL; + Systemd1Unit *proxy = systemd1_unit_proxy_new_sync(self->conn, + G_DBUS_PROXY_FLAGS_NONE, + "org.freedesktop.systemd1", + esc_service, + NULL, + &error); + if (!proxy) { + g_critical("Failed to create org.freedesktop.systemd1.Unit proxy: %s", + error ? error->message : "unspecified"); + g_error_free(error); + goto finish; } + runtime_data->proxy = proxy; app_info_set_runtime_data(app_info, runtime_data); + g_signal_connect(proxy, + "g-properties-changed", + G_CALLBACK(unit_properties_changed_cb), + app_info); - /* The application is now starting, wait for notification to mark it running */ + // The application is now starting, wait for notification to mark it running g_debug("Application %s is now being started", app_info_get_app_id(app_info)); app_info_set_status(app_info, APP_STATUS_STARTING); + + if (!systemd1_manager_call_start_unit_sync(self->proxy, + service, + "replace", + NULL, + NULL, + &error)) { + + g_critical("Failed to issue method call: %s", error ? error->message : "unspecified"); + g_error_free(error); + goto finish; + } + return TRUE; finish: if(runtime_data->esc_service) g_free(runtime_data->esc_service); g_free(runtime_data); - sd_bus_error_free(&error); - sd_bus_message_unref(m); return FALSE; } @@ -351,7 +531,6 @@ void systemd_manager_free_runtime_data(gpointer data) g_return_if_fail(runtime_data != NULL); - sd_bus_slot_unref(runtime_data->slot); g_free(runtime_data->esc_service); g_free(runtime_data); } diff --git a/src/systemd_manager.h b/src/systemd_manager.h index b866948..b4c505a 100644 --- a/src/systemd_manager.h +++ b/src/systemd_manager.h @@ -1,17 +1,6 @@ +// SPDX-License-Identifier: Apache-2.0 /* * Copyright (C) 2022 Konsulko Group - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ #ifndef SYSTEMDMANAGER_H @@ -20,7 +9,6 @@ #include <glib-object.h> #include "app_info.h" -#include "app_launcher.h" G_BEGIN_DECLS @@ -29,20 +17,23 @@ G_BEGIN_DECLS G_DECLARE_FINAL_TYPE(SystemdManager, systemd_manager, APPLAUNCHD, SYSTEMD_MANAGER, GObject); -SystemdManager *systemd_manager_new(void); +SystemdManager *systemd_manager_get_default(void); -gboolean systemd_manager_enumerate_app_units(SystemdManager *self, - AppLauncher *launcher, - GList **units); +void systemd_manager_connect_callbacks(SystemdManager *self, + GCallback started_cb, + GCallback terminated_cb, + void *data); -gboolean systemd_manager_get_app_description(SystemdManager *self, - AppLauncher *launcher, - gchar *service, - gchar **description); +AppInfo *systemd_manager_get_app_info(SystemdManager *self, + const gchar *app_id); + +GList *systemd_manager_get_app_list(SystemdManager *self); gboolean systemd_manager_start_app(SystemdManager *self, AppInfo *app_info); G_END_DECLS +void systemd_manager_free_runtime_data(gpointer data); + #endif diff --git a/src/utils.c b/src/utils.c index a053638..2f6ee3e 100644 --- a/src/utils.c +++ b/src/utils.c @@ -1,17 +1,6 @@ +// SPDX-License-Identifier: Apache-2.0 /* * Copyright (C) 2021 Collabora Ltd - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ #include <gio/gio.h> diff --git a/src/utils.h b/src/utils.h index 1f31e0d..48770a1 100644 --- a/src/utils.h +++ b/src/utils.h @@ -1,17 +1,6 @@ +// SPDX-License-Identifier: Apache-2.0 /* * Copyright (C) 2021 Collabora Ltd - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. */ #ifndef UTILS_H |