From 0b96aaafeb64374f50df3b13081b3331be57dae2 Mon Sep 17 00:00:00 2001 From: Philippe Pittoli Date: Mon, 6 Feb 2023 10:36:25 +0100 Subject: [PATCH] Zig implementation: TODO.md. --- zig-impl/TODO.md | 27 ++++++++++++++------------- 1 file changed, 14 insertions(+), 13 deletions(-) diff --git a/zig-impl/TODO.md b/zig-impl/TODO.md index e546838..5a2d958 100644 --- a/zig-impl/TODO.md +++ b/zig-impl/TODO.md @@ -1,16 +1,25 @@ -### LibIPC not entirely exposed - -Some functions are not available in the bindings, mostly functions related to switching. - ### MISC - create the unix socket directory - close the connection and log when we receive too big messages +- decide then explicitely document what the max message size should be +- rx message buffer should be small but should grow if required +- some functions are not exposed in the bindings, mostly functions related to switching + +### makefile + +- release +- distribution + +### documentation + +- document the two ways to use LibIPC: either within some Zig code or through the bindings +- manpages for ipcd, tcpd, pong, pongd ### src/exchange-fd.zig - still very WIP, even though it works as expected -- recvmsg is a very stupid copy of the sendmsg fn, expect errors +- recvmsg is a very *stupid* copy of the sendmsg fn, **EXPECT ERRORS** (if used outside libipc) - at least one memory error when using Cmsghdr (see below) ==32374== Syscall param sendmsg(msg.msg_control) points to uninitialised byte(s) @@ -27,11 +36,3 @@ Some functions are not available in the bindings, mostly functions related to sw ==32374== by 0x28161E: initEventLoopAndCallMain (start.zig:548) ==32374== by 0x28161E: callMainWithArgs (start.zig:498) ==32374== by 0x28161E: main (start.zig:513) - -### makefile - -- distribution - -### documentation - -- manpages for ipcd, tcpd, pong, pongd