Omzetting naar stdio.

This commit is contained in:
2026-08-03 08:22:42 +02:00
parent fb1a293e88
commit d9af82d230
9 changed files with 829 additions and 554 deletions
+4
View File
@@ -1,6 +1,10 @@
#ifndef RKT_PROTOCOL_H
#define RKT_PROTOCOL_H
// The numeric command identifiers and payload objects are shared by both
// transports. The active transport wraps each command in one JSON line; see
// STDIO-PROTOCOL.md.
#define CMD_HANDLE_IS_VALID 1
#define CMD_QUIT 2
#define CMD_CONTEXT_NEW 3 // arguments: boilerplate_js: string, has_cert: bool, cert_pem: string -> context: int