From 7b4d7cc08283e5485dcfa49ffdf1915de1d5e81b Mon Sep 17 00:00:00 2001 From: Kay Sievers Date: Fri, 8 Feb 2013 17:24:43 +0100 Subject: bootctl: add boot loader and firmware interface tool --- src/boot/boot-loader.h | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 src/boot/boot-loader.h (limited to 'src/boot/boot-loader.h') 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 . +***/ + +int boot_loader_read_entries(struct boot_info *info); +int boot_loader_find_active_entry(struct boot_info *info, const char *loader_active); -- cgit v1.2.3-54-g00ecf