X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=timer.h;h=0ec3e0d9bbd071663f00e31f274aeac0934b6c33;hp=fcbddc0ac3f341f4a584a41d7cbfc00a50e8933c;hb=257eca1a9c2d0ef110c21e74952e9723d778e267;hpb=5cb5a6ffc33667c93e9bc3572534dcaa684046e3 diff --git a/timer.h b/timer.h index fcbddc0ac..0ec3e0d9b 100644 --- a/timer.h +++ b/timer.h @@ -3,9 +3,28 @@ #ifndef footimerhfoo #define footimerhfoo +/*** + This file is part of systemd. + + Copyright 2010 Lennart Poettering + + 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 . +***/ + typedef struct Timer Timer; -#include "name.h" +#include "unit.h" typedef enum TimerState { TIMER_DEAD, @@ -25,6 +44,6 @@ struct Timer { Service *service; }; -const NameVTable timer_vtable; +extern const UnitVTable timer_vtable; #endif