1/*****************************************************************************
2
3Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.
4
5Portions of this file contain modifications contributed and copyrighted by
6Google, Inc. Those modifications are gratefully acknowledged and are described
7briefly in the InnoDB documentation. The contributions by Google are
8incorporated with their permission, and subject to the conditions contained in
9the file COPYING.Google.
10
11This program is free software; you can redistribute it and/or modify it under
12the terms of the GNU General Public License as published by the Free Software
13Foundation; version 2 of the License.
14
15This program is distributed in the hope that it will be useful, but WITHOUT
16ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
17FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
18
19You should have received a copy of the GNU General Public License along with
20this program; if not, write to the Free Software Foundation, Inc.,
2151 Franklin Street, Suite 500, Boston, MA 02110-1335 USA
22
23*****************************************************************************/
24
25/**************************************************//**
26@file include/log0types.h
27Log types
28
29Created 2013-03-15 Sunny Bains
30*******************************************************/
31
32#ifndef log0types_h
33#define log0types_h
34
35#include "univ.i"
36
37/* Type used for all log sequence number storage and arithmetics */
38typedef ib_uint64_t lsn_t;
39
40#define LSN_MAX IB_UINT64_MAX
41
42#define LSN_PF UINT64PF
43
44/** The redo log manager */
45struct RedoLog;
46
47/** The recovery implementation */
48struct redo_recover_t;
49
50#endif /* log0types_h */
51