geom_gate userland utility improvements
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

28 lines
993 B

  1. .TH libssh2_session_methods 3 "1 Jun 2007" "libssh2 0.15" "libssh2 manual"
  2. .SH NAME
  3. libssh2_session_methods - return the currently active algorithms
  4. .SH SYNOPSIS
  5. #include <libssh2.h>
  6. const char *
  7. libssh2_session_methods(LIBSSH2_SESSION *session, int method_type);
  8. .SH DESCRIPTION
  9. \fIsession\fP - Session instance as returned by
  10. .BR libssh2_session_init_ex(3)
  11. \fImethod_type\fP - one of the method type constants: LIBSSH2_METHOD_KEX,
  12. LIBSSH2_METHOD_HOSTKEY, LIBSSH2_METHOD_CRYPT_CS, LIBSSH2_METHOD_CRYPT_SC,
  13. LIBSSH2_METHOD_MAC_CS, LIBSSH2_METHOD_MAC_SC, LIBSSH2_METHOD_COMP_CS,
  14. LIBSSH2_METHOD_COMP_SC, LIBSSH2_METHOD_LANG_CS, LIBSSH2_METHOD_LANG_SC.
  15. Returns the actual method negotiated for a particular transport parameter.
  16. .SH RETURN VALUE
  17. Negotiated method or NULL if the session has not yet been started.
  18. .SH ERRORS
  19. \fILIBSSH2_ERROR_INVAL\fP - The requested method type was invalid.
  20. \fILIBSSH2_ERROR_METHOD_NONE\fP - no method has been set
  21. .SH SEE ALSO
  22. .BR libssh2_session_init_ex(3)