Dan Fandrich <dan_at_coneharvesters.com> writes:
> You could store an array of functors for objects using libssh2 in a
> static variable, then choose one of those from your static callback
> function based on the libssh2 session ID that's passed in to the
> callback.
It's already done in the libssh2 itself ;)
-- JID: dottedmag_at_jabber.dottedmag.net ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ libssh2-devel mailing list libssh2-devel_at_lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libssh2-develReceived on 2007-12-15