Adjust admin API policy type codes 71/27971/5
authorLukasz Wojciechowski <l.wojciechow@partner.samsung.com>
Tue, 23 Sep 2014 15:50:27 +0000 (17:50 +0200)
committerLukasz Wojciechowski <l.wojciechow@partner.samsung.com>
Wed, 22 Oct 2014 12:12:53 +0000 (14:12 +0200)
commiteafad37f12ed0f7f89683730b054ba523d7f8d91
treeb6f8728c430c9bbc80721bbc53d640c4a5d1cc46
parenta40189b7583c531d3113459c23d62f66b0e7f0da
Adjust admin API policy type codes

External admin API policy types should match inner cynara values
used in storage and protocols. That would make plugins work easier
and allows correct work of cynara_admin_check function.

New header cynara-policy-types.h is provided by libcynara-common.
It defines policy type values and is included by external admin API.
Predefined policies variables use same values for initialization.

Change-Id: If1b158dcd5abbe9ee3af692e706a2d2e886f8631
packaging/cynara.spec
src/common/CMakeLists.txt
src/common/types/PolicyType.h
src/include/CMakeLists.txt
src/include/cynara-admin-types.h
src/include/cynara-admin.h
src/include/cynara-offline-admin.h
src/include/cynara-policy-types.h [new file with mode: 0644]