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

  $Archive: $
  $Revision: $
  $Modtime: $
 
  Copyright (c) 1998 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 BINDERYJNI_H
#define BINDERYJNI_H
#include <nwcalls.h>

N_EXTERN_FUNC(void) __InitSLPCalls(void);
N_EXTERN_FUNC(void) __CleanupSLPCalls(void);

// for a dynamic load version of calls to the new SLP APIs
//   because we can't call them through the headers because we can't
//   break loading JNCP.NLM on pre-ServicePack6 GreenRiver servers
typedef NWCCODE (*NWGetObjectNamesBeginA_fp)(nuint32, pnuint32);
typedef NWCCODE (*NWGetObjectNamesNextA_fp)(nuint32, pnuint32, pnstr8);
typedef NWCCODE (*NWGetObjectNamesEndA_fp)(nuint32);

typedef struct SLPFunctionTable_tag
{
   NWGetObjectNamesBeginA_fp begin;
   NWGetObjectNamesNextA_fp next;
   NWGetObjectNamesEndA_fp end;
} SLPFunctionTable;

#endif
