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