guile-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Initial SCTP support for the upcoming 1.6.5 release


From: Marius Vollmer
Subject: Re: Initial SCTP support for the upcoming 1.6.5 release
Date: Tue, 24 Aug 2004 16:24:24 +0200
User-agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3 (gnu/linux)

Michael Tuexen <address@hidden> writes:

> with the hints of Kevin I got my stuff working.

Excellent, and please accept my apologies for doing such a louse job
with the first attempt.  I forgot to include sctp.scm in the tarball,
here it is for reference:

    (define-module (net sctp))

    (export sctp-recvmsg!
            sctp-sendmsg

            SOCK_SEQPACKET

            IPPROTO_SCTP
            IPPROTO_TCP
            IPPROTO_UDP

            MSG_UNORDERED
            MSG_ADDR_OVER
            MSG_ABORT
            MSG_EOF
            MSG_EOR
            MSG_NOTIFICATION
            MSG_PR_SCTP_TTL
            MSG_PR_SCTP_BUF)

    (load-extension "libguile-net-sctp" "net_sctp_init")

> I need besides the static functions from socket.c the
> SCM_SYSCALL stuff from libguile/_scm.h. This is file is
> not installed. So is there a chance to move the SCM_SYSCALL
> stuff from _scm.h to __scm.h? If not, I have to duplicate
> the code, which is not a problem...

Yes, please duplicate.  SCM_SYSCALL is more of an internal helper for
boilerplate code that unrelated to Guile.

> I have another question: How can I make the documentation included
> in the SCM_DEFINE makro available from scheme.

I don't think there is a good way yet.  Which is really bad, bad, bad,
I know.  Leave your docstring in place and hope that you will soon be
able to use it.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]