mirror of
https://github.com/itsPLK/ps5-webkit-autoloader.git
synced 2026-10-23 04:02:58 -05:00
- Uses versioned directories to prevent updates from overwriting existing files. - Adds a `__complete__` marker to the end of the AppCache manifest to verify cache integrity. - Defers homescreen shortcut creation until the `/install` route is hit.
14 lines
536 B
C
14 lines
536 B
C
#pragma once
|
|
|
|
#include <microhttpd.h>
|
|
#include <stdatomic.h>
|
|
|
|
/* Shared flag — set to 0 by a successful /install, read by the main loop. */
|
|
extern atomic_int http_keep_running;
|
|
|
|
/* MHD request handler callback — dispatches all routes. */
|
|
enum MHD_Result http_on_request(void *cls, struct MHD_Connection *conn,
|
|
const char *url, const char *method,
|
|
const char *version, const char *upload_data,
|
|
size_t *upload_data_size, void **con_cls);
|