mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 22:03:03 +01:00
extern cleaning
This commit is contained in:
parent
27f02ec1ec
commit
ec9d899cb2
@ -29,28 +29,28 @@
|
||||
#ifndef WAL_WAL_PROTO_H
|
||||
#define WAL_WAL_PROTO_H
|
||||
|
||||
extern SSHORT WAL_attach (ISC_STATUS *, struct wal **, SCHAR *);
|
||||
extern SSHORT WAL_checkpoint_finish (ISC_STATUS *, struct wal *, SLONG *, SCHAR *, SLONG *, SLONG *);
|
||||
extern SSHORT WAL_checkpoint_force (ISC_STATUS *, struct wal *, SLONG *, SCHAR *, SLONG *, SLONG *);
|
||||
extern SSHORT WAL_checkpoint_start (ISC_STATUS *, struct wal *, bool *);
|
||||
extern SSHORT WAL_checkpoint_recorded (ISC_STATUS *, struct wal *);
|
||||
extern SSHORT WAL_commit (ISC_STATUS *, struct wal *, UCHAR *, USHORT, SLONG *, SLONG *);
|
||||
extern void WAL_fini (ISC_STATUS *, struct wal **);
|
||||
extern SSHORT WAL_flush (ISC_STATUS *, struct wal *, SLONG *, SLONG *, bool);
|
||||
extern SSHORT WAL_init (ISC_STATUS *, struct wal **, SCHAR *, USHORT, SCHAR *,
|
||||
SSHORT WAL_attach (ISC_STATUS *, struct wal **, SCHAR *);
|
||||
SSHORT WAL_checkpoint_finish (ISC_STATUS *, struct wal *, SLONG *, SCHAR *, SLONG *, SLONG *);
|
||||
SSHORT WAL_checkpoint_force (ISC_STATUS *, struct wal *, SLONG *, SCHAR *, SLONG *, SLONG *);
|
||||
SSHORT WAL_checkpoint_start (ISC_STATUS *, struct wal *, bool *);
|
||||
SSHORT WAL_checkpoint_recorded (ISC_STATUS *, struct wal *);
|
||||
SSHORT WAL_commit (ISC_STATUS *, struct wal *, UCHAR *, USHORT, SLONG *, SLONG *);
|
||||
void WAL_fini (ISC_STATUS *, struct wal **);
|
||||
SSHORT WAL_flush (ISC_STATUS *, struct wal *, SLONG *, SLONG *, bool);
|
||||
SSHORT WAL_init (ISC_STATUS *, struct wal **, SCHAR *, USHORT, SCHAR *,
|
||||
SLONG, bool, SLONG, SSHORT, SCHAR *);
|
||||
extern SSHORT WAL_journal_disable (ISC_STATUS *, struct wal *);
|
||||
extern SSHORT WAL_journal_enable (ISC_STATUS *, struct wal *, SCHAR *, USHORT, SCHAR *);
|
||||
extern SSHORT WAL_put (ISC_STATUS *, struct wal *, UCHAR *, USHORT, UCHAR *, USHORT, SLONG *, SLONG *);
|
||||
extern bool WAL_rollover_happened (ISC_STATUS *, struct wal *, SLONG *, TEXT *, SLONG *);
|
||||
extern void WAL_rollover_recorded (struct wal *);
|
||||
extern SSHORT WAL_set_checkpoint_length (ISC_STATUS *, struct wal *, SLONG);
|
||||
extern void WAL_set_cleanup_flag (struct wal *);
|
||||
extern SSHORT WAL_set_grpc_wait_time (ISC_STATUS *, struct wal *, SLONG);
|
||||
extern SSHORT WAL_set_rollover_log (ISC_STATUS *, struct wal *, struct logfiles *);
|
||||
extern SSHORT WAL_shutdown (ISC_STATUS *, struct wal *, SLONG *, SCHAR *,
|
||||
SSHORT WAL_journal_disable (ISC_STATUS *, struct wal *);
|
||||
SSHORT WAL_journal_enable (ISC_STATUS *, struct wal *, SCHAR *, USHORT, SCHAR *);
|
||||
SSHORT WAL_put (ISC_STATUS *, struct wal *, UCHAR *, USHORT, UCHAR *, USHORT, SLONG *, SLONG *);
|
||||
bool WAL_rollover_happened (ISC_STATUS *, struct wal *, SLONG *, TEXT *, SLONG *);
|
||||
void WAL_rollover_recorded (struct wal *);
|
||||
SSHORT WAL_set_checkpoint_length (ISC_STATUS *, struct wal *, SLONG);
|
||||
void WAL_set_cleanup_flag (struct wal *);
|
||||
SSHORT WAL_set_grpc_wait_time (ISC_STATUS *, struct wal *, SLONG);
|
||||
SSHORT WAL_set_rollover_log (ISC_STATUS *, struct wal *, struct logfiles *);
|
||||
SSHORT WAL_shutdown (ISC_STATUS *, struct wal *, SLONG *, SCHAR *,
|
||||
SLONG *, SLONG *, bool);
|
||||
extern SSHORT WAL_shutdown_old_writer (ISC_STATUS *, SCHAR *);
|
||||
extern SSHORT WAL_status (ISC_STATUS *, struct wal *, SLONG *, SCHAR *, SLONG *, SLONG *, SLONG *, SCHAR *, SLONG *, SLONG *);
|
||||
SSHORT WAL_shutdown_old_writer (ISC_STATUS *, SCHAR *);
|
||||
SSHORT WAL_status (ISC_STATUS *, struct wal *, SLONG *, SCHAR *, SLONG *, SLONG *, SLONG *, SCHAR *, SLONG *, SLONG *);
|
||||
|
||||
#endif /* WAL_WAL_PROTO_H */
|
||||
#endif // WAL_WAL_PROTO_H
|
||||
|
@ -21,20 +21,20 @@
|
||||
* Contributor(s): ______________________________________.
|
||||
*/
|
||||
|
||||
#ifndef _WAL_WALC_PROTO_H_
|
||||
#define _WAL_WALC_PROTO_H_
|
||||
#ifndef WAL_WALC_PROTO_H
|
||||
#define WAL_WALC_PROTO_H
|
||||
|
||||
extern void WALC_acquire (struct wal *, struct wals **);
|
||||
extern void WALC_alarm_handler (void *);
|
||||
extern SSHORT WALC_bug (ISC_STATUS *, TEXT *, TEXT *);
|
||||
extern void WALC_build_dbg_filename (TEXT *, TEXT *);
|
||||
extern void WALC_build_logname (TEXT *, TEXT *, SLONG);
|
||||
extern SSHORT WALC_check_writer (struct wal *);
|
||||
extern void WALC_fini (ISC_STATUS *, struct wal **);
|
||||
extern SSHORT WALC_init (ISC_STATUS *, struct wal **, TEXT *, USHORT, TEXT *,
|
||||
void WALC_acquire (struct wal *, struct wals **);
|
||||
void WALC_alarm_handler (void *);
|
||||
SSHORT WALC_bug (ISC_STATUS *, TEXT *, TEXT *);
|
||||
void WALC_build_dbg_filename (TEXT *, TEXT *);
|
||||
void WALC_build_logname (TEXT *, TEXT *, SLONG);
|
||||
SSHORT WALC_check_writer (struct wal *);
|
||||
void WALC_fini (ISC_STATUS *, struct wal **);
|
||||
SSHORT WALC_init (ISC_STATUS *, struct wal **, TEXT *, USHORT, TEXT *,
|
||||
SLONG, bool, SLONG, SSHORT, UCHAR *, bool);
|
||||
extern void WALC_release (struct wal *);
|
||||
extern void WALC_save_status_strings (ISC_STATUS *);
|
||||
extern void WALC_setup_buffer_block (struct wals *, struct walblk *, bool);
|
||||
void WALC_release (struct wal *);
|
||||
void WALC_save_status_strings (ISC_STATUS *);
|
||||
void WALC_setup_buffer_block (struct wals *, struct walblk *, bool);
|
||||
|
||||
#endif /* _WAL_WALC_PROTO_H_ */
|
||||
#endif // WAL_WALC_PROTO_H
|
||||
|
@ -21,23 +21,23 @@
|
||||
* Contributor(s): ______________________________________.
|
||||
*/
|
||||
|
||||
#ifndef _WAL_WALF_PROTO_H_
|
||||
#define _WAL_WALF_PROTO_H_
|
||||
#ifndef WAL_WALF_PROTO_H
|
||||
#define WAL_WALF_PROTO_H
|
||||
|
||||
extern SSHORT WALF_delink_log (ISC_STATUS *, SCHAR *, SCHAR *, SLONG);
|
||||
extern SSHORT WALF_delink_prev_log (ISC_STATUS *, SCHAR *, SCHAR *, SLONG);
|
||||
extern void WALF_dispose_log_header (struct walfh *);
|
||||
extern bool WALF_get_linked_logs_info (ISC_STATUS *, SCHAR *, SCHAR *, SLONG,
|
||||
SSHORT WALF_delink_log (ISC_STATUS *, SCHAR *, SCHAR *, SLONG);
|
||||
SSHORT WALF_delink_prev_log (ISC_STATUS *, SCHAR *, SCHAR *, SLONG);
|
||||
void WALF_dispose_log_header (struct walfh *);
|
||||
bool WALF_get_linked_logs_info (ISC_STATUS *, SCHAR *, SCHAR *, SLONG,
|
||||
int *, SCHAR *, SLONG *, SLONG *, bool *);
|
||||
extern SSHORT WALF_get_log_info (ISC_STATUS *, SCHAR *, SCHAR *, SLONG, SLONG *, SLONG *, SLONG *);
|
||||
extern SSHORT WALF_get_next_log_info (ISC_STATUS *, SCHAR *, SCHAR *, SLONG, SCHAR *, SLONG *, SLONG *, SLONG *, SLONG *, SSHORT);
|
||||
extern SSHORT WALF_get_all_next_logs_info (ISC_STATUS *, SCHAR *, SCHAR *, SLONG, int, SCHAR *, int *, SCHAR * *, SLONG *, SLONG *, SLONG *, SLONG *, SSHORT);
|
||||
extern SSHORT WALF_init_p_log (ISC_STATUS *, SCHAR *, SCHAR *, SLONG, SSHORT);
|
||||
extern SSHORT WALF_open_partitioned_log_file (ISC_STATUS *, SCHAR *, SCHAR *, struct p_logfh *, SLONG *);
|
||||
extern SSHORT WALF_open_log_file (ISC_STATUS *, SCHAR *, SCHAR *, SLONG, struct walfh *, SLONG *);
|
||||
extern SSHORT WALF_set_log_header_flag (ISC_STATUS *, SCHAR *, SCHAR *, SLONG, SLONG, bool);
|
||||
extern SSHORT WALF_update_log_header (ISC_STATUS *, SCHAR *, SLONG, struct walfh *, SLONG);
|
||||
extern void WALF_upd_log_hdr_frm_walfh_data (struct walfh *, UCHAR *);
|
||||
extern SSHORT WALF_update_partitioned_log_hdr (ISC_STATUS *, SCHAR *, struct p_logfh *, SLONG);
|
||||
SSHORT WALF_get_log_info (ISC_STATUS *, SCHAR *, SCHAR *, SLONG, SLONG *, SLONG *, SLONG *);
|
||||
SSHORT WALF_get_next_log_info (ISC_STATUS *, SCHAR *, SCHAR *, SLONG, SCHAR *, SLONG *, SLONG *, SLONG *, SLONG *, SSHORT);
|
||||
SSHORT WALF_get_all_next_logs_info (ISC_STATUS *, SCHAR *, SCHAR *, SLONG, int, SCHAR *, int *, SCHAR * *, SLONG *, SLONG *, SLONG *, SLONG *, SSHORT);
|
||||
SSHORT WALF_init_p_log (ISC_STATUS *, SCHAR *, SCHAR *, SLONG, SSHORT);
|
||||
SSHORT WALF_open_partitioned_log_file (ISC_STATUS *, SCHAR *, SCHAR *, struct p_logfh *, SLONG *);
|
||||
SSHORT WALF_open_log_file (ISC_STATUS *, SCHAR *, SCHAR *, SLONG, struct walfh *, SLONG *);
|
||||
SSHORT WALF_set_log_header_flag (ISC_STATUS *, SCHAR *, SCHAR *, SLONG, SLONG, bool);
|
||||
SSHORT WALF_update_log_header (ISC_STATUS *, SCHAR *, SLONG, struct walfh *, SLONG);
|
||||
void WALF_upd_log_hdr_frm_walfh_data (struct walfh *, UCHAR *);
|
||||
SSHORT WALF_update_partitioned_log_hdr (ISC_STATUS *, SCHAR *, struct p_logfh *, SLONG);
|
||||
|
||||
#endif /* _WAL_WALF_PROTO_H_ */
|
||||
#endif // WAL_WALF_PROTO_H
|
||||
|
@ -21,14 +21,14 @@
|
||||
* Contributor(s): ______________________________________.
|
||||
*/
|
||||
|
||||
#ifndef _WAL_WALR_PROTO_H_
|
||||
#define _WAL_WALR_PROTO_H_
|
||||
#ifndef WAL_WALR_PROTO_H
|
||||
#define WAL_WALR_PROTO_H
|
||||
|
||||
extern SSHORT WALR_close (ISC_STATUS *, struct walrs **);
|
||||
extern SSHORT WALR_fixup_log_header (ISC_STATUS *, struct walrs *);
|
||||
extern SSHORT WALR_get (ISC_STATUS *, struct walrs *, UCHAR *, USHORT *, SLONG *, SLONG *);
|
||||
extern SSHORT WALR_get_blk_timestamp (struct walrs *, SLONG *);
|
||||
extern SSHORT WALR_open (ISC_STATUS *, struct walrs **, SCHAR *, int, SCHAR **,
|
||||
SSHORT WALR_close (ISC_STATUS *, struct walrs **);
|
||||
SSHORT WALR_fixup_log_header (ISC_STATUS *, struct walrs *);
|
||||
SSHORT WALR_get (ISC_STATUS *, struct walrs *, UCHAR *, USHORT *, SLONG *, SLONG *);
|
||||
SSHORT WALR_get_blk_timestamp (struct walrs *, SLONG *);
|
||||
SSHORT WALR_open (ISC_STATUS *, struct walrs **, SCHAR *, int, SCHAR **,
|
||||
SLONG *, SLONG, SLONG *, bool);
|
||||
|
||||
#endif /* _WAL_WALR_PROTO_H_ */
|
||||
#endif // WAL_WALR_PROTO_H
|
||||
|
@ -25,7 +25,7 @@
|
||||
#define WAL_WALW_PROTO_H
|
||||
|
||||
#ifdef SUPERSERVER
|
||||
extern int main_walw(SCHAR **);
|
||||
int main_walw(SCHAR **);
|
||||
#endif
|
||||
|
||||
#endif /* WAL_WALW_PROTO_H */
|
||||
#endif // WAL_WALW_PROTO_H
|
||||
|
@ -24,11 +24,11 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef _WAL_WSTAT_PROTO_H_
|
||||
#define _WAL_WSTAT_PROTO_H_
|
||||
#ifndef WAL_WSTAT_PROTO_H
|
||||
#define WAL_WSTAT_PROTO_H
|
||||
|
||||
#include "../jrd/ib_stdio.h"
|
||||
extern void WSTATUS_dump_wal_segment (WAL, int, IB_FILE *);
|
||||
void WSTATUS_dump_wal_segment (WAL, int, IB_FILE *);
|
||||
|
||||
#endif /* _WAL_WSTAT_PROTO_H_ */
|
||||
#endif // WAL_WSTAT_PROTO_H
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user