fwupd/src/fu-systemd.h
2021-08-24 11:18:40 -05:00

21 lines
473 B
C

/*
* Copyright (C) 2017 Richard Hughes <richard@hughsie.com>
*
* SPDX-License-Identifier: LGPL-2.1+
*/
#pragma once
#include <glib.h>
gboolean
fu_systemd_unit_check_exists(const gchar *unit, GError **error);
gboolean
fu_systemd_unit_stop(const gchar *unit, GError **error);
gboolean
fu_systemd_unit_enable(const gchar *unit, GError **error);
gboolean
fu_systemd_unit_disable(const gchar *unit, GError **error);
gchar *
fu_systemd_get_default_target(GError **error);