diff options
author | Maarten Lankhorst <m.b.lankhorst@gmail.com> | 2010-05-09 18:44:11 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-05-09 18:46:10 +0200 |
commit | 07b0b134d3076fe223d6e15959b6081a74b56792 (patch) | |
tree | c768259278d9436d553587c284be22d32f788175 /dbus-swap.h | |
parent | af5bc85dc1297079edc9890861aaa38de0ec30df (diff) |
swap: add .swap unit type
Diffstat (limited to 'dbus-swap.h')
-rw-r--r-- | dbus-swap.h | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/dbus-swap.h b/dbus-swap.h new file mode 100644 index 0000000000..3bef6ad621 --- /dev/null +++ b/dbus-swap.h @@ -0,0 +1,32 @@ +/*-*- Mode: C; c-basic-offset: 8 -*-*/ + +#ifndef foodbusswaphfoo +#define foodbusswaphfoo + +/*** + 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 + under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (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 + General Public License for more details. + + You should have received a copy of the GNU General Public License + along with systemd; If not, see <http://www.gnu.org/licenses/>. +***/ + +#include <dbus/dbus.h> + +#include "unit.h" + +DBusHandlerResult bus_swap_message_handler(Unit *u, DBusMessage *message); + +#endif |