Next Previous Contents

# NetWare Loadable Module Programming HOWTO

## Martin Hinner, < martin@hinner.info>

Version 0.3, 04 January 2007

This document describes how to develop NetWare Loadable Modules under Linux, using GNU CC and nlmconv(1) from GNU binutils. This is not an official Novell document; I wrote it without any help or cooperation from Novell, Inc.. Please note that Novell Netware is becoming quite obsolete nowadays. In fact I have not updated this howto for more than five years till now (2007).

## 1. Introduction

- 1.1 C++ Development
- 1.2 Related Documentation
- 1.3 Copying
- 1.4 Contacting the author

## 2. Setting Up Your Linux Box and NetWare Server

- 2.1 Novell NetWare Server
- 2.2 Linux Box With IPX/NCPFS
- 2.3 GNU C Compiler
- 2.4 nlmconv(1) from GNU binutils
- 2.5 The nlm-kit Package
- 2.6 Include Files and Documentation from the NDK
- 2.7 Access to the NetWare Server (Xconsole or rconsole)

## 3. First Step: Hello world

- 3.1 hello.c - Source File
- 3.2 hello.def - NLM header file
- 3.3 Makefile
- 3.4 GCC problems
- 3.5 Testing the Module

## 4. NLM Header file

- 4.1 AUTOUNLOAD
- 4.2 CHECK
- 4.3 CODESTART
- 4.4 COPYRIGHT
- 4.5 CUSTOM
- 4.6 DATASTART
- 4.7 DATE
- 4.8 DEBUG
- 4.9 DESCRIPTION
- 4.10 EXIT
- 4.11 EXPORT
- 4.12 FLAG_OFF
- 4.13 FLAG_ON
- 4.14 HELP
- 4.15 IMPORT
- 4.16 INPUT
- 4.17 MAP
- 4.18 MESSAGES
- 4.19 MODULE
- 4.20 MULTIPLE
- 4.21 NAMELEN
- 4.22 OS_DOMAIN
- 4.23 OUTPUT
- 4.24 PATH
- 4.25 PSEUDOPREEMPTION
- 4.26 REENTRANT
- 4.27 SCREENNAME
- 4.28 SHARELIB
- 4.29 STACK
- 4.30 STACKSIZE
- 4.31 STAMPEDDATA
- 4.32 START
- 4.33 SYNCHRONIZE
- 4.34 THREADNAME
- 4.35 TYPE
- 4.36 VERSION
- 4.37 XDCDATA

## 5. Message files

## 6. Help Files

## 7. XDC Data Files

## 8. Header Files (.h)

## 9. Import Files (.imp)

- 9.1 Generating Import Files Using nlmimp(1)

Next Previous Contents