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

  1. //
  2. //   COMPONENT_NAME: somnm
  3. //
  4. //   ORIGINS: 27
  5. //
  6. //
  7. //    25H7912  (C)  COPYRIGHT International Business Machines Corp. 1992,1996,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. //#  @(#) 1.6 src/somnm/naming/biter.idl, somnm, som3.0 5/20/96 16:40:06 [12/24/96 07:59:56]
  14.  
  15.  
  16. #ifndef biter_idl
  17. #define biter_idl
  18.  
  19. #include <naming.idl>
  20.  
  21. module Biter {
  22.  
  23. interface BINDITER_TWO : CosNaming::BindingIterator{
  24.     void BI_Init2(inout somInitCtrl ctrl,
  25.             in CosNaming::BindingList bl);
  26.         // Constructor
  27.  
  28.     void add_bindings(in CosNaming::BindingList bl);
  29.     // appends "bl" to the objects binding list. Callee
  30.     // owns memory
  31.  
  32.               #ifdef __SOMIDL__
  33.             implementation {
  34.                 
  35.                 //# internal instance variables
  36.             CosNaming::BindingList bindings;
  37.             unsigned long pos;
  38.  
  39.             releaseorder:
  40.               BI_Init2,
  41.               add_bindings;
  42.             BI_Init2: init;
  43.  
  44.             functionprefix=BIT_;
  45.             dllname = "somnmf.dll";
  46.             majorversion = 3;
  47.             minorversion = 0;
  48.  
  49.                 // method modifiers
  50.             next_one: override;
  51.             next_n: override;
  52.             destroy: override;
  53.             somDefaultInit: override, init;
  54.  
  55.         };
  56.              #endif /* __SOMIDL__ */
  57.  
  58. };
  59.  
  60. interface BINDITER_ONE : CosNaming::BindingIterator{
  61.     
  62.     typedef sequence<string> stringSeq;
  63.  
  64.     void BI_Init1 (inout somInitCtrl ctrl,
  65.                   in stringSeq key,
  66.                   in string databaseFile);
  67.         // Constructor
  68.     #ifdef __SOMIDL__
  69.         implementation {
  70.  
  71.                 //# internal instance variables
  72.         sequence <string> cursor;
  73.                 // item to be read in the database
  74.         string databaseFile;
  75.         CosNaming::BindingList bindings;
  76.         releaseorder:  BI_Init1;
  77.         BI_Init1: init;
  78.         somDefaultInit: override, init;
  79.  
  80.         functionprefix=BIO_;
  81.         dllname = "somnmf.dll";
  82.  
  83.                 // method modifiers
  84.         next_one: override;
  85.         next_n: override;
  86.         destroy: override;
  87.  
  88.     };
  89.      #endif /* __SOMIDL__ */
  90.  
  91. };
  92.  
  93.  
  94.  
  95. }; /* module */
  96. /* Change Log
  97. <@log@>
  98.  
  99. Mon Apr 10 1995  10:16:36  by Vinoj Kumar
  100. <reason><version><Brief description and why change was made.>
  101.  
  102. Sun Apr  9 1995  18:46:30  by Vinoj Kumar
  103. <reason><version><Brief description and why change was made.>
  104. */
  105.  
  106. #endif /* biter_idl */
  107.