unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
From: Maxime Devos <maximedevos@telenet.be>
To: Matt Wette <matt.wette@gmail.com>, Guile User <guile-user@gnu.org>
Subject: Re: wayland client in Guile without libwayland-client
Date: Fri, 18 Nov 2022 23:34:03 +0100	[thread overview]
Message-ID: <5f21001f-00cf-6636-5ea4-ed2b97263b0b@telenet.be> (raw)
In-Reply-To: <aa8a8abe-182d-f5c7-5d1d-0a33fb05c2eb@gmail.com>


[-- Attachment #1.1.1: Type: text/plain, Size: 736 bytes --]



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.

[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 929 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 236 bytes --]

  parent reply	other threads:[~2022-11-18 22:34 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-18 16:54 wayland client in Guile without libwayland-client Matt Wette
2022-11-18 17:03 ` Matt Wette
2022-11-18 22:34 ` Maxime Devos [this message]
2022-11-18 22:58   ` Matt Wette
2022-11-19  4:26 ` Damien Mattei
2022-11-19 14:50   ` Matt Wette

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5f21001f-00cf-6636-5ea4-ed2b97263b0b@telenet.be \
    --to=maximedevos@telenet.be \
    --cc=guile-user@gnu.org \
    --cc=matt.wette@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).