Deleted Added
full compact
ipsec_strerror.h (62583) ipsec_strerror.h (78064)
1/* $FreeBSD: head/lib/libipsec/ipsec_strerror.h 62583 2000-07-04 16:22:05Z itojun $ */
2/* $KAME: ipsec_strerror.h,v 1.7 2000/05/07 05:25:03 itojun Exp $ */
1/* $FreeBSD: head/lib/libipsec/ipsec_strerror.h 78064 2001-06-11 12:39:29Z ume $ */
2/* $KAME: ipsec_strerror.h,v 1.8 2000/07/30 00:45:12 itojun Exp $ */
3
4/*
5 * Copyright (C) 1995, 1996, 1997, 1998, and 1999 WIDE Project.
6 * All rights reserved.
7 *
8 * Redistribution and use in source and binary forms, with or without
9 * modification, are permitted provided that the following conditions
10 * are met:

--- 15 unchanged lines hidden (view full) ---

26 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30 * SUCH DAMAGE.
31 */
32
33extern int __ipsec_errcode;
3
4/*
5 * Copyright (C) 1995, 1996, 1997, 1998, and 1999 WIDE Project.
6 * All rights reserved.
7 *
8 * Redistribution and use in source and binary forms, with or without
9 * modification, are permitted provided that the following conditions
10 * are met:

--- 15 unchanged lines hidden (view full) ---

26 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30 * SUCH DAMAGE.
31 */
32
33extern int __ipsec_errcode;
34extern void __ipsec_set_strerror __P((char *));
34extern void __ipsec_set_strerror __P((const char *));
35
36#define EIPSEC_NO_ERROR 0 /*success*/
37#define EIPSEC_NOT_SUPPORTED 1 /*not supported*/
38#define EIPSEC_INVAL_ARGUMENT 2 /*invalid argument*/
39#define EIPSEC_INVAL_SADBMSG 3 /*invalid sadb message*/
40#define EIPSEC_INVAL_VERSION 4 /*invalid version*/
41#define EIPSEC_INVAL_POLICY 5 /*invalid security policy*/
42#define EIPSEC_INVAL_ADDRESS 6 /*invalid address specification*/

--- 21 unchanged lines hidden ---
35
36#define EIPSEC_NO_ERROR 0 /*success*/
37#define EIPSEC_NOT_SUPPORTED 1 /*not supported*/
38#define EIPSEC_INVAL_ARGUMENT 2 /*invalid argument*/
39#define EIPSEC_INVAL_SADBMSG 3 /*invalid sadb message*/
40#define EIPSEC_INVAL_VERSION 4 /*invalid version*/
41#define EIPSEC_INVAL_POLICY 5 /*invalid security policy*/
42#define EIPSEC_INVAL_ADDRESS 6 /*invalid address specification*/

--- 21 unchanged lines hidden ---