1libssh2_session_methods(3)      libssh2 manual      libssh2_session_methods(3)
2
3
4

NAME

6       libssh2_session_methods - return the currently active algorithms
7

SYNOPSIS

9       #include <libssh2.h>
10
11       const  char  *  libssh2_session_methods(LIBSSH2_SESSION  *session,  int
12       method_type);
13
14

DESCRIPTION

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

RETURN VALUE

25       Negotiated method or NULL if the session has not yet been started.
26
27

ERRORS

29       LIBSSH2_ERROR_INVAL - The requested method type was invalid.
30
31       LIBSSH2_ERROR_METHOD_NONE -
32
33

SEE ALSO

35       libssh2_session_init(3)
36
37
38
39libssh2 0.15                      1 Jun 2007        libssh2_session_methods(3)
Impressum