C API Interface

icewarp_api.h - header file to call functions from api.dll
                on Windows or libapi.so on Linux
api_test.c    - simple test which prints version string.


Notes for using API on Linux
----------------------------

When running application which uses libapi.so, these environment
variables must be passed to application:

For IceWarp Merak Mail Server (version 9.4.x and lower):
MERAKDIR - path to Merak installation directory

For IceWarp Server (version 10.x and higher):
INSTALLDIR - path to IceWarp Server installation directory

Also you may need to set LD_LIBRARY_PATH to directory with library libapi.so.
