gnutls-devel
[Top][All Lists]
Advanced

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

Re: Missing interface documentation for push/pull functions


From: Florian Weimer
Subject: Re: Missing interface documentation for push/pull functions
Date: Mon, 14 Mar 2011 11:45:17 +0000

* Nikos Mavrogiannopoulos:

> On Mon, Mar 14, 2011 at 12:34 PM, Florian Weimer <address@hidden> wrote:
>> The documentation should mention that the functions must return -1
>> (and not any other negative value, especially not GNUTLS error codes)
>> on error, and set errno to a suitable error code.  The calling
>> functions do not handle other negative return values very well.
>
> Which part of the documentation are you referring to?
> I can see that:
> http://www.gnu.org/software/gnutls/manual/html_node/The-transport-layer.html#The-transport-layer
> is pretty clear about that.

The documentation for gnutls_transport_set_push_function and
gnutls_transport_set_pull_function.  I think I'd reported this before,
but I fell into the same trap again. 8-(

-- 
Florian Weimer                <address@hidden>
BFK edv-consulting GmbH       http://www.bfk.de/
Kriegsstraße 100              tel: +49-721-96201-1
D-76133 Karlsruhe             fax: +49-721-96201-99



reply via email to

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