The shared library must provide the following functions as externally visible entry points:
Function |
Description |
---|---|
SmQueryVersion() |
Requests the Tunnel Service API version that the custom library is compliant with. |
SmTunnelInit() |
Initializes the tunnel service. |
SmTunnelRelease() |
Releases the tunnel service. |
User-Defined Function |
Calls the function that the tunnel agent is requesting. |
Each entry point in the shared library must be defined according to specified syntax.
Note: If you are using Microsoft Visual Studio, export the function addresses to a modular definition file (.DEF) file. To export the function addresses, create a .DEF file, and in the export section of the .DEF file, list all of the tunnel service functions, described in the previous table. Once you have created the .DEF file, add it to the Microsoft Visual Studio project.
Copyright © 2014 CA.
All rights reserved.
|
|