golang.zx2c4.com/wireguard/windows@v0.5.4-0.20230123132234-dcc0eb72a04b/installer/fetcher/filelist.h (about) 1 /* SPDX-License-Identifier: GPL-2.0 2 * 3 * Copyright (C) 2020-2022 Jason A. Donenfeld. All Rights Reserved. 4 */ 5 6 #ifndef _FILELIST_H 7 #define _FILELIST_H 8 9 #include <stddef.h> 10 #include <stdbool.h> 11 #include <stdint.h> 12 13 enum { MAX_FILENAME_LEN = 0x400 }; 14 15 bool extract_newest_file(char filename[static MAX_FILENAME_LEN], uint8_t hash[static 32], const char *list, size_t len, const char *arch); 16 17 #endif