1 /*===========================================================================
2 = Novell Standard C Library for NetWare Loadable Modules
4 = Unpublished Copyright (C) 1993 by Novell, Inc. All rights reserved.
6 = No part of this file may be duplicated, revised, translated, localized or
7 = modified in any manner or compiled, linked or uploaded or downloaded to or
8 = from any computer system without the prior written consent of Novell, Inc.
9 ==============================================================================
10 = The object produced by compiling this file is for use by the client of this
11 = library and is not linked in; Prelude.Obj is therefore one of the files to
12 = be distributed with CLib.NLM and its headers.
13 ==============================================================================
17 #if defined(__netware__) && defined(__i386__)
18 #define TERMINATE_BY_UNLOAD 5
22 /*#include "libhooks.h"*/
24 extern int main (int, char **);
31 _TerminateNLM(NLMID, NULL, TERMINATE_BY_UNLOAD);
36 return _SetupArgv(main);
42 int initErrorScreenID,
44 char *loadDirectoryPath,
45 int uninitializedDataLength,
47 int (*readRoutineP)(),
54 rc = _StartNLM(NLMHandle,
58 uninitializedDataLength,