/
githubmirror
/
efivar
Обзор
Документация
Войти
/
githubmirror
/
efivar
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
24
src/disk.h
31 строка
1 KB
Peter Jones
Clean up some license confusion.
12 апр 2016, 16:54
12 апр 2016, 16:54
44bc375
Код
Авторство
О чём код?
/* * 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 ssize_t _make_hd_dn(uint8_t *buf, ssize_t size, int fd, uint32_t partition, uint32_t options) __attribute__((__visibility__ ("hidden"))); #define make_hd_dn(buf, size, off, fd, partition, option) \ _make_hd_dn(((buf)+(off)), ((size)?((size)-(off)):0), (fd),\ (partition), (options)) #endif /* _EFIBOOT_DISK_H */