Move Switch OTA launcher sources under ports/switch.

Consolidate the native OTA launcher, bootstrap, and assets into the Switch port tree.
This commit is contained in:
Andrew Quenehen
2026-08-06 10:22:51 -03:00
parent e94d8e32ef
commit 9aa8b4e371
20 changed files with 0 additions and 0 deletions
@@ -0,0 +1,20 @@
#ifndef GEN1_OTA_UNZIP_H
#define GEN1_OTA_UNZIP_H
#include <stddef.h>
#ifdef __cplusplus
extern "C" {
#endif
/* Extract member_name from zip_path into dest_path.
* Tries exact member_name, then common prefixes (switch/gen1recomp/).
* Returns 0 on success. */
int ota_unzip_extract_file(const char *zip_path, const char *member_name, const char *dest_path,
char *err, size_t err_len);
#ifdef __cplusplus
}
#endif
#endif