]> git.ipfire.org Git - people/ms/strongswan.git/blame - doc/manpage.d/ipsec_version_string.3.html
(no commit message)
[people/ms/strongswan.git] / doc / manpage.d / ipsec_version_string.3.html
CommitLineData
997358a6
MW
1Content-type: text/html
2
3<HTML><HEAD><TITLE>Manpage of IPSEC_VERSION</TITLE>
4</HEAD><BODY>
5<H1>IPSEC_VERSION</H1>
6Section: C Library Functions (3)<BR>Updated: 21 Nov 2001<BR><A HREF="#index">Index</A>
7<A HREF="http://localhost/cgi-bin/man/man2html">Return to Main Contents</A><HR>
8
9
10<A NAME="lbAB">&nbsp;</A>
11<H2>NAME</H2>
12
13ipsec ipsec_version_code - get IPsec version code
14<BR>
15
16ipsec ipsec_version_string - get full IPsec version string
17<BR>
18
19ipsec ipsec_copyright_notice - get IPsec copyright notice
20<A NAME="lbAC">&nbsp;</A>
21<H2>SYNOPSIS</H2>
22
23<B>#include &lt;<A HREF="file:/usr/include/freeswan.h">freeswan.h</A>&gt;</B>
24
25<P>
26<B>const char *ipsec_version_code(void);</B>
27
28<BR>
29
30<B>const char *ipsec_version_string(void);</B>
31
32<BR>
33
34<B>const char **ipsec_copyright_notice(void);</B>
35
36<A NAME="lbAD">&nbsp;</A>
37<H2>DESCRIPTION</H2>
38
39These functions provide information on version numbering and copyright
40of the Linux FreeS/WAN IPsec implementation.
41<P>
42
43<I>Ipsec_version_code</I>
44
45returns a pointer to a string constant
46containing the current IPsec version code,
47such as ``1.92'' or ``snap2001Nov19b''.
48<P>
49
50<I>Ipsec_version_string</I>
51
52returns a pointer to a string constant giving a full version identification,
53consisting of the version code preceded by a prefix identifying the software,
54e.g. ``Linux FreeS/WAN 1.92''.
55<P>
56
57<I>Ipsec_copyright_notice</I>
58
59returns a pointer to a vector of pointers,
60terminated by a
61<B>NULL</B>,
62
63which is the text of a suitable copyright notice.
64Each pointer points to a string constant (possibly empty) which is one line
65of the somewhat-verbose copyright notice.
66The strings are NUL-terminated and do not contain a newline;
67supplying suitable line termination for the output device is
68the caller's responsibility.
69<A NAME="lbAE">&nbsp;</A>
70<H2>SEE ALSO</H2>
71
72<A HREF="ipsec.8.html">ipsec</A>(8)
73<A NAME="lbAF">&nbsp;</A>
74<H2>HISTORY</H2>
75
76Written for the FreeS/WAN project by Henry Spencer.
77<P>
78
79<HR>
80<A NAME="index">&nbsp;</A><H2>Index</H2>
81<DL>
82<DT><A HREF="#lbAB">NAME</A><DD>
83<DT><A HREF="#lbAC">SYNOPSIS</A><DD>
84<DT><A HREF="#lbAD">DESCRIPTION</A><DD>
85<DT><A HREF="#lbAE">SEE ALSO</A><DD>
86<DT><A HREF="#lbAF">HISTORY</A><DD>
87</DL>
88<HR>
89This document was created by
90<A HREF="http://localhost/cgi-bin/man/man2html">man2html</A>,
91using the manual pages.<BR>
92Time: 21:40:18 GMT, November 11, 2003
93</BODY>
94</HTML>