1 /* 2 * Copyright (C) Internet Systems Consortium, Inc. ("ISC") 3 * 4 * This Source Code Form is subject to the terms of the Mozilla Public 5 * License, v. 2.0. If a copy of the MPL was not distributed with this 6 * file, you can obtain one at https://mozilla.org/MPL/2.0/. 7 * 8 * See the COPYRIGHT file distributed with this work for additional 9 * information regarding copyright ownership. 10 */ 11 12 #ifndef NS_TYPES_H 13 #define NS_TYPES_H 1 14 15 /*! \file */ 16 17 typedef struct ns_altsecret ns_altsecret_t; 18 typedef ISC_LIST(ns_altsecret_t) ns_altsecretlist_t; 19 typedef struct ns_client ns_client_t; 20 typedef struct ns_clientmgr ns_clientmgr_t; 21 typedef struct ns_plugin ns_plugin_t; 22 typedef ISC_LIST(ns_plugin_t) ns_plugins_t; 23 typedef struct ns_interface ns_interface_t; 24 typedef struct ns_interfacemgr ns_interfacemgr_t; 25 typedef struct ns_query ns_query_t; 26 typedef struct ns_server ns_server_t; 27 typedef struct ns_stats ns_stats_t; 28 typedef struct ns_hookasync ns_hookasync_t; 29 30 typedef enum { ns_cookiealg_aes, ns_cookiealg_siphash24 } ns_cookiealg_t; 31 32 #define NS_COOKIE_VERSION_1 1 33 34 #endif /* NS_TYPES_H */ 35