1/* DO NOT EDIT: automatically built by dist/s_include. */
2#ifndef	_mp_ext_h_
3#define	_mp_ext_h_
4
5#if defined(__cplusplus)
6extern "C" {
7#endif
8
9int __memp_alloc __P((DB_MPOOL *, REGINFO *, MPOOLFILE *, size_t, roff_t *, void *));
10void __memp_free __P((REGINFO *, MPOOLFILE *, void *));
11int __memp_bhwrite __P((DB_MPOOL *, DB_MPOOL_HASH *, MPOOLFILE *, BH *, int));
12int __memp_pgread __P((DB_MPOOLFILE *, DB_MPOOL_HASH *, BH *, int));
13int __memp_pg __P((DB_MPOOLFILE *, BH *, int));
14int __memp_bhfree __P((DB_MPOOL *, REGINFO *, DB_MPOOL_HASH *, BH *, u_int32_t));
15int __memp_fget_pp __P((DB_MPOOLFILE *, db_pgno_t *, DB_TXN *, u_int32_t, void *));
16int __memp_fget __P((DB_MPOOLFILE *, db_pgno_t *, DB_THREAD_INFO *, DB_TXN *, u_int32_t, void *));
17int __memp_fcreate_pp __P((DB_ENV *, DB_MPOOLFILE **, u_int32_t));
18int __memp_fcreate __P((ENV *, DB_MPOOLFILE **));
19int __memp_set_clear_len __P((DB_MPOOLFILE *, u_int32_t));
20int __memp_get_fileid __P((DB_MPOOLFILE *, u_int8_t *));
21int __memp_set_fileid __P((DB_MPOOLFILE *, u_int8_t *));
22int __memp_get_flags __P((DB_MPOOLFILE *, u_int32_t *));
23int __memp_set_flags __P((DB_MPOOLFILE *, u_int32_t, int));
24int __memp_get_ftype __P((DB_MPOOLFILE *, int *));
25int __memp_set_ftype __P((DB_MPOOLFILE *, int));
26int __memp_set_lsn_offset __P((DB_MPOOLFILE *, int32_t));
27int __memp_get_pgcookie __P((DB_MPOOLFILE *, DBT *));
28int __memp_set_pgcookie __P((DB_MPOOLFILE *, DBT *));
29int __memp_get_last_pgno __P((DB_MPOOLFILE *, db_pgno_t *));
30char * __memp_fn __P((DB_MPOOLFILE *));
31char * __memp_fns __P((DB_MPOOL *, MPOOLFILE *));
32int __memp_fopen_pp __P((DB_MPOOLFILE *, const char *, u_int32_t, int, size_t));
33int __memp_fopen __P((DB_MPOOLFILE *, MPOOLFILE *, const char *, u_int32_t, int, size_t));
34int __memp_fclose_pp __P((DB_MPOOLFILE *, u_int32_t));
35int __memp_fclose __P((DB_MPOOLFILE *, u_int32_t));
36int __memp_mf_discard __P((DB_MPOOL *, MPOOLFILE *));
37int __memp_inmemlist __P((ENV *, char ***, int *));
38int __memp_fput_pp __P((DB_MPOOLFILE *, void *, DB_CACHE_PRIORITY, u_int32_t));
39int __memp_fput __P((DB_MPOOLFILE *, DB_THREAD_INFO *, void *, DB_CACHE_PRIORITY));
40int __memp_unpin_buffers __P((ENV *, DB_THREAD_INFO *));
41int __memp_dirty __P((DB_MPOOLFILE *, void *, DB_THREAD_INFO *, DB_TXN *, DB_CACHE_PRIORITY, u_int32_t));
42int __memp_env_create __P((DB_ENV *));
43void __memp_env_destroy __P((DB_ENV *));
44int __memp_get_cachesize __P((DB_ENV *, u_int32_t *, u_int32_t *, int *));
45int __memp_set_cachesize __P((DB_ENV *, u_int32_t, u_int32_t, int));
46int __memp_set_config __P((DB_ENV *, u_int32_t, int));
47int __memp_get_config __P((DB_ENV *, u_int32_t, int *));
48int __memp_get_mp_max_openfd __P((DB_ENV *, int *));
49int __memp_set_mp_max_openfd __P((DB_ENV *, int));
50int __memp_get_mp_max_write __P((DB_ENV *, int *, db_timeout_t *));
51int __memp_set_mp_max_write __P((DB_ENV *, int, db_timeout_t));
52int __memp_get_mp_mmapsize __P((DB_ENV *, size_t *));
53int __memp_set_mp_mmapsize __P((DB_ENV *, size_t));
54int __memp_nameop __P((ENV *, u_int8_t *, const char *, const char *, const char *, int));
55int __memp_ftruncate __P((DB_MPOOLFILE *, DB_THREAD_INFO *, db_pgno_t, u_int32_t));
56int __memp_alloc_freelist __P((DB_MPOOLFILE *, u_int32_t, db_pgno_t **));
57int __memp_free_freelist __P((DB_MPOOLFILE *));
58int __memp_get_freelist __P(( DB_MPOOLFILE *, u_int32_t *, db_pgno_t **));
59int __memp_extend_freelist __P(( DB_MPOOLFILE *, u_int32_t , db_pgno_t **));
60void __memp_set_last_pgno __P((DB_MPOOLFILE *, db_pgno_t));
61u_int32_t __memp_bh_priority __P((BH *));
62int __memp_bh_settxn __P((DB_MPOOL *, MPOOLFILE *mfp, BH *, void *));
63int __memp_skip_curadj __P((DBC *, db_pgno_t));
64int __memp_bh_freeze __P((DB_MPOOL *, REGINFO *, DB_MPOOL_HASH *, BH *, int *));
65int __memp_bh_thaw __P((DB_MPOOL *, REGINFO *, DB_MPOOL_HASH *, BH *, BH *));
66int __memp_open __P((ENV *, int));
67int	__memp_init __P((ENV *, DB_MPOOL *, u_int, u_int32_t, u_int));
68u_int32_t __memp_max_regions __P((ENV *));
69u_int32_t __memp_region_mutex_count __P((ENV *));
70int __memp_env_refresh __P((ENV *));
71int __memp_register_pp __P((DB_ENV *, int, int (*)(DB_ENV *, db_pgno_t, void *, DBT *), int (*)(DB_ENV *, db_pgno_t, void *, DBT *)));
72int __memp_register __P((ENV *, int, int (*)(DB_ENV *, db_pgno_t, void *, DBT *), int (*)(DB_ENV *, db_pgno_t, void *, DBT *)));
73int __memp_get_bucket __P((ENV *, MPOOLFILE *, db_pgno_t, REGINFO **, DB_MPOOL_HASH **));
74int __memp_resize __P((DB_MPOOL *, u_int32_t, u_int32_t));
75int __memp_get_cache_max __P((DB_ENV *, u_int32_t *, u_int32_t *));
76int __memp_set_cache_max __P((DB_ENV *, u_int32_t, u_int32_t));
77int __memp_stat_pp __P((DB_ENV *, DB_MPOOL_STAT **, DB_MPOOL_FSTAT ***, u_int32_t));
78int __memp_stat_print_pp __P((DB_ENV *, u_int32_t));
79int  __memp_stat_print __P((ENV *, u_int32_t));
80void __memp_stat_hash __P((REGINFO *, MPOOL *, u_int32_t *));
81int __memp_walk_files __P((ENV *, MPOOL *, int (*) __P((ENV *, MPOOLFILE *, void *, u_int32_t *, u_int32_t)), void *, u_int32_t *, u_int32_t));
82int __memp_sync_pp __P((DB_ENV *, DB_LSN *));
83int __memp_sync __P((ENV *, u_int32_t, DB_LSN *));
84int __memp_fsync_pp __P((DB_MPOOLFILE *));
85int __memp_fsync __P((DB_MPOOLFILE *));
86int __mp_xxx_fh __P((DB_MPOOLFILE *, DB_FH **));
87int __memp_sync_int __P((ENV *, DB_MPOOLFILE *, u_int32_t, u_int32_t, u_int32_t *, int *));
88int __memp_mf_sync __P((DB_MPOOL *, MPOOLFILE *, int));
89int __memp_trickle_pp __P((DB_ENV *, int, int *));
90
91#if defined(__cplusplus)
92}
93#endif
94#endif /* !_mp_ext_h_ */
95