mirror of
https://github.com/MariaDB/server.git
synced 2025-01-18 13:02:28 +01:00
49 lines
1.1 KiB
Text
49 lines
1.1 KiB
Text
/*-
|
|
* See the file LICENSE for redistribution information.
|
|
*
|
|
* Copyright (c) 1996-2002
|
|
* Sleepycat Software. All rights reserved.
|
|
*
|
|
* $Id: dbreg.src,v 10.22 2002/03/27 04:31:44 bostic Exp $
|
|
*/
|
|
|
|
PREFIX __dbreg
|
|
DBPRIVATE
|
|
|
|
INCLUDE #include "db_config.h"
|
|
INCLUDE
|
|
INCLUDE #ifndef NO_SYSTEM_INCLUDES
|
|
INCLUDE #include <sys/types.h>
|
|
INCLUDE
|
|
INCLUDE #include <ctype.h>
|
|
INCLUDE #include <string.h>
|
|
INCLUDE #endif
|
|
INCLUDE
|
|
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/log.h"
|
|
INCLUDE #include "dbinc/rep.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 register 2
|
|
ARG 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
|