]>
glassweightruler.freedombox.rocks Git - Ventoy.git/blob - GRUB2/MOD_SRC/grub-2.04/grub-core/ventoy/wimboot.h
1 /******************************************************************************
4 * Copyright (c) 2020, longpanda <admin@ventoy.net>
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License as
8 * published by the Free Software Foundation; either version 3 of the
9 * License, or (at your option) any later version.
11 * This program is distributed in the hope that it will be useful, but
12 * WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * General Public License for more details.
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, see <http://www.gnu.org/licenses/>.
23 #include <grub/types.h>
24 #include <grub/misc.h>
28 #include <grub/disk.h>
29 #include <grub/device.h>
30 #include <grub/term.h>
31 #include <grub/partition.h>
32 #include <grub/file.h>
33 #include <grub/normal.h>
34 #include <grub/extcmd.h>
35 #include <grub/datetime.h>
36 #include <grub/i18n.h>
38 #include <grub/time.h>
39 #include <grub/crypto.h>
40 #include <grub/ventoy.h>
41 #include "ventoy_def.h"
44 #define size_t grub_size_t
45 #define ssize_t grub_ssize_t
46 #define memset grub_memset
47 #define memcpy grub_memcpy
49 #define uint8_t grub_uint8_t
50 #define uint16_t grub_uint16_t
51 #define uint32_t grub_uint32_t
52 #define uint64_t grub_uint64_t
53 #define int32_t grub_int32_t
59 //#define DBG grub_printf
62 const char * huffman_bin ( unsigned long value
, unsigned int bits
);