1 Content-type: text/html
3 <HTML><HEAD><TITLE>Manpage of IPSEC_VERSION
</TITLE>
6 Section: 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>
10 <A NAME=
"lbAB"> </A>
13 ipsec ipsec_version_code - get IPsec version code
16 ipsec ipsec_version_string - get full IPsec version string
19 ipsec ipsec_copyright_notice - get IPsec copyright notice
20 <A NAME=
"lbAC"> </A>
23 <B>#include
<<A HREF=
"file:/usr/include/freeswan.h">freeswan.h
</A>></B>
26 <B>const char *ipsec_version_code(void);
</B>
30 <B>const char *ipsec_version_string(void);
</B>
34 <B>const char **ipsec_copyright_notice(void);
</B>
36 <A NAME=
"lbAD"> </A>
39 These functions provide information on version numbering and copyright
40 of the Linux FreeS/WAN IPsec implementation.
43 <I>Ipsec_version_code
</I>
45 returns a pointer to a string constant
46 containing the current IPsec version code,
47 such as ``
1.92'' or ``snap2001Nov19b''.
50 <I>Ipsec_version_string
</I>
52 returns a pointer to a string constant giving a full version identification,
53 consisting of the version code preceded by a prefix identifying the software,
54 e.g. ``Linux FreeS/WAN
1.92''.
57 <I>Ipsec_copyright_notice
</I>
59 returns a pointer to a vector of pointers,
63 which is the text of a suitable copyright notice.
64 Each pointer points to a string constant (possibly empty) which is one line
65 of the somewhat-verbose copyright notice.
66 The strings are NUL-terminated and do not contain a newline;
67 supplying suitable line termination for the output device is
68 the caller's responsibility.
69 <A NAME=
"lbAE"> </A>
72 <A HREF=
"ipsec.8.html">ipsec
</A>(
8)
73 <A NAME=
"lbAF"> </A>
76 Written for the FreeS/WAN project by Henry Spencer.
80 <A NAME=
"index"> </A><H2>Index
</H2>
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>
89 This document was created by
90 <A HREF=
"http://localhost/cgi-bin/man/man2html">man2html
</A>,
91 using the manual pages.
<BR>
92 Time:
21:
40:
17 GMT, November
11,
2003