
/* **************************************************************************

  $Archive:  $
  $Revision:  $
  $Modtime:  $

  Copyright (c) 1997 Novell, Inc.  All Rights Reserved.

  THIS WORK IS  SUBJECT  TO  U.S.  AND  INTERNATIONAL  COPYRIGHT  LAWS  AND
  TREATIES.   NO  PART  OF  THIS  WORK MAY BE  USED,  PRACTICED,  PERFORMED
  COPIED, DISTRIBUTED, REVISED, MODIFIED, TRANSLATED,  ABRIDGED, CONDENSED,
  EXPANDED,  COLLECTED,  COMPILED,  LINKED,  RECAST, TRANSFORMED OR ADAPTED
  WITHOUT THE PRIOR WRITTEN CONSENT OF NOVELL, INC. ANY USE OR EXPLOITATION
  OF THIS WORK WITHOUT AUTHORIZATION COULD SUBJECT THE PERPETRATOR TO
  CRIMINAL AND CIVIL LIABILITY.

****************************************************************************/


#include <sys_api.h>

#include <stdlib.h>

#include <jni.h>

#include "com_novell_service_jncpv2_net_NetEntryInfoEnumerator.h"

#include <ntypes.h>
#include "JNIString.h"
#include <nwnet.h>



#include "NetEntryInfoJNI.h"

#include "jdsEntryList.h"


#ifdef __cplusplus
extern "C" {
#endif


/***** com_novell_service_jncpv2_net_NetJNI.h ****************************/

/*
 * Class:     com_novell_service_jncpv2_net_NetJNI
 * Method:    JDSGetEntryInfoStruct
 * Signature: ()I
 */
JNIEXPORT jint JNICALL
Java_com_novell_service_jncpv2_net_NetJNI_JDSGetEntryInfoStruct
(
   JNIEnv *env,
   jclass unused
)
{
//   jfieldID sNetEntryInfoID;

   pNetEntryInfo sNetEntryInfo = NetEntryInfoCreateStruct (env);
/*
   sNetEntryInfoID = (*env)->GetStaticFieldID (env, clsNetEntryInfoEnumerator, "sNetEntryInfo", "I");
   (*env)->SetStaticIntField (env, clsNetEntryInfoEnumerator, sNetEntryInfoID, (jint) sNetEntryInfo);
*/
   return ((jint) sNetEntryInfo);

} /* JDSGetEntryInfoStruct () */

#ifdef __cplusplus
}
#endif


