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

  $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 (jncpWire_H)
#define jncpWire_H


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

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


#define BUFFER_PAD 3

//N_EXTERN_FUNC ( NWRCODE ) NWCWGetInt32(ppnstr8 cur, pnstr8 limit, pnuint32 i);
//N_EXTERN_FUNC ( NWRCODE ) NWCWPutInt32(ppnstr8 cur, pnstr8 limit, nuint32 i);
//N_EXTERN_FUNC ( NWRCODE ) NWCWPutAlign32(ppnstr8 cur, pnstr8 limit);
//N_EXTERN_FUNC ( NWRCODE ) NWCWGetAlign32(ppnstr8 cur, pnstr8 limit);
//N_EXTERN_FUNC ( NWRCODE ) NWCWPutData(ppnstr8 cur, pnstr8 limit, nuint32 size, nptr data);
//N_EXTERN_FUNC ( NWRCODE ) NWCWGetData(ppnstr8 cur, pnstr8 limit, pnuint32 size, ppnstr8 data);
//N_EXTERN_FUNC ( NWRCODE ) NWCWPutString(ppnstr8 cur, pnstr8 limit, punicode str);
//N_EXTERN_FUNC ( NWRCODE ) NWCWGetString(ppnstr8 cur, pnstr8 limit, ppunicode str);

//NWDSCCODE WGetBoolean(ppnstr8 cur, pnstr8 limit, pnuint8 boolean);
N_EXTERN_FUNC (nuint8) jncpGetBoolean (JNIEnv *env, ppnstr8 cur, pnstr8 limit);
//NWDSCCODE WPutBoolean(ppnstr8 cur, pnstr8 limit, nuint8 boolean);
//NWDSCCODE WGetInt8(ppnstr8 cur, pnstr8 limit, pnuint8 i);
N_EXTERN_FUNC (nuint8) jncpGetInt8 (JNIEnv *env, ppnstr8 cur, pnstr8 limit);
//NWDSCCODE WPutInt8(ppnstr8 cur, pnstr8 limit, nuint8 i);
//NWDSCCODE WGetInt16(ppnstr8 cur, pnstr8 limit, pnuint16 i);
N_EXTERN_FUNC (nuint16) jncpGetInt16 (JNIEnv *env, ppnstr8 cur, pnstr8 limit);
//NWDSCCODE WPutInt16(ppnstr8 cur, pnstr8 limit, nuint16 i);
//NWDSCCODE WGetInt32(ppnstr8 cur, pnstr8 limit, pnuint32 i);
N_EXTERN_FUNC (nuint32) jncpGetInt32 (JNIEnv *env, ppnstr8 cur, pnstr8 limit);
//NWDSCCODE WPutInt32(ppnstr8 cur, pnstr8 limit, nuint32 i);
//NWDSCCODE WSkipInt8(ppnstr8 cur, pnstr8 limit, ppnstr8 ip);
N_EXTERN_FUNC (void) jncpSkipInt8 (JNIEnv *env, ppnstr8 cur, pnstr8 limit);
//NWDSCCODE WSkipInt16(ppnstr8 cur, pnstr8 limit, ppnstr8 ip);
N_EXTERN_FUNC (void) jncpSkipInt16 (JNIEnv *env, ppnstr8 cur, pnstr8 limit);
//NWDSCCODE WSkipInt32(ppnstr8 cur, pnstr8 limit, ppnstr8 ip);
N_EXTERN_FUNC (void) jncpSkipInt32 (JNIEnv *env, ppnstr8 cur, pnstr8 limit);
//NWDSCCODE WGetAlign32(ppnstr8 cur, pnstr8 limit);
//NWDSCCODE WPutAlign32(ppnstr8 cur, pnstr8 limit);
//NWDSCCODE WPutData(ppnstr8 cur, pnstr8 limit, nuint32 size, nptr data);
//NWDSCCODE WGetData(ppnstr8 cur, pnstr8 limit, pnuint32 size, ppnstr8 data);
N_EXTERN_FUNC (pnstr8) jncpGetData (JNIEnv *env, ppnstr8 cur, pnstr8 limit, pnuint32 size);
//NWDSCCODE WPutString(ppnstr8 cur, pnstr8 limit, punicode str);
//NWDSCCODE WGetString(ppnstr8 cur, pnstr8 limit, ppunicode str);
N_EXTERN_FUNC (jstring) jncpGetString (JNIEnv *env, ppnstr8 cur, pnstr8 limit);
//NWDSCCODE WGetTimeStamp(ppnstr8 cur, pnstr8 limit, pTimeStamp_T timeStamp);
//NWDSCCODE WPutTimeStamp(ppnstr8 cur, pnstr8 limit, pTimeStamp_T timeStamp);
//nuint32   SizeOfReferral(pnstr8   referral, pnstr8   limit);
//NWDSCCODE WGetReferral(ppnstr8  cur, pnstr8   limit, ppnstr8  referralData);
//NWDSCCODE WPutReferral(ppnstr8  cur, pnstr8   limit, pnstr8   referral);


#endif /* jncpWire_H */


