1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64
|
'\" t
.\" Title: IPSEC_VERSION_CODE
.\" Author: Paul Wouters
.\" Generator: DocBook XSL Stylesheets v1.77.1 <http://docbook.sf.net/>
.\" Date: 12/16/2012
.\" Manual: Library functions
.\" Source: libreswan
.\" Language: English
.\"
.TH "IPSEC_VERSION_CODE" "3" "12/16/2012" "libreswan" "Library functions"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.\" https://bugs.debian.org/507673
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.ie \n(.g .ds Aq \(aq
.el .ds Aq '
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
.ad l
.\" -----------------------------------------------------------------
.\" * MAIN CONTENT STARTS HERE *
.\" -----------------------------------------------------------------
.SH "NAME"
ipsec_version_code, ipsec_version_string \- get IPsec version code, full version string, copyright notice
.SH "SYNOPSIS"
.sp
.ft B
.nf
#include <libreswan\&.h>
.fi
.ft
.HP \w'const\ char\ *ipsec_version_code('u
.BI "const char *ipsec_version_code(" "void" ");"
.HP \w'const\ char\ *ipsec_version_string('u
.BI "const char *ipsec_version_string(" "void" ");"
.SH "DESCRIPTION"
.PP
These functions provide information on version numbering and copyright of the Linux FreeS/WAN IPsec implementation\&.
.PP
\fIIpsec_version_code\fR
returns a pointer to a string constant containing the current IPsec version code, such as \(lq1\&.92\(rq or \(lqsnap2001Nov19b\(rq\&.
.PP
\fIIpsec_version_string\fR
returns a pointer to a string constant giving a full version identification, consisting of the version code preceded by a prefix identifying the software, e\&.g\&. \(lqLinux FreeS/WAN 1\&.92\(rq\&.
.SH "SEE ALSO"
.PP
\fBipsec\fR(8)
.SH "HISTORY"
.PP
Written for the FreeS/WAN project by Henry Spencer\&.
.SH "AUTHOR"
.PP
\fBPaul Wouters\fR
.RS 4
placeholder to suppress warning
.RE
|