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

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

****************************************************************************/
#ifdef N_PLAT_NLM

#include <ntypes.h>
#include <nwnet.h>
#include <nwsemaph.h>

N_EXTERN_FUNC(NWDSCCODE) wrapContext(nint *saveThreadGroup, nint threadGroup, NWDSContextHandle context);
N_EXTERN_FUNC(NWDSCCODE) unwrapContext(nint saveThreadGroup);

N_EXTERN_FUNC(void) __NewThreadGroupStarter(void *ptr);

typedef struct tag_StarterStruct
{
   nint sem;
   nint threadGroup;
} StarterStruct, N_FAR *pStarterStruct;

#endif

