1IPSEC_VERSION(3) Library Functions Manual IPSEC_VERSION(3)
2
3
4
6 ipsec ipsec_version_code - get IPsec version code
7 ipsec ipsec_version_string - get full IPsec version string
8 ipsec ipsec_copyright_notice - get IPsec copyright notice
9
11 #include <freeswan.h>
12
13 const char *ipsec_version_code(void);
14 const char *ipsec_version_string(void);
15 const char **ipsec_copyright_notice(void);
16
18 These functions provide information on version numbering and copyright
19 of the Linux FreeS/WAN IPsec implementation.
20
21 Ipsec_version_code returns a pointer to a string constant containing
22 the current IPsec version code, such as ``1.92'' or ``snap2001Nov19b''.
23
24 Ipsec_version_string returns a pointer to a string constant giving a
25 full version identification, consisting of the version code preceded by
26 a prefix identifying the software, e.g. ``Linux FreeS/WAN 1.92''.
27
28 Ipsec_copyright_notice returns a pointer to a vector of pointers, ter‐
29 minated by a NULL, which is the text of a suitable copyright notice.
30 Each pointer points to a string constant (possibly empty) which is one
31 line of the somewhat-verbose copyright notice. The strings are NUL-
32 terminated and do not contain a newline; supplying suitable line termi‐
33 nation for the output device is the caller's responsibility.
34
36 ipsec(8)
37
39 Written for the FreeS/WAN project by Henry Spencer.
40
41
42
43 21 Nov 2001 IPSEC_VERSION(3)