2010-08-17 03:33:07 +02:00
|
|
|
/*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/
|
2010-05-09 18:44:11 +02:00
|
|
|
|
2012-07-18 19:07:51 +02:00
|
|
|
#pragma once
|
2010-05-09 18:44:11 +02:00
|
|
|
|
|
|
|
/***
|
|
|
|
This file is part of systemd.
|
|
|
|
|
|
|
|
Copyright 2010 Lennart Poettering
|
|
|
|
Copyright 2010 Maarten Lankhorst
|
|
|
|
|
|
|
|
systemd is free software; you can redistribute it and/or modify it
|
2012-04-12 00:20:58 +02:00
|
|
|
under the terms of the GNU Lesser General Public License as published by
|
|
|
|
the Free Software Foundation; either version 2.1 of the License, or
|
2010-05-09 18:44:11 +02:00
|
|
|
(at your option) any later version.
|
|
|
|
|
|
|
|
systemd is distributed in the hope that it will be useful, but
|
|
|
|
WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
2012-04-12 00:20:58 +02:00
|
|
|
Lesser General Public License for more details.
|
2010-05-09 18:44:11 +02:00
|
|
|
|
2012-04-12 00:20:58 +02:00
|
|
|
You should have received a copy of the GNU Lesser General Public License
|
2010-05-09 18:44:11 +02:00
|
|
|
along with systemd; If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
***/
|
|
|
|
|
2013-11-19 21:12:59 +01:00
|
|
|
#include "sd-bus.h"
|
2010-05-09 18:44:11 +02:00
|
|
|
#include "unit.h"
|
|
|
|
|
2013-11-19 21:12:59 +01:00
|
|
|
extern const sd_bus_vtable bus_swap_vtable[];
|
2010-05-09 18:44:11 +02:00
|
|
|
|
2013-11-19 21:12:59 +01:00
|
|
|
int bus_swap_set_property(Unit *u, const char *name, sd_bus_message *message, UnitSetPropertiesMode mode, sd_bus_error *error);
|
2013-06-27 23:21:21 +02:00
|
|
|
int bus_swap_commit_properties(Unit *u);
|