Convenience macro for libssh2_channel_open_ex(3) calls
#include <libssh2.h>
LIBSSH2_CHANNEL * libssh2_channel_open_session(LIBSSH2_SESSION *session);
This is a macro defined in a public libssh2 header file that is using the underlying function libssh2_channel_open_ex(3).