buxtonctl: Fix a bug while handling numerics

The functions strtoll and others of the familly
are using errno to report any conversion error.
But they doen't touch errno in case of success.
Thus errno has to be reset to 0 before calling it.

Signed-off-by: José Bollo <jose.bollo@open.eurogiciel.org>
libbuxton: Implementing get and unset for any type

This implementation defines the new type BUXTON_TYPE_UNSET.

Using this type is allowed for getting, unsetting and listening
notifications of change.

It adds the function buxton_response_value_type that enable
to discover the true type of the value of the response.

The type set to the key during the request is still available
using:
 key = buxton_response_key(response);
 type = buxton_key_get_type(key)
 buxton_key_free(key)

This type should differ from the type of the value of the
response only if it is BUXTON_TYPE_UNSET.
core: removing fake setting of the type

When setting labels, the type of the key doesn't matter.

Signed-off-by: José Bollo <jose.bollo@open.eurogiciel.org>
data: Setting smack labels on daemon socket

When Smack is enabled, the label must be set to
* to allow the service to be accessed by any
clients. The rules for accessing the socket file
are still applied and used for controlling access
to buxton.

Signed-off-by: José Bollo <jose.bollo@open.eurogiciel.org>
cli: Improving get value output

To allow type checking, the output is now showing the type of the key.

Signed-off-by: José Bollo <jose.bollo@open.eurogiciel.org>
gdbm: Fix assertion on unintended value

The assertion was hit because the goto end was missing.

Signed-off-by: José Bollo <jose.bollo@open.eurogiciel.org>
libbuxton: Add functionnality of getting labels

Signed-off-by: José Bollo <jose.bollo@open.eurogiciel.org>