PackageManager component
The API is defined in the header files located in the directory sysroot-*-kos/include/component/package_manager/
from the KasperskyOS SDK.
The PackageManager component usage scenario is described in the article titled PackageManager component usage scenario.
The package_manager_proxy.h interface
This API is defined in the header file sysroot-*-kos/include/component/package_manager/kos_ipc/package_manager_proxy.h
from the KasperskyOS SDK.
The interface contains function CreatePackageManager()
for getting the pointer to the instance of the IPackageManager
interface that is required for working with the PackageManager component. Using the cfg
input parameter, this function accepts configuration parameters in the PackageManagerConfig
structure. All fields of this structure are optional.
package_manager_proxy.h functions
Function |
Information about the function |
---|---|
|
Purpose Gets the pointer to the instance of the Parameters
Returned values If successful, the function returns |
Usage example:
client.cpp
IPackageManager interface
The API is defined in the header file sysroot-*-kos/include/component/package_manager/i_package_manager.h
from the KasperskyOS SDK.
The IPackageManager
interface lets you receive the pointer to the IPackageController
interface. This interface is intended for installing KPA packages to a KasperskyOS-based solution, and gets information about these packages.
i_package_manager.h functions
Function |
Information about the function |
---|---|
|
Purpose Gets the pointer to an instance of the Parameters
Returned values If successful, the function returns |
Usage example:
client.cpp