blob: 3187bc4f04bfedb8bb14a5bd9ebaedb37fd0c05b (
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
|
/*-
* See the file LICENSE for redistribution information.
*
* Copyright (c) 1996, 2015 Oracle and/or its affiliates. All rights reserved.
*
* $Id$
*/
DBPRIVATE
PREFIX __dbreg
INCLUDE #include "db_int.h"
INCLUDE #include "dbinc/crypto.h"
INCLUDE #include "dbinc/db_page.h"
INCLUDE #include "dbinc/db_dispatch.h"
INCLUDE #include "dbinc/db_am.h"
INCLUDE #include "dbinc/txn.h"
INCLUDE
/*
* Used for registering name/id translations at open or close.
* opcode: register or unregister
* name: file name
* fileid: unique file id
* ftype: file type
* ftype: database type
* id: transaction id of the subtransaction that created the fs object
*/
BEGIN_COMPAT register 42 2
DBOP opcode u_int32_t lu
DBT name DBT s
DBT uid DBT s
ARG fileid int32_t ld
ARG ftype DBTYPE lx
ARG meta_pgno db_pgno_t lu
ARG id u_int32_t lx
END
/*
* Used for registering name/id translations at open or close.
* opcode: register or unregister
* name: file name
* fileid: unique file id
* ftype: file type
* ftype: database type
* id: transaction id of the subtransaction that created the fs object
* blob_fid_lo/hi: The blob file directory id
*/
BEGIN register 61 2
DBOP opcode u_int32_t lu
DBT name DBT s
DBT uid DBT s
ARG fileid int32_t ld
ARG ftype DBTYPE lx
ARG meta_pgno db_pgno_t lu
ARG id u_int32_t lx
ARG blob_fid_lo u_int32_t lu
ARG blob_fid_hi u_int32_t lu
END
|