dca_interface
6.3.4
|
The SCA is available for the following Windows compilers:
32/64 bit | Compiler |
---|---|
32 | Microsoft Visual Studio 2008 SP1 and up |
64 | Microsoft Visual Studio 2008 SP1 and up |
Since the API is provided as static linker libraries, any application that wants to use the SCA must link with them.
Dependent on your license you will receive different SCA packages including different modules of the SCA.
The following list shows all SCA modules and the related linker libraries:
Linker Library | Description |
---|---|
libdca.lib | Generic library all applications must link with |
libdca_url.lib | URL Classification |
libdca_text.lib | Text Classification |
libdca_customdb.lib | Custom Database Module Toolbox |
libdca_ipr.lib | IP Reputation |
libdca_malware.lib | @refmalwareclassification |
libdca_wac.lib | Web Application Classification (WAC) |
libdca_zla.lib | Zero Level Analysis Classification (ZLA) |
In order to run SCA applications some 3rd party libraries are required.
Most of them are used internally by the SCA modules and loaded dynamically.
Some libraries are used by basic standard functions of the the SCA (such as update and connection functions). An SCA application must link with these libraries.
The following table shows what libraries and versions are required, where to get the source and whether they must be linked with your application.
The following software packages are required for using the SCA on Windows:
Library | Version | DLL file(s) | Homepage | Linkage |
---|---|---|---|---|
libcurl | 7.21.3 | libcurl.dll | http://curl.haxx.se/libcurl | link with: libcurl.lib |
OpenSSL | 1.0.0 | ssleay32.dll libeay32.dll | http://www.openssl.org | link with: ssleay32.lib libeay32.lib |
ICU | 56.1 | icudt56.dll icudt56.dll icuuc56.dll | http://site.icu-project.org | only DCA internal |
libxml2 | 2.7.x | libxml2.dll | http://xmlsoft.org | only DCA internal |
zlib | 1.2.5 | zlib1.dll | http://www.zlib.net | only DCA internal |
Boost Regex | 1.45 | boost_regex-vc90-mt-1_45.dll | http://www.boost.org | only DCA internal |
These 3rd party libraries are NOT part of the SCA distribution and must be properly built and installed on your system before you can run any SCA application.
All DLL files are required at runtime.
Make sure that the required 3rd party DLLs reside in a directory which can be found from your application.
See Chapter 3rd Party Libraries - How to build and setup (Windows) for further details
Sample programs and Visual Studio 2008 project files are provided in the directory:
You can start your own application by simply copying a sample and add your new code or to start over with a new Project.
The SCA uses internally libcurl and OpenSSL.
These libraries must be initialized by a client application before being used. If your application does not perform this initialization already, you could use the functions provided by the SCA API for this purpose (see also the sources of the provided samples).
To compile your application you will need to set up the Visual Studio Compiler and Linker settings correctly. See Chapter Visual Studio 2008 Compiler and Linker settings for a detailed list of required settings.
The SCA provides IPv6 support for mostly all modules. To enable IPv6 support you will need to make sure the IPv6 protocol driver for your OS is properly installed.