24#ifndef KEYRING_WRITER_SERVICE_IMPL_INCLUDED
25#define KEYRING_WRITER_SERVICE_IMPL_INCLUDED
51 const unsigned char *data,
size_t data_size,
52 const char *data_type));
70#define KEYRING_WRITER_IMPLEMENTOR(component_name) \
71 BEGIN_SERVICE_IMPLEMENTATION(component_name, keyring_writer) \
72 keyring_common::service_definition::Keyring_writer_service_impl::store, \
73 keyring_common::service_definition::Keyring_writer_service_impl::remove \
74 END_SERVICE_IMPLEMENTATION()
Definition: keyring_writer_service_definition.h:34
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:51
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:43
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