1/*- 2 * See the file LICENSE for redistribution information. 3 * 4 * Copyright (c) 1996,2008 Oracle. All rights reserved. 5 * 6 * $Id: dbreg.src,v 12.9 2008/01/08 20:58:19 bostic Exp $ 7 */ 8 9DBPRIVATE 10PREFIX __dbreg 11 12INCLUDE #include "db_int.h" 13INCLUDE #include "dbinc/crypto.h" 14INCLUDE #include "dbinc/db_page.h" 15INCLUDE #include "dbinc/db_dispatch.h" 16INCLUDE #include "dbinc/db_am.h" 17INCLUDE #include "dbinc/log.h" 18INCLUDE #include "dbinc/txn.h" 19INCLUDE 20 21/* 22 * Used for registering name/id translations at open or close. 23 * opcode: register or unregister 24 * name: file name 25 * fileid: unique file id 26 * ftype: file type 27 * ftype: database type 28 * id: transaction id of the subtransaction that created the fs object 29 */ 30BEGIN register 42 2 31ARG opcode u_int32_t lu 32DBT name DBT s 33DBT uid DBT s 34ARG fileid int32_t ld 35ARG ftype DBTYPE lx 36ARG meta_pgno db_pgno_t lu 37ARG id u_int32_t lx 38END 39