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.
 
 
 
 

33 lines
1.1 KiB

  1. .TH libssh2_banner_set 3 "1 Jun 2007" "libssh2 0.15" "libssh2 manual"
  2. .SH NAME
  3. libssh2_banner_set - set the SSH protocol banner for the local client
  4. .SH SYNOPSIS
  5. #include <libssh2.h>
  6. int
  7. libssh2_banner_set(LIBSSH2_SESSION *session, const char *banner);
  8. .SH DESCRIPTION
  9. This function is \fBDEPRECATED\fP. Use \fIlibssh2_session_banner_set(3)\fP
  10. instead!
  11. \fIsession\fP - Session instance as returned by
  12. .BR libssh2_session_init_ex(3)
  13. \fIbanner\fP - A pointer to a user defined banner
  14. Set the banner that will be sent to the remote host when the SSH session is
  15. started with
  16. .BR libssh2_session_handshake(3)
  17. This is optional; a banner corresponding to the protocol and libssh2 version will be sent by default.
  18. .SH RETURN VALUE
  19. Return 0 on success or negative on failure. It returns
  20. LIBSSH2_ERROR_EAGAIN when it would otherwise block. While
  21. LIBSSH2_ERROR_EAGAIN is a negative number, it isn't really a failure per se.
  22. .SH AVAILABILITY
  23. Marked as deprecated since 1.4.0
  24. .SH ERRORS
  25. \fILIBSSH2_ERROR_ALLOC\fP - An internal memory allocation call failed.
  26. .SH SEE ALSO
  27. .BR libssh2_session_handshake(3)