]>
Commit | Line | Data |
---|---|---|
997358a6 MW |
1 | Content-type: text/html |
2 | ||
3 | <HTML><HEAD><TITLE>Manpage of IPSEC_VERSION</TITLE> | |
4 | </HEAD><BODY> | |
5 | <H1>IPSEC_VERSION</H1> | |
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> | |
8 | ||
9 | ||
10 | <A NAME="lbAB"> </A> | |
11 | <H2>NAME</H2> | |
12 | ||
13 | ipsec ipsec_version_code - get IPsec version code | |
14 | <BR> | |
15 | ||
16 | ipsec ipsec_version_string - get full IPsec version string | |
17 | <BR> | |
18 | ||
19 | ipsec ipsec_copyright_notice - get IPsec copyright notice | |
20 | <A NAME="lbAC"> </A> | |
21 | <H2>SYNOPSIS</H2> | |
22 | ||
23 | <B>#include <<A HREF="file:/usr/include/freeswan.h">freeswan.h</A>></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"> </A> | |
37 | <H2>DESCRIPTION</H2> | |
38 | ||
39 | These functions provide information on version numbering and copyright | |
40 | of the Linux FreeS/WAN IPsec implementation. | |
41 | <P> | |
42 | ||
43 | <I>Ipsec_version_code</I> | |
44 | ||
45 | returns a pointer to a string constant | |
46 | containing the current IPsec version code, | |
47 | such as ``1.92'' or ``snap2001Nov19b''. | |
48 | <P> | |
49 | ||
50 | <I>Ipsec_version_string</I> | |
51 | ||
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''. | |
55 | <P> | |
56 | ||
57 | <I>Ipsec_copyright_notice</I> | |
58 | ||
59 | returns a pointer to a vector of pointers, | |
60 | terminated by a | |
61 | <B>NULL</B>, | |
62 | ||
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> | |
70 | <H2>SEE ALSO</H2> | |
71 | ||
72 | <A HREF="ipsec.8.html">ipsec</A>(8) | |
73 | <A NAME="lbAF"> </A> | |
74 | <H2>HISTORY</H2> | |
75 | ||
76 | Written for the FreeS/WAN project by Henry Spencer. | |
77 | <P> | |
78 | ||
79 | <HR> | |
80 | <A NAME="index"> </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> | |
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:18 GMT, November 11, 2003 | |
93 | </BODY> | |
94 | </HTML> |