24#ifndef KEYRING_WRITER_SERVICE_IMPL_INCLUDED
25#define KEYRING_WRITER_SERVICE_IMPL_INCLUDED
33namespace service_definition {
52 const unsigned char *data,
size_t data_size,
53 const char *data_type));
72#define KEYRING_WRITER_IMPLEMENTOR(component_name) \
73 BEGIN_SERVICE_IMPLEMENTATION(component_name, keyring_writer) \
74 keyring_common::service_definition::Keyring_writer_service_impl::store, \
75 keyring_common::service_definition::Keyring_writer_service_impl::remove \
76 END_SERVICE_IMPLEMENTATION()
Definition: keyring_writer_service_definition.h:35
static mysql_service_status_t remove(const char *data_id, const char *auth_id) noexcept
Remove data from keyring.
Definition: keyring_writer_service_definition.cc:49
static mysql_service_status_t store(const char *data_id, const char *auth_id, const unsigned char *data, size_t data_size, const char *data_type) noexcept
Store data in keyring.
Definition: keyring_writer_service_definition.cc:42
Specifies macros to define Components.
Definition: keyring_encryption_service_definition.h:32
Specifies macros to define Service Implementations.
#define DEFINE_BOOL_METHOD(name, args)
A short macro to define method that returns bool, which is the most common case.
Definition: service_implementation.h:88