ods_proto.h (Firebird-3.0.2.32703-0.tar.bz2) | : | ods_proto.h (Firebird-3.0.4.33054-0.tar.bz2) | ||
---|---|---|---|---|
skipping to change at line 26 | skipping to change at line 26 | |||
* Copyright (c) 2005 Dmitry Yemanov <dimitr@users.sf.net> | * Copyright (c) 2005 Dmitry Yemanov <dimitr@users.sf.net> | |||
* and all contributors signed below. | * and all contributors signed below. | |||
* | * | |||
* All Rights Reserved. | * All Rights Reserved. | |||
* Contributor(s): ______________________________________. | * Contributor(s): ______________________________________. | |||
*/ | */ | |||
#ifndef ODS_PROTO_H | #ifndef ODS_PROTO_H | |||
#define ODS_PROTO_H | #define ODS_PROTO_H | |||
namespace Firebird { | ||||
class DbImplementation; | ||||
} | ||||
namespace Ods { | namespace Ods { | |||
bool isSupported(USHORT, USHORT); | bool isSupported(const header_page* hdr); | |||
SINT64* getGpgValues(generator_page* page, Firebird::DbImplementation imp | ||||
l, USHORT minorVersion); | ||||
// NS: ODS code logic should never depend on host platform pointer size. | // NS: ODS code logic should never depend on host platform pointer size. | |||
// this is why data type for these things is ULONG (32-bit unsigned integ er) | // this is why data type for these things is ULONG (32-bit unsigned integ er) | |||
ULONG bytesBitPIP(ULONG page_size); | ULONG bytesBitPIP(ULONG page_size); | |||
ULONG pagesPerPIP(ULONG page_size); | ULONG pagesPerPIP(ULONG page_size); | |||
ULONG pagesPerSCN(ULONG page_size); | ULONG pagesPerSCN(ULONG page_size); | |||
ULONG maxPagesPerSCN(ULONG page_size); | ULONG maxPagesPerSCN(ULONG page_size); | |||
ULONG transPerTIP(ULONG page_size); | ULONG transPerTIP(ULONG page_size); | |||
ULONG gensPerPage(ULONG page_size); | ULONG gensPerPage(ULONG page_size); | |||
ULONG dataPagesPerPP(ULONG page_size); | ULONG dataPagesPerPP(ULONG page_size); | |||
End of changes. 2 change blocks. | ||||
1 lines changed or deleted | 7 lines changed or added |