Print this page
5910 libnisdb won't build with modern GCC


   4  * The contents of this file are subject to the terms of the
   5  * Common Development and Distribution License (the "License").
   6  * You may not use this file except in compliance with the License.
   7  *
   8  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
   9  * or http://www.opensolaris.org/os/licensing.
  10  * See the License for the specific language governing permissions
  11  * and limitations under the License.
  12  *
  13  * When distributing Covered Code, include this CDDL HEADER in each
  14  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  15  * If applicable, add the following below this CDDL HEADER, with the
  16  * fields enclosed by brackets "[]" replaced with your own identifying
  17  * information: Portions Copyright [yyyy] [name of copyright owner]
  18  *
  19  * CDDL HEADER END
  20  */
  21 /*
  22  *      db_index_c.x
  23  *

  24  *  Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
  25  *  Use is subject to license terms.
  26  */
  27 




  28 #if RPC_HDR
  29 %#ifndef _DB_INDEX_H
  30 %#define _DB_INDEX_H
  31 
  32 %
  33 %/* db_index is a hash table with separate overflow buckets. */
  34 %
  35 
  36 
  37 #ifdef USINGC
  38 %#include "db_item_c.h"
  39 %#include "db_index_entry_c.h"
  40 %#include "db_table_c.h"
  41 %#include "db_scheme_c.h"
  42 #else
  43 %#include "db_item.h"
  44 %#include "db_index_entry.h"
  45 %#include "db_table.h"
  46 %#include "db_scheme.h"
  47 #endif /* USINGC */




   4  * The contents of this file are subject to the terms of the
   5  * Common Development and Distribution License (the "License").
   6  * You may not use this file except in compliance with the License.
   7  *
   8  * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
   9  * or http://www.opensolaris.org/os/licensing.
  10  * See the License for the specific language governing permissions
  11  * and limitations under the License.
  12  *
  13  * When distributing Covered Code, include this CDDL HEADER in each
  14  * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  15  * If applicable, add the following below this CDDL HEADER, with the
  16  * fields enclosed by brackets "[]" replaced with your own identifying
  17  * information: Portions Copyright [yyyy] [name of copyright owner]
  18  *
  19  * CDDL HEADER END
  20  */
  21 /*
  22  *      db_index_c.x
  23  *
  24  *  Copyright 2015 Gary Mills
  25  *  Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
  26  *  Use is subject to license terms.
  27  */
  28 
  29 #if RPC_XDR
  30 %#include "ldap_xdr.h"
  31 #endif /* RPC_XDR */
  32 
  33 #if RPC_HDR
  34 %#ifndef _DB_INDEX_H
  35 %#define _DB_INDEX_H
  36 
  37 %
  38 %/* db_index is a hash table with separate overflow buckets. */
  39 %
  40 
  41 
  42 #ifdef USINGC
  43 %#include "db_item_c.h"
  44 %#include "db_index_entry_c.h"
  45 %#include "db_table_c.h"
  46 %#include "db_scheme_c.h"
  47 #else
  48 %#include "db_item.h"
  49 %#include "db_index_entry.h"
  50 %#include "db_table.h"
  51 %#include "db_scheme.h"
  52 #endif /* USINGC */