Integrate 0.9.8 NDS read-only lab, repair upstream hook and simplify setup guidance

This commit is contained in:
2026-11-30 21:13:35 +00:00
parent b9fe2e61d2
commit c3aa4688d8
57 changed files with 2894 additions and 36 deletions

9
nds/server.h Normal file
View File

@@ -0,0 +1,9 @@
/* SPDX-License-Identifier: GPL-2.0-or-later */
#ifndef MARS_NDS_SERVER_H
#define MARS_NDS_SERVER_H
#include <stddef.h>
#include <stdint.h>
/* Process-local state: nwconn serves one connection. No authentication. */
int mars_nds_request(uint8_t task, uint8_t seq, const unsigned char *p, size_t n,
unsigned char *out, size_t cap, size_t *used);
#endif