nxExportInterface

Exports a named symbol externally.

Library:LibC
Classification:Novell
Service:NetWare Platform

Syntax

  #include <nks/netware.h>
   
  int nxExportInterface (
     void        *funcAddr,
     const char  *funcName);
  

Parameters

funcAddr

(IN) Points to the address of the function that is to be exported.

funcName

(IN) Points to the name by which the function is to be known.

Return Values

Returns zero on success or an error on failure:

Decimal

Hex

Constant

Description

9

0x09

NX_EINVAL

The context is invalid.

66

0x42

NX_ENOSYS

Function cannot be exported (error from NetWare ExportPublicSymbol).

105

0x69

NX_ENOCONTEXT

No NKS context is present. Perhaps the function was called at interrupt time.

See Also

nxExportInterfaceWrapped