29#ifndef MYSQL_SERVICE_MYSQL_STRING_INCLUDED
30#define MYSQL_SERVICE_MYSQL_STRING_INCLUDED
32#ifndef MYSQL_ABI_CHECK
54#ifdef MYSQL_DYNAMIC_PLUGIN
56#define mysql_string_convert_to_char_ptr(string_handle, charset_name, buffer, \
58 mysql_string_service->mysql_string_convert_to_char_ptr_type( \
59 string_handle, charset_name, buffer, buffer_size, error)
61#define mysql_string_get_iterator(string_handle) \
62 mysql_string_service->mysql_string_get_iterator_type(string_handle)
64#define mysql_string_iterator_next(iterator_handle) \
65 mysql_string_service->mysql_string_iterator_next_type(iterator_handle)
67#define mysql_string_iterator_isupper(iterator_handle) \
68 mysql_string_service->mysql_string_iterator_isupper_type(iterator_handle)
70#define mysql_string_iterator_islower(iterator_handle) \
71 mysql_string_service->mysql_string_iterator_islower_type(iterator_handle)
73#define mysql_string_iterator_isdigit(iterator_handle) \
74 mysql_string_service->mysql_string_iterator_isdigit_type(iterator_handle)
76#define mysql_string_to_lowercase(string_handle) \
77 mysql_string_service->mysql_string_to_lowercase_type(string_handle)
79#define mysql_string_free(mysql_string_handle) \
80 mysql_string_service->mysql_string_free_type(mysql_string_handle)
82#define mysql_string_iterator_free(mysql_string_iterator_handle) \
83 mysql_string_service->mysql_string_iterator_free_type( \
84 mysql_string_iterator_handle)
89 const char *charset_name,
char *
buffer,
void error(const char *format,...)
mutable_buffer buffer(void *p, size_t n) noexcept
Definition: buffer.h:418
size_t buffer_size(const ConstBufferSequence &buffers) noexcept
Definition: buffer.h:313
void * mysql_string_handle
Definition: plugin_validate_password.h:35
void * mysql_string_handle
Definition: service_mysql_string.h:37
mysql_string_handle mysql_string_to_lowercase(mysql_string_handle string_handle)
Definition: string_service.cc:148
int mysql_string_iterator_isdigit(mysql_string_iterator_handle iterator_handle)
Definition: string_service.cc:138
void mysql_string_iterator_free(mysql_string_iterator_handle)
Definition: string_service.cc:78
void mysql_string_free(mysql_string_handle)
Definition: string_service.cc:68
mysql_string_iterator_handle mysql_string_get_iterator(mysql_string_handle string_handle)
Definition: string_service.cc:83
struct mysql_string_service_st * mysql_string_service
void * mysql_string_iterator_handle
Definition: service_mysql_string.h:36
int mysql_string_iterator_islower(mysql_string_iterator_handle iterator_handle)
Definition: string_service.cc:128
int mysql_string_iterator_next(mysql_string_iterator_handle iterator_handle)
Definition: string_service.cc:95
int mysql_string_iterator_isupper(mysql_string_iterator_handle iterator_handle)
Definition: string_service.cc:118
int mysql_string_convert_to_char_ptr(mysql_string_handle string_handle, const char *charset_name, char *buffer, unsigned int buffer_size, int *error)
Definition: string_service.cc:52
Definition: service_mysql_string.h:39
mysql_string_handle(* mysql_string_to_lowercase_type)(mysql_string_handle)
Definition: service_mysql_string.h:49
int(* mysql_string_iterator_next_type)(mysql_string_iterator_handle)
Definition: service_mysql_string.h:45
int(* mysql_string_convert_to_char_ptr_type)(mysql_string_handle, const char *, char *, unsigned int, int *)
Definition: service_mysql_string.h:40
void(* mysql_string_iterator_free_type)(mysql_string_iterator_handle)
Definition: service_mysql_string.h:51
int(* mysql_string_iterator_islower_type)(mysql_string_iterator_handle)
Definition: service_mysql_string.h:47
mysql_string_iterator_handle(* mysql_string_get_iterator_type)(mysql_string_handle)
Definition: service_mysql_string.h:43
int(* mysql_string_iterator_isupper_type)(mysql_string_iterator_handle)
Definition: service_mysql_string.h:46
int(* mysql_string_iterator_isdigit_type)(mysql_string_iterator_handle)
Definition: service_mysql_string.h:48
void(* mysql_string_free_type)(mysql_string_handle)
Definition: service_mysql_string.h:50