1 /*
2  * Copyright (C) 2014-2016 Free Software Foundation
3  * Copyright (C) 2014-2016 Red Hat, Inc.
4  *
5  * This file is part of GnuTLS.
6  *
7  * The GnuTLS is free software; you can redistribute it and/or
8  * modify it under the terms of the GNU Lesser General Public License
9  * as published by the Free Software Foundation; either version 2.1 of
10  * the License, or (at your option) any later version.
11  *
12  * This library is distributed in the hope that it will be useful, but
13  * WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
15  * Lesser General Public License for more details.
16  *
17  * You should have received a copy of the GNU Lesser General Public License
18  * along with this program.  If not, see <https://www.gnu.org/licenses/>
19  *
20  */
21 
22 #ifndef GNUTLS_LIB_X509_X509_EXT_INT_H
23 #define GNUTLS_LIB_X509_X509_EXT_INT_H
24 
25 #include "gnutls_int.h"
26 struct name_st {
27 	unsigned int type;
28 	gnutls_datum_t san;
29 	gnutls_datum_t othername_oid;
30 };
31 
32 int _gnutls_alt_name_process(gnutls_datum_t *out, unsigned type, const gnutls_datum_t *san, unsigned raw);
33 
34 #endif /* GNUTLS_LIB_X509_X509_EXT_INT_H */
35