//
// Copyright (c) 1997 X/Open Company Ltd., A member of The Open Group.
//
// All rights reserved. No part of this source code may be reproduced,
// stored in a retrieval system, or transmitted, in any form or by any
// means, electronic, mechanical, photocopying, recording or otherwise,
// except as stated in the end-user licence agreement, without the prior
// permission of the copyright owners.
//
// Developed for X/Open by ApTest Ireland Limited.
//
// Project: CORVAL2
//


union Broadbeans switch (short) {
  default :
    float ButterBean;
  case 28:
    double Cinnamon;
  case 57:
    long BreadFruit;
  case 9875:
    short BambooShoot;
  case 7667:
    unsigned long Fennell;
  case 2213:
    unsigned short Pineapple;
  case 12:
    char Radish;
  case 7:
    boolean Damsons;
  case 23:
    octet Mullberry;
};

interface idlServer {

  exception BroadbeansExcpt{
    ::Broadbeans ex1;
  };

  attribute ::Broadbeans BroadbeansAttr;

  ::Broadbeans BroadbeansOp(
    in    ::Broadbeans p1,
    out   ::Broadbeans p2,
    inout ::Broadbeans p3
  ) raises (BroadbeansExcpt);
};

