api-version.texi 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. @c -*-texinfo-*-
  2. @c This file is part of Guile-SSH Reference Manual.
  3. @c Copyright (C) 2014 Artyom V. Poptsov
  4. @c See the file guile-ssh.texi for copying conditions.
  5. @node Version
  6. @section Version
  7. @cindex versions
  8. The @code{(ssh version)} module provides functions that is used for
  9. getting information about current versions.
  10. @deffn {Scheme Procedure} get-libssh-version
  11. Get version of the libssh. Returns libssh version as a string in the
  12. follwing format:
  13. @example
  14. <version> ::= <major> "." <minor> "." <micro>
  15. @end example
  16. For example, @samp{0.5.2}.
  17. @end deffn
  18. @deffn {Scheme Procedure} %get-libssh-version
  19. Low-level procedure that returns a version string in libssh format,
  20. eg. "0.6.3/openssl/zlib".
  21. @end deffn
  22. @deffn {Scheme Procedure} get-crypto-library
  23. Get cryptographic library name with which libssh was compiled. Possible
  24. values are: @code{'openssl}, @code{'gnutls}.
  25. @end deffn
  26. @deffn {Scheme Procedure} zlib-support?
  27. Return @code{#t} if libssh was compiled wit zlib support, @code{#f} otherwise.
  28. @end deffn
  29. @deffn {Scheme Procedure} get-library-version
  30. Get version of the Guile-SSH.
  31. @end deffn
  32. @c Local Variables:
  33. @c TeX-master: "guile-ssh.texi"
  34. @c End: