Keyring iterator component service definition, which enables to iterate over items stored within currently used keyring.
More...
Keyring iterator component service definition, which enables to iterate over items stored within currently used keyring.
"mysql_keyring_iterator.mysql_server", m_reg_srv);
if (!service.is_valid()) {
return;
}
if (service->init(&iterator)) {
return;
}
char key_id[64];
char user_id[64];
while (iterator != nullptr && service->get(iterator, key_id, sizeof(key_id)
user_id, sizeof(user_id))
== 0) {
}
service->deinit(iterator);
Wraps my_h_service struct conforming ABI into RAII C++ object with ability to cast to desired service...
Definition: my_service.h:35
struct my_h_keyring_iterator_imp * my_h_keyring_iterator
Definition: keyring_iterator_service.h:30
#define SERVICE_TYPE(name)
Generates the standard Service type name.
Definition: service.h:76