![]() |
MySQL 8.0.43
Source Code Documentation
|
#include <errno.h>#include <fcntl.h>#include <stdio.h>#include <string.h>#include <sys/types.h>#include "my_byteorder.h"#include "my_dbug.h"#include "my_inttypes.h"#include "my_io.h"#include "my_psi_config.h"#include "my_thread_local.h"#include "mysql/psi/mysql_file.h"#include "storage/archive/azlib.h"Macros | |
| #define | HEAD_CRC 0x02 /* bit 1 set: header CRC present */ |
| #define | EXTRA_FIELD 0x04 /* bit 2 set: extra field present */ |
| #define | ORIG_NAME 0x08 /* bit 3 set: original file name present */ |
| #define | COMMENT 0x10 /* bit 4 set: file comment present */ |
| #define | RESERVED 0xE0 /* bits 5..7: reserved */ |
Functions | |
| int | az_open (azio_stream *s, const char *path, int Flags, File fd) |
| int | do_flush (azio_stream *file, int flush) |
| int | get_byte (azio_stream *s) |
| void | check_header (azio_stream *s) |
| int | write_header (azio_stream *s) |
| int | destroy (azio_stream *s) |
| void | putLong (File file, uLong x) |
| uLong | getLong (azio_stream *s) |
| void | read_header (azio_stream *s, unsigned char *buffer) |
| int | azopen (azio_stream *s, const char *path, int Flags) |
| int | azdopen (azio_stream *s, File fd, int Flags) |
| size_t ZEXPORT | azread (azio_stream *s, voidp buf, size_t len, int *error) |
| unsigned int | azwrite (azio_stream *s, const voidp buf, unsigned int len) |
| int ZEXPORT | azflush (azio_stream *s, int flush) |
| int | azrewind (azio_stream *s) |
| my_off_t | azseek (azio_stream *s, my_off_t offset, int whence) |
| my_off_t ZEXPORT | aztell (azio_stream *file) |
| int | azclose (azio_stream *s) |
| int | azwrite_frm (azio_stream *s, char *blob, size_t length) |
| int | azread_frm (azio_stream *s, char *blob) |
| int | azwrite_comment (azio_stream *s, char *blob, size_t length) |
| int | azread_comment (azio_stream *s, char *blob) |
Variables | |
| static int const | gz_magic [2] = {0x1f, 0x8b} |
| static int const | az_magic [3] = {0xfe, 0x03, 0x01} |
| PSI_file_key | arch_key_file_data |
| #define COMMENT 0x10 /* bit 4 set: file comment present */ |
| #define EXTRA_FIELD 0x04 /* bit 2 set: extra field present */ |
| #define HEAD_CRC 0x02 /* bit 1 set: header CRC present */ |
| #define ORIG_NAME 0x08 /* bit 3 set: original file name present */ |
| #define RESERVED 0xE0 /* bits 5..7: reserved */ |
| int az_open | ( | azio_stream * | s, |
| const char * | path, | ||
| int | Flags, | ||
| File | fd | ||
| ) |
| int azclose | ( | azio_stream * | s | ) |
| int azdopen | ( | azio_stream * | s, |
| File | fd, | ||
| int | Flags | ||
| ) |
| int ZEXPORT azflush | ( | azio_stream * | s, |
| int | flush | ||
| ) |
| int azopen | ( | azio_stream * | s, |
| const char * | path, | ||
| int | Flags | ||
| ) |
| size_t ZEXPORT azread | ( | azio_stream * | s, |
| voidp | buf, | ||
| size_t | len, | ||
| int * | error | ||
| ) |
| int azread_comment | ( | azio_stream * | s, |
| char * | blob | ||
| ) |
| int azread_frm | ( | azio_stream * | s, |
| char * | blob | ||
| ) |
| int azrewind | ( | azio_stream * | s | ) |
| my_off_t azseek | ( | azio_stream * | s, |
| my_off_t | offset, | ||
| int | whence | ||
| ) |
| my_off_t ZEXPORT aztell | ( | azio_stream * | file | ) |
| unsigned int azwrite | ( | azio_stream * | s, |
| const voidp | buf, | ||
| unsigned int | len | ||
| ) |
| int azwrite_comment | ( | azio_stream * | s, |
| char * | blob, | ||
| size_t | length | ||
| ) |
| int azwrite_frm | ( | azio_stream * | s, |
| char * | blob, | ||
| size_t | length | ||
| ) |
| void check_header | ( | azio_stream * | s | ) |
| int destroy | ( | azio_stream * | s | ) |
| int do_flush | ( | azio_stream * | file, |
| int | flush | ||
| ) |
| int get_byte | ( | azio_stream * | s | ) |
| uLong getLong | ( | azio_stream * | s | ) |
| void putLong | ( | File | file, |
| uLong | x | ||
| ) |
| void read_header | ( | azio_stream * | s, |
| unsigned char * | buffer | ||
| ) |
| int write_header | ( | azio_stream * | s | ) |
| PSI_file_key arch_key_file_data |
|
static |
|
static |