summaryrefslogtreecommitdiff
path: root/bdb/include/crdel_auto.h
blob: 409c256811f85632188ee64217c7261b1ad13397 (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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
/* Do not edit: automatically built by gen_rec.awk. */

#ifndef	crdel_AUTO_H
#define	crdel_AUTO_H

#define	DB_crdel_fileopen	141
typedef struct _crdel_fileopen_args {
	u_int32_t type;
	DB_TXN *txnid;
	DB_LSN prev_lsn;
	DBT	name;
	u_int32_t	mode;
} __crdel_fileopen_args;

int __crdel_fileopen_log __P((DB_ENV *, DB_TXN *, DB_LSN *, u_int32_t, const DBT *, u_int32_t));
int __crdel_fileopen_print __P((DB_ENV *, DBT *, DB_LSN *, db_recops, void *));
int __crdel_fileopen_read __P((DB_ENV *, void *, __crdel_fileopen_args **));

#define	DB_crdel_metasub	142
typedef struct _crdel_metasub_args {
	u_int32_t type;
	DB_TXN *txnid;
	DB_LSN prev_lsn;
	int32_t	fileid;
	db_pgno_t	pgno;
	DBT	page;
	DB_LSN	lsn;
} __crdel_metasub_args;

int __crdel_metasub_log __P((DB_ENV *, DB_TXN *, DB_LSN *, u_int32_t, int32_t, db_pgno_t, const DBT *, DB_LSN *));
int __crdel_metasub_print __P((DB_ENV *, DBT *, DB_LSN *, db_recops, void *));
int __crdel_metasub_read __P((DB_ENV *, void *, __crdel_metasub_args **));

#define	DB_crdel_metapage	143
typedef struct _crdel_metapage_args {
	u_int32_t type;
	DB_TXN *txnid;
	DB_LSN prev_lsn;
	int32_t	fileid;
	DBT	name;
	db_pgno_t	pgno;
	DBT	page;
} __crdel_metapage_args;

int __crdel_metapage_log __P((DB_ENV *, DB_TXN *, DB_LSN *, u_int32_t, int32_t, const DBT *, db_pgno_t, const DBT *));
int __crdel_metapage_print __P((DB_ENV *, DBT *, DB_LSN *, db_recops, void *));
int __crdel_metapage_read __P((DB_ENV *, void *, __crdel_metapage_args **));

#define	DB_crdel_old_delete	144
typedef struct _crdel_old_delete_args {
	u_int32_t type;
	DB_TXN *txnid;
	DB_LSN prev_lsn;
	DBT	name;
} __crdel_old_delete_args;

int __crdel_old_delete_print __P((DB_ENV *, DBT *, DB_LSN *, db_recops, void *));
int __crdel_old_delete_read __P((DB_ENV *, void *, __crdel_old_delete_args **));

#define	DB_crdel_rename	145
typedef struct _crdel_rename_args {
	u_int32_t type;
	DB_TXN *txnid;
	DB_LSN prev_lsn;
	int32_t	fileid;
	DBT	name;
	DBT	newname;
} __crdel_rename_args;

int __crdel_rename_log __P((DB_ENV *, DB_TXN *, DB_LSN *, u_int32_t, int32_t, const DBT *, const DBT *));
int __crdel_rename_print __P((DB_ENV *, DBT *, DB_LSN *, db_recops, void *));
int __crdel_rename_read __P((DB_ENV *, void *, __crdel_rename_args **));

#define	DB_crdel_delete	146
typedef struct _crdel_delete_args {
	u_int32_t type;
	DB_TXN *txnid;
	DB_LSN prev_lsn;
	int32_t	fileid;
	DBT	name;
} __crdel_delete_args;

int __crdel_delete_log __P((DB_ENV *, DB_TXN *, DB_LSN *, u_int32_t, int32_t, const DBT *));
int __crdel_delete_print __P((DB_ENV *, DBT *, DB_LSN *, db_recops, void *));
int __crdel_delete_read __P((DB_ENV *, void *, __crdel_delete_args **));
int __crdel_init_print __P((DB_ENV *));
int __crdel_init_recover __P((DB_ENV *));
#endif