diff options
Diffstat (limited to 'installer/fetcher/filelist.h')
-rw-r--r-- | installer/fetcher/filelist.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/installer/fetcher/filelist.h b/installer/fetcher/filelist.h new file mode 100644 index 00000000..7da57470 --- /dev/null +++ b/installer/fetcher/filelist.h @@ -0,0 +1,17 @@ +/* SPDX-License-Identifier: GPL-2.0 + * + * Copyright (C) 2020-2022 Jason A. Donenfeld. All Rights Reserved. + */ + +#ifndef _FILELIST_H +#define _FILELIST_H + +#include <stddef.h> +#include <stdbool.h> +#include <stdint.h> + +enum { MAX_FILENAME_LEN = 0x400 }; + +bool extract_newest_file(char filename[static MAX_FILENAME_LEN], uint8_t hash[static 32], const char *list, size_t len, const char *arch); + +#endif |