~sergei.glushchenko/percona-xtrabackup/xb-pprint

« back to all changes in this revision

Viewing changes to src/xtrabackup.h

Automerge of lp:~laurynas-biveinis/percona-xtrabackup/xtrabackup-page-filters

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/******************************************************
 
2
Copyright (c) 2011 Percona Inc.
 
3
 
 
4
Declarations for xtrabackup.c
 
5
 
 
6
This program is free software; you can redistribute it and/or modify
 
7
it under the terms of the GNU General Public License as published by
 
8
the Free Software Foundation; version 2 of the License.
 
9
 
 
10
This program is distributed in the hope that it will be useful,
 
11
but WITHOUT ANY WARRANTY; without even the implied warranty of
 
12
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
13
GNU General Public License for more details.
 
14
 
 
15
You should have received a copy of the GNU General Public License
 
16
along with this program; if not, write to the Free Software
 
17
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
 
18
 
 
19
*******************************************************/
 
20
 
 
21
#ifndef XB_XTRABACKUP_H
 
22
#define XB_XTRABACKUP_H
 
23
 
 
24
typedef struct {
 
25
    ulint       page_size;
 
26
} xb_delta_info_t;
 
27
 
 
28
typedef enum {
 
29
    XB_STREAM_FMT_NONE,
 
30
    XB_STREAM_FMT_TAR,
 
31
    XB_STREAM_FMT_XBSTREAM
 
32
} xb_stream_fmt_t;
 
33
 
 
34
/* value of the --incremental option */
 
35
extern LSN64 incremental_lsn;
 
36
 
 
37
void xtrabackup_io_throttling(void);
 
38
my_bool xb_write_delta_metadata(const char *filename,
 
39
                                const xb_delta_info_t *info);
 
40
 
 
41
#endif