(root)/
glibc-2.38/
hesiod/
hesiod_p.h
       1  /* Copyright (C) 1997-2023 Free Software Foundation, Inc.
       2     This file is part of the GNU C Library.
       3  
       4     The GNU C Library is free software; you can redistribute it and/or
       5     modify it under the terms of the GNU Lesser General Public
       6     License as published by the Free Software Foundation; either
       7     version 2.1 of the License, or (at your option) any later version.
       8  
       9     The GNU C Library is distributed in the hope that it will be useful,
      10     but WITHOUT ANY WARRANTY; without even the implied warranty of
      11     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
      12     Lesser General Public License for more details.
      13  
      14     You should have received a copy of the GNU Lesser General Public
      15     License along with the GNU C Library; if not, see
      16     <https://www.gnu.org/licenses/>.  */
      17  
      18  /*
      19   * Copyright (c) 1996,1999 by Internet Software Consortium.
      20   *
      21   * Permission to use, copy, modify, and distribute this software for any
      22   * purpose with or without fee is hereby granted, provided that the above
      23   * copyright notice and this permission notice appear in all copies.
      24   *
      25   * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM DISCLAIMS
      26   * ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES
      27   * OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL INTERNET SOFTWARE
      28   * CONSORTIUM BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL
      29   * DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
      30   * PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS
      31   * ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
      32   * SOFTWARE.
      33   */
      34  
      35  /*
      36   * This file is primarily maintained by <tytso@mit.edu> and <ghudson@mit.edu>.
      37   */
      38  
      39  /*
      40   * hesiod_p.h -- private definitions for the hesiod library
      41   */
      42  
      43  #ifndef _HESIOD_P_H_INCLUDED
      44  #define _HESIOD_P_H_INCLUDED
      45  
      46  #define DEF_LHS		".ns"			/*    file is not */
      47  						/*    present. */
      48  struct hesiod_p {
      49  	char *		LHS;		/* normally ".ns" */
      50  	char *		RHS;		/* AKA the default hesiod domain */
      51  	int		classes[2];	/* The class search order. */
      52  };
      53  
      54  #define MAX_HESRESP	1024
      55  
      56  #endif /*_HESIOD_P_H_INCLUDED*/