/*
 * Please do not edit this file.
 * It was generated using rpcgen.
 */

#ifndef _DB_SERVER_H_RPCGEN
#define	_DB_SERVER_H_RPCGEN

#include <rpc/rpc.h>

struct __envcachesize_msg {
	u_int dbenvcl_id;
	u_int gbytes;
	u_int bytes;
	u_int ncache;
};
typedef struct __envcachesize_msg __envcachesize_msg;

struct __envcachesize_reply {
	u_int status;
};
typedef struct __envcachesize_reply __envcachesize_reply;

struct __envclose_msg {
	u_int dbenvcl_id;
	u_int flags;
};
typedef struct __envclose_msg __envclose_msg;

struct __envclose_reply {
	u_int status;
};
typedef struct __envclose_reply __envclose_reply;

struct __envcreate_msg {
	u_int timeout;
};
typedef struct __envcreate_msg __envcreate_msg;

struct __envcreate_reply {
	u_int status;
	u_int envcl_id;
};
typedef struct __envcreate_reply __envcreate_reply;

struct __envopen_msg {
	u_int dbenvcl_id;
	char *home;
	u_int flags;
	u_int mode;
};
typedef struct __envopen_msg __envopen_msg;

struct __envopen_reply {
	u_int status;
};
typedef struct __envopen_reply __envopen_reply;

struct __envremove_msg {
	u_int dbenvcl_id;
	char *home;
	u_int flags;
};
typedef struct __envremove_msg __envremove_msg;

struct __envremove_reply {
	u_int status;
};
typedef struct __envremove_reply __envremove_reply;

struct __txnabort_msg {
	u_int txnpcl_id;
};
typedef struct __txnabort_msg __txnabort_msg;

struct __txnabort_reply {
	u_int status;
};
typedef struct __txnabort_reply __txnabort_reply;

struct __txnbegin_msg {
	u_int envpcl_id;
	u_int parentcl_id;
	u_int flags;
};
typedef struct __txnbegin_msg __txnbegin_msg;

struct __txnbegin_reply {
	u_int status;
	u_int txnidcl_id;
};
typedef struct __txnbegin_reply __txnbegin_reply;

struct __txncommit_msg {
	u_int txnpcl_id;
	u_int flags;
};
typedef struct __txncommit_msg __txncommit_msg;

struct __txncommit_reply {
	u_int status;
};
typedef struct __txncommit_reply __txncommit_reply;

struct __dbbtmaxkey_msg {
	u_int dbpcl_id;
	u_int maxkey;
};
typedef struct __dbbtmaxkey_msg __dbbtmaxkey_msg;

struct __dbbtmaxkey_reply {
	u_int status;
};
typedef struct __dbbtmaxkey_reply __dbbtmaxkey_reply;

struct __dbbtminkey_msg {
	u_int dbpcl_id;
	u_int minkey;
};
typedef struct __dbbtminkey_msg __dbbtminkey_msg;

struct __dbbtminkey_reply {
	u_int status;
};
typedef struct __dbbtminkey_reply __dbbtminkey_reply;

struct __dbclose_msg {
	u_int dbpcl_id;
	u_int flags;
};
typedef struct __dbclose_msg __dbclose_msg;

struct __dbclose_reply {
	u_int status;
};
typedef struct __dbclose_reply __dbclose_reply;

struct __dbcreate_msg {
	u_int flags;
	u_int envpcl_id;
};
typedef struct __dbcreate_msg __dbcreate_msg;

struct __dbcreate_reply {
	u_int status;
	u_int dbpcl_id;
};
typedef struct __dbcreate_reply __dbcreate_reply;

struct __dbdel_msg {
	u_int dbpcl_id;
	u_int txnpcl_id;
	u_int keydlen;
	u_int keydoff;
	u_int keyflags;
	struct {
		u_int keydata_len;
		char *keydata_val;
	} keydata;
	u_int flags;
};
typedef struct __dbdel_msg __dbdel_msg;

struct __dbdel_reply {
	u_int status;
};
typedef struct __dbdel_reply __dbdel_reply;

struct __dbflags_msg {
	u_int dbpcl_id;
	u_int flags;
};
typedef struct __dbflags_msg __dbflags_msg;

struct __dbflags_reply {
	u_int status;
};
typedef struct __dbflags_reply __dbflags_reply;

struct __dbget_msg {
	u_int dbpcl_id;
	u_int txnpcl_id;
	u_int keydlen;
	u_int keydoff;
	u_int keyflags;
	struct {
		u_int keydata_len;
		char *keydata_val;
	} keydata;
	u_int datadlen;
	u_int datadoff;
	u_int dataflags;
	struct {
		u_int datadata_len;
		char *datadata_val;
	} datadata;
	u_int flags;
};
typedef struct __dbget_msg __dbget_msg;

struct __dbget_reply {
	u_int status;
	struct {
		u_int keydata_len;
		char *keydata_val;
	} keydata;
	struct {
		u_int datadata_len;
		char *datadata_val;
	} datadata;
};
typedef struct __dbget_reply __dbget_reply;

struct __dbhffactor_msg {
	u_int dbpcl_id;
	u_int ffactor;
};
typedef struct __dbhffactor_msg __dbhffactor_msg;

struct __dbhffactor_reply {
	u_int status;
};
typedef struct __dbhffactor_reply __dbhffactor_reply;

struct __dbhnelem_msg {
	u_int dbpcl_id;
	u_int nelem;
};
typedef struct __dbhnelem_msg __dbhnelem_msg;

struct __dbhnelem_reply {
	u_int status;
};
typedef struct __dbhnelem_reply __dbhnelem_reply;

struct __dblorder_msg {
	u_int dbpcl_id;
	u_int lorder;
};
typedef struct __dblorder_msg __dblorder_msg;

struct __dblorder_reply {
	u_int status;
};
typedef struct __dblorder_reply __dblorder_reply;

struct __dbopen_msg {
	u_int dbpcl_id;
	char *name;
	char *subdb;
	u_int type;
	u_int flags;
	u_int mode;
};
typedef struct __dbopen_msg __dbopen_msg;

struct __dbopen_reply {
	u_int status;
	u_int type;
	u_int dbflags;
};
typedef struct __dbopen_reply __dbopen_reply;

struct __dbpagesize_msg {
	u_int dbpcl_id;
	u_int pagesize;
};
typedef struct __dbpagesize_msg __dbpagesize_msg;

struct __dbpagesize_reply {
	u_int status;
};
typedef struct __dbpagesize_reply __dbpagesize_reply;

struct __dbput_msg {
	u_int dbpcl_id;
	u_int txnpcl_id;
	u_int keydlen;
	u_int keydoff;
	u_int keyflags;
	struct {
		u_int keydata_len;
		char *keydata_val;
	} keydata;
	u_int datadlen;
	u_int datadoff;
	u_int dataflags;
	struct {
		u_int datadata_len;
		char *datadata_val;
	} datadata;
	u_int flags;
};
typedef struct __dbput_msg __dbput_msg;

struct __dbput_reply {
	u_int status;
	struct {
		u_int keydata_len;
		char *keydata_val;
	} keydata;
};
typedef struct __dbput_reply __dbput_reply;

struct __dbredelim_msg {
	u_int dbpcl_id;
	u_int delim;
};
typedef struct __dbredelim_msg __dbredelim_msg;

struct __dbredelim_reply {
	u_int status;
};
typedef struct __dbredelim_reply __dbredelim_reply;

struct __dbrelen_msg {
	u_int dbpcl_id;
	u_int len;
};
typedef struct __dbrelen_msg __dbrelen_msg;

struct __dbrelen_reply {
	u_int status;
};
typedef struct __dbrelen_reply __dbrelen_reply;

struct __dbrepad_msg {
	u_int dbpcl_id;
	u_int pad;
};
typedef struct __dbrepad_msg __dbrepad_msg;

struct __dbrepad_reply {
	u_int status;
};
typedef struct __dbrepad_reply __dbrepad_reply;

struct __dbremove_msg {
	u_int dbpcl_id;
	char *name;
	char *subdb;
	u_int flags;
};
typedef struct __dbremove_msg __dbremove_msg;

struct __dbremove_reply {
	u_int status;
};
typedef struct __dbremove_reply __dbremove_reply;

struct __dbstat_msg {
	u_int dbpcl_id;
	u_int flags;
};
typedef struct __dbstat_msg __dbstat_msg;

struct __dbstat_statsreplist {
	struct {
		u_int ent_len;
		char *ent_val;
	} ent;
	struct __dbstat_statsreplist *next;
};
typedef struct __dbstat_statsreplist __dbstat_statsreplist;

struct __dbstat_reply {
	u_int status;
	__dbstat_statsreplist *statslist;
};
typedef struct __dbstat_reply __dbstat_reply;

struct __dbswapped_msg {
	u_int dbpcl_id;
};
typedef struct __dbswapped_msg __dbswapped_msg;

struct __dbswapped_reply {
	u_int status;
};
typedef struct __dbswapped_reply __dbswapped_reply;

struct __dbsync_msg {
	u_int dbpcl_id;
	u_int flags;
};
typedef struct __dbsync_msg __dbsync_msg;

struct __dbsync_reply {
	u_int status;
};
typedef struct __dbsync_reply __dbsync_reply;

struct __dbcursor_msg {
	u_int dbpcl_id;
	u_int txnpcl_id;
	u_int flags;
};
typedef struct __dbcursor_msg __dbcursor_msg;

struct __dbcursor_reply {
	u_int status;
	u_int dbcidcl_id;
};
typedef struct __dbcursor_reply __dbcursor_reply;

struct __dbjoin_curslist {
	struct {
		u_int ent_len;
		char *ent_val;
	} ent;
	struct __dbjoin_curslist *next;
};
typedef struct __dbjoin_curslist __dbjoin_curslist;

struct __dbjoin_msg {
	u_int dbpcl_id;
	__dbjoin_curslist *curslist;
	u_int flags;
};
typedef struct __dbjoin_msg __dbjoin_msg;

struct __dbjoin_reply {
	u_int status;
	u_int dbcidcl_id;
};
typedef struct __dbjoin_reply __dbjoin_reply;

struct __dbc_close_msg {
	u_int dbccl_id;
};
typedef struct __dbc_close_msg __dbc_close_msg;

struct __dbc_close_reply {
	u_int status;
};
typedef struct __dbc_close_reply __dbc_close_reply;

struct __dbc_count_msg {
	u_int dbccl_id;
	u_int flags;
};
typedef struct __dbc_count_msg __dbc_count_msg;

struct __dbc_count_reply {
	u_int status;
	u_int dupcount;
};
typedef struct __dbc_count_reply __dbc_count_reply;

struct __dbc_del_msg {
	u_int dbccl_id;
	u_int flags;
};
typedef struct __dbc_del_msg __dbc_del_msg;

struct __dbc_del_reply {
	u_int status;
};
typedef struct __dbc_del_reply __dbc_del_reply;

struct __dbc_dup_msg {
	u_int dbccl_id;
	u_int flags;
};
typedef struct __dbc_dup_msg __dbc_dup_msg;

struct __dbc_dup_reply {
	u_int status;
	u_int dbcidcl_id;
};
typedef struct __dbc_dup_reply __dbc_dup_reply;

struct __dbc_get_msg {
	u_int dbccl_id;
	u_int keydlen;
	u_int keydoff;
	u_int keyflags;
	struct {
		u_int keydata_len;
		char *keydata_val;
	} keydata;
	u_int datadlen;
	u_int datadoff;
	u_int dataflags;
	struct {
		u_int datadata_len;
		char *datadata_val;
	} datadata;
	u_int flags;
};
typedef struct __dbc_get_msg __dbc_get_msg;

struct __dbc_get_reply {
	u_int status;
	struct {
		u_int keydata_len;
		char *keydata_val;
	} keydata;
	struct {
		u_int datadata_len;
		char *datadata_val;
	} datadata;
};
typedef struct __dbc_get_reply __dbc_get_reply;

struct __dbc_put_msg {
	u_int dbccl_id;
	u_int keydlen;
	u_int keydoff;
	u_int keyflags;
	struct {
		u_int keydata_len;
		char *keydata_val;
	} keydata;
	u_int datadlen;
	u_int datadoff;
	u_int dataflags;
	struct {
		u_int datadata_len;
		char *datadata_val;
	} datadata;
	u_int flags;
};
typedef struct __dbc_put_msg __dbc_put_msg;

struct __dbc_put_reply {
	u_int status;
};
typedef struct __dbc_put_reply __dbc_put_reply;

#define	DB_SERVERPROG ((unsigned long)(351457))
#define	DB_SERVERVERS ((unsigned long)(1))
#define	__DB_envcachesize ((unsigned long)(1))
extern  __envcachesize_reply * __db_envcachesize_1();
#define	__DB_envclose ((unsigned long)(2))
extern  __envclose_reply * __db_envclose_1();
#define	__DB_envcreate ((unsigned long)(3))
extern  __envcreate_reply * __db_envcreate_1();
#define	__DB_envopen ((unsigned long)(4))
extern  __envopen_reply * __db_envopen_1();
#define	__DB_envremove ((unsigned long)(5))
extern  __envremove_reply * __db_envremove_1();
#define	__DB_txnabort ((unsigned long)(6))
extern  __txnabort_reply * __db_txnabort_1();
#define	__DB_txnbegin ((unsigned long)(7))
extern  __txnbegin_reply * __db_txnbegin_1();
#define	__DB_txncommit ((unsigned long)(8))
extern  __txncommit_reply * __db_txncommit_1();
#define	__DB_dbbtmaxkey ((unsigned long)(9))
extern  __dbbtmaxkey_reply * __db_dbbtmaxkey_1();
#define	__DB_dbbtminkey ((unsigned long)(10))
extern  __dbbtminkey_reply * __db_dbbtminkey_1();
#define	__DB_dbclose ((unsigned long)(11))
extern  __dbclose_reply * __db_dbclose_1();
#define	__DB_dbcreate ((unsigned long)(12))
extern  __dbcreate_reply * __db_dbcreate_1();
#define	__DB_dbdel ((unsigned long)(13))
extern  __dbdel_reply * __db_dbdel_1();
#define	__DB_dbflags ((unsigned long)(14))
extern  __dbflags_reply * __db_dbflags_1();
#define	__DB_dbget ((unsigned long)(15))
extern  __dbget_reply * __db_dbget_1();
#define	__DB_dbhffactor ((unsigned long)(16))
extern  __dbhffactor_reply * __db_dbhffactor_1();
#define	__DB_dbhnelem ((unsigned long)(17))
extern  __dbhnelem_reply * __db_dbhnelem_1();
#define	__DB_dblorder ((unsigned long)(18))
extern  __dblorder_reply * __db_dblorder_1();
#define	__DB_dbopen ((unsigned long)(19))
extern  __dbopen_reply * __db_dbopen_1();
#define	__DB_dbpagesize ((unsigned long)(20))
extern  __dbpagesize_reply * __db_dbpagesize_1();
#define	__DB_dbput ((unsigned long)(21))
extern  __dbput_reply * __db_dbput_1();
#define	__DB_dbredelim ((unsigned long)(22))
extern  __dbredelim_reply * __db_dbredelim_1();
#define	__DB_dbrelen ((unsigned long)(23))
extern  __dbrelen_reply * __db_dbrelen_1();
#define	__DB_dbrepad ((unsigned long)(24))
extern  __dbrepad_reply * __db_dbrepad_1();
#define	__DB_dbremove ((unsigned long)(25))
extern  __dbremove_reply * __db_dbremove_1();
#define	__DB_dbstat ((unsigned long)(26))
extern  __dbstat_reply * __db_dbstat_1();
#define	__DB_dbswapped ((unsigned long)(27))
extern  __dbswapped_reply * __db_dbswapped_1();
#define	__DB_dbsync ((unsigned long)(28))
extern  __dbsync_reply * __db_dbsync_1();
#define	__DB_dbcursor ((unsigned long)(29))
extern  __dbcursor_reply * __db_dbcursor_1();
#define	__DB_dbjoin ((unsigned long)(30))
extern  __dbjoin_reply * __db_dbjoin_1();
#define	__DB_dbc_close ((unsigned long)(31))
extern  __dbc_close_reply * __db_dbc_close_1();
#define	__DB_dbc_count ((unsigned long)(32))
extern  __dbc_count_reply * __db_dbc_count_1();
#define	__DB_dbc_del ((unsigned long)(33))
extern  __dbc_del_reply * __db_dbc_del_1();
#define	__DB_dbc_dup ((unsigned long)(34))
extern  __dbc_dup_reply * __db_dbc_dup_1();
#define	__DB_dbc_get ((unsigned long)(35))
extern  __dbc_get_reply * __db_dbc_get_1();
#define	__DB_dbc_put ((unsigned long)(36))
extern  __dbc_put_reply * __db_dbc_put_1();
extern int db_serverprog_1_freeresult();

/* the xdr functions */
extern bool_t xdr___envcachesize_msg();
extern bool_t xdr___envcachesize_reply();
extern bool_t xdr___envclose_msg();
extern bool_t xdr___envclose_reply();
extern bool_t xdr___envcreate_msg();
extern bool_t xdr___envcreate_reply();
extern bool_t xdr___envopen_msg();
extern bool_t xdr___envopen_reply();
extern bool_t xdr___envremove_msg();
extern bool_t xdr___envremove_reply();
extern bool_t xdr___txnabort_msg();
extern bool_t xdr___txnabort_reply();
extern bool_t xdr___txnbegin_msg();
extern bool_t xdr___txnbegin_reply();
extern bool_t xdr___txncommit_msg();
extern bool_t xdr___txncommit_reply();
extern bool_t xdr___dbbtmaxkey_msg();
extern bool_t xdr___dbbtmaxkey_reply();
extern bool_t xdr___dbbtminkey_msg();
extern bool_t xdr___dbbtminkey_reply();
extern bool_t xdr___dbclose_msg();
extern bool_t xdr___dbclose_reply();
extern bool_t xdr___dbcreate_msg();
extern bool_t xdr___dbcreate_reply();
extern bool_t xdr___dbdel_msg();
extern bool_t xdr___dbdel_reply();
extern bool_t xdr___dbflags_msg();
extern bool_t xdr___dbflags_reply();
extern bool_t xdr___dbget_msg();
extern bool_t xdr___dbget_reply();
extern bool_t xdr___dbhffactor_msg();
extern bool_t xdr___dbhffactor_reply();
extern bool_t xdr___dbhnelem_msg();
extern bool_t xdr___dbhnelem_reply();
extern bool_t xdr___dblorder_msg();
extern bool_t xdr___dblorder_reply();
extern bool_t xdr___dbopen_msg();
extern bool_t xdr___dbopen_reply();
extern bool_t xdr___dbpagesize_msg();
extern bool_t xdr___dbpagesize_reply();
extern bool_t xdr___dbput_msg();
extern bool_t xdr___dbput_reply();
extern bool_t xdr___dbredelim_msg();
extern bool_t xdr___dbredelim_reply();
extern bool_t xdr___dbrelen_msg();
extern bool_t xdr___dbrelen_reply();
extern bool_t xdr___dbrepad_msg();
extern bool_t xdr___dbrepad_reply();
extern bool_t xdr___dbremove_msg();
extern bool_t xdr___dbremove_reply();
extern bool_t xdr___dbstat_msg();
extern bool_t xdr___dbstat_statsreplist();
extern bool_t xdr___dbstat_reply();
extern bool_t xdr___dbswapped_msg();
extern bool_t xdr___dbswapped_reply();
extern bool_t xdr___dbsync_msg();
extern bool_t xdr___dbsync_reply();
extern bool_t xdr___dbcursor_msg();
extern bool_t xdr___dbcursor_reply();
extern bool_t xdr___dbjoin_curslist();
extern bool_t xdr___dbjoin_msg();
extern bool_t xdr___dbjoin_reply();
extern bool_t xdr___dbc_close_msg();
extern bool_t xdr___dbc_close_reply();
extern bool_t xdr___dbc_count_msg();
extern bool_t xdr___dbc_count_reply();
extern bool_t xdr___dbc_del_msg();
extern bool_t xdr___dbc_del_reply();
extern bool_t xdr___dbc_dup_msg();
extern bool_t xdr___dbc_dup_reply();
extern bool_t xdr___dbc_get_msg();
extern bool_t xdr___dbc_get_reply();
extern bool_t xdr___dbc_put_msg();
extern bool_t xdr___dbc_put_reply();

#endif /* !_DB_SERVER_H_RPCGEN */
