/
githubmirror
/
efivar
Обзор
Документация
Войти
/
githubmirror
/
efivar
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
37
src/disk.h
29 строк
1 KB
Peter Jones
Promote _make_hd_dn() to make_hd_dn() and get rid of the wrapper.
12 июн 2018, 21:36
12 июн 2018, 21:36
bd8fc0e
Код
Авторство
О чём код?
/* * libefiboot - library for the manipulation of EFI boot variables * Copyright 2012-2015 Red Hat, Inc. * Copyright (C) 2001 Dell Computer Corporation <Matt_Domsch@dell.com> * * This library 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. * * This library 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 this library; if not, see * <http://www.gnu.org/licenses/>. * */ #ifndef _EFIBOOT_DISK_H #define _EFIBOOT_DISK_H extern bool HIDDEN is_partitioned(int fd); extern HIDDEN ssize_t make_hd_dn(uint8_t *buf, ssize_t size, int fd, int32_t partition, uint32_t options); #endif /* _EFIBOOT_DISK_H */