|
From: | Maxime Devos |
Subject: | Re: wayland client in Guile without libwayland-client |
Date: | Fri, 18 Nov 2022 23:34:03 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2 |
On 18-11-2022 17:54, Matt Wette wrote:
cm-buf is a bytevector of control messages (`man cmsg`). To deal with control messages I have generated these procedures: (cmsg-list->bytevector cmsg-list) => bytevector (bytevector->cmsg-list bytevector) => cmsg-list
I have previously written an implementation for encoding/decoding cmsg at <https://git.gnunet.org/gnunet-scheme.git/tree/gnu/gnunet/util/cmsg.scm>, with a bunch of tests at <https://git.gnunet.org/gnunet-scheme.git/tree/tests/cmsg.scm> (no bindings for sendmsg, recvmsg!, though).
To compare, could you share your implementation of cmsg-list->bytevector and bytevector->cmsg-list?.
Greetings, Maxime.
OpenPGP_0x49E3EE22191725EE.asc
Description: OpenPGP public key
OpenPGP_signature
Description: OpenPGP digital signature
[Prev in Thread] | Current Thread | [Next in Thread] |