Remove semicolon from defines.

Change-Id: Ib18ffc5560f2b629fbd586f1e70b9bbe9e020b99
Fix comment for cynara_admin_set_policies function

Change-Id: I02ed34465a41d1caa670617e2169d41567bd914a
Add sequence number generation

Change-Id: I1fc3250d211a171bc121846d96282d8ff5b095fa
Add cache interface and NoCache stub

Add interface defining API for cache, that will be used to speed up
checks. Add NoCache class, that implements this interface with very
simple version, which always enforces checks on Cynara server.
Add usage of NoCache in Logic class.

Change-Id: I3b799c4c6eccddfed98e8130ef1ca4cb849b8c05
Add signal processing

For now only SIGTERM is processed to kindly stop the service.

Change-Id: If754002a8af9f8ca70323f22b06fbd22da0ddb19
Fix shared pointers access in Cynara class

Change-Id: I85c98846655d8363e63640b88f6a756bb16c08d5
Remove const specifiers in cynara_admin_policy structure

With fileds defined as const, user of this structure would probably
have some problems with freeing memory.

Change-Id: I159ebc2ea772c76be70e5e58310f0ae1e8728c8f
Add declaration of struct cynara_admin in libcynara-admin header

Change-Id: I8e441d67bec81ba83f5686a9d1d85c7c7f217cdf
Enable logs in client library

Change-Id: I46b423ddf7482392d6859496f53a5e29fa2b82b0
Fix client socket labeling with smack

Change-Id: Ic859959b5b95feae93159429b976037b52fc44de
Fix memory leak in demangling symbols for backtrace functionality

Change-Id: If4525dd6f610b6e2fcc2e64c5d6b89e0bf20d0d5
Remove unneeded return statement in Logic::check method

Change-Id: Idfda59a64c76fd8721b3c5dd94c9db4b5dd8ee12
Add log messages related to protocol (de)serialization

Change-Id: I6ca994c29326f0f5bce2e668adc4f9a3185c1592
Add serialization of CheckResponse object

Change-Id: I78c0b69dd6502e3d1067f8e75da90324ff8d61da
Add conditional logs building

This feature is needed for correct building tests when tested
units use logging mechanism. Tests should not depend on logger.

Change-Id: I110f5f0238726d1110388eaefc028c90747aa747
Add backtrace to exception message

This patch introduces new method 'message()' in class Exception
which must be overloaded by all dervied classes instead of
'what()' method. This is needed to add backtrace info to
exception message.

Change-Id: Ic451578c72566300283843468a32297fdec42f56
Add serializer for InMemoryStorageBackend::Buckets

Change-Id: Ia5def8f5c8b5bb1e16c20f2adc1757849f440866
Move parseMetadata() and parsePolicyType() to StorageDeserializer

These static methods better fit in a more general
Cynara::StorageDeserializer instead of Cynara::BucketDeserializer

Change-Id: I2bad160683ac34b68d993dc7b10e8ec7ba1b1d1c
Add InMemoryStorageBackend::hasBucket()

The function will be used by Cynara::Storage to check
if new bucket should be created or an old one updated.

Change-Id: I0c60724a112880010dcde7793346c1bc2fd687dc
Add InMemoryStorageBackend::updateBucket()

The function will be used by Cynara::Storage to update bucket's
default policy without altering its policies.

Change-Id: I777c930eedc9c63d8ce1f4a29b144eeee205f145