summaryrefslogtreecommitdiff
path: root/db/dbinc_auto/rep_ext.h
blob: 13486c7355558060ff409d62e6cb105fddf3ca5e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
/* DO NOT EDIT: automatically built by dist/s_include. */
#ifndef	_rep_ext_h_
#define	_rep_ext_h_

#if defined(__cplusplus)
extern "C" {
#endif

int __rep_update_buf __P((u_int8_t *, size_t, size_t *, DB_LSN *, int));
int __rep_update_read __P((DB_ENV *, void *, void **, __rep_update_args **));
int __rep_fileinfo_buf __P((u_int8_t *, size_t, size_t *, size_t, db_pgno_t, db_pgno_t, int, int32_t, u_int32_t, u_int32_t, const DBT *, const DBT *));
int __rep_fileinfo_read __P((DB_ENV *, void *, void **, __rep_fileinfo_args **));
int __rep_update_req __P((DB_ENV *, int));
int __rep_page_req __P((DB_ENV *, int, DBT *));
int __rep_update_setup __P((DB_ENV *, int, REP_CONTROL *, DBT *));
int __rep_page __P((DB_ENV *, int, REP_CONTROL *, DBT *));
int __rep_page_fail __P((DB_ENV *, int, DBT *));
int __rep_pggap_req __P((DB_ENV *, REP *, __rep_fileinfo_args *, int));
void __rep_loggap_req __P((DB_ENV *, REP *, DB_LSN *, int));
int __rep_finfo_alloc __P((DB_ENV *, __rep_fileinfo_args *, __rep_fileinfo_args **));
void __rep_dbenv_create __P((DB_ENV *));
int __rep_open __P((DB_ENV *));
int __rep_client_dbinit __P((DB_ENV *, int, repdb_t));
void __rep_elect_master __P((DB_ENV *, REP *, int *));
int __rep_process_message __P((DB_ENV *, DBT *, DBT *, int *, DB_LSN *));
int __rep_process_txn __P((DB_ENV *, DBT *));
int __rep_tally __P((DB_ENV *, REP *, int, int *, u_int32_t, roff_t));
void __rep_cmp_vote __P((DB_ENV *, REP *, int *, DB_LSN *, int, u_int32_t, u_int32_t));
int __rep_cmp_vote2 __P((DB_ENV *, REP *, int, u_int32_t));
int __rep_check_doreq __P((DB_ENV *, REP *));
void __rep_lockout __P((DB_ENV *, DB_REP *, REP *, u_int32_t));
int __rep_region_init __P((DB_ENV *));
int __rep_region_destroy __P((DB_ENV *));
void __rep_dbenv_refresh __P((DB_ENV *));
int __rep_dbenv_close __P((DB_ENV *));
int __rep_preclose __P((DB_ENV *, int));
int __rep_write_egen __P((DB_ENV *, u_int32_t));
int __rep_stat_pp __P((DB_ENV *, DB_REP_STAT **, u_int32_t));
int __rep_stat_print_pp __P((DB_ENV *, u_int32_t));
int __rep_stat_print __P((DB_ENV *, u_int32_t));
int __rep_send_message __P((DB_ENV *, int, u_int32_t, DB_LSN *, const DBT *, u_int32_t));
int __rep_new_master __P((DB_ENV *, REP_CONTROL *, int));
int __rep_is_client __P((DB_ENV *));
int __rep_noarchive __P((DB_ENV *));
void __rep_send_vote __P((DB_ENV *, DB_LSN *, int, int, int, u_int32_t, u_int32_t, int, u_int32_t));
void __rep_elect_done __P((DB_ENV *, REP *));
int __rep_grow_sites __P((DB_ENV *dbenv, int nsites));
void __env_rep_enter __P((DB_ENV *));
void __env_db_rep_exit __P((DB_ENV *));
int __db_rep_enter __P((DB *, int, int, int));
void __op_rep_enter __P((DB_ENV *));
void __op_rep_exit __P((DB_ENV *));
void __rep_get_gen __P((DB_ENV *, u_int32_t *));
void __rep_print_message __P((DB_ENV *, int, REP_CONTROL *, char *));

#if defined(__cplusplus)
}
#endif
#endif /* !_rep_ext_h_ */