Subject: Re: libssh2 master 3420e98... use const to silence a bazillion warnings

Re: libssh2 master 3420e98... use const to silence a bazillion warnings

From: Peter Stuge <peter_at_stuge.se>
Date: Tue, 2 Mar 2010 22:26:38 +0100

Daniel Stenberg wrote:
>> I like static, but since that is not reentrant it should take an
>> optional pointer to a static array in the caller.
>
> Well, I meant static in the sense that it would be an array within
> the session struct,

If we want to move to thread safe API I don't think that's enough,
but it would be simple to optionally push it onto the caller.

//Peter
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2010-03-02