File: api-version.texi

package info (click to toggle)
guile-ssh 0.18.0-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,996 kB
  • sloc: ansic: 4,821; lisp: 4,171; makefile: 310; sh: 259
file content (50 lines) | stat: -rw-r--r-- 1,334 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
@c -*-texinfo-*-
@c This file is part of Guile-SSH Reference Manual.
@c Copyright (C) 2014-2022 Artyom V. Poptsov
@c See the file guile-ssh.texi for copying conditions.

@node Version
@section Version

@cindex versions

The @code{(ssh version)} module provides functions that is used for
getting information about current versions.

@deffn {Scheme Procedure} get-libssh-version
Get version of the libssh.  Returns libssh version as a string in the
follwing format:

@example
<version> ::= <major> "." <minor> "." <micro>
@end example

For example, @samp{0.5.2}.
@end deffn

@deffn {Scheme Procedure} %get-libssh-version
Low-level procedure that returns a version string in libssh format,
eg. "0.6.3/openssl/zlib".
@end deffn

@deffn {Scheme Procedure} get-crypto-library
Get cryptographic library name with which libssh was compiled.  Possible
values are: @code{'openssl}, @code{'gnutls}.
@end deffn

@deffn {Scheme Procedure} zlib-support?
Return @code{#t} if libssh was compiled wit zlib support, @code{#f} otherwise.
@end deffn

@deffn {Scheme Procedure} dsa-support?
Return @code{#t} if Guile-SSH was compiled with DSA public key algorithm
support, @code{#f} otherwise.
@end deffn

@deffn {Scheme Procedure} get-library-version
Get version of the Guile-SSH.
@end deffn

@c Local Variables:
@c TeX-master: "guile-ssh.texi"
@c End: