Manpage of IPSEC_VERSION

Content-type: text/html

# IPSEC_VERSION

Section: C Library Functions (3)
Updated: 21 Nov 2001
Index Return to Main Contents

## NAME

ipsec ipsec_version_code - get IPsec version code
ipsec ipsec_version_string - get full IPsec version string
ipsec ipsec_copyright_notice - get IPsec copyright notice

## SYNOPSIS

#include <freeswan.h>

const char *ipsec_version_code(void);
const char *ipsec_version_string(void);
const char **ipsec_copyright_notice(void);

## DESCRIPTION

These functions provide information on version numbering and copyright of the Linux FreeS/WAN IPsec implementation.

Ipsec_version_code returns a pointer to a string constant containing the current IPsec version code, such as ``1.92'' or ``snap2001Nov19b''.

Ipsec_version_string 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. ``Linux FreeS/WAN 1.92''.

Ipsec_copyright_notice returns a pointer to a vector of pointers, terminated by a NULL, which is the text of a suitable copyright notice. Each pointer points to a string constant (possibly empty) which is one line of the somewhat-verbose copyright notice. The strings are NUL-terminated and do not contain a newline; supplying suitable line termination for the output device is the caller's responsibility.

## SEE ALSO

ipsec(8)

## HISTORY

Written for the FreeS/WAN project by Henry Spencer.

## Index

NAME
SYNOPSIS
DESCRIPTION
SEE ALSO
HISTORY

This document was created by man2html, using the manual pages.
Time: 21:02:54 GMT, June 26, 2002