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


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

  25  * Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
  26  * Use is subject to license terms.
  27  */
  28 
  29 %#pragma ident  "%Z%%M% %I%     %E% SMI"


  30 
  31 #if RPC_HDR
  32 %#ifndef _DB_SCHEMA_H
  33 %#define _DB_SCHEMA_H
  34 
  35 #ifdef USINGC
  36 %#include "db_item_c.h"
  37 %#include "db_entry_c.h"
  38 #else
  39 %#include "db_item.h"
  40 %#include "db_entry.h"
  41 #endif /* USINGC */
  42 
  43 const DB_KEY_CASE = TA_CASE;
  44 
  45 #endif /* RPC_HDR */
  46 %
  47 %#include "nisdb_rw.h"
  48 %
  49 %/* Positional information of where field starts within record 




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