Home | History | Annotate | Line # | Download | only in named
      1 /*	$NetBSD: types.h,v 1.7 2025/01/26 16:24:34 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 #include <dns/types.h>
     21 
     22 typedef struct named_cache named_cache_t;
     23 typedef ISC_LIST(named_cache_t) named_cachelist_t;
     24 typedef struct named_server   named_server_t;
     25 typedef struct named_xmld     named_xmld_t;
     26 typedef struct named_xmldmgr  named_xmldmgr_t;
     27 typedef struct named_controls named_controls_t;
     28 typedef struct named_dispatch named_dispatch_t;
     29 typedef ISC_LIST(named_dispatch_t) named_dispatchlist_t;
     30 typedef struct named_statschannel named_statschannel_t;
     31 typedef ISC_LIST(named_statschannel_t) named_statschannellist_t;
     32 
     33 /*%
     34  * Used for server->reload_status as printed by `rndc status`
     35  */
     36 typedef enum {
     37 	NAMED_RELOAD_DONE,
     38 	NAMED_RELOAD_IN_PROGRESS,
     39 	NAMED_RELOAD_FAILED,
     40 } named_reload_t;
     41