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

  $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 <jni.h>

#include <ntypes.h>


#include "JNIString.h"
#include <nwdserr.h>
#include <nwdsdsa.h>


#include "com_novell_service_jncpv2r_net_NetEntryInfoEnumerator.h"

#include "NetAttrRecordJNI.h"
#include "jdsAttrRecordList.h"


/* public final class NetEntryInfoEnumerator implements Enumeration
 * {
 *    //
 *    private static int sNetEntryInfo;
 *    private static int sBasicNetService;
 *
 *    //
 *    private NetEntryInfo[] entries;
 *    private int count;
 * }
 */

#ifdef __cplusplus
extern "C" {
#endif


/***** com_novell_service_jncpv2r_net_NetJNI.h ****************************/

/*
 * Class:     com_novell_service_jncpv2r_net_NetJNI
 * Method:    JDSGetAttrRecordStruct
 * Signature: ()I
 */
JNIEXPORT jint JNICALL
Java_com_novell_service_jncpv2r_net_NetJNI_JDSGetAttrRecordStruct
(
   JNIEnv *env,
   jclass unused
)
{
   pNetAttrRecord sNetAttrRecord;

   sNetAttrRecord = NetAttrRecordCreateStruct (env);
   return ((jint) sNetAttrRecord);

} /* JDSGetAttrRecordStruct () */


#ifdef __cplusplus
}
#endif


