shutdownd.h revision f61448083198dc0e4e0d19a916bcd478336cc85d
337eebb936be1da1215535e866965ce54c82d755Lennart Poettering/*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/
652e737517bbbae692923246aeb687e2d1f314efZbigniew Jędrzejewski-Szmek
0e0320e04500d1e68630b3973714f14cfb7b3450Lennart Poettering#ifndef fooshutdowndhfoo
652e737517bbbae692923246aeb687e2d1f314efZbigniew Jędrzejewski-Szmek#define fooshutdowndhfoo
7c9a6f906308a6474f1ebb98058c4a33a02c33f1Lennart Poettering
7c9a6f906308a6474f1ebb98058c4a33a02c33f1Lennart Poettering/***
7c9a6f906308a6474f1ebb98058c4a33a02c33f1Lennart Poettering This file is part of systemd.
7c9a6f906308a6474f1ebb98058c4a33a02c33f1Lennart Poettering
7c9a6f906308a6474f1ebb98058c4a33a02c33f1Lennart Poettering Copyright 2010 Lennart Poettering
7c9a6f906308a6474f1ebb98058c4a33a02c33f1Lennart Poettering
7c9a6f906308a6474f1ebb98058c4a33a02c33f1Lennart Poettering systemd is free software; you can redistribute it and/or modify it
7c9a6f906308a6474f1ebb98058c4a33a02c33f1Lennart Poettering under the terms of the GNU General Public License as published by
7c9a6f906308a6474f1ebb98058c4a33a02c33f1Lennart Poettering the Free Software Foundation; either version 2 of the License, or
7c9a6f906308a6474f1ebb98058c4a33a02c33f1Lennart Poettering (at your option) any later version.
7c9a6f906308a6474f1ebb98058c4a33a02c33f1Lennart Poettering
7c9a6f906308a6474f1ebb98058c4a33a02c33f1Lennart Poettering systemd is distributed in the hope that it will be useful, but
7c9a6f906308a6474f1ebb98058c4a33a02c33f1Lennart Poettering WITHOUT ANY WARRANTY; without even the implied warranty of
0e0320e04500d1e68630b3973714f14cfb7b3450Lennart Poettering MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
652e737517bbbae692923246aeb687e2d1f314efZbigniew Jędrzejewski-Szmek General Public License for more details.
7c9a6f906308a6474f1ebb98058c4a33a02c33f1Lennart Poettering
7c9a6f906308a6474f1ebb98058c4a33a02c33f1Lennart Poettering You should have received a copy of the GNU General Public License
0e0320e04500d1e68630b3973714f14cfb7b3450Lennart Poettering along with systemd; If not, see <http://www.gnu.org/licenses/>.
7c9a6f906308a6474f1ebb98058c4a33a02c33f1Lennart Poettering***/
7c9a6f906308a6474f1ebb98058c4a33a02c33f1Lennart Poettering
7c9a6f906308a6474f1ebb98058c4a33a02c33f1Lennart Poettering#include "util.h"
93a1d735aca5584a005d851f12cb0b8c7bb5e5caLennart Poettering#include "macro.h"
7c9a6f906308a6474f1ebb98058c4a33a02c33f1Lennart Poettering
0e0320e04500d1e68630b3973714f14cfb7b3450Lennart Poettering_packed_ struct shutdownd_command {
7c9a6f906308a6474f1ebb98058c4a33a02c33f1Lennart Poettering usec_t elapse;
7c9a6f906308a6474f1ebb98058c4a33a02c33f1Lennart Poettering char mode; /* H, P, r, i.e. the switches usually passed to
7c9a6f906308a6474f1ebb98058c4a33a02c33f1Lennart Poettering * shutdown to select whether to halt, power-off or
7c9a6f906308a6474f1ebb98058c4a33a02c33f1Lennart Poettering * reboot the machine */
7c9a6f906308a6474f1ebb98058c4a33a02c33f1Lennart Poettering};
7c9a6f906308a6474f1ebb98058c4a33a02c33f1Lennart Poettering
7c9a6f906308a6474f1ebb98058c4a33a02c33f1Lennart Poettering#endif
0e0320e04500d1e68630b3973714f14cfb7b3450Lennart Poettering