Drizzled Public API Documentation

xtrabackup_api.h
1 /*****************************************************************************
2 
3 Copyright (C) 1997, 2010, Innobase Oy. All Rights Reserved.
4 Copyright (C) 2011 Stewart Smith
5 
6 This program is free software; you can redistribute it and/or modify it under
7 the terms of the GNU General Public License as published by the Free Software
8 Foundation; version 2 of the License.
9 
10 This program is distributed in the hope that it will be useful, but WITHOUT
11 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
12 FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
13 
14 You should have received a copy of the GNU General Public License along with
15 this program; if not, write to the Free Software Foundation, Inc., 51 Franklin
16 St, Fifth Floor, Boston, MA 02110-1301 USA
17 
18 *****************************************************************************/
19 
20 /* this file is the internal functions that are used by xtrabackup.
21  They probably shouldn't be called anywhere else.
22  */
23 
24 #pragma once
25 
26 ulint
27 recv_find_max_checkpoint(log_group_t** max_group,
28  ulint* max_field);
29 
30 ibool
31 log_block_checksum_is_ok_or_old_format(const byte* block);
32 
33 ulint
34 open_or_create_data_files(ibool* create_new_db,
35 #ifdef UNIV_LOG_ARCHIVE
36  ulint* min_arch_log_no,
38  ulint* max_arch_log_no,
40 #endif /* UNIV_LOG_ARCHIVE */
41  ib_uint64_t* min_flushed_lsn,
43  ib_uint64_t* max_flushed_lsn,
45  ulint* sum_of_new_sizes);
48 ulint
49 open_or_create_log_file(
50 /*====================*/
51  ibool create_new_db,
53  ibool* log_file_created,
55  ibool log_file_has_been_opened,
58  ulint k,
59  ulint i);
62 btr_root_block_get(
63 /*===============*/
64  dict_index_t* index,
65  mtr_t* mtr);
68 btr_node_ptr_get_child(
69 /*===================*/
70  const rec_t* node_ptr,
71  dict_index_t* index,
72  const ulint* offsets,
73  mtr_t* mtr);
75 ibool
76 recv_check_cp_is_consistent(
77 /*========================*/
78  const byte* buf);
80 int
81 fil_file_readdir_next_file(
82 /*=======================*/
83  ulint* err,
85  const char* dirname,
86  os_file_dir_t dir,
87  os_file_stat_t* info);