www.libssh2.org | Daily snapshots | Mailing list archive | Docs | Examples

Archive Index This month's Index

Subject: Re: Export default functions in the API

Re: Export default functions in the API

From: Sofian Brabez <sofian.brabez_at_wallix.com>
Date: Wed, 27 Jan 2010 13:39:59 +0100

Hi Mikhail

On Wed, Jan 27, 2010 at 05:47:02PM +0600, Mikhail Gusarov wrote:
>
> Twas brillig at 12:01:03 27.01.2010 UTC+01 when sofian.brabez_at_wallix.com did gyre and gimble:
>
> SB> Like that libssh2_session_init is not part of LIBSSH2_API and we
> SB> can't lookup this symbol because it doesn't exist in shared
> SB> library:
>
> Why do you want to lookup it _this_ way?
>

Because i don't know another way.

> SB> Do you think it's a good idea to change all #define functions ?
>
> It does not buy anything meaningful and slightly pessimizes things
> (number of relocation entries and cost of symbol lookup become higher).
>

So, I concluded it's was bad idea. I'm not familliar with symbols
relocations, could you enlighten me ?

Thanks for your reply !

Regards

-- 
Sofian Brabez
Security R&D Engineer
Email: sbz_at_wallix.com
Website: www.wallix.com
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2010-01-27

the libssh2 team