home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / som30tk.zip / som30os2.zip / include / somdtype.idl < prev    next >
Text File  |  1996-12-24  |  1KB  |  62 lines

  1. //
  2. //   COMPONENT_NAME: somd
  3. //
  4. //   ORIGINS: 27
  5. //
  6. //
  7. //    25H7912  (C)  COPYRIGHT International Business Machines Corp. 1992,1995,1996 
  8. //   All Rights Reserved
  9. //   Licensed Materials - Property of IBM
  10. //   US Government Users Restricted Rights - Use, duplication or
  11. //   disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
  12. //
  13. //#  @(#) 2.12.1.10 src/somd/somdtype.idl, somd, som3.0 3/25/96 09:45:12 [12/24/96 07:39:40]
  14.  
  15. //
  16. //  somdtype.idl - global DSOM type definitions
  17. // 
  18.  
  19.  
  20. #ifndef somdtype_idl
  21. #define somdtype_idl
  22. #include <containd.idl> 
  23.  
  24. enum completion_status { YES, NO, MAYBE };
  25.  
  26. //# Global IDL types defined by DSOM
  27.  
  28. #pragma somemittypes on
  29.  
  30.  typedef unsigned long ORBStatus;
  31.  
  32.  typedef sequence <octet,1024> ReferenceData;
  33.  
  34.  typedef unsigned long Flags;
  35.  
  36.  typedef string ORBid;
  37.  
  38.  struct NamedValue {    
  39.     Identifier name;
  40.     any        argument;
  41.     long       len;
  42.     Flags      arg_modes;
  43.  };
  44.  
  45.  typedef string ImplId;
  46.  
  47. #pragma somemittypes off
  48.  
  49. module SOMD { 
  50.  
  51.   enum marshaling_direction_t {DirCall, DirReply};
  52.   enum marshaling_op_t {OpMarshal, OpDemarshal, OpFreeStorage};
  53.  
  54.   struct ImplEntry {
  55.     long  ImplDataSize;
  56.     char  *ImplData;
  57.   };
  58.  
  59. };
  60.  
  61. #endif /* somdtype_idl */
  62.