1libssh2_session_methods(3) libssh2 manual libssh2_session_methods(3)
2
3
4
6 libssh2_session_methods - return the currently active algorithms
7
9 #include <libssh2.h>
10
11 const char * libssh2_session_methods(LIBSSH2_SESSION *session, int
12 method_type);
13
14
16 session - Session instance as returned by libssh2_session_init(3)
17
18 method_type - One of the Method Type constants.
19
20 Return the actual method negotiated for a particular transport parameā
21 ter.
22
23
25 Negotiated method or NULL if the session has not yet been started.
26
27
29 LIBSSH2_ERROR_INVAL - The requested method type was invalid.
30
31 LIBSSH2_ERROR_METHOD_NONE -
32
33
35 libssh2_session_init(3)
36
37
38
39libssh2 0.15 1 Jun 2007 libssh2_session_methods(3)