diff options
Diffstat (limited to 'src/gns/nss/nss_gns_query.h')
-rw-r--r-- | src/gns/nss/nss_gns_query.h | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/src/gns/nss/nss_gns_query.h b/src/gns/nss/nss_gns_query.h index 30ba76fd9..1901dd6c4 100644 --- a/src/gns/nss/nss_gns_query.h +++ b/src/gns/nss/nss_gns_query.h | |||
@@ -16,7 +16,7 @@ | |||
16 | along with this program. If not, see <http://www.gnu.org/licenses/>. | 16 | along with this program. If not, see <http://www.gnu.org/licenses/>. |
17 | 17 | ||
18 | SPDX-License-Identifier: AGPL3.0-or-later | 18 | SPDX-License-Identifier: AGPL3.0-or-later |
19 | */ | 19 | */ |
20 | #ifndef NSS_GNS_QUERY_H | 20 | #ifndef NSS_GNS_QUERY_H |
21 | #define NSS_GNS_QUERY_H | 21 | #define NSS_GNS_QUERY_H |
22 | 22 | ||
@@ -28,20 +28,17 @@ | |||
28 | /* Maximum number of entries to return */ | 28 | /* Maximum number of entries to return */ |
29 | #define MAX_ENTRIES 16 | 29 | #define MAX_ENTRIES 16 |
30 | 30 | ||
31 | typedef struct | 31 | typedef struct { |
32 | { | ||
33 | uint32_t address; | 32 | uint32_t address; |
34 | } ipv4_address_t; | 33 | } ipv4_address_t; |
35 | 34 | ||
36 | 35 | ||
37 | typedef struct | 36 | typedef struct { |
38 | { | ||
39 | uint8_t address[16]; | 37 | uint8_t address[16]; |
40 | } ipv6_address_t; | 38 | } ipv6_address_t; |
41 | 39 | ||
42 | 40 | ||
43 | struct userdata | 41 | struct userdata { |
44 | { | ||
45 | int count; | 42 | int count; |
46 | int data_len; /* only valid when doing reverse lookup */ | 43 | int data_len; /* only valid when doing reverse lookup */ |
47 | union { | 44 | union { |