Table of Contents
The kavclient™ API is declared in the header file kavclient.h and implemented in libkavclient.so shared library or libkavclient.a static library. A typical application that is using the libkavclient library would have the line #include <kavclient.h> in its source code and link with -lkavclient option.
A typical scenario of using the libkavclient library includes the following steps.
Allocating a session context, which is a data structure that links together relalated kavclient™ calls.
Setting KAVDaemon connection parameters (optionally; only if non-default settings are needed).
Checking one or more files and/or memory regions.
Interpreting the results of the check.
Deallocating the session context.
The following sections detail how to perform each of these steps with libkavclient.