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.
 
 
 
 

22 lines
799 B

  1. .TH libssh2_session_banner_get 3 "9 Sep 2011" "libssh2 1.4.0" "libssh2 manual"
  2. .SH NAME
  3. libssh2_session_banner_get - get the remote banner
  4. .SH SYNOPSIS
  5. #include <libssh2.h>
  6. const char *libssh2_session_banner_get(oLIBSSH2_SESSION *session);
  7. .SH DESCRIPTION
  8. Once the session has been setup and \fIlibssh2_session_handshake(3)\fP has
  9. completed successfully, this function can be used to get the server id from
  10. the banner each server presents.
  11. .SH RETURN VALUE
  12. A pointer to a string or NULL if something failed. The data pointed to will be
  13. allocated and associated to the session handle and will be freed by libssh2
  14. when \fIlibssh2_session_free(3)\fP is used.
  15. .SH AVAILABILITY
  16. Added in 1.4.0
  17. .SH SEE ALSO
  18. .BR libssh2_session_banner_set(3),
  19. .BR libssh2_session_handshake(3),
  20. .BR libssh2_session_free(3)