/*-
* See the file LICENSE for redistribution information.
*
* Copyright (c) 1998
* Sleepycat Software. All rights reserved.
*/
#pragma ident "%Z%%M% %I% %E% SMI"
#include "config.h"
#ifndef lint
#endif /* not lint */
#ifndef NO_SYSTEM_INCLUDES
#include <errno.h>
#include <stdio.h>
#include <string.h>
#endif
#include "db_int.h"
#include "db_page.h"
#include "xa.h"
#include "xa_ext.h"
#include "db_am.h"
#include "db_ext.h"
#include "common_ext.h"
int
const char *fname;
int mode;
{
int ret;
/*
* First try to open up the underlying DB.
*
* !!!
* The dbenv argument is taken from the global list of environments.
* When the transaction manager called xa_start() (__db_xa_start()),
* the "current" DB environment was moved to the start of the list.
* However, if we were called in a tpsvrinit function (which is
* entirely plausible), then it's possible that xa_open was called
* (which simply recorded the name of the environment to open) and
* this is the next call into DB. In that case, we still have to
* open the environment.
*
* The way that we know that xa_open and nothing else was called
* is because the nameq is not NULL.
*/
return (ret);
return (ret);
/*
* Allocate our own DB handle, and copy the exported fields and
* function pointers into it. The internal pointer references
* the real underlying DB handle.
*/
return (ret);
}
return (0);
}
static int
{
int ret;
/* Close any associated cursors. */
/* Close the DB handle. */
return (ret);
}
static int
{
int ret;
return (ret);
/*
* Allocate our own DBC handle, and copy the exported fields and
* function pointers into it. The internal pointer references
* the real underlying DBC handle.
*/
return (ret);
}
return (0);
}
static int
int *fdp;
{
}
static int
{
}
static int
{
}
static int
{
}
static int
void *spp;
{
}
static int
{
}
static int
{
int ret;
return (ret);
}
static int
{
}
static int
{
}
static int
{
}