Dan Fandrich <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED] ------------------------------------------------------------------------- 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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libssh2-devel