Subject: Re: libssh2 master d002839... Fix namespace pollution.

Re: libssh2 master d002839... Fix namespace pollution.

From: Lars Nordin <Lars.Nordin_at_sdlabs.se>
Date: Fri, 19 Mar 2010 14:43:24 +0100

On 2010-03-19 14:29, Daniel Stenberg wrote:
> On Fri, 19 Mar 2010, Lars Nordin wrote:
>
>> BTW, is _ the libssh2 standard for static variables? I trying to
>> understand the code-standard.
>
> No.
>
> We use _libssh2 as prefix for library-wide non-static symbols that
> aren't part of the public API. static symbols can be called anything
> with no prefix requirements.
>
OK, then the name should be changed (my fault), but not being static. I
think we should allow global variables, instead of having to hide them
and making read and set functions.
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2010-03-19