![]() |
CMGDK r49-rc2
|
#include <my_sys.h>
公有属性 | |
my_off_t | pos_in_file |
my_off_t | end_of_file |
uchar * | read_pos |
uchar * | read_end |
uchar * | buffer |
uchar * | request_pos |
uchar * | write_buffer |
uchar * | append_read_pos |
uchar * | write_pos |
uchar * | write_end |
uchar ** | current_pos |
uchar ** | current_end |
int(* | read_function )(struct st_io_cache *, uchar *, size_t) |
int(* | write_function )(struct st_io_cache *, const uchar *, size_t) |
enum cache_type | type |
IO_CACHE_CALLBACK | pre_read |
IO_CACHE_CALLBACK | post_read |
IO_CACHE_CALLBACK | pre_close |
IO_CACHE_CALLBACK | post_write |
ulong | disk_writes |
void * | arg |
char * | file_name |
char * | dir |
char * | prefix |
File | file |
int | seek_not_done |
int | error |
int | hard_write_error_in_the_past |
size_t | buffer_length |
size_t | read_length |
myf | myflags |
my_bool | alloced_buffer |
void* st_io_cache::arg |
used by pre/post_read,post_write
char* st_io_cache::dir |
char* st_io_cache::file_name |
Cumulative 'error' since last [re]init_io_cache(). Useful if cache's user polls for errors only once in a while.
called after reading from disk
Called _after_ writing to disk; not honoured by SEQ_READ_APPEND
called before ending the cache
called before reading from disk
char * st_io_cache::prefix |
int(* st_io_cache::read_function)(struct st_io_cache *, uchar *, size_t) |
int(* st_io_cache::write_function)(struct st_io_cache *, const uchar *, size_t) |