]> git.ipfire.org Git - people/ms/strongswan.git/blob - lib/libipsecpolicy/version.in.c
- import of strongswan-2.7.0
[people/ms/strongswan.git] / lib / libipsecpolicy / version.in.c
1 /*
2 * libipsecpolicy version information
3 * Copyright (C) 2003 Michael Richardson <mcr@freeswan.org>
4 *
5 * This library is free software; you can redistribute it and/or modify it
6 * under the terms of the GNU Library General Public License as published by
7 * the Free Software Foundation; either version 2 of the License, or (at your
8 * option) any later version. See <http://www.fsf.org/copyleft/lgpl.txt>.
9 *
10 * This library is distributed in the hope that it will be useful, but
11 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
12 * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public
13 * License for more details.
14 *
15 * RCSID $Id: version.in.c,v 1.1 2004/03/15 20:35:25 as Exp $
16 */
17
18 #define V "xxx" /* substituted in by Makefile */
19 static const char ipsecpolicy_number[] = V;
20 static const char ipsecpolicy_string[] = "Linux FreeS/WAN policylib " V;
21
22 /*
23 - ipsec_version_code - return IPsec version number/code, as string
24 */
25 const char *
26 ipsec_version_code(void)
27 {
28 return ipsecpolicy_number;
29 }
30
31 /*
32 - ipsec_version_string - return full version string
33 */
34 const char *
35 ipsec_version_string(void)
36 {
37 return ipsecpolicy_string;
38 }