/* Do not edit: automatically built by gen_rpc.awk. */

struct __envcachesize_msg {
	unsigned int dbenvcl_id;
	unsigned int gbytes;
	unsigned int bytes;
	unsigned int ncache;
};

struct __envcachesize_reply {
	unsigned int status;
};

struct __envclose_msg {
	unsigned int dbenvcl_id;
	unsigned int flags;
};

struct __envclose_reply {
	unsigned int status;
};

struct __envcreate_msg {
	unsigned int timeout;
};

struct __envcreate_reply {
	unsigned int status;
	unsigned int envcl_id;
};

struct __envopen_msg {
	unsigned int dbenvcl_id;
	string home<>;
	unsigned int flags;
	unsigned int mode;
};

struct __envopen_reply {
	unsigned int status;
};

struct __envremove_msg {
	unsigned int dbenvcl_id;
	string home<>;
	unsigned int flags;
};

struct __envremove_reply {
	unsigned int status;
};

struct __txnabort_msg {
	unsigned int txnpcl_id;
};

struct __txnabort_reply {
	unsigned int status;
};

struct __txnbegin_msg {
	unsigned int envpcl_id;
	unsigned int parentcl_id;
	unsigned int flags;
};

struct __txnbegin_reply {
	unsigned int status;
	unsigned int txnidcl_id;
};

struct __txncommit_msg {
	unsigned int txnpcl_id;
	unsigned int flags;
};

struct __txncommit_reply {
	unsigned int status;
};

struct __dbbtmaxkey_msg {
	unsigned int dbpcl_id;
	unsigned int maxkey;
};

struct __dbbtmaxkey_reply {
	unsigned int status;
};

struct __dbbtminkey_msg {
	unsigned int dbpcl_id;
	unsigned int minkey;
};

struct __dbbtminkey_reply {
	unsigned int status;
};

struct __dbclose_msg {
	unsigned int dbpcl_id;
	unsigned int flags;
};

struct __dbclose_reply {
	unsigned int status;
};

struct __dbcreate_msg {
	unsigned int flags;
	unsigned int envpcl_id;
};

struct __dbcreate_reply {
	unsigned int status;
	unsigned int dbpcl_id;
};

struct __dbdel_msg {
	unsigned int dbpcl_id;
	unsigned int txnpcl_id;
	unsigned int keydlen;
	unsigned int keydoff;
	unsigned int keyflags;
	opaque keydata<>;
	unsigned int flags;
};

struct __dbdel_reply {
	unsigned int status;
};

struct __dbflags_msg {
	unsigned int dbpcl_id;
	unsigned int flags;
};

struct __dbflags_reply {
	unsigned int status;
};

struct __dbget_msg {
	unsigned int dbpcl_id;
	unsigned int txnpcl_id;
	unsigned int keydlen;
	unsigned int keydoff;
	unsigned int keyflags;
	opaque keydata<>;
	unsigned int datadlen;
	unsigned int datadoff;
	unsigned int dataflags;
	opaque datadata<>;
	unsigned int flags;
};

struct __dbget_reply {
	unsigned int status;
	opaque keydata<>;
	opaque datadata<>;
};

struct __dbhffactor_msg {
	unsigned int dbpcl_id;
	unsigned int ffactor;
};

struct __dbhffactor_reply {
	unsigned int status;
};

struct __dbhnelem_msg {
	unsigned int dbpcl_id;
	unsigned int nelem;
};

struct __dbhnelem_reply {
	unsigned int status;
};

struct __dblorder_msg {
	unsigned int dbpcl_id;
	unsigned int lorder;
};

struct __dblorder_reply {
	unsigned int status;
};

struct __dbopen_msg {
	unsigned int dbpcl_id;
	string name<>;
	string subdb<>;
	unsigned int type;
	unsigned int flags;
	unsigned int mode;
};

struct __dbopen_reply {
	unsigned int status;
	unsigned int type;
	unsigned int dbflags;
};

struct __dbpagesize_msg {
	unsigned int dbpcl_id;
	unsigned int pagesize;
};

struct __dbpagesize_reply {
	unsigned int status;
};

struct __dbput_msg {
	unsigned int dbpcl_id;
	unsigned int txnpcl_id;
	unsigned int keydlen;
	unsigned int keydoff;
	unsigned int keyflags;
	opaque keydata<>;
	unsigned int datadlen;
	unsigned int datadoff;
	unsigned int dataflags;
	opaque datadata<>;
	unsigned int flags;
};

struct __dbput_reply {
	unsigned int status;
	opaque keydata<>;
};

struct __dbredelim_msg {
	unsigned int dbpcl_id;
	unsigned int delim;
};

struct __dbredelim_reply {
	unsigned int status;
};

struct __dbrelen_msg {
	unsigned int dbpcl_id;
	unsigned int len;
};

struct __dbrelen_reply {
	unsigned int status;
};

struct __dbrepad_msg {
	unsigned int dbpcl_id;
	unsigned int pad;
};

struct __dbrepad_reply {
	unsigned int status;
};

struct __dbremove_msg {
	unsigned int dbpcl_id;
	string name<>;
	string subdb<>;
	unsigned int flags;
};

struct __dbremove_reply {
	unsigned int status;
};

struct __dbstat_msg {
	unsigned int dbpcl_id;
	unsigned int flags;
};

struct __dbstat_statsreplist {
	opaque ent<>;
	__dbstat_statsreplist *next;
};

struct __dbstat_reply {
	unsigned int status;
	__dbstat_statsreplist *statslist;
};

struct __dbswapped_msg {
	unsigned int dbpcl_id;
};

struct __dbswapped_reply {
	unsigned int status;
};

struct __dbsync_msg {
	unsigned int dbpcl_id;
	unsigned int flags;
};

struct __dbsync_reply {
	unsigned int status;
};

struct __dbcursor_msg {
	unsigned int dbpcl_id;
	unsigned int txnpcl_id;
	unsigned int flags;
};

struct __dbcursor_reply {
	unsigned int status;
	unsigned int dbcidcl_id;
};

struct __dbjoin_curslist {
	opaque ent<>;
	__dbjoin_curslist *next;
};

struct __dbjoin_msg {
	unsigned int dbpcl_id;
	__dbjoin_curslist *curslist;
	unsigned int flags;
};

struct __dbjoin_reply {
	unsigned int status;
	unsigned int dbcidcl_id;
};

struct __dbc_close_msg {
	unsigned int dbccl_id;
};

struct __dbc_close_reply {
	unsigned int status;
};

struct __dbc_count_msg {
	unsigned int dbccl_id;
	unsigned int flags;
};

struct __dbc_count_reply {
	unsigned int status;
	unsigned int dupcount;
};

struct __dbc_del_msg {
	unsigned int dbccl_id;
	unsigned int flags;
};

struct __dbc_del_reply {
	unsigned int status;
};

struct __dbc_dup_msg {
	unsigned int dbccl_id;
	unsigned int flags;
};

struct __dbc_dup_reply {
	unsigned int status;
	unsigned int dbcidcl_id;
};

struct __dbc_get_msg {
	unsigned int dbccl_id;
	unsigned int keydlen;
	unsigned int keydoff;
	unsigned int keyflags;
	opaque keydata<>;
	unsigned int datadlen;
	unsigned int datadoff;
	unsigned int dataflags;
	opaque datadata<>;
	unsigned int flags;
};

struct __dbc_get_reply {
	unsigned int status;
	opaque keydata<>;
	opaque datadata<>;
};

struct __dbc_put_msg {
	unsigned int dbccl_id;
	unsigned int keydlen;
	unsigned int keydoff;
	unsigned int keyflags;
	opaque keydata<>;
	unsigned int datadlen;
	unsigned int datadoff;
	unsigned int dataflags;
	opaque datadata<>;
	unsigned int flags;
};

struct __dbc_put_reply {
	unsigned int status;
};
program DB_SERVERPROG {
	version DB_SERVERVERS {
		__envcachesize_reply __DB_envcachesize(__envcachesize_msg) = 1;
		__envclose_reply __DB_envclose(__envclose_msg) = 2;
		__envcreate_reply __DB_envcreate(__envcreate_msg) = 3;
		__envopen_reply __DB_envopen(__envopen_msg) = 4;
		__envremove_reply __DB_envremove(__envremove_msg) = 5;
		__txnabort_reply __DB_txnabort(__txnabort_msg) = 6;
		__txnbegin_reply __DB_txnbegin(__txnbegin_msg) = 7;
		__txncommit_reply __DB_txncommit(__txncommit_msg) = 8;
		__dbbtmaxkey_reply __DB_dbbtmaxkey(__dbbtmaxkey_msg) = 9;
		__dbbtminkey_reply __DB_dbbtminkey(__dbbtminkey_msg) = 10;
		__dbclose_reply __DB_dbclose(__dbclose_msg) = 11;
		__dbcreate_reply __DB_dbcreate(__dbcreate_msg) = 12;
		__dbdel_reply __DB_dbdel(__dbdel_msg) = 13;
		__dbflags_reply __DB_dbflags(__dbflags_msg) = 14;
		__dbget_reply __DB_dbget(__dbget_msg) = 15;
		__dbhffactor_reply __DB_dbhffactor(__dbhffactor_msg) = 16;
		__dbhnelem_reply __DB_dbhnelem(__dbhnelem_msg) = 17;
		__dblorder_reply __DB_dblorder(__dblorder_msg) = 18;
		__dbopen_reply __DB_dbopen(__dbopen_msg) = 19;
		__dbpagesize_reply __DB_dbpagesize(__dbpagesize_msg) = 20;
		__dbput_reply __DB_dbput(__dbput_msg) = 21;
		__dbredelim_reply __DB_dbredelim(__dbredelim_msg) = 22;
		__dbrelen_reply __DB_dbrelen(__dbrelen_msg) = 23;
		__dbrepad_reply __DB_dbrepad(__dbrepad_msg) = 24;
		__dbremove_reply __DB_dbremove(__dbremove_msg) = 25;
		__dbstat_reply __DB_dbstat(__dbstat_msg) = 26;
		__dbswapped_reply __DB_dbswapped(__dbswapped_msg) = 27;
		__dbsync_reply __DB_dbsync(__dbsync_msg) = 28;
		__dbcursor_reply __DB_dbcursor(__dbcursor_msg) = 29;
		__dbjoin_reply __DB_dbjoin(__dbjoin_msg) = 30;
		__dbc_close_reply __DB_dbc_close(__dbc_close_msg) = 31;
		__dbc_count_reply __DB_dbc_count(__dbc_count_msg) = 32;
		__dbc_del_reply __DB_dbc_del(__dbc_del_msg) = 33;
		__dbc_dup_reply __DB_dbc_dup(__dbc_dup_msg) = 34;
		__dbc_get_reply __DB_dbc_get(__dbc_get_msg) = 35;
		__dbc_put_reply __DB_dbc_put(__dbc_put_msg) = 36;
	} = 1;
} = 351457;
