bdb-fork-grimen
Version:
Berkeley DB(5.X) bindings for node
38 lines (34 loc) • 836 B
Plain Text
/*-
* See the file LICENSE for redistribution information.
*
* Copyright (c) 1996, 2010 Oracle and/or its affiliates. All rights reserved.
*
* $Id$
*/
DBPRIVATE
PREFIX __dbreg
INCLUDE
INCLUDE
INCLUDE
INCLUDE
INCLUDE
INCLUDE
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 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