1
Content-type: text/html
3
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
4
<HTML><HEAD><TITLE>Man page of IPSEC_VERSION</TITLE>
7
Section: C Library Functions (3)<BR>Updated: 21 Nov 2001<BR><A HREF="#index">Index</A>
8
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
11
<A NAME="lbAB"> </A>
14
ipsec ipsec_version_code - get IPsec version code
17
ipsec ipsec_version_string - get full IPsec version string
20
ipsec ipsec_copyright_notice - get IPsec copyright notice
21
<A NAME="lbAC"> </A>
24
<B>#include <<A HREF="file:///usr/include/freeswan.h">freeswan.h</A>></B>
27
<B>const char *ipsec_version_code(void);</B>
31
<B>const char *ipsec_version_string(void);</B>
35
<B>const char **ipsec_copyright_notice(void);</B>
37
<A NAME="lbAD"> </A>
40
These functions provide information on version numbering and copyright
41
of the Linux FreeS/WAN IPsec implementation.
44
<I>Ipsec_version_code</I>
46
returns a pointer to a string constant
47
containing the current IPsec version code,
48
such as ``1.92'' or ``snap2001Nov19b''.
51
<I>Ipsec_version_string</I>
53
returns a pointer to a string constant giving a full version identification,
54
consisting of the version code preceded by a prefix identifying the software,
55
e.g. ``Linux FreeS/WAN 1.92''.
58
<I>Ipsec_copyright_notice</I>
60
returns a pointer to a vector of pointers,
64
which is the text of a suitable copyright notice.
65
Each pointer points to a string constant (possibly empty) which is one line
66
of the somewhat-verbose copyright notice.
67
The strings are NUL-terminated and do not contain a newline;
68
supplying suitable line termination for the output device is
69
the caller's responsibility.
70
<A NAME="lbAE"> </A>
73
<A HREF="/cgi-bin/man/man2html?8+ipsec">ipsec</A>(8)
74
<A NAME="lbAF"> </A>
77
Written for the FreeS/WAN project by Henry Spencer.
81
<A NAME="index"> </A><H2>Index</H2>
83
<DT><A HREF="#lbAB">NAME</A><DD>
84
<DT><A HREF="#lbAC">SYNOPSIS</A><DD>
85
<DT><A HREF="#lbAD">DESCRIPTION</A><DD>
86
<DT><A HREF="#lbAE">SEE ALSO</A><DD>
87
<DT><A HREF="#lbAF">HISTORY</A><DD>
90
This document was created by
91
<A HREF="/cgi-bin/man/man2html">man2html</A>,
92
using the manual pages.<BR>
93
Time: 10:29:43 GMT, June 17, 2004