8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-25 00:03:03 +01:00
firebird-mirror/src/jrd/ail.h

62 lines
2.1 KiB
C

/*
* PROGRAM: JRD Access method
* MODULE: ail.h
* DESCRIPTION: Prototype Header file for ail.cpp
*
* The contents of this file are subject to the Interbase Public
* License Version 1.0 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy
* of the License at http://www.Inprise.com/IPL.html
*
* Software distributed under the License is distributed on an
* "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express
* or implied. See the License for the specific language governing
* rights and limitations under the License.
*
* The Original Code was created by Inprise Corporation
* and its predecessors. Portions created by Inprise Corporation are
* Copyright (C) Inprise Corporation.
*
* All Rights Reserved.
* Contributor(s): ______________________________________.
*
* 2002.10.29 Sean Leyne - Removed obsolete "Netware" port
*
* 2002.10.30 Sean Leyne - Removed support for obsolete "PC_PLATFORM" define
*
*/
#ifndef JRD_AIL_H
#define JRD_AIL_H
#ifdef __cplusplus
extern "C" {
#endif
extern void AIL_add_log(void);
extern void AIL_checkpoint_finish(STATUS *, struct dbb *, SLONG, TEXT *,
SLONG, SLONG);
extern void AIL_commit(SLONG);
extern void AIL_disable(void);
extern void AIL_drop_log(void);
extern void AIL_drop_log_force(void);
extern void AIL_enable(TEXT *, USHORT, UCHAR *, USHORT, SSHORT);
extern void AIL_fini(void);
extern void AIL_get_file_list(struct lls **);
extern void AIL_init(TEXT *, SSHORT, struct win *, USHORT, struct sbm **);
extern void AIL_init_log_page(struct log_info_page *, SLONG);
extern void AIL_journal_tid(void);
extern void AIL_process_jrn_error(SLONG);
extern void AIL_put(struct dbb *, STATUS *, struct jrnh *, USHORT, UCHAR *,
USHORT, ULONG, ULONG, ULONG *, ULONG *);
extern void AIL_recover_page(SLONG, struct pag *);
extern void AIL_set_log_options(SLONG, SSHORT, USHORT, SLONG);
extern void AIL_shutdown(SCHAR *, SLONG *, SLONG *, SLONG *, SSHORT);
extern void AIL_upd_cntrl_pt(TEXT *, USHORT, ULONG, ULONG, ULONG);
#ifdef __cplusplus
} /* extern "C" */
#endif
#endif /* JRD_AIL_H */