Add definitions of the new DCM ext API 59/254559/11
authorTomasz Swierczek <t.swierczek@samsung.com>
Thu, 4 Mar 2021 10:19:46 +0000 (11:19 +0100)
committerTomasz Swierczek <t.swierczek@samsung.com>
Thu, 1 Apr 2021 11:39:50 +0000 (13:39 +0200)
commit6343803747b7cfefd606f6754d15bfea5d7ad5fc
treee744aa44437bce94bb9d1519ebaa777c6e55b642
parentaaabd9e2921f1153be507558a0596e19fdf27402
Add definitions of the new DCM ext API

New API is supposed to give DCM backends possibility
to define any custom method guarded with a Cynara privilege.

New API is not mandatory for plugins - plugins can implement
old, new, or both APIs of DCM.

This commit makes header files available for both: client
and the backend.

The DCM EXT error codes are defined in separate header
for easier management of errors returned from the daemon
to client.

Change-Id: Ia3478d1352f6eabfa913a975f7ee09c02b976939
packaging/device-certificate-manager.spec
src/dcm-client/CMakeLists.txt
src/dcm-client/device_certificate_manager_ext.h [new file with mode: 0644]
src/dcm-client/device_certificate_manager_ext_types.h [new file with mode: 0644]
src/dcm-daemon/CMakeLists.txt
src/dcm-daemon/dcm-ext-backend-api.h [new file with mode: 0644]