Re: Bindings for libcurl

"Johann 'Myrkraverk' Oskarsson" <[email protected]>
Newsgroups gmane.emacs.xemacs.beta
Message-ID <CAA_SOw_0EnG_n1MiYgXOrSNua=7B92rTdjmKGeUipRDs4m8zEA@mail.gmail.com>
Hi all,

On Sat, May 9, 2015 at 4:55 PM, Stephen J. Turnbull <[email protected]> wrote:
> Johann 'Myrkraverk' Oskarsson writes:

>  > I've made a demo for libcurl bindings, with an emodule.
>
> I made one (plus one for neon) a long time ago, but never integrated
> it.  Lack of documentation and lack of a decent Emacsish API
> (especially for dealing with credentials) were the reasons.

I have been thinking about that.  Some things in libcurl are only
available as a FILE *, namely error reporting.

I was wondering if it would be possible to set up pipes with a FILE *
on one end, and a buffer on the other.

But I don't know if XEmacs has the internal features required.  Maybe
processes help.

[...]

> I guess I could push to github easily enough.  Maybe later this
> weekend.

I'd very much like to take a look at what you did.

I chose to use the libcurl license itself for my code, for two
reasons.  1) I copy the libcurl documentation directly into the
docstrings, and edit; 2) on the off chance it can be helpful for other
libcurl bindings.

Of course, if the goal is to distribute the module with XEmacs, other
considerations apply.


Johann
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.