Sets the settings of file or URL reputation requests performed by scanning or monitoring functions when the Cloud Protection is enabled. The settings will change on the fly, and the scanning and monitoring functions will continue working with the new settings.
Be sure to initialize the structSize field of the passed structure before invoking kaveGetKsnSettings.
The function is not supported on Linux platform when KAV SDK is integrated in service mode.
Syntax
HRESULT kaveSetKsnSettings (
const KAV_KSN_SETTINGS *settings);
Parameters
The kaveSetKsnSettings function has the following parameters.
kaveSetKsnSettings function parameters
Name |
Type |
Description |
|---|---|---|
|
in |
A pointer to the cloud requests' settings defined by the members of the |
Return value
The table below contains possible values that the kaveSetKsnSettings function can return.
kaveSetKsnSettings function return codes
Return code |
Description |
|---|---|
|
The function succeeds. |
|
The specified settings are applied partially. You can determine which settings are not applied by calling the |
|
The |