head	1.5;
access;
symbols
	rpm-4_4_8-release:1.3.2.2
	rpm-4_4_7-release:1.3.2.2
	db-4_5_20:1.5
	rpm-4_4_6-release:1.3.2.1
	rpm-4_4_5-release:1.3.2.1
	db-4_4_20:1.4
	rpm-4_4_4-release:1.3.2.1
	db-4_4_16:1.4
	rpm-4_4_3-release:1.3.2.1
	db-4_4_11:1.4
	db-4_3_29:1.3
	jbj_before_tklcpatches:1.3
	rpm-4_4_2-release:1.3
	pjones-sparse-experiment:1.3.0.4
	db-4_4_4:1.3
	rpm-4_4_1-release:1.3
	db-4_3_27:1.3
	rpm-4_4-release:1.3
	rpm-4_4:1.3.0.2
	db-4_3_21:1.3
	db-4_3_14:1.3
	db-4_2_52:1.2
	rpm-4_3_1-start:1.2
	rpm-4_3:1.2.0.2
	rpm-4_2_1-release:1.1.1.5
	rpm-4_1_1-release:1.1.1.5
	rpm-4_2-release:1.1.1.5
	rpm-4_2:1.1.1.5.0.2
	postmerge-db-4_1_24-release:1.1.1.5
	premerge-db-4_1_24-release:1.1.1.5
	db-4_1_24-release:1.1.1.5
	pre-db-4_1_24-release:1.1.1.5
	rpm-4_1-release:1.1.1.4
	postmerge-db-4_1_17:1.1.1.5
	premerge-db-4_1_17:1.1.1.5
	db-4_1_17:1.1.1.5
	pre-db-4_1_17:1.1.1.4
	rpm-4_1:1.1.1.4.0.2
	rpm-4_0_4-release:1.1.1.2.2.2
	jbj-before-beecrypt:1.1.1.2.2.2
	postmerge-db-4_0_14:1.1.1.4
	premerge-db-4_0_14:1.1.1.4
	db-4_0_14:1.1.1.4
	pre-db-4_0_14:1.1.1.4
	rpm-4_0_3-release:1.1.1.2.2.1
	postmerge-db-4_0_7:1.1.1.4
	premerge-db-4_0_7:1.1.1.4
	db-4_0_7:1.1.1.4
	pre-db-4_0_7:1.1.1.3
	jbj_b4_rollback:1.1.1.2.2.1
	postmerge-db-3_3_11-release:1.1.1.3
	premerge-db-3_3_11-release:1.1.1.3
	db-3_3_11-release:1.1.1.3
	pre-db-3_3_11-release:1.1.1.2
	rpm-4_0:1.1.1.2.0.2
	postmerge-db-3_3_4-release:1.1.1.2
	premerge-db-3_3_4-release:1.1.1.2
	db-3_3_4-release:1.1.1.2
	pre-db-3_3_4-release:1.1.1.1
	db-3_2_9-release:1.1.1.1
	db-3_2_9-vendor:1.1.1;
locks; strict;
comment	@# @;


1.5
date	2006.10.01.20.18.55;	author jbj;	state Exp;
branches;
next	1.4;

1.4
date	2005.10.28.17.13.19;	author jbj;	state Exp;
branches;
next	1.3;

1.3
date	2004.10.16.01.31.55;	author jbj;	state Exp;
branches
	1.3.2.1;
next	1.2;

1.2
date	2003.12.15.21.42.44;	author jbj;	state Exp;
branches;
next	1.1;

1.1
date	2001.03.21.18.33.38;	author jbj;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	2001.03.21.18.33.38;	author jbj;	state Exp;
branches;
next	1.1.1.2;

1.1.1.2
date	2001.05.13.19.58.27;	author jbj;	state Exp;
branches
	1.1.1.2.2.1;
next	1.1.1.3;

1.1.1.3
date	2001.07.23.20.09.05;	author jbj;	state Exp;
branches;
next	1.1.1.4;

1.1.1.4
date	2001.10.15.03.47.24;	author jbj;	state Exp;
branches;
next	1.1.1.5;

1.1.1.5
date	2002.08.14.16.31.56;	author jbj;	state Exp;
branches;
next	;

1.1.1.2.2.1
date	2001.07.23.20.31.15;	author jbj;	state Exp;
branches;
next	1.1.1.2.2.2;

1.1.1.2.2.2
date	2002.01.08.04.07.17;	author jbj;	state Exp;
branches;
next	;

1.3.2.1
date	2005.10.28.18.44.33;	author jbj;	state Exp;
branches;
next	1.3.2.2;

1.3.2.2
date	2006.10.01.22.29.22;	author jbj;	state Exp;
branches;
next	;


desc
@@


1.5
log
@Update to db-4.5.20.
@
text
@/* Do not edit: automatically built by gen_rpc.awk. */
#include "db_config.h"

#include "db_int.h"
#include "dbinc/txn.h"

/*
 * PUBLIC: int __dbcl_env_create_ret __P((DB_ENV *, long,
 * PUBLIC:      __env_create_reply *));
 */
int
__dbcl_env_create_ret(dbenv, timeout, replyp)
	DB_ENV * dbenv;
	long timeout;
	__env_create_reply *replyp;
{
	int ret;
	long env;

	if (replyp->status != 0)
		return (replyp->status);
	env = replyp->envcl_id;

	/*
	 * XXX Code goes here
	 */

	return (replyp->status);
}

/*
 * PUBLIC: int __dbcl_env_cdsgroup_begin_ret __P((DB_ENV *, DB_TXN **,
 * PUBLIC:      __env_cdsgroup_begin_reply *));
 */
int
__dbcl_env_cdsgroup_begin_ret(dbenv, txnpp, replyp)
	DB_ENV * dbenv;
	DB_TXN ** txnpp;
	__env_cdsgroup_begin_reply *replyp;
{
	int ret;
	long txnid;

	if (replyp->status != 0)
		return (replyp->status);
	txnid = replyp->txnidcl_id;

	/*
	 * XXX Code goes here
	 */

	return (replyp->status);
}

/*
 * PUBLIC: int __dbcl_env_open_ret __P((DB_ENV *, const char *, u_int32_t, int,
 * PUBLIC:      __env_open_reply *));
 */
int
__dbcl_env_open_ret(dbenv, home, flags, mode, replyp)
	DB_ENV * dbenv;
	const char * home;
	u_int32_t flags;
	int mode;
	__env_open_reply *replyp;
{
	int ret;
	long env;

	if (replyp->status != 0)
		return (replyp->status);
	env = replyp->envcl_id;

	/*
	 * XXX Code goes here
	 */

	return (replyp->status);
}

/*
 * PUBLIC: int __dbcl_env_remove_ret __P((DB_ENV *, const char *, u_int32_t,
 * PUBLIC:      __env_remove_reply *));
 */
int
__dbcl_env_remove_ret(dbenv, home, flags, replyp)
	DB_ENV * dbenv;
	const char * home;
	u_int32_t flags;
	__env_remove_reply *replyp;
{
	int ret;

	if (replyp->status != 0)
		return (replyp->status);

	/*
	 * XXX Code goes here
	 */

	return (replyp->status);
}

/*
 * PUBLIC: int __dbcl_env_txn_begin_ret __P((DB_ENV *, DB_TXN *, DB_TXN **,
 * PUBLIC:      u_int32_t, __env_txn_begin_reply *));
 */
int
__dbcl_env_txn_begin_ret(dbenv, parent, txnpp, flags, replyp)
	DB_ENV * dbenv;
	DB_TXN * parent;
	DB_TXN ** txnpp;
	u_int32_t flags;
	__env_txn_begin_reply *replyp;
{
	int ret;
	long txnid;

	if (replyp->status != 0)
		return (replyp->status);
	txnid = replyp->txnidcl_id;

	/*
	 * XXX Code goes here
	 */

	return (replyp->status);
}

/*
 * PUBLIC: int __dbcl_env_txn_recover_ret __P((DB_ENV *, DB_PREPLIST *, long,
 * PUBLIC:      long *, u_int32_t, __env_txn_recover_reply *));
 */
int
__dbcl_env_txn_recover_ret(dbenv, preplist, count, retp, flags, replyp)
	DB_ENV * dbenv;
	DB_PREPLIST * preplist;
	long count;
	long * retp;
	u_int32_t flags;
	__env_txn_recover_reply *replyp;
{
	int ret;
	u_int32_t *__db_txn;
	u_int8_t *__db_gid;
	long retcount;

	if (replyp->status != 0)
		return (replyp->status);

	/*
	 * XXX Handle list
	 */


	/*
	 * XXX Handle list
	 */

	retcount = replyp->retcount;

	/*
	 * XXX Code goes here
	 */

	return (replyp->status);
}

/*
 * PUBLIC: int __dbcl_db_create_ret __P((DB *, DB_ENV *, u_int32_t,
 * PUBLIC:      __db_create_reply *));
 */
int
__dbcl_db_create_ret(dbp, dbenv, flags, replyp)
	DB * dbp;
	DB_ENV * dbenv;
	u_int32_t flags;
	__db_create_reply *replyp;
{
	int ret;
	long db;

	if (replyp->status != 0)
		return (replyp->status);
	db = replyp->dbcl_id;

	/*
	 * XXX Code goes here
	 */

	return (replyp->status);
}

/*
 * PUBLIC: int __dbcl_db_close_ret __P((DB *, u_int32_t, __db_close_reply *));
 */
int
__dbcl_db_close_ret(dbp, flags, replyp)
	DB * dbp;
	u_int32_t flags;
	__db_close_reply *replyp;
{
	int ret;

	if (replyp->status != 0)
		return (replyp->status);

	/*
	 * XXX Code goes here
	 */

	return (replyp->status);
}

/*
 * PUBLIC: int __dbcl_db_cursor_ret __P((DB *, DB_TXN *, DBC **, u_int32_t,
 * PUBLIC:      __db_cursor_reply *));
 */
int
__dbcl_db_cursor_ret(dbp, txnp, dbcpp, flags, replyp)
	DB * dbp;
	DB_TXN * txnp;
	DBC ** dbcpp;
	u_int32_t flags;
	__db_cursor_reply *replyp;
{
	int ret;
	long dbcid;

	if (replyp->status != 0)
		return (replyp->status);
	dbcid = replyp->dbcidcl_id;

	/*
	 * XXX Code goes here
	 */

	return (replyp->status);
}

/*
 * PUBLIC: int __dbcl_db_get_ret __P((DB *, DB_TXN *, DBT *, DBT *, u_int32_t,
 * PUBLIC:      __db_get_reply *));
 */
int
__dbcl_db_get_ret(dbp, txnp, key, data, flags, replyp)
	DB * dbp;
	DB_TXN * txnp;
	DBT * key;
	DBT * data;
	u_int32_t flags;
	__db_get_reply *replyp;
{
	int ret;
	/* DBT key; */
	/* DBT data; */

	if (replyp->status != 0)
		return (replyp->status);
	/* Handle replyp->keydata; */
	/* Handle replyp->datadata; */

	/*
	 * XXX Code goes here
	 */

	return (replyp->status);
}

/*
 * PUBLIC: int __dbcl_db_join_ret __P((DB *, DBC **, DBC **, u_int32_t,
 * PUBLIC:      __db_join_reply *));
 */
int
__dbcl_db_join_ret(dbp, curs, dbcp, flags, replyp)
	DB * dbp;
	DBC ** curs;
	DBC ** dbcp;
	u_int32_t flags;
	__db_join_reply *replyp;
{
	int ret;
	long dbcid;

	if (replyp->status != 0)
		return (replyp->status);
	dbcid = replyp->dbcidcl_id;

	/*
	 * XXX Code goes here
	 */

	return (replyp->status);
}

/*
 * PUBLIC: int __dbcl_db_key_range_ret __P((DB *, DB_TXN *, DBT *,
 * PUBLIC:      DB_KEY_RANGE *, u_int32_t, __db_key_range_reply *));
 */
int
__dbcl_db_key_range_ret(dbp, txnp, key, range, flags, replyp)
	DB * dbp;
	DB_TXN * txnp;
	DBT * key;
	DB_KEY_RANGE * range;
	u_int32_t flags;
	__db_key_range_reply *replyp;
{
	int ret;
	double less;
	double equal;
	double greater;

	if (replyp->status != 0)
		return (replyp->status);
	less = replyp->less;
	equal = replyp->equal;
	greater = replyp->greater;

	/*
	 * XXX Code goes here
	 */

	return (replyp->status);
}

/*
 * PUBLIC: int __dbcl_db_open_ret __P((DB *, DB_TXN *, const char *,
 * PUBLIC:      const char *, DBTYPE, u_int32_t, int, __db_open_reply *));
 */
int
__dbcl_db_open_ret(dbp, txnp, name, subdb, type, flags, mode, replyp)
	DB * dbp;
	DB_TXN * txnp;
	const char * name;
	const char * subdb;
	DBTYPE type;
	u_int32_t flags;
	int mode;
	__db_open_reply *replyp;
{
	int ret;
	long db;
	DBTYPE type;
	int lorder;

	if (replyp->status != 0)
		return (replyp->status);
	db = replyp->dbcl_id;
	type = replyp->type;
	lorder = replyp->lorder;

	/*
	 * XXX Code goes here
	 */

	return (replyp->status);
}

/*
 * PUBLIC: int __dbcl_db_pget_ret __P((DB *, DB_TXN *, DBT *, DBT *, DBT *,
 * PUBLIC:      u_int32_t, __db_pget_reply *));
 */
int
__dbcl_db_pget_ret(dbp, txnp, skey, pkey, data, flags, replyp)
	DB * dbp;
	DB_TXN * txnp;
	DBT * skey;
	DBT * pkey;
	DBT * data;
	u_int32_t flags;
	__db_pget_reply *replyp;
{
	int ret;
	/* DBT skey; */
	/* DBT pkey; */
	/* DBT data; */

	if (replyp->status != 0)
		return (replyp->status);
	/* Handle replyp->skeydata; */
	/* Handle replyp->pkeydata; */
	/* Handle replyp->datadata; */

	/*
	 * XXX Code goes here
	 */

	return (replyp->status);
}

/*
 * PUBLIC: int __dbcl_db_put_ret __P((DB *, DB_TXN *, DBT *, DBT *, u_int32_t,
 * PUBLIC:      __db_put_reply *));
 */
int
__dbcl_db_put_ret(dbp, txnp, key, data, flags, replyp)
	DB * dbp;
	DB_TXN * txnp;
	DBT * key;
	DBT * data;
	u_int32_t flags;
	__db_put_reply *replyp;
{
	int ret;
	/* DBT key; */

	if (replyp->status != 0)
		return (replyp->status);
	/* Handle replyp->keydata; */

	/*
	 * XXX Code goes here
	 */

	return (replyp->status);
}

/*
 * PUBLIC: int __dbcl_db_remove_ret __P((DB *, const char *, const char *,
 * PUBLIC:      u_int32_t, __db_remove_reply *));
 */
int
__dbcl_db_remove_ret(dbp, name, subdb, flags, replyp)
	DB * dbp;
	const char * name;
	const char * subdb;
	u_int32_t flags;
	__db_remove_reply *replyp;
{
	int ret;

	if (replyp->status != 0)
		return (replyp->status);

	/*
	 * XXX Code goes here
	 */

	return (replyp->status);
}

/*
 * PUBLIC: int __dbcl_db_rename_ret __P((DB *, const char *, const char *,
 * PUBLIC:      const char *, u_int32_t, __db_rename_reply *));
 */
int
__dbcl_db_rename_ret(dbp, name, subdb, newname, flags, replyp)
	DB * dbp;
	const char * name;
	const char * subdb;
	const char * newname;
	u_int32_t flags;
	__db_rename_reply *replyp;
{
	int ret;

	if (replyp->status != 0)
		return (replyp->status);

	/*
	 * XXX Code goes here
	 */

	return (replyp->status);
}

/*
 * PUBLIC: int __dbcl_db_stat_ret __P((DB *, DB_TXN *, void *, u_int32_t,
 * PUBLIC:      __db_stat_reply *));
 */
int
__dbcl_db_stat_ret(dbp, txnp, sp, flags, replyp)
	DB * dbp;
	DB_TXN * txnp;
	void * sp;
	u_int32_t flags;
	__db_stat_reply *replyp;
{
	int ret;
	u_int32_t *__db_stats;

	if (replyp->status != 0)
		return (replyp->status);

	/*
	 * XXX Handle list
	 */


	/*
	 * XXX Code goes here
	 */

	return (replyp->status);
}

/*
 * PUBLIC: int __dbcl_db_truncate_ret __P((DB *, DB_TXN *, u_int32_t  *,
 * PUBLIC:      u_int32_t, __db_truncate_reply *));
 */
int
__dbcl_db_truncate_ret(dbp, txnp, countp, flags, replyp)
	DB * dbp;
	DB_TXN * txnp;
	u_int32_t  * countp;
	u_int32_t flags;
	__db_truncate_reply *replyp;
{
	int ret;
	u_int32_t count;

	if (replyp->status != 0)
		return (replyp->status);
	count = replyp->count;

	/*
	 * XXX Code goes here
	 */

	return (replyp->status);
}

/*
 * PUBLIC: int __dbcl_dbc_c_close_ret __P((DBC *, __dbc_c_close_reply *));
 */
int
__dbcl_dbc_c_close_ret(dbc, replyp)
	DBC * dbc;
	__dbc_c_close_reply *replyp;
{
	int ret;

	if (replyp->status != 0)
		return (replyp->status);

	/*
	 * XXX Code goes here
	 */

	return (replyp->status);
}

/*
 * PUBLIC: int __dbcl_dbc_c_count_ret __P((DBC *, db_recno_t *, u_int32_t,
 * PUBLIC:      __dbc_c_count_reply *));
 */
int
__dbcl_dbc_c_count_ret(dbc, countp, flags, replyp)
	DBC * dbc;
	db_recno_t * countp;
	u_int32_t flags;
	__dbc_c_count_reply *replyp;
{
	int ret;
	db_recno_t dupcount;

	if (replyp->status != 0)
		return (replyp->status);
	dupcount = replyp->dupcount;

	/*
	 * XXX Code goes here
	 */

	return (replyp->status);
}

/*
 * PUBLIC: int __dbcl_dbc_c_dup_ret __P((DBC *, DBC **, u_int32_t,
 * PUBLIC:      __dbc_c_dup_reply *));
 */
int
__dbcl_dbc_c_dup_ret(dbc, dbcp, flags, replyp)
	DBC * dbc;
	DBC ** dbcp;
	u_int32_t flags;
	__dbc_c_dup_reply *replyp;
{
	int ret;
	long dbcid;

	if (replyp->status != 0)
		return (replyp->status);
	dbcid = replyp->dbcidcl_id;

	/*
	 * XXX Code goes here
	 */

	return (replyp->status);
}

/*
 * PUBLIC: int __dbcl_dbc_c_get_ret __P((DBC *, DBT *, DBT *, u_int32_t,
 * PUBLIC:      __dbc_c_get_reply *));
 */
int
__dbcl_dbc_c_get_ret(dbc, key, data, flags, replyp)
	DBC * dbc;
	DBT * key;
	DBT * data;
	u_int32_t flags;
	__dbc_c_get_reply *replyp;
{
	int ret;
	/* DBT key; */
	/* DBT data; */

	if (replyp->status != 0)
		return (replyp->status);
	/* Handle replyp->keydata; */
	/* Handle replyp->datadata; */

	/*
	 * XXX Code goes here
	 */

	return (replyp->status);
}

/*
 * PUBLIC: int __dbcl_dbc_c_pget_ret __P((DBC *, DBT *, DBT *, DBT *, u_int32_t,
 * PUBLIC:      __dbc_c_pget_reply *));
 */
int
__dbcl_dbc_c_pget_ret(dbc, skey, pkey, data, flags, replyp)
	DBC * dbc;
	DBT * skey;
	DBT * pkey;
	DBT * data;
	u_int32_t flags;
	__dbc_c_pget_reply *replyp;
{
	int ret;
	/* DBT skey; */
	/* DBT pkey; */
	/* DBT data; */

	if (replyp->status != 0)
		return (replyp->status);
	/* Handle replyp->skeydata; */
	/* Handle replyp->pkeydata; */
	/* Handle replyp->datadata; */

	/*
	 * XXX Code goes here
	 */

	return (replyp->status);
}

/*
 * PUBLIC: int __dbcl_dbc_c_put_ret __P((DBC *, DBT *, DBT *, u_int32_t,
 * PUBLIC:      __dbc_c_put_reply *));
 */
int
__dbcl_dbc_c_put_ret(dbc, key, data, flags, replyp)
	DBC * dbc;
	DBT * key;
	DBT * data;
	u_int32_t flags;
	__dbc_c_put_reply *replyp;
{
	int ret;
	/* DBT key; */

	if (replyp->status != 0)
		return (replyp->status);
	/* Handle replyp->keydata; */

	/*
	 * XXX Code goes here
	 */

	return (replyp->status);
}

/*
 * PUBLIC: int __dbcl_txn_abort_ret __P((DB_TXN *, __txn_abort_reply *));
 */
int
__dbcl_txn_abort_ret(txnp, replyp)
	DB_TXN * txnp;
	__txn_abort_reply *replyp;
{
	int ret;

	if (replyp->status != 0)
		return (replyp->status);

	/*
	 * XXX Code goes here
	 */

	return (replyp->status);
}

/*
 * PUBLIC: int __dbcl_txn_commit_ret __P((DB_TXN *, u_int32_t,
 * PUBLIC:      __txn_commit_reply *));
 */
int
__dbcl_txn_commit_ret(txnp, flags, replyp)
	DB_TXN * txnp;
	u_int32_t flags;
	__txn_commit_reply *replyp;
{
	int ret;

	if (replyp->status != 0)
		return (replyp->status);

	/*
	 * XXX Code goes here
	 */

	return (replyp->status);
}

/*
 * PUBLIC: int __dbcl_txn_discard_ret __P((DB_TXN *, u_int32_t,
 * PUBLIC:      __txn_discard_reply *));
 */
int
__dbcl_txn_discard_ret(txnp, flags, replyp)
	DB_TXN * txnp;
	u_int32_t flags;
	__txn_discard_reply *replyp;
{
	int ret;

	if (replyp->status != 0)
		return (replyp->status);

	/*
	 * XXX Code goes here
	 */

	return (replyp->status);
}

@


1.4
log
@Update to db-4.4.11.
@
text
@a3 5
#ifndef NO_SYSTEM_INCLUDES
#include <sys/types.h>

#include <string.h>
#endif
d23 24
@


1.3
log
@... and in with the New ...
@
text
@d86 2
a87 1
 * PUBLIC: int __dbcl_txn_abort_ret __P((DB_TXN *, __txn_abort_reply *));
d90 1
a90 22
__dbcl_txn_abort_ret(txnp, replyp)
	DB_TXN * txnp;
	__txn_abort_reply *replyp;
{
	int ret;

	if (replyp->status != 0)
		return (replyp->status);

	/*
	 * XXX Code goes here
	 */

	return (replyp->status);
}

/*
 * PUBLIC: int __dbcl_txn_begin_ret __P((DB_ENV *, DB_TXN *, DB_TXN **,
 * PUBLIC:      u_int32_t, __txn_begin_reply *));
 */
int
__dbcl_txn_begin_ret(dbenv, parent, txnpp, flags, replyp)
d95 1
a95 1
	__txn_begin_reply *replyp;
d112 2
a113 2
 * PUBLIC: int __dbcl_txn_commit_ret __P((DB_TXN *, u_int32_t,
 * PUBLIC:      __txn_commit_reply *));
d116 5
a120 2
__dbcl_txn_commit_ret(txnp, flags, replyp)
	DB_TXN * txnp;
d122 1
a122 1
	__txn_commit_reply *replyp;
d125 3
d133 1
a133 1
	 * XXX Code goes here
a135 2
	return (replyp->status);
}
d137 3
a139 11
/*
 * PUBLIC: int __dbcl_txn_discard_ret __P((DB_TXN *, u_int32_t,
 * PUBLIC:      __txn_discard_reply *));
 */
int
__dbcl_txn_discard_ret(txnp, flags, replyp)
	DB_TXN * txnp;
	u_int32_t flags;
	__txn_discard_reply *replyp;
{
	int ret;
d141 1
a141 2
	if (replyp->status != 0)
		return (replyp->status);
d151 2
a152 2
 * PUBLIC: int __dbcl_txn_recover_ret __P((DB_ENV *, DB_PREPLIST *, long,
 * PUBLIC:      long *, u_int32_t, __txn_recover_reply *));
d155 2
a156 1
__dbcl_txn_recover_ret(dbenv, preplist, count, retp, flags, replyp)
a157 3
	DB_PREPLIST * preplist;
	long count;
	long * retp;
d159 1
a159 1
	__txn_recover_reply *replyp;
d162 1
a162 3
	u_int32_t *__db_txn;
	u_int8_t *__db_gid;
	long retcount;
d166 1
a166 11

	/*
	 * XXX Handle list
	 */


	/*
	 * XXX Handle list
	 */

	retcount = replyp->retcount;
d197 2
a198 2
 * PUBLIC: int __dbcl_db_create_ret __P((DB *, DB_ENV *, u_int32_t,
 * PUBLIC:      __db_create_reply *));
d201 1
a201 1
__dbcl_db_create_ret(dbp, dbenv, flags, replyp)
d203 2
a204 1
	DB_ENV * dbenv;
d206 1
a206 1
	__db_create_reply *replyp;
d209 1
a209 1
	long db;
d213 1
a213 1
	db = replyp->dbcl_id;
d252 26
d506 1
a506 2
 * PUBLIC: int __dbcl_db_cursor_ret __P((DB *, DB_TXN *, DBC **, u_int32_t,
 * PUBLIC:      __db_cursor_reply *));
d509 3
a511 6
__dbcl_db_cursor_ret(dbp, txnp, dbcpp, flags, replyp)
	DB * dbp;
	DB_TXN * txnp;
	DBC ** dbcpp;
	u_int32_t flags;
	__db_cursor_reply *replyp;
a513 1
	long dbcid;
a516 1
	dbcid = replyp->dbcidcl_id;
d526 2
a527 2
 * PUBLIC: int __dbcl_db_join_ret __P((DB *, DBC **, DBC **, u_int32_t,
 * PUBLIC:      __db_join_reply *));
d530 3
a532 4
__dbcl_db_join_ret(dbp, curs, dbcp, flags, replyp)
	DB * dbp;
	DBC ** curs;
	DBC ** dbcp;
d534 1
a534 1
	__db_join_reply *replyp;
d537 1
a537 1
	long dbcid;
d541 1
a541 1
	dbcid = replyp->dbcidcl_id;
d551 2
a552 1
 * PUBLIC: int __dbcl_dbc_close_ret __P((DBC *, __dbc_close_reply *));
d555 1
a555 1
__dbcl_dbc_close_ret(dbc, replyp)
d557 3
a559 1
	__dbc_close_reply *replyp;
d562 1
d566 1
d576 2
a577 2
 * PUBLIC: int __dbcl_dbc_count_ret __P((DBC *, db_recno_t *, u_int32_t,
 * PUBLIC:      __dbc_count_reply *));
d580 1
a580 1
__dbcl_dbc_count_ret(dbc, countp, flags, replyp)
d582 2
a583 1
	db_recno_t * countp;
d585 1
a585 1
	__dbc_count_reply *replyp;
d588 2
a589 1
	db_recno_t dupcount;
d593 2
a594 1
	dupcount = replyp->dupcount;
d604 2
a605 2
 * PUBLIC: int __dbcl_dbc_dup_ret __P((DBC *, DBC **, u_int32_t,
 * PUBLIC:      __dbc_dup_reply *));
d608 1
a608 1
__dbcl_dbc_dup_ret(dbc, dbcp, flags, replyp)
d610 3
a612 1
	DBC ** dbcp;
d614 1
a614 1
	__dbc_dup_reply *replyp;
d617 3
a619 1
	long dbcid;
d623 3
a625 1
	dbcid = replyp->dbcidcl_id;
d635 2
a636 2
 * PUBLIC: int __dbcl_dbc_get_ret __P((DBC *, DBT *, DBT *, u_int32_t,
 * PUBLIC:      __dbc_get_reply *));
d639 1
a639 1
__dbcl_dbc_get_ret(dbc, key, data, flags, replyp)
d644 1
a644 1
	__dbc_get_reply *replyp;
a647 1
	/* DBT data; */
a651 1
	/* Handle replyp->datadata; */
d661 22
a682 2
 * PUBLIC: int __dbcl_dbc_pget_ret __P((DBC *, DBT *, DBT *, DBT *, u_int32_t,
 * PUBLIC:      __dbc_pget_reply *));
d685 2
a686 5
__dbcl_dbc_pget_ret(dbc, skey, pkey, data, flags, replyp)
	DBC * dbc;
	DBT * skey;
	DBT * pkey;
	DBT * data;
d688 1
a688 1
	__dbc_pget_reply *replyp;
a690 3
	/* DBT skey; */
	/* DBT pkey; */
	/* DBT data; */
a693 3
	/* Handle replyp->skeydata; */
	/* Handle replyp->pkeydata; */
	/* Handle replyp->datadata; */
d703 2
a704 2
 * PUBLIC: int __dbcl_dbc_put_ret __P((DBC *, DBT *, DBT *, u_int32_t,
 * PUBLIC:      __dbc_put_reply *));
d707 2
a708 4
__dbcl_dbc_put_ret(dbc, key, data, flags, replyp)
	DBC * dbc;
	DBT * key;
	DBT * data;
d710 1
a710 1
	__dbc_put_reply *replyp;
a712 1
	/* DBT key; */
a715 1
	/* Handle replyp->keydata; */
@


1.3.2.1
log
@Update to db-4.4.11.
@
text
@d86 1
a86 2
 * PUBLIC: int __dbcl_env_txn_begin_ret __P((DB_ENV *, DB_TXN *, DB_TXN **,
 * PUBLIC:      u_int32_t, __env_txn_begin_reply *));
d89 22
a110 1
__dbcl_env_txn_begin_ret(dbenv, parent, txnpp, flags, replyp)
d115 1
a115 1
	__env_txn_begin_reply *replyp;
d132 2
a133 2
 * PUBLIC: int __dbcl_env_txn_recover_ret __P((DB_ENV *, DB_PREPLIST *, long,
 * PUBLIC:      long *, u_int32_t, __env_txn_recover_reply *));
d136 2
a137 5
__dbcl_env_txn_recover_ret(dbenv, preplist, count, retp, flags, replyp)
	DB_ENV * dbenv;
	DB_PREPLIST * preplist;
	long count;
	long * retp;
d139 1
a139 1
	__env_txn_recover_reply *replyp;
a141 3
	u_int32_t *__db_txn;
	u_int8_t *__db_gid;
	long retcount;
d147 1
a147 1
	 * XXX Handle list
d150 2
d153 11
a163 3
	/*
	 * XXX Handle list
	 */
d165 2
a166 1
	retcount = replyp->retcount;
d176 2
a177 2
 * PUBLIC: int __dbcl_db_create_ret __P((DB *, DB_ENV *, u_int32_t,
 * PUBLIC:      __db_create_reply *));
d180 1
a180 2
__dbcl_db_create_ret(dbp, dbenv, flags, replyp)
	DB * dbp;
d182 3
d186 1
a186 1
	__db_create_reply *replyp;
d189 3
a191 1
	long db;
d195 11
a205 1
	db = replyp->dbcl_id;
d236 2
a237 2
 * PUBLIC: int __dbcl_db_cursor_ret __P((DB *, DB_TXN *, DBC **, u_int32_t,
 * PUBLIC:      __db_cursor_reply *));
d240 1
a240 1
__dbcl_db_cursor_ret(dbp, txnp, dbcpp, flags, replyp)
d242 1
a242 2
	DB_TXN * txnp;
	DBC ** dbcpp;
d244 1
a244 1
	__db_cursor_reply *replyp;
d247 1
a247 1
	long dbcid;
d251 1
a251 1
	dbcid = replyp->dbcidcl_id;
a289 26
 * PUBLIC: int __dbcl_db_join_ret __P((DB *, DBC **, DBC **, u_int32_t,
 * PUBLIC:      __db_join_reply *));
 */
int
__dbcl_db_join_ret(dbp, curs, dbcp, flags, replyp)
	DB * dbp;
	DBC ** curs;
	DBC ** dbcp;
	u_int32_t flags;
	__db_join_reply *replyp;
{
	int ret;
	long dbcid;

	if (replyp->status != 0)
		return (replyp->status);
	dbcid = replyp->dbcidcl_id;

	/*
	 * XXX Code goes here
	 */

	return (replyp->status);
}

/*
d518 2
a519 1
 * PUBLIC: int __dbcl_dbc_c_close_ret __P((DBC *, __dbc_c_close_reply *));
d522 6
a527 3
__dbcl_dbc_c_close_ret(dbc, replyp)
	DBC * dbc;
	__dbc_c_close_reply *replyp;
d530 1
d534 1
d544 2
a545 2
 * PUBLIC: int __dbcl_dbc_c_count_ret __P((DBC *, db_recno_t *, u_int32_t,
 * PUBLIC:      __dbc_c_count_reply *));
d548 4
a551 3
__dbcl_dbc_c_count_ret(dbc, countp, flags, replyp)
	DBC * dbc;
	db_recno_t * countp;
d553 1
a553 1
	__dbc_c_count_reply *replyp;
d556 1
a556 1
	db_recno_t dupcount;
d560 1
a560 1
	dupcount = replyp->dupcount;
d570 1
a570 2
 * PUBLIC: int __dbcl_dbc_c_dup_ret __P((DBC *, DBC **, u_int32_t,
 * PUBLIC:      __dbc_c_dup_reply *));
d573 1
a573 1
__dbcl_dbc_c_dup_ret(dbc, dbcp, flags, replyp)
d575 1
a575 3
	DBC ** dbcp;
	u_int32_t flags;
	__dbc_c_dup_reply *replyp;
a577 1
	long dbcid;
a580 1
	dbcid = replyp->dbcidcl_id;
d590 2
a591 2
 * PUBLIC: int __dbcl_dbc_c_get_ret __P((DBC *, DBT *, DBT *, u_int32_t,
 * PUBLIC:      __dbc_c_get_reply *));
d594 1
a594 1
__dbcl_dbc_c_get_ret(dbc, key, data, flags, replyp)
d596 1
a596 2
	DBT * key;
	DBT * data;
d598 1
a598 1
	__dbc_c_get_reply *replyp;
d601 1
a601 2
	/* DBT key; */
	/* DBT data; */
d605 1
a605 2
	/* Handle replyp->keydata; */
	/* Handle replyp->datadata; */
d615 2
a616 2
 * PUBLIC: int __dbcl_dbc_c_pget_ret __P((DBC *, DBT *, DBT *, DBT *, u_int32_t,
 * PUBLIC:      __dbc_c_pget_reply *));
d619 1
a619 1
__dbcl_dbc_c_pget_ret(dbc, skey, pkey, data, flags, replyp)
d621 1
a621 3
	DBT * skey;
	DBT * pkey;
	DBT * data;
d623 1
a623 1
	__dbc_c_pget_reply *replyp;
d626 1
a626 3
	/* DBT skey; */
	/* DBT pkey; */
	/* DBT data; */
d630 1
a630 3
	/* Handle replyp->skeydata; */
	/* Handle replyp->pkeydata; */
	/* Handle replyp->datadata; */
d640 2
a641 2
 * PUBLIC: int __dbcl_dbc_c_put_ret __P((DBC *, DBT *, DBT *, u_int32_t,
 * PUBLIC:      __dbc_c_put_reply *));
d644 1
a644 1
__dbcl_dbc_c_put_ret(dbc, key, data, flags, replyp)
d649 1
a649 1
	__dbc_c_put_reply *replyp;
d653 1
d658 1
d668 2
a669 1
 * PUBLIC: int __dbcl_txn_abort_ret __P((DB_TXN *, __txn_abort_reply *));
d672 5
a676 23
__dbcl_txn_abort_ret(txnp, replyp)
	DB_TXN * txnp;
	__txn_abort_reply *replyp;
{
	int ret;

	if (replyp->status != 0)
		return (replyp->status);

	/*
	 * XXX Code goes here
	 */

	return (replyp->status);
}

/*
 * PUBLIC: int __dbcl_txn_commit_ret __P((DB_TXN *, u_int32_t,
 * PUBLIC:      __txn_commit_reply *));
 */
int
__dbcl_txn_commit_ret(txnp, flags, replyp)
	DB_TXN * txnp;
d678 1
a678 1
	__txn_commit_reply *replyp;
d681 3
d687 3
d699 2
a700 2
 * PUBLIC: int __dbcl_txn_discard_ret __P((DB_TXN *, u_int32_t,
 * PUBLIC:      __txn_discard_reply *));
d703 4
a706 2
__dbcl_txn_discard_ret(txnp, flags, replyp)
	DB_TXN * txnp;
d708 1
a708 1
	__txn_discard_reply *replyp;
d711 1
d715 1
@


1.3.2.2
log
@Merge db-4.5.20 onto rpm-4_4 branch.
@
text
@d4 5
a27 24

	/*
	 * XXX Code goes here
	 */

	return (replyp->status);
}

/*
 * PUBLIC: int __dbcl_env_cdsgroup_begin_ret __P((DB_ENV *, DB_TXN **,
 * PUBLIC:      __env_cdsgroup_begin_reply *));
 */
int
__dbcl_env_cdsgroup_begin_ret(dbenv, txnpp, replyp)
	DB_ENV * dbenv;
	DB_TXN ** txnpp;
	__env_cdsgroup_begin_reply *replyp;
{
	int ret;
	long txnid;

	if (replyp->status != 0)
		return (replyp->status);
	txnid = replyp->txnidcl_id;
@


1.2
log
@- upgrade to db-4.2.52.
@
text
@a3 1
#ifdef HAVE_RPC
a5 1
#include <rpc/rpc.h>
a9 1
#include "dbinc_auto/db_server.h"
a337 1
	u_int32_t dbflags;
a343 1
	dbflags = replyp->dbflags;
d462 1
a462 1
 * PUBLIC: int __dbcl_db_stat_ret __P((DB *, void *, u_int32_t,
d466 1
a466 1
__dbcl_db_stat_ret(dbp, sp, flags, replyp)
d468 1
a723 1
#endif /* HAVE_RPC */
@


1.1
log
@Initial revision
@
text
@a8 1
#include <errno.h>
a10 2
#include "db_server.h"

d12 2
a13 5
#include "db_page.h"
#include "db_ext.h"
#include "txn.h"

#include "gen_client_ext.h"
d15 4
d20 1
a20 1
__dbcl_env_close_ret(dbenv, flags, replyp)
d22 2
a23 2
	u_int32_t flags;
	__env_close_reply *replyp;
d26 1
d30 1
d39 4
d52 1
d56 1
d65 4
d88 3
d108 4
d113 2
a114 2
__dbcl_txn_begin_ret(envp, parent, txnpp, flags, replyp)
	DB_ENV * envp;
d134 4
d156 64
d238 29
d292 4
d323 4
d328 1
a328 1
__dbcl_db_open_ret(dbp, name, subdb, type, flags, mode, replyp)
d330 1
d339 1
d342 1
d346 1
d349 33
d390 4
d417 4
d441 4
d466 4
a469 3
int __db_db_stat_statsreplist __P((__db_stat_statsreplist, u_int32_t **));
void __db_db_stat_statsfree __P((u_int32_t *));

d471 1
a471 1
__dbcl_db_stat_ret(dbp, sp, func0, flags, replyp)
a473 1
	void *(*func0) __P((size_t));
d478 1
a478 1
	u_int32_t *__db_statslist;
a482 3
	if ((ret = __db_db_stat_statslist(replyp->statslist, &__db_statslist)) != 0)
		return (ret);

a486 1
	__db_db_stat_statsfree(__db_statslist);
d495 4
d500 6
a505 3
__db_db_stat_statsreplist(locp, ppp)
	__db_stat_statsreplist *locp;
	u_int32_t **ppp;
d507 2
a508 3
	u_int32_t *pp;
	int cnt, ret, size;
	__db_stat_statsreplist *nl;
d510 3
a512 2
	for (cnt = 0, nl = locp; nl != NULL; cnt++, nl = nl->next)
		;
d514 3
a516 16
	if (cnt == 0) {
		*ppp = NULL;
		return (0);
	}
	size = sizeof(*pp) * cnt;
	if ((ret = __os_malloc(NULL, size, NULL, ppp)) != 0)
		return (ret);
	memset(*ppp, 0, size);
	for (pp = *ppp, nl = locp; nl != NULL; nl = nl->next, pp++) {
		*pp = *(u_int32_t *)nl->ent.ent_val;
	}
	return (0);
out:
	__db_db_stat_statsfree(*ppp);
	return (ret);
}
d518 1
a518 14
void
__db_db_stat_statsfree(pp)
	u_int32_t *pp;
{
	size_t size;
	u_int32_t *p;

	if (pp == NULL)
		return;
	size = sizeof(*p);
	for (p = pp; *p != 0; p++) {
		size += sizeof(*p);
	}
	__os_free(pp, size);
d521 4
d547 4
d573 3
d593 4
d618 4
d643 4
d671 35
@


1.1.1.1
log
@db-3.2.9
@
text
@@


1.1.1.2
log
@track: auto import
@
text
@d9 1
d15 2
d19 2
a20 4
/*
 * PUBLIC: int __dbcl_env_close_ret __P((DB_ENV *, u_int32_t,
 * PUBLIC:      __env_close_reply *));
 */
a38 28
/*
 * PUBLIC: int __dbcl_env_create_ret __P((DB_ENV *, long,
 * PUBLIC:      __env_create_reply *));
 */
int
__dbcl_env_create_ret(dbenv, timeout, replyp)
	DB_ENV * dbenv;
	long timeout;
	__env_create_reply *replyp;
{
	int ret;
	long env;

	if (replyp->status != 0)
		return (replyp->status);
	env = replyp->envcl_id;

	/*
	 * XXX Code goes here
	 */

	return (replyp->status);
}

/*
 * PUBLIC: int __dbcl_env_open_ret __P((DB_ENV *, const char *, u_int32_t, int,
 * PUBLIC:      __env_open_reply *));
 */
a58 4
/*
 * PUBLIC: int __dbcl_env_remove_ret __P((DB_ENV *, const char *, u_int32_t,
 * PUBLIC:      __env_remove_reply *));
 */
a77 3
/*
 * PUBLIC: int __dbcl_txn_abort_ret __P((DB_TXN *, __txn_abort_reply *));
 */
a94 4
/*
 * PUBLIC: int __dbcl_txn_begin_ret __P((DB_ENV *, DB_TXN *, DB_TXN **,
 * PUBLIC:      u_int32_t, __txn_begin_reply *));
 */
d96 2
a97 2
__dbcl_txn_begin_ret(dbenv, parent, txnpp, flags, replyp)
	DB_ENV * dbenv;
a116 4
/*
 * PUBLIC: int __dbcl_txn_commit_ret __P((DB_TXN *, u_int32_t,
 * PUBLIC:      __txn_commit_reply *));
 */
a134 42
/*
 * PUBLIC: int __dbcl_txn_recover_ret __P((DB_ENV *, DB_PREPLIST *, long,
 * PUBLIC:      long *, u_int32_t, __txn_recover_reply *));
 */
int
__dbcl_txn_recover_ret(dbenv, preplist, count, retp, flags, replyp)
	DB_ENV * dbenv;
	DB_PREPLIST * preplist;
	long count;
	long * retp;
	u_int32_t flags;
	__txn_recover_reply *replyp;
{
	int ret;
	u_int32_t *__db_txn;
	u_int8_t *__db_gid;
	long retcount;

	if (replyp->status != 0)
		return (replyp->status);

	/*
	 * XXX Handle list
	 */


	/*
	 * XXX Handle list
	 */

	retcount = replyp->retcount;

	/*
	 * XXX Code goes here
	 */

	return (replyp->status);
}

/*
 * PUBLIC: int __dbcl_db_close_ret __P((DB *, u_int32_t, __db_close_reply *));
 */
a152 29
/*
 * PUBLIC: int __dbcl_db_create_ret __P((DB *, DB_ENV *, u_int32_t,
 * PUBLIC:      __db_create_reply *));
 */
int
__dbcl_db_create_ret(dbp, dbenv, flags, replyp)
	DB * dbp;
	DB_ENV * dbenv;
	u_int32_t flags;
	__db_create_reply *replyp;
{
	int ret;
	long db;

	if (replyp->status != 0)
		return (replyp->status);
	db = replyp->dbcl_id;

	/*
	 * XXX Code goes here
	 */

	return (replyp->status);
}

/*
 * PUBLIC: int __dbcl_db_get_ret __P((DB *, DB_TXN *, DBT *, DBT *, u_int32_t,
 * PUBLIC:      __db_get_reply *));
 */
a177 4
/*
 * PUBLIC: int __dbcl_db_key_range_ret __P((DB *, DB_TXN *, DBT *,
 * PUBLIC:      DB_KEY_RANGE *, u_int32_t, __db_key_range_reply *));
 */
a204 4
/*
 * PUBLIC: int __dbcl_db_open_ret __P((DB *, const char *, const char *,
 * PUBLIC:      DBTYPE, u_int32_t, int, __db_open_reply *));
 */
a217 1
	int lorder;
a222 1
	lorder = replyp->lorder;
a230 36
/*
 * PUBLIC: int __dbcl_db_pget_ret __P((DB *, DB_TXN *, DBT *, DBT *, DBT *,
 * PUBLIC:      u_int32_t, __db_pget_reply *));
 */
int
__dbcl_db_pget_ret(dbp, txnp, skey, pkey, data, flags, replyp)
	DB * dbp;
	DB_TXN * txnp;
	DBT * skey;
	DBT * pkey;
	DBT * data;
	u_int32_t flags;
	__db_pget_reply *replyp;
{
	int ret;
	/* DBT skey; */
	/* DBT pkey; */
	/* DBT data; */

	if (replyp->status != 0)
		return (replyp->status);
	/* Handle replyp->skeydata; */
	/* Handle replyp->pkeydata; */
	/* Handle replyp->datadata; */

	/*
	 * XXX Code goes here
	 */

	return (replyp->status);
}

/*
 * PUBLIC: int __dbcl_db_put_ret __P((DB *, DB_TXN *, DBT *, DBT *, u_int32_t,
 * PUBLIC:      __db_put_reply *));
 */
a253 4
/*
 * PUBLIC: int __dbcl_db_remove_ret __P((DB *, const char *, const char *,
 * PUBLIC:      u_int32_t, __db_remove_reply *));
 */
a273 4
/*
 * PUBLIC: int __dbcl_db_rename_ret __P((DB *, const char *, const char *,
 * PUBLIC:      const char *, u_int32_t, __db_rename_reply *));
 */
d295 3
a297 4
/*
 * PUBLIC: int __dbcl_db_stat_ret __P((DB *, void *, u_int32_t,
 * PUBLIC:      __db_stat_reply *));
 */
d299 1
a299 1
__dbcl_db_stat_ret(dbp, sp, flags, replyp)
d302 1
d307 1
a307 1
	u_int32_t *__db_stats;
d312 3
d319 1
a327 4
/*
 * PUBLIC: int __dbcl_db_truncate_ret __P((DB *, const char *, const char *,
 * PUBLIC:      u_int32_t  *, u_int32_t, __db_truncate_reply *));
 */
d329 3
a331 7
__dbcl_db_truncate_ret(dbp, name, subdb, countp, flags, replyp)
	DB * dbp;
	const char * name;
	const char * subdb;
	u_int32_t  * countp;
	u_int32_t flags;
	__db_truncate_reply *replyp;
d333 6
a338 2
	int ret;
	u_int32_t count;
d340 16
a355 3
	if (replyp->status != 0)
		return (replyp->status);
	count = replyp->count;
d357 6
a362 3
	/*
	 * XXX Code goes here
	 */
d364 7
a370 1
	return (replyp->status);
a372 4
/*
 * PUBLIC: int __dbcl_db_cursor_ret __P((DB *, DB_TXN *, DBC **, u_int32_t,
 * PUBLIC:      __db_cursor_reply *));
 */
a394 4
/*
 * PUBLIC: int __dbcl_db_join_ret __P((DB *, DBC **, DBC **, u_int32_t,
 * PUBLIC:      __db_join_reply *));
 */
a416 3
/*
 * PUBLIC: int __dbcl_dbc_close_ret __P((DBC *, __dbc_close_reply *));
 */
a433 4
/*
 * PUBLIC: int __dbcl_dbc_count_ret __P((DBC *, db_recno_t *, u_int32_t,
 * PUBLIC:      __dbc_count_reply *));
 */
a454 4
/*
 * PUBLIC: int __dbcl_dbc_dup_ret __P((DBC *, DBC **, u_int32_t,
 * PUBLIC:      __dbc_dup_reply *));
 */
a475 4
/*
 * PUBLIC: int __dbcl_dbc_get_ret __P((DBC *, DBT *, DBT *, u_int32_t,
 * PUBLIC:      __dbc_get_reply *));
 */
a499 35
/*
 * PUBLIC: int __dbcl_dbc_pget_ret __P((DBC *, DBT *, DBT *, DBT *, u_int32_t,
 * PUBLIC:      __dbc_pget_reply *));
 */
int
__dbcl_dbc_pget_ret(dbc, skey, pkey, data, flags, replyp)
	DBC * dbc;
	DBT * skey;
	DBT * pkey;
	DBT * data;
	u_int32_t flags;
	__dbc_pget_reply *replyp;
{
	int ret;
	/* DBT skey; */
	/* DBT pkey; */
	/* DBT data; */

	if (replyp->status != 0)
		return (replyp->status);
	/* Handle replyp->skeydata; */
	/* Handle replyp->pkeydata; */
	/* Handle replyp->datadata; */

	/*
	 * XXX Code goes here
	 */

	return (replyp->status);
}

/*
 * PUBLIC: int __dbcl_dbc_put_ret __P((DBC *, DBT *, DBT *, u_int32_t,
 * PUBLIC:      __dbc_put_reply *));
 */
@


1.1.1.2.2.1
log
@Merge db-3.3.11 onto rpm-4_0 branch.
@
text
@a177 22
 * PUBLIC: int __dbcl_txn_discard_ret __P((DB_TXN *, u_int32_t,
 * PUBLIC:      __txn_discard_reply *));
 */
int
__dbcl_txn_discard_ret(txnp, flags, replyp)
	DB_TXN * txnp;
	u_int32_t flags;
	__txn_discard_reply *replyp;
{
	int ret;

	if (replyp->status != 0)
		return (replyp->status);

	/*
	 * XXX Code goes here
	 */

	return (replyp->status);
}

/*
d492 2
a493 2
 * PUBLIC: int __dbcl_db_truncate_ret __P((DB *, DB_TXN *, u_int32_t  *,
 * PUBLIC:      u_int32_t, __db_truncate_reply *));
d496 1
a496 1
__dbcl_db_truncate_ret(dbp, txnp, countp, flags, replyp)
d498 2
a499 1
	DB_TXN * txnp;
@


1.1.1.2.2.2
log
@Update to db-4.0.14.
@
text
@a74 1
	long env;
a77 1
	env = replyp->envcl_id;
a358 1
	long db;
a364 1
	db = replyp->dbcl_id;
@


1.1.1.3
log
@track: auto import
@
text
@a177 22
 * PUBLIC: int __dbcl_txn_discard_ret __P((DB_TXN *, u_int32_t,
 * PUBLIC:      __txn_discard_reply *));
 */
int
__dbcl_txn_discard_ret(txnp, flags, replyp)
	DB_TXN * txnp;
	u_int32_t flags;
	__txn_discard_reply *replyp;
{
	int ret;

	if (replyp->status != 0)
		return (replyp->status);

	/*
	 * XXX Code goes here
	 */

	return (replyp->status);
}

/*
d492 2
a493 2
 * PUBLIC: int __dbcl_db_truncate_ret __P((DB *, DB_TXN *, u_int32_t  *,
 * PUBLIC:      u_int32_t, __db_truncate_reply *));
d496 1
a496 1
__dbcl_db_truncate_ret(dbp, txnp, countp, flags, replyp)
d498 2
a499 1
	DB_TXN * txnp;
@


1.1.1.4
log
@track: auto import
@
text
@a74 1
	long env;
a77 1
	env = replyp->envcl_id;
a358 1
	long db;
a364 1
	db = replyp->dbcl_id;
@


1.1.1.5
log
@track: auto import
@
text
@d11 2
d14 1
a14 2
#include "dbinc_auto/db_server.h"
#include "dbinc/txn.h"
d347 2
a348 2
 * PUBLIC: int __dbcl_db_open_ret __P((DB *, DB_TXN *, const char *,
 * PUBLIC:      const char *, DBTYPE, u_int32_t, int, __db_open_reply *));
d351 1
a351 1
__dbcl_db_open_ret(dbp, txnp, name, subdb, type, flags, mode, replyp)
a352 1
	DB_TXN * txnp;
@


