xref: /netbsd-src/external/mpl/bind/dist/lib/dns/rdata/generic/gpos_27.h (revision 9fd8799cb5ceb66c69f2eb1a6d26a1d587ba1f1e)
1 /*	$NetBSD: gpos_27.h,v 1.4 2020/05/24 19:46:24 christos Exp $	*/
2 
3 /*
4  * Copyright (C) Internet Systems Consortium, Inc. ("ISC")
5  *
6  * This Source Code Form is subject to the terms of the Mozilla Public
7  * License, v. 2.0. If a copy of the MPL was not distributed with this
8  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9  *
10  * See the COPYRIGHT file distributed with this work for additional
11  * information regarding copyright ownership.
12  */
13 
14 #ifndef GENERIC_GPOS_27_H
15 #define GENERIC_GPOS_27_H 1
16 
17 /*!
18  *  \brief per RFC1712 */
19 
20 typedef struct dns_rdata_gpos {
21 	dns_rdatacommon_t common;
22 	isc_mem_t *mctx;
23 	char *longitude;
24 	char *latitude;
25 	char *altitude;
26 	uint8_t long_len;
27 	uint8_t lat_len;
28 	uint8_t alt_len;
29 } dns_rdata_gpos_t;
30 
31 #endif /* GENERIC_GPOS_27_H */
32