/*
 * nasd_rpcgen_dceidl.idl
 *
 * Imported into DCE .idl files generated by nasd_rpcgen
 */
/*
 * Copyright (c) of Carnegie Mellon University, 1999.
 *
 * Permission to reproduce, use, and prepare derivative works of
 * this software for internal use is granted provided the copyright
 * and "No Warranty" statements are included with all reproductions
 * and derivative works. This software may also be redistributed
 * without charge provided that the copyright and "No Warranty"
 * statements are included in all redistributions.
 *
 * NO WARRANTY. THIS SOFTWARE IS FURNISHED ON AN "AS IS" BASIS.
 * CARNEGIE MELLON UNIVERSITY MAKES NO WARRANTIES OF ANY KIND, EITHER
 * EXPRESSED OR IMPLIED AS TO THE MATTER INCLUDING, BUT NOT LIMITED
 * TO: WARRANTY OF FITNESS FOR PURPOSE OR MERCHANTABILITY, EXCLUSIVITY
 * OF RESULTS OR RESULTS OBTAINED FROM USE OF THIS SOFTWARE. CARNEGIE
 * MELLON UNIVERSITY DOES NOT MAKE ANY WARRANTY OF ANY KIND WITH RESPECT
 * TO FREEDOM FROM PATENT, TRADEMARK, OR COPYRIGHT INFRINGEMENT.
 */


interface nasd_rpcg_dceidl
{

typedef byte nasd_dceidl_int64_otw_t[8];

typedef [transmit_as(nasd_dceidl_int64_otw_t)] hyper nasd_dceidl_int64;
typedef [transmit_as(nasd_dceidl_int64_otw_t)] unsigned hyper nasd_dceidl_uint64;
/* DCE in the kernel can't do hyper (64 bit long) at all (causes an exception), 
   so we can't use "hyper"s directly because the kernel will crash.
   Update: Thanks to Marc we have an alternative solution using transmit_as().
   XXX and XXX and XXX still XXXX, mind you, but at least this works for us. */

typedef char nasd_dceidl_int8;
typedef unsigned char nasd_dceidl_uint8;

typedef short nasd_dceidl_int16;
typedef unsigned short nasd_dceidl_uint16;

typedef long nasd_dceidl_int32; /* IDL doesn't allow "int" at all (it convert long to int) */
typedef unsigned long nasd_dceidl_uint32;

}

/* Local Variables:  */
/* indent-tabs-mode: nil */
/* tab-width: 2 */
/* End: */
