1 /*
2 * This file and its contents are supplied under the terms of the
3 * Common Development and Distribution License ("CDDL"), version 1.0.
4 * You may only use this file in accordance with the terms of version
5 * 1.0 of the CDDL.
6 *
7 * A full copy of the text of the CDDL should have accompanied this
8 * source. A copy of the CDDL is also available via the Internet at
9 * http://www.illumos.org/license/CDDL.
10 */
11
12 /*
13 * Copyright 2017 Joyent, Inc.
14 */
15
16 #ifndef _IKEV2_ENUM_H
17 #define _IKEV2_ENUM_H
18
19 #include "ikev2.h"
20
21 #ifdef __cplusplus
22 extern "C" {
23 #endif
24
25 const char *ikev2_exch_str(ikev2_exch_t);
26 const char *ikev2_pay_str(ikev2_pay_type_t);
27 const char *ikev2_pay_short_str(ikev2_pay_type_t);
28 const char *ikev2_spi_str(ikev2_spi_proto_t);
29 const char *ikev2_xf_type_str(ikev2_xf_type_t);
30 const char *ikev2_xf_encr_str(ikev2_xf_encr_t);
31 const char *ikev2_xf_auth_str(ikev2_xf_auth_t);
32 const char *ikev2_auth_type_str(ikev2_auth_type_t);
33 const char *ikev2_dh_str(ikev2_dh_t);
34 const char *ikev2_notify_str(ikev2_notify_type_t);
35
36 #ifdef __cplusplus
37 }
38 #endif
39
40 #endif /* _IKEV2_ENUM_H */