//
//   COMPONENT_NAME: somnm
//
//   ORIGINS: 27
//
//
//    25H7912  (C)  COPYRIGHT International Business Machines Corp. 1992,1996,1996  
//   All Rights Reserved
//   Licensed Materials - Property of IBM
//   US Government Users Restricted Rights - Use, duplication or
//   disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
//
//#  @(#) 1.6 src/somnm/naming/biter.idl, somnm, som3.0 5/20/96 16:40:06 [12/22/96 21:32:05]


#ifndef biter_idl
#define biter_idl

#include <naming.idl>

module Biter {

interface BINDITER_TWO : CosNaming::BindingIterator{
    void BI_Init2(inout somInitCtrl ctrl,
			in CosNaming::BindingList bl);
		// Constructor

    void add_bindings(in CosNaming::BindingList bl);
    // appends "bl" to the objects binding list. Callee
    // owns memory

              #ifdef __SOMIDL__
        	implementation {
				
				//# internal instance variables
		    CosNaming::BindingList bindings;
		    unsigned long pos;

		    releaseorder:
		      BI_Init2,
		      add_bindings;
		    BI_Init2: init;

		    functionprefix=BIT_;
		    dllname = "somnmf.dll";
		    majorversion = 3;
		    minorversion = 0;

				// method modifiers
		    next_one: override;
		    next_n: override;
		    destroy: override;
		    somDefaultInit: override, init;

		};
             #endif /* __SOMIDL__ */

};

interface BINDITER_ONE : CosNaming::BindingIterator{
    
    typedef sequence<string> stringSeq;

    void BI_Init1 (inout somInitCtrl ctrl,
				  in stringSeq key,
				  in string databaseFile);
		// Constructor
    #ifdef __SOMIDL__
        implementation {

				//# internal instance variables
	    sequence <string> cursor;
				// item to be read in the database
	    string databaseFile;
	    CosNaming::BindingList bindings;
	    releaseorder:  BI_Init1;
	    BI_Init1: init;
	    somDefaultInit: override, init;

	    functionprefix=BIO_;
	    dllname = "somnmf.dll";

				// method modifiers
	    next_one: override;
	    next_n: override;
	    destroy: override;

	};
     #endif /* __SOMIDL__ */

};



}; /* module */
/* Change Log
<@log@>

Mon Apr 10 1995  10:16:36  by Vinoj Kumar
<reason><version><Brief description and why change was made.>

Sun Apr  9 1995  18:46:30  by Vinoj Kumar
<reason><version><Brief description and why change was made.>
*/

#endif /* biter_idl */
