ImportPublicObject

Imports a symbol for use.

Library:LibC
Classification:NetWare OS
Service:NetWare Platform

Syntax

  #include <netware.h> 
   
  void *ImportPublicObject (
     void         *NLMHandle,
     const char   *name);
  

Parameters

NLMHandle

(IN) Points to the handle of the NLM application which is importing the object. You can obtain the NLM handle by calling getnlmhandle.

name

(IN) Points to a symbol name.

Return Values

If successful, returns a pointer to the imported symbol, which can be a function or a piece of data. Otherwise, returns a NULL pointer and sets errno.

Decimal

Name

Description

5

ENOMEM

No memory is available to allocate for the symbol name.

See Also