1 /*
2  * Copyright (C) Internet Systems Consortium, Inc. ("ISC")
3  *
4  * SPDX-License-Identifier: MPL-2.0
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 https://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 NS_TYPES_H
15 #define NS_TYPES_H 1
16 
17 /*! \file */
18 
19 typedef struct ns_altsecret ns_altsecret_t;
20 typedef ISC_LIST(ns_altsecret_t) ns_altsecretlist_t;
21 typedef struct ns_client    ns_client_t;
22 typedef struct ns_clientmgr ns_clientmgr_t;
23 typedef struct ns_plugin    ns_plugin_t;
24 typedef ISC_LIST(ns_plugin_t) ns_plugins_t;
25 typedef struct ns_interface    ns_interface_t;
26 typedef struct ns_interfacemgr ns_interfacemgr_t;
27 typedef struct ns_query	       ns_query_t;
28 typedef struct ns_server       ns_server_t;
29 typedef struct ns_stats	       ns_stats_t;
30 
31 typedef enum { ns_cookiealg_aes, ns_cookiealg_siphash24 } ns_cookiealg_t;
32 
33 #define NS_COOKIE_VERSION_1 1
34 
35 #endif /* NS_TYPES_H */
36