1#ifndef CLIENT_MY_READLINE_INCLUDED
2#define CLIENT_MY_READLINE_INCLUDED
Some integer typedefs for easier portability.
Common #defines and includes for file and socket I/O.
int File
Definition: my_io_bits.h:51
void batch_readline_end(LINE_BUFFER *buffer)
Definition: readline.cc:103
LINE_BUFFER * batch_readline_init(ulong max_size, FILE *file)
Definition: readline.cc:47
LINE_BUFFER * batch_readline_command(LINE_BUFFER *buffer, char *str)
Definition: readline.cc:110
static const unsigned long int batch_io_size
Definition: my_readline.h:52
char * batch_readline(LINE_BUFFER *buffer, bool binary_mode)
Definition: readline.cc:69
std::string str(const mysqlrouter::ConfigGenerator::Options::Endpoint &ep)
Definition: config_generator.cc:1105
const std::string FILE("FILE")
mutable_buffer buffer(void *p, size_t n) noexcept
Definition: buffer.h:418
Definition: my_readline.h:34
char * end_of_line
Definition: my_readline.h:38
int error
Definition: my_readline.h:43
char * start_of_line
Definition: my_readline.h:38
char * buffer
Definition: my_readline.h:36
ulong max_size
Definition: my_readline.h:41
uint eof
Definition: my_readline.h:40
char * end
Definition: my_readline.h:37
bool truncated
Definition: my_readline.h:44
ulong read_length
Definition: my_readline.h:42
File file
Definition: my_readline.h:35
uint bufread
Definition: my_readline.h:39