chiark / gitweb /
main: fail if we cannot mount /cgroup/debug
[elogind.git] / automount.h
index b6dfd5bb0609ecafda0842ad380b7a7da0328309..e7d778c7bbd0018af6ad7c7d8776adec288af12f 100644 (file)
@@ -3,9 +3,28 @@
 #ifndef fooautomounthfoo
 #define fooautomounthfoo
 
+/***
+  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 <http://www.gnu.org/licenses/>.
+***/
+
 typedef struct Automount Automount;
 
-#include "name.h"
+#include "unit.h"
 
 typedef enum AutomountState {
         AUTOMOUNT_DEAD,
@@ -41,6 +60,6 @@ struct Automount {
         Mount *mount;
 };
 
-extern const NameVTable automount_vtable;
+extern const UnitVTable automount_vtable;
 
 #endif