strnames.h   [plain text]


/*	$NetBSD: strnames.h,v 1.4 2006/09/09 16:22:10 manu Exp $	*/

/* Id: strnames.h,v 1.7 2005/04/18 10:04:26 manubsd Exp */

/*
 * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
 * All rights reserved.
 * 
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions
 * are met:
 * 1. Redistributions of source code must retain the above copyright
 *    notice, this list of conditions and the following disclaimer.
 * 2. Redistributions in binary form must reproduce the above copyright
 *    notice, this list of conditions and the following disclaimer in the
 *    documentation and/or other materials provided with the distribution.
 * 3. Neither the name of the project nor the names of its contributors
 *    may be used to endorse or promote products derived from this software
 *    without specific prior written permission.
 * 
 * THIS SOFTWARE IS PROVIDED BY THE PROJECT AND CONTRIBUTORS ``AS IS'' AND
 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
 * ARE DISCLAIMED.  IN NO EVENT SHALL THE PROJECT OR CONTRIBUTORS BE LIABLE
 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 * SUCH DAMAGE.
 */

#ifndef _STRNAMES_H
#define _STRNAMES_H

extern char *num2str (int n);

extern char *s_isakmp_state (int, int, int);
extern char *s_isakmp_certtype (int);
extern char *s_isakmp_etype (int);
extern char *s_isakmp_notify_msg (int);
extern char *s_isakmp_nptype (int);
extern char *s_ipsecdoi_proto (int);
extern char *s_ipsecdoi_trns_isakmp (int);
extern char *s_ipsecdoi_trns_ah (int);
extern char *s_ipsecdoi_trns_esp (int);
extern char *s_ipsecdoi_trns_ipcomp (int);
extern char *s_ipsecdoi_trns (int, int);
extern char *s_ipsecdoi_attr (int);
extern char *s_ipsecdoi_ltype (int);
extern char *s_ipsecdoi_encmode (int);
extern char *s_ipsecdoi_auth (int);
extern char *s_ipsecdoi_attr_v (int, int);
extern char *s_ipsecdoi_ident (int);
extern char *s_oakley_attr (int);
extern char *s_attr_isakmp_enc (int);
extern char *s_attr_isakmp_hash (int);
extern char *s_oakley_attr_method (int);
extern char *s_attr_isakmp_desc (int);
extern char *s_attr_isakmp_group (int);
extern char *s_attr_isakmp_ltype (int);
extern char *s_oakley_attr_v (int, int);
extern char *s_ipsec_level (int);
extern char *s_algclass (int);
extern char *s_algtype (int, int);
extern char *s_pfkey_type (int);
extern char *s_pfkey_satype (int);
extern char *s_direction (int);
extern char *s_proto (int);
extern char *s_doi (int);
extern char *s_etype (int);
extern char *s_idtype (int);
extern char *s_switch (int);
#ifdef ENABLE_HYBRID
extern char *s_isakmp_cfg_type (int);
extern char *s_isakmp_cfg_ptype (int);
#endif

#endif /* _STRNAMES_H */