summaryrefslogtreecommitdiff
path: root/src/boot/boot-loader.h
diff options
context:
space:
mode:
authorKay Sievers <kay@vrfy.org>2013-02-08 17:24:43 +0100
committerKay Sievers <kay@vrfy.org>2013-02-11 19:35:52 +0100
commit7b4d7cc08283e5485dcfa49ffdf1915de1d5e81b (patch)
treefc73d48c2f124bf27a3c47979a3e28f825eb8902 /src/boot/boot-loader.h
parentc937e0d5c579863677e0fcb5508517f7714c332d (diff)
bootctl: add boot loader and firmware interface tool
Diffstat (limited to 'src/boot/boot-loader.h')
-rw-r--r--src/boot/boot-loader.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/src/boot/boot-loader.h b/src/boot/boot-loader.h
new file mode 100644
index 0000000000..08827c30ad
--- /dev/null
+++ b/src/boot/boot-loader.h
@@ -0,0 +1,25 @@
+/*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/
+
+#pragma once
+
+/***
+ This file is part of systemd.
+
+ Copyright 2013 Kay Sievers
+
+ systemd is free software; you can redistribute it and/or modify it
+ 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
+ (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
+ Lesser General Public License for more details.
+
+ You should have received a copy of the GNU Lesser General Public License
+ along with systemd; If not, see <http://www.gnu.org/licenses/>.
+***/
+
+int boot_loader_read_entries(struct boot_info *info);
+int boot_loader_find_active_entry(struct boot_info *info, const char *loader_active);