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

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

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

#if !defined (jdsList_H)
#define jdsList_H


#if !defined (JNI_H)
#  include <jni.h>
#endif

#if !defined (NTYPES_H)
#  include <ntypes.h>
#endif

#if !defined (NWDSBUFT_H)
#  include <nwdsbuft.h>
#endif


#define NETPKG         "com/novell/service/jncpv2r/net/"
#define JNCPPKG        "com/novell/service/jncp/"


struct tagJDSListInterface;

typedef const struct tagJDSListInterface *JDSList;

N_TYPEDEF_FUNC (jobjectArray, JDSListGet_t)
   (JDSList list);
N_TYPEDEF_FUNC (jobjectArray, JDSListEmpty_t)
   (JDSList list);
N_TYPEDEF_FUNC (void, JDSListAdd_t)
   (JDSList list, pBuf_T entries);
N_TYPEDEF_FUNC (void, JDSListDestroy_t)
   (JDSList *list);

typedef struct tagJDSListInterface
{
   nptr data;

   JDSListGet_t GetObjects;
   JDSListEmpty_t Empty;
   JDSListAdd_t AddBuffer;
   JDSListDestroy_t Destroy;

} JDSListInterface, N_FAR *pJDSListInterface;


#endif /* jdsEntryList_H */


