Commit 2d14fa5b authored by unknown's avatar unknown

disable chmod in bdb scripts - bk doesn't like somebody messing with permissions

delete auto-generated files
remove in-place editing


BitKeeper/deleted/.del-ex_apprec_auto.c~6e4c8882b1f0fe9d:
  Delete: bdb/examples_c/ex_apprec/ex_apprec_auto.c
BitKeeper/deleted/.del-ex_apprec_auto.h~d01f1e472bf1b59f:
  Delete: bdb/examples_c/ex_apprec/ex_apprec_auto.h
BitKeeper/deleted/.del-ex_apprec_template~4157a705d73c1209:
  Delete: bdb/examples_c/ex_apprec/ex_apprec_template
bdb/rpc_server/c/db_server_proc.c.in:
  Rename: bdb/rpc_server/c/db_server_proc.c -> bdb/rpc_server/c/db_server_proc.c.in
BitKeeper/deleted/.del-rpc_defs.in~bfc9820a618d5926:
  Delete: bdb/dbinc_auto/rpc_defs.in
BitKeeper/deleted/.del-db_server.h~1c77cc0d19f3ecf:
  Delete: bdb/dbinc_auto/db_server.h
BitKeeper/deleted/.del-db_server_proc.sed~94a351b3e31c0ad0:
  Delete: bdb/rpc_server/c/db_server_proc.sed
BitKeeper/deleted/.del-db_server_svc.c~66ae3c56737e07ab:
  Delete: bdb/rpc_server/c/db_server_svc.c
BitKeeper/deleted/.del-db_server_xdr.c~518231ed78b9cdcf:
  Delete: bdb/rpc_server/c/db_server_xdr.c
BitKeeper/deleted/.del-gen_db_server.c~51935e227c7c23ac:
  Delete: bdb/rpc_server/c/gen_db_server.c
bdb/dist/RELEASE:
  disable chmod in bdb scripts - bk doesn't like somebody messing with permissions
bdb/dist/s_crypto:
  disable chmod in bdb scripts - bk doesn't like somebody messing with permissions
bdb/dist/s_perm:
  disable chmod in bdb scripts - bk doesn't like somebody messing with permissions
bdb/dist/s_recover:
  disable chmod in bdb scripts - bk doesn't like somebody messing with permissions
bdb/dist/s_rpc:
  NEVER modify files in-place!!!
bdb/dist/s_symlink:
  disable chmod in bdb scripts - bk doesn't like somebody messing with permissions
bdb/dist/s_tags:
  disable chmod in bdb scripts - bk doesn't like somebody messing with permissions
parent 446a5b0a
/*
* Please do not edit this file.
* It was generated using rpcgen.
*/
#ifndef _DB_SERVER_H_RPCGEN
#define _DB_SERVER_H_RPCGEN
struct __env_cachesize_msg {
u_int dbenvcl_id;
u_int gbytes;
u_int bytes;
u_int ncache;
};
typedef struct __env_cachesize_msg __env_cachesize_msg;
struct __env_cachesize_reply {
int status;
};
typedef struct __env_cachesize_reply __env_cachesize_reply;
struct __env_close_msg {
u_int dbenvcl_id;
u_int flags;
};
typedef struct __env_close_msg __env_close_msg;
struct __env_close_reply {
int status;
};
typedef struct __env_close_reply __env_close_reply;
struct __env_create_msg {
u_int timeout;
};
typedef struct __env_create_msg __env_create_msg;
struct __env_create_reply {
int status;
u_int envcl_id;
};
typedef struct __env_create_reply __env_create_reply;
struct __env_dbremove_msg {
u_int dbenvcl_id;
u_int txnpcl_id;
char *name;
char *subdb;
u_int flags;
};
typedef struct __env_dbremove_msg __env_dbremove_msg;
struct __env_dbremove_reply {
int status;
};
typedef struct __env_dbremove_reply __env_dbremove_reply;
struct __env_dbrename_msg {
u_int dbenvcl_id;
u_int txnpcl_id;
char *name;
char *subdb;
char *newname;
u_int flags;
};
typedef struct __env_dbrename_msg __env_dbrename_msg;
struct __env_dbrename_reply {
int status;
};
typedef struct __env_dbrename_reply __env_dbrename_reply;
struct __env_encrypt_msg {
u_int dbenvcl_id;
char *passwd;
u_int flags;
};
typedef struct __env_encrypt_msg __env_encrypt_msg;
struct __env_encrypt_reply {
int status;
};
typedef struct __env_encrypt_reply __env_encrypt_reply;
struct __env_flags_msg {
u_int dbenvcl_id;
u_int flags;
u_int onoff;
};
typedef struct __env_flags_msg __env_flags_msg;
struct __env_flags_reply {
int status;
};
typedef struct __env_flags_reply __env_flags_reply;
struct __env_open_msg {
u_int dbenvcl_id;
char *home;
u_int flags;
u_int mode;
};
typedef struct __env_open_msg __env_open_msg;
struct __env_open_reply {
int status;
u_int envcl_id;
};
typedef struct __env_open_reply __env_open_reply;
struct __env_remove_msg {
u_int dbenvcl_id;
char *home;
u_int flags;
};
typedef struct __env_remove_msg __env_remove_msg;
struct __env_remove_reply {
int status;
};
typedef struct __env_remove_reply __env_remove_reply;
struct __txn_abort_msg {
u_int txnpcl_id;
};
typedef struct __txn_abort_msg __txn_abort_msg;
struct __txn_abort_reply {
int status;
};
typedef struct __txn_abort_reply __txn_abort_reply;
struct __txn_begin_msg {
u_int dbenvcl_id;
u_int parentcl_id;
u_int flags;
};
typedef struct __txn_begin_msg __txn_begin_msg;
struct __txn_begin_reply {
int status;
u_int txnidcl_id;
};
typedef struct __txn_begin_reply __txn_begin_reply;
struct __txn_commit_msg {
u_int txnpcl_id;
u_int flags;
};
typedef struct __txn_commit_msg __txn_commit_msg;
struct __txn_commit_reply {
int status;
};
typedef struct __txn_commit_reply __txn_commit_reply;
struct __txn_discard_msg {
u_int txnpcl_id;
u_int flags;
};
typedef struct __txn_discard_msg __txn_discard_msg;
struct __txn_discard_reply {
int status;
};
typedef struct __txn_discard_reply __txn_discard_reply;
struct __txn_prepare_msg {
u_int txnpcl_id;
char gid[128];
};
typedef struct __txn_prepare_msg __txn_prepare_msg;
struct __txn_prepare_reply {
int status;
};
typedef struct __txn_prepare_reply __txn_prepare_reply;
struct __txn_recover_msg {
u_int dbenvcl_id;
u_int count;
u_int flags;
};
typedef struct __txn_recover_msg __txn_recover_msg;
struct __txn_recover_reply {
int status;
struct {
u_int txn_len;
u_int *txn_val;
} txn;
struct {
u_int gid_len;
char *gid_val;
} gid;
u_int retcount;
};
typedef struct __txn_recover_reply __txn_recover_reply;
struct __db_associate_msg {
u_int dbpcl_id;
u_int txnpcl_id;
u_int sdbpcl_id;
u_int flags;
};
typedef struct __db_associate_msg __db_associate_msg;
struct __db_associate_reply {
int status;
};
typedef struct __db_associate_reply __db_associate_reply;
struct __db_bt_maxkey_msg {
u_int dbpcl_id;
u_int maxkey;
};
typedef struct __db_bt_maxkey_msg __db_bt_maxkey_msg;
struct __db_bt_maxkey_reply {
int status;
};
typedef struct __db_bt_maxkey_reply __db_bt_maxkey_reply;
struct __db_bt_minkey_msg {
u_int dbpcl_id;
u_int minkey;
};
typedef struct __db_bt_minkey_msg __db_bt_minkey_msg;
struct __db_bt_minkey_reply {
int status;
};
typedef struct __db_bt_minkey_reply __db_bt_minkey_reply;
struct __db_close_msg {
u_int dbpcl_id;
u_int flags;
};
typedef struct __db_close_msg __db_close_msg;
struct __db_close_reply {
int status;
};
typedef struct __db_close_reply __db_close_reply;
struct __db_create_msg {
u_int dbenvcl_id;
u_int flags;
};
typedef struct __db_create_msg __db_create_msg;
struct __db_create_reply {
int status;
u_int dbcl_id;
};
typedef struct __db_create_reply __db_create_reply;
struct __db_del_msg {
u_int dbpcl_id;
u_int txnpcl_id;
u_int keydlen;
u_int keydoff;
u_int keyulen;
u_int keyflags;
struct {
u_int keydata_len;
char *keydata_val;
} keydata;
u_int flags;
};
typedef struct __db_del_msg __db_del_msg;
struct __db_del_reply {
int status;
};
typedef struct __db_del_reply __db_del_reply;
struct __db_encrypt_msg {
u_int dbpcl_id;
char *passwd;
u_int flags;
};
typedef struct __db_encrypt_msg __db_encrypt_msg;
struct __db_encrypt_reply {
int status;
};
typedef struct __db_encrypt_reply __db_encrypt_reply;
struct __db_extentsize_msg {
u_int dbpcl_id;
u_int extentsize;
};
typedef struct __db_extentsize_msg __db_extentsize_msg;
struct __db_extentsize_reply {
int status;
};
typedef struct __db_extentsize_reply __db_extentsize_reply;
struct __db_flags_msg {
u_int dbpcl_id;
u_int flags;
};
typedef struct __db_flags_msg __db_flags_msg;
struct __db_flags_reply {
int status;
};
typedef struct __db_flags_reply __db_flags_reply;
struct __db_get_msg {
u_int dbpcl_id;
u_int txnpcl_id;
u_int keydlen;
u_int keydoff;
u_int keyulen;
u_int keyflags;
struct {
u_int keydata_len;
char *keydata_val;
} keydata;
u_int datadlen;
u_int datadoff;
u_int dataulen;
u_int dataflags;
struct {
u_int datadata_len;
char *datadata_val;
} datadata;
u_int flags;
};
typedef struct __db_get_msg __db_get_msg;
struct __db_get_reply {
int status;
struct {
u_int keydata_len;
char *keydata_val;
} keydata;
struct {
u_int datadata_len;
char *datadata_val;
} datadata;
};
typedef struct __db_get_reply __db_get_reply;
struct __db_h_ffactor_msg {
u_int dbpcl_id;
u_int ffactor;
};
typedef struct __db_h_ffactor_msg __db_h_ffactor_msg;
struct __db_h_ffactor_reply {
int status;
};
typedef struct __db_h_ffactor_reply __db_h_ffactor_reply;
struct __db_h_nelem_msg {
u_int dbpcl_id;
u_int nelem;
};
typedef struct __db_h_nelem_msg __db_h_nelem_msg;
struct __db_h_nelem_reply {
int status;
};
typedef struct __db_h_nelem_reply __db_h_nelem_reply;
struct __db_key_range_msg {
u_int dbpcl_id;
u_int txnpcl_id;
u_int keydlen;
u_int keydoff;
u_int keyulen;
u_int keyflags;
struct {
u_int keydata_len;
char *keydata_val;
} keydata;
u_int flags;
};
typedef struct __db_key_range_msg __db_key_range_msg;
struct __db_key_range_reply {
int status;
double less;
double equal;
double greater;
};
typedef struct __db_key_range_reply __db_key_range_reply;
struct __db_lorder_msg {
u_int dbpcl_id;
u_int lorder;
};
typedef struct __db_lorder_msg __db_lorder_msg;
struct __db_lorder_reply {
int status;
};
typedef struct __db_lorder_reply __db_lorder_reply;
struct __db_open_msg {
u_int dbpcl_id;
u_int txnpcl_id;
char *name;
char *subdb;
u_int type;
u_int flags;
u_int mode;
};
typedef struct __db_open_msg __db_open_msg;
struct __db_open_reply {
int status;
u_int dbcl_id;
u_int type;
u_int dbflags;
u_int lorder;
};
typedef struct __db_open_reply __db_open_reply;
struct __db_pagesize_msg {
u_int dbpcl_id;
u_int pagesize;
};
typedef struct __db_pagesize_msg __db_pagesize_msg;
struct __db_pagesize_reply {
int status;
};
typedef struct __db_pagesize_reply __db_pagesize_reply;
struct __db_pget_msg {
u_int dbpcl_id;
u_int txnpcl_id;
u_int skeydlen;
u_int skeydoff;
u_int skeyulen;
u_int skeyflags;
struct {
u_int skeydata_len;
char *skeydata_val;
} skeydata;
u_int pkeydlen;
u_int pkeydoff;
u_int pkeyulen;
u_int pkeyflags;
struct {
u_int pkeydata_len;
char *pkeydata_val;
} pkeydata;
u_int datadlen;
u_int datadoff;
u_int dataulen;
u_int dataflags;
struct {
u_int datadata_len;
char *datadata_val;
} datadata;
u_int flags;
};
typedef struct __db_pget_msg __db_pget_msg;
struct __db_pget_reply {
int status;
struct {
u_int skeydata_len;
char *skeydata_val;
} skeydata;
struct {
u_int pkeydata_len;
char *pkeydata_val;
} pkeydata;
struct {
u_int datadata_len;
char *datadata_val;
} datadata;
};
typedef struct __db_pget_reply __db_pget_reply;
struct __db_put_msg {
u_int dbpcl_id;
u_int txnpcl_id;
u_int keydlen;
u_int keydoff;
u_int keyulen;
u_int keyflags;
struct {
u_int keydata_len;
char *keydata_val;
} keydata;
u_int datadlen;
u_int datadoff;
u_int dataulen;
u_int dataflags;
struct {
u_int datadata_len;
char *datadata_val;
} datadata;
u_int flags;
};
typedef struct __db_put_msg __db_put_msg;
struct __db_put_reply {
int status;
struct {
u_int keydata_len;
char *keydata_val;
} keydata;
};
typedef struct __db_put_reply __db_put_reply;
struct __db_re_delim_msg {
u_int dbpcl_id;
u_int delim;
};
typedef struct __db_re_delim_msg __db_re_delim_msg;
struct __db_re_delim_reply {
int status;
};
typedef struct __db_re_delim_reply __db_re_delim_reply;
struct __db_re_len_msg {
u_int dbpcl_id;
u_int len;
};
typedef struct __db_re_len_msg __db_re_len_msg;
struct __db_re_len_reply {
int status;
};
typedef struct __db_re_len_reply __db_re_len_reply;
struct __db_re_pad_msg {
u_int dbpcl_id;
u_int pad;
};
typedef struct __db_re_pad_msg __db_re_pad_msg;
struct __db_re_pad_reply {
int status;
};
typedef struct __db_re_pad_reply __db_re_pad_reply;
struct __db_remove_msg {
u_int dbpcl_id;
char *name;
char *subdb;
u_int flags;
};
typedef struct __db_remove_msg __db_remove_msg;
struct __db_remove_reply {
int status;
};
typedef struct __db_remove_reply __db_remove_reply;
struct __db_rename_msg {
u_int dbpcl_id;
char *name;
char *subdb;
char *newname;
u_int flags;
};
typedef struct __db_rename_msg __db_rename_msg;
struct __db_rename_reply {
int status;
};
typedef struct __db_rename_reply __db_rename_reply;
struct __db_stat_msg {
u_int dbpcl_id;
u_int flags;
};
typedef struct __db_stat_msg __db_stat_msg;
struct __db_stat_reply {
int status;
struct {
u_int stats_len;
u_int *stats_val;
} stats;
};
typedef struct __db_stat_reply __db_stat_reply;
struct __db_sync_msg {
u_int dbpcl_id;
u_int flags;
};
typedef struct __db_sync_msg __db_sync_msg;
struct __db_sync_reply {
int status;
};
typedef struct __db_sync_reply __db_sync_reply;
struct __db_truncate_msg {
u_int dbpcl_id;
u_int txnpcl_id;
u_int flags;
};
typedef struct __db_truncate_msg __db_truncate_msg;
struct __db_truncate_reply {
int status;
u_int count;
};
typedef struct __db_truncate_reply __db_truncate_reply;
struct __db_cursor_msg {
u_int dbpcl_id;
u_int txnpcl_id;
u_int flags;
};
typedef struct __db_cursor_msg __db_cursor_msg;
struct __db_cursor_reply {
int status;
u_int dbcidcl_id;
};
typedef struct __db_cursor_reply __db_cursor_reply;
struct __db_join_msg {
u_int dbpcl_id;
struct {
u_int curs_len;
u_int *curs_val;
} curs;
u_int flags;
};
typedef struct __db_join_msg __db_join_msg;
struct __db_join_reply {
int status;
u_int dbcidcl_id;
};
typedef struct __db_join_reply __db_join_reply;
struct __dbc_close_msg {
u_int dbccl_id;
};
typedef struct __dbc_close_msg __dbc_close_msg;
struct __dbc_close_reply {
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 {
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 {
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 {
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 keyulen;
u_int keyflags;
struct {
u_int keydata_len;
char *keydata_val;
} keydata;
u_int datadlen;
u_int datadoff;
u_int dataulen;
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 {
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_pget_msg {
u_int dbccl_id;
u_int skeydlen;
u_int skeydoff;
u_int skeyulen;
u_int skeyflags;
struct {
u_int skeydata_len;
char *skeydata_val;
} skeydata;
u_int pkeydlen;
u_int pkeydoff;
u_int pkeyulen;
u_int pkeyflags;
struct {
u_int pkeydata_len;
char *pkeydata_val;
} pkeydata;
u_int datadlen;
u_int datadoff;
u_int dataulen;
u_int dataflags;
struct {
u_int datadata_len;
char *datadata_val;
} datadata;
u_int flags;
};
typedef struct __dbc_pget_msg __dbc_pget_msg;
struct __dbc_pget_reply {
int status;
struct {
u_int skeydata_len;
char *skeydata_val;
} skeydata;
struct {
u_int pkeydata_len;
char *pkeydata_val;
} pkeydata;
struct {
u_int datadata_len;
char *datadata_val;
} datadata;
};
typedef struct __dbc_pget_reply __dbc_pget_reply;
struct __dbc_put_msg {
u_int dbccl_id;
u_int keydlen;
u_int keydoff;
u_int keyulen;
u_int keyflags;
struct {
u_int keydata_len;
char *keydata_val;
} keydata;
u_int datadlen;
u_int datadoff;
u_int dataulen;
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 {
int status;
struct {
u_int keydata_len;
char *keydata_val;
} keydata;
};
typedef struct __dbc_put_reply __dbc_put_reply;
#define __DB_env_cachesize ((unsigned long)(1))
extern __env_cachesize_reply * __db_env_cachesize_4001();
#define __DB_env_close ((unsigned long)(2))
extern __env_close_reply * __db_env_close_4001();
#define __DB_env_create ((unsigned long)(3))
extern __env_create_reply * __db_env_create_4001();
#define __DB_env_dbremove ((unsigned long)(4))
extern __env_dbremove_reply * __db_env_dbremove_4001();
#define __DB_env_dbrename ((unsigned long)(5))
extern __env_dbrename_reply * __db_env_dbrename_4001();
#define __DB_env_encrypt ((unsigned long)(6))
extern __env_encrypt_reply * __db_env_encrypt_4001();
#define __DB_env_flags ((unsigned long)(7))
extern __env_flags_reply * __db_env_flags_4001();
#define __DB_env_open ((unsigned long)(8))
extern __env_open_reply * __db_env_open_4001();
#define __DB_env_remove ((unsigned long)(9))
extern __env_remove_reply * __db_env_remove_4001();
#define __DB_txn_abort ((unsigned long)(10))
extern __txn_abort_reply * __db_txn_abort_4001();
#define __DB_txn_begin ((unsigned long)(11))
extern __txn_begin_reply * __db_txn_begin_4001();
#define __DB_txn_commit ((unsigned long)(12))
extern __txn_commit_reply * __db_txn_commit_4001();
#define __DB_txn_discard ((unsigned long)(13))
extern __txn_discard_reply * __db_txn_discard_4001();
#define __DB_txn_prepare ((unsigned long)(14))
extern __txn_prepare_reply * __db_txn_prepare_4001();
#define __DB_txn_recover ((unsigned long)(15))
extern __txn_recover_reply * __db_txn_recover_4001();
#define __DB_db_associate ((unsigned long)(16))
extern __db_associate_reply * __db_db_associate_4001();
#define __DB_db_bt_maxkey ((unsigned long)(17))
extern __db_bt_maxkey_reply * __db_db_bt_maxkey_4001();
#define __DB_db_bt_minkey ((unsigned long)(18))
extern __db_bt_minkey_reply * __db_db_bt_minkey_4001();
#define __DB_db_close ((unsigned long)(19))
extern __db_close_reply * __db_db_close_4001();
#define __DB_db_create ((unsigned long)(20))
extern __db_create_reply * __db_db_create_4001();
#define __DB_db_del ((unsigned long)(21))
extern __db_del_reply * __db_db_del_4001();
#define __DB_db_encrypt ((unsigned long)(22))
extern __db_encrypt_reply * __db_db_encrypt_4001();
#define __DB_db_extentsize ((unsigned long)(23))
extern __db_extentsize_reply * __db_db_extentsize_4001();
#define __DB_db_flags ((unsigned long)(24))
extern __db_flags_reply * __db_db_flags_4001();
#define __DB_db_get ((unsigned long)(25))
extern __db_get_reply * __db_db_get_4001();
#define __DB_db_h_ffactor ((unsigned long)(26))
extern __db_h_ffactor_reply * __db_db_h_ffactor_4001();
#define __DB_db_h_nelem ((unsigned long)(27))
extern __db_h_nelem_reply * __db_db_h_nelem_4001();
#define __DB_db_key_range ((unsigned long)(28))
extern __db_key_range_reply * __db_db_key_range_4001();
#define __DB_db_lorder ((unsigned long)(29))
extern __db_lorder_reply * __db_db_lorder_4001();
#define __DB_db_open ((unsigned long)(30))
extern __db_open_reply * __db_db_open_4001();
#define __DB_db_pagesize ((unsigned long)(31))
extern __db_pagesize_reply * __db_db_pagesize_4001();
#define __DB_db_pget ((unsigned long)(32))
extern __db_pget_reply * __db_db_pget_4001();
#define __DB_db_put ((unsigned long)(33))
extern __db_put_reply * __db_db_put_4001();
#define __DB_db_re_delim ((unsigned long)(34))
extern __db_re_delim_reply * __db_db_re_delim_4001();
#define __DB_db_re_len ((unsigned long)(35))
extern __db_re_len_reply * __db_db_re_len_4001();
#define __DB_db_re_pad ((unsigned long)(36))
extern __db_re_pad_reply * __db_db_re_pad_4001();
#define __DB_db_remove ((unsigned long)(37))
extern __db_remove_reply * __db_db_remove_4001();
#define __DB_db_rename ((unsigned long)(38))
extern __db_rename_reply * __db_db_rename_4001();
#define __DB_db_stat ((unsigned long)(39))
extern __db_stat_reply * __db_db_stat_4001();
#define __DB_db_sync ((unsigned long)(40))
extern __db_sync_reply * __db_db_sync_4001();
#define __DB_db_truncate ((unsigned long)(41))
extern __db_truncate_reply * __db_db_truncate_4001();
#define __DB_db_cursor ((unsigned long)(42))
extern __db_cursor_reply * __db_db_cursor_4001();
#define __DB_db_join ((unsigned long)(43))
extern __db_join_reply * __db_db_join_4001();
#define __DB_dbc_close ((unsigned long)(44))
extern __dbc_close_reply * __db_dbc_close_4001();
#define __DB_dbc_count ((unsigned long)(45))
extern __dbc_count_reply * __db_dbc_count_4001();
#define __DB_dbc_del ((unsigned long)(46))
extern __dbc_del_reply * __db_dbc_del_4001();
#define __DB_dbc_dup ((unsigned long)(47))
extern __dbc_dup_reply * __db_dbc_dup_4001();
#define __DB_dbc_get ((unsigned long)(48))
extern __dbc_get_reply * __db_dbc_get_4001();
#define __DB_dbc_pget ((unsigned long)(49))
extern __dbc_pget_reply * __db_dbc_pget_4001();
#define __DB_dbc_put ((unsigned long)(50))
extern __dbc_put_reply * __db_dbc_put_4001();
extern int db_rpc_serverprog_4001_freeresult();
/* the xdr functions */
extern bool_t xdr___env_cachesize_msg();
extern bool_t xdr___env_cachesize_reply();
extern bool_t xdr___env_close_msg();
extern bool_t xdr___env_close_reply();
extern bool_t xdr___env_create_msg();
extern bool_t xdr___env_create_reply();
extern bool_t xdr___env_dbremove_msg();
extern bool_t xdr___env_dbremove_reply();
extern bool_t xdr___env_dbrename_msg();
extern bool_t xdr___env_dbrename_reply();
extern bool_t xdr___env_encrypt_msg();
extern bool_t xdr___env_encrypt_reply();
extern bool_t xdr___env_flags_msg();
extern bool_t xdr___env_flags_reply();
extern bool_t xdr___env_open_msg();
extern bool_t xdr___env_open_reply();
extern bool_t xdr___env_remove_msg();
extern bool_t xdr___env_remove_reply();
extern bool_t xdr___txn_abort_msg();
extern bool_t xdr___txn_abort_reply();
extern bool_t xdr___txn_begin_msg();
extern bool_t xdr___txn_begin_reply();
extern bool_t xdr___txn_commit_msg();
extern bool_t xdr___txn_commit_reply();
extern bool_t xdr___txn_discard_msg();
extern bool_t xdr___txn_discard_reply();
extern bool_t xdr___txn_prepare_msg();
extern bool_t xdr___txn_prepare_reply();
extern bool_t xdr___txn_recover_msg();
extern bool_t xdr___txn_recover_reply();
extern bool_t xdr___db_associate_msg();
extern bool_t xdr___db_associate_reply();
extern bool_t xdr___db_bt_maxkey_msg();
extern bool_t xdr___db_bt_maxkey_reply();
extern bool_t xdr___db_bt_minkey_msg();
extern bool_t xdr___db_bt_minkey_reply();
extern bool_t xdr___db_close_msg();
extern bool_t xdr___db_close_reply();
extern bool_t xdr___db_create_msg();
extern bool_t xdr___db_create_reply();
extern bool_t xdr___db_del_msg();
extern bool_t xdr___db_del_reply();
extern bool_t xdr___db_encrypt_msg();
extern bool_t xdr___db_encrypt_reply();
extern bool_t xdr___db_extentsize_msg();
extern bool_t xdr___db_extentsize_reply();
extern bool_t xdr___db_flags_msg();
extern bool_t xdr___db_flags_reply();
extern bool_t xdr___db_get_msg();
extern bool_t xdr___db_get_reply();
extern bool_t xdr___db_h_ffactor_msg();
extern bool_t xdr___db_h_ffactor_reply();
extern bool_t xdr___db_h_nelem_msg();
extern bool_t xdr___db_h_nelem_reply();
extern bool_t xdr___db_key_range_msg();
extern bool_t xdr___db_key_range_reply();
extern bool_t xdr___db_lorder_msg();
extern bool_t xdr___db_lorder_reply();
extern bool_t xdr___db_open_msg();
extern bool_t xdr___db_open_reply();
extern bool_t xdr___db_pagesize_msg();
extern bool_t xdr___db_pagesize_reply();
extern bool_t xdr___db_pget_msg();
extern bool_t xdr___db_pget_reply();
extern bool_t xdr___db_put_msg();
extern bool_t xdr___db_put_reply();
extern bool_t xdr___db_re_delim_msg();
extern bool_t xdr___db_re_delim_reply();
extern bool_t xdr___db_re_len_msg();
extern bool_t xdr___db_re_len_reply();
extern bool_t xdr___db_re_pad_msg();
extern bool_t xdr___db_re_pad_reply();
extern bool_t xdr___db_remove_msg();
extern bool_t xdr___db_remove_reply();
extern bool_t xdr___db_rename_msg();
extern bool_t xdr___db_rename_reply();
extern bool_t xdr___db_stat_msg();
extern bool_t xdr___db_stat_reply();
extern bool_t xdr___db_sync_msg();
extern bool_t xdr___db_sync_reply();
extern bool_t xdr___db_truncate_msg();
extern bool_t xdr___db_truncate_reply();
extern bool_t xdr___db_cursor_msg();
extern bool_t xdr___db_cursor_reply();
extern bool_t xdr___db_join_msg();
extern bool_t xdr___db_join_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_pget_msg();
extern bool_t xdr___dbc_pget_reply();
extern bool_t xdr___dbc_put_msg();
extern bool_t xdr___dbc_put_reply();
#endif /* !_DB_SERVER_H_RPCGEN */
/* DO NOT EDIT: automatically built by dist/s_rpc. */
#define DB_RPC_SERVERPROG ((unsigned long)(351457))
#define DB_RPC_SERVERVERS ((unsigned long)(4001))
...@@ -9,3 +9,12 @@ DB_VERSION_UNIQUE_NAME=`printf "_%d%03d" $DB_VERSION_MAJOR $DB_VERSION_MINOR` ...@@ -9,3 +9,12 @@ DB_VERSION_UNIQUE_NAME=`printf "_%d%03d" $DB_VERSION_MAJOR $DB_VERSION_MINOR`
DB_RELEASE_DATE=`date "+%B %e, %Y"` DB_RELEASE_DATE=`date "+%B %e, %Y"`
DB_VERSION_STRING="Sleepycat Software: Berkeley DB $DB_VERSION: ($DB_RELEASE_DATE)" DB_VERSION_STRING="Sleepycat Software: Berkeley DB $DB_VERSION: ($DB_RELEASE_DATE)"
# this file is included by all s_* scripts, so it's the way to apply
# hacks :)
# bitkeeper doesn't like somebody to mess with permissions!
chmod()
{
#echo "chmod $1 $2"
}
...@@ -3,6 +3,8 @@ ...@@ -3,6 +3,8 @@
# Remove crypto from the DB source tree. # Remove crypto from the DB source tree.
. ./RELEASE
d=.. d=..
t=/tmp/__db_a t=/tmp/__db_a
......
...@@ -4,6 +4,8 @@ ...@@ -4,6 +4,8 @@
d=.. d=..
echo 'Updating Berkeley DB source tree permissions...' echo 'Updating Berkeley DB source tree permissions...'
. ./RELEASE
run() run()
{ {
echo " $1 ($2)" echo " $1 ($2)"
......
...@@ -3,6 +3,8 @@ ...@@ -3,6 +3,8 @@
# #
# Build the automatically generated logging/recovery files. # Build the automatically generated logging/recovery files.
. ./RELEASE
tmp=/tmp/__db_a tmp=/tmp/__db_a
loglist=/tmp/__db_b loglist=/tmp/__db_b
source=/tmp/__db_c source=/tmp/__db_c
......
...@@ -25,9 +25,6 @@ server_file=../rpc_server/c/gen_db_server.c ...@@ -25,9 +25,6 @@ server_file=../rpc_server/c/gen_db_server.c
stmpl_file=./template/db_server_proc stmpl_file=./template/db_server_proc
xdr_file=../rpc_server/db_server.x xdr_file=../rpc_server/db_server.x
#
# NOTE: We do NOT want to remove proc_file. It is what we apply $sed_file
# to, but we do not want to remove it, it does not get built in place.
rm -f $client_file \ rm -f $client_file \
$ctmpl_file \ $ctmpl_file \
$header_file \ $header_file \
...@@ -92,8 +89,7 @@ ENDOFSEDTEXT ...@@ -92,8 +89,7 @@ ENDOFSEDTEXT
sed -f $t $rpcsvc_file > ${rpcsvc_file}.new sed -f $t $rpcsvc_file > ${rpcsvc_file}.new
mv ${rpcsvc_file}.new $rpcsvc_file mv ${rpcsvc_file}.new $rpcsvc_file
sed -f $sed_file $proc_file > ${proc_file}.new sed -f $sed_file ${proc_file}.in > ${proc_file}
mv ${proc_file}.new $proc_file
# Run rpcgen files through sed to add HAVE_RPC ifdef and appropriate # Run rpcgen files through sed to add HAVE_RPC ifdef and appropriate
# includes. # includes.
......
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
# $Id: s_symlink,v 1.28 2002/08/18 21:15:45 bostic Exp $ # $Id: s_symlink,v 1.28 2002/08/18 21:15:45 bostic Exp $
echo 'Creating Berkeley DB source tree symbolic links...' echo 'Creating Berkeley DB source tree symbolic links...'
. ./RELEASE
build() build()
{ {
......
...@@ -3,6 +3,8 @@ ...@@ -3,6 +3,8 @@
# #
# Build tags files. # Build tags files.
. ./RELEASE
files="../dbinc/*.h \ files="../dbinc/*.h \
../dbinc/*.in \ ../dbinc/*.in \
../btree/*.[ch] \ ../btree/*.[ch] \
......
/* Do not edit: automatically built by gen_rec.awk. */
#include <ctype.h>
#include <errno.h>
#include <stdlib.h>
#include <string.h>
#include <db.h>
#include "ex_apprec.h"
/*
* PUBLIC: int ex_apprec_mkdir_log __P((DB_ENV *, DB_TXN *, DB_LSN *,
* PUBLIC: u_int32_t, const DBT *));
*/
int
ex_apprec_mkdir_log(dbenv, txnid, ret_lsnp, flags,
dirname)
DB_ENV *dbenv;
DB_TXN *txnid;
DB_LSN *ret_lsnp;
u_int32_t flags;
const DBT *dirname;
{
DBT logrec;
DB_LSN *lsnp, null_lsn;
u_int32_t zero;
u_int32_t npad, rectype, txn_num;
int ret;
u_int8_t *bp;
rectype = DB_ex_apprec_mkdir;
npad = 0;
if (txnid == NULL) {
txn_num = 0;
null_lsn.file = 0;
null_lsn.offset = 0;
lsnp = &null_lsn;
} else {
txn_num = txnid->txnid;
lsnp = &txnid->last_lsn;
}
logrec.size = sizeof(rectype) + sizeof(txn_num) + sizeof(DB_LSN)
+ sizeof(u_int32_t) + (dirname == NULL ? 0 : dirname->size);
if ((logrec.data = malloc(logrec.size)) == NULL)
return (ENOMEM);
if (npad > 0)
memset((u_int8_t *)logrec.data + logrec.size - npad, 0, npad);
bp = logrec.data;
memcpy(bp, &rectype, sizeof(rectype));
bp += sizeof(rectype);
memcpy(bp, &txn_num, sizeof(txn_num));
bp += sizeof(txn_num);
memcpy(bp, lsnp, sizeof(DB_LSN));
bp += sizeof(DB_LSN);
if (dirname == NULL) {
zero = 0;
memcpy(bp, &zero, sizeof(u_int32_t));
bp += sizeof(u_int32_t);
} else {
memcpy(bp, &dirname->size, sizeof(dirname->size));
bp += sizeof(dirname->size);
memcpy(bp, dirname->data, dirname->size);
bp += dirname->size;
}
ret = dbenv->log_put(dbenv,
ret_lsnp, (DBT *)&logrec, flags);
if (txnid != NULL && ret == 0)
txnid->last_lsn = *ret_lsnp;
#ifdef LOG_DIAGNOSTIC
if (ret != 0)
(void)ex_apprec_mkdir_print(dbenv,
(DBT *)&logrec, ret_lsnp, NULL, NULL);
#endif
free(logrec.data);
return (ret);
}
/*
* PUBLIC: int ex_apprec_mkdir_print __P((DB_ENV *, DBT *, DB_LSN *,
* PUBLIC: db_recops, void *));
*/
int
ex_apprec_mkdir_print(dbenv, dbtp, lsnp, notused2, notused3)
DB_ENV *dbenv;
DBT *dbtp;
DB_LSN *lsnp;
db_recops notused2;
void *notused3;
{
ex_apprec_mkdir_args *argp;
u_int32_t i;
int ch;
int ret;
notused2 = DB_TXN_ABORT;
notused3 = NULL;
if ((ret = ex_apprec_mkdir_read(dbenv, dbtp->data, &argp)) != 0)
return (ret);
(void)printf(
"[%lu][%lu]ex_apprec_mkdir: rec: %lu txnid %lx prevlsn [%lu][%lu]\n",
(u_long)lsnp->file,
(u_long)lsnp->offset,
(u_long)argp->type,
(u_long)argp->txnid->txnid,
(u_long)argp->prev_lsn.file,
(u_long)argp->prev_lsn.offset);
(void)printf("\tdirname: ");
for (i = 0; i < argp->dirname.size; i++) {
ch = ((u_int8_t *)argp->dirname.data)[i];
printf(isprint(ch) || ch == 0x0a ? "%c" : "%#x ", ch);
}
(void)printf("\n");
(void)printf("\n");
free(argp);
return (0);
}
/*
* PUBLIC: int ex_apprec_mkdir_read __P((DB_ENV *, void *,
* PUBLIC: ex_apprec_mkdir_args **));
*/
int
ex_apprec_mkdir_read(dbenv, recbuf, argpp)
DB_ENV *dbenv;
void *recbuf;
ex_apprec_mkdir_args **argpp;
{
ex_apprec_mkdir_args *argp;
u_int8_t *bp;
/* Keep the compiler quiet. */
dbenv = NULL;
if ((argp = malloc(sizeof(ex_apprec_mkdir_args) + sizeof(DB_TXN))) == NULL)
return (ENOMEM);
argp->txnid = (DB_TXN *)&argp[1];
bp = recbuf;
memcpy(&argp->type, bp, sizeof(argp->type));
bp += sizeof(argp->type);
memcpy(&argp->txnid->txnid, bp, sizeof(argp->txnid->txnid));
bp += sizeof(argp->txnid->txnid);
memcpy(&argp->prev_lsn, bp, sizeof(DB_LSN));
bp += sizeof(DB_LSN);
memset(&argp->dirname, 0, sizeof(argp->dirname));
memcpy(&argp->dirname.size, bp, sizeof(u_int32_t));
bp += sizeof(u_int32_t);
argp->dirname.data = bp;
bp += argp->dirname.size;
*argpp = argp;
return (0);
}
/*
* PUBLIC: int ex_apprec_init_print __P((DB_ENV *, int (***)(DB_ENV *,
* PUBLIC: DBT *, DB_LSN *, db_recops, void *), size_t *));
*/
int
ex_apprec_init_print(dbenv, dtabp, dtabsizep)
DB_ENV *dbenv;
int (***dtabp)__P((DB_ENV *, DBT *, DB_LSN *, db_recops, void *));
size_t *dtabsizep;
{
int __db_add_recovery __P((DB_ENV *,
int (***)(DB_ENV *, DBT *, DB_LSN *, db_recops, void *),
size_t *,
int (*)(DB_ENV *, DBT *, DB_LSN *, db_recops, void *), u_int32_t));
int ret;
if ((ret = __db_add_recovery(dbenv, dtabp, dtabsizep,
ex_apprec_mkdir_print, DB_ex_apprec_mkdir)) != 0)
return (ret);
return (0);
}
/* Do not edit: automatically built by gen_rec.awk. */
#ifndef ex_apprec_AUTO_H
#define ex_apprec_AUTO_H
#define DB_ex_apprec_mkdir 10000
typedef struct _ex_apprec_mkdir_args {
u_int32_t type;
DB_TXN *txnid;
DB_LSN prev_lsn;
DBT dirname;
} ex_apprec_mkdir_args;
#endif
#include "db_config.h"
#ifndef NO_SYSTEM_INCLUDES
#include <sys/types.h>
#include <string.h>
#endif
#include "db_int.h"
#include "dbinc/db_page.h"
#include "dbinc/ex_apprec.h"
#include "dbinc/log.h"
/*
* ex_apprec_mkdir_recover --
* Recovery function for mkdir.
*
* PUBLIC: int ex_apprec_mkdir_recover
* PUBLIC: __P((DB_ENV *, DBT *, DB_LSN *, db_recops, void *));
*/
int
ex_apprec_mkdir_recover(dbenv, dbtp, lsnp, op, info)
DB_ENV *dbenv;
DBT *dbtp;
DB_LSN *lsnp;
db_recops op;
void *info;
{
ex_apprec_mkdir_args *argp;
DB *file_dbp;
DBC *dbc;
DB_MPOOLFILE *mpf;
PAGE *pagep;
int cmp_n, cmp_p, modified, ret;
REC_PRINT(ex_apprec_mkdir_print);
REC_INTRO(ex_apprec_mkdir_read, 1);
if ((ret = mpf->get(mpf, &argp->pgno, 0, &pagep)) != 0)
if (DB_REDO(op)) {
if ((ret = mpf->get(mpf,
&argp->pgno, DB_MPOOL_CREATE, &pagep)) != 0)
goto out;
} else {
*lsnp = argp->prev_lsn;
ret = 0;
goto out;
}
modified = 0;
cmp_n = log_compare(lsnp, &LSN(pagep));
/*
* Use this when there is something like "pagelsn" in the argp
* structure. Sometimes, you might need to compare meta-data
* lsn's instead.
*
* cmp_p = log_compare(&LSN(pagep), argp->pagelsn);
*/
if (cmp_p == 0 && DB_REDO(op)) {
/* Need to redo update described. */
modified = 1;
} else if (cmp_n == 0 && !DB_REDO(op)) {
/* Need to undo update described. */
modified = 1;
}
if (ret = mpf->put(mpf, pagep, modified ? DB_MPOOL_DIRTY : 0))
goto out;
*lsnp = argp->prev_lsn;
ret = 0;
out: REC_CLOSE;
}
/^\/\* BEGIN __env_cachesize_proc/,/^\/\* END __env_cachesize_proc/c\
/* BEGIN __env_cachesize_proc */\
/*\
\ * PUBLIC: void __env_cachesize_proc __P((long, u_int32_t, u_int32_t,\
\ * PUBLIC: u_int32_t, __env_cachesize_reply *));\
\ */\
void\
__env_cachesize_proc(dbenvcl_id, gbytes, bytes,\
\ \ ncache, replyp)\
\ long dbenvcl_id;\
\ u_int32_t gbytes;\
\ u_int32_t bytes;\
\ u_int32_t ncache;\
\ __env_cachesize_reply *replyp;\
/* END __env_cachesize_proc */
/^\/\* BEGIN __env_close_proc/,/^\/\* END __env_close_proc/c\
/* BEGIN __env_close_proc */\
/*\
\ * PUBLIC: void __env_close_proc __P((long, u_int32_t, __env_close_reply *));\
\ */\
void\
__env_close_proc(dbenvcl_id, flags, replyp)\
\ long dbenvcl_id;\
\ u_int32_t flags;\
\ __env_close_reply *replyp;\
/* END __env_close_proc */
/^\/\* BEGIN __env_create_proc/,/^\/\* END __env_create_proc/c\
/* BEGIN __env_create_proc */\
/*\
\ * PUBLIC: void __env_create_proc __P((u_int32_t, __env_create_reply *));\
\ */\
void\
__env_create_proc(timeout, replyp)\
\ u_int32_t timeout;\
\ __env_create_reply *replyp;\
/* END __env_create_proc */
/^\/\* BEGIN __env_dbremove_proc/,/^\/\* END __env_dbremove_proc/c\
/* BEGIN __env_dbremove_proc */\
/*\
\ * PUBLIC: void __env_dbremove_proc __P((long, long, char *, char *, u_int32_t,\
\ * PUBLIC: __env_dbremove_reply *));\
\ */\
void\
__env_dbremove_proc(dbenvcl_id, txnpcl_id, name,\
\ \ subdb, flags, replyp)\
\ long dbenvcl_id;\
\ long txnpcl_id;\
\ char *name;\
\ char *subdb;\
\ u_int32_t flags;\
\ __env_dbremove_reply *replyp;\
/* END __env_dbremove_proc */
/^\/\* BEGIN __env_dbrename_proc/,/^\/\* END __env_dbrename_proc/c\
/* BEGIN __env_dbrename_proc */\
/*\
\ * PUBLIC: void __env_dbrename_proc __P((long, long, char *, char *, char *,\
\ * PUBLIC: u_int32_t, __env_dbrename_reply *));\
\ */\
void\
__env_dbrename_proc(dbenvcl_id, txnpcl_id, name,\
\ \ subdb, newname, flags, replyp)\
\ long dbenvcl_id;\
\ long txnpcl_id;\
\ char *name;\
\ char *subdb;\
\ char *newname;\
\ u_int32_t flags;\
\ __env_dbrename_reply *replyp;\
/* END __env_dbrename_proc */
/^\/\* BEGIN __env_encrypt_proc/,/^\/\* END __env_encrypt_proc/c\
/* BEGIN __env_encrypt_proc */\
/*\
\ * PUBLIC: void __env_encrypt_proc __P((long, char *, u_int32_t,\
\ * PUBLIC: __env_encrypt_reply *));\
\ */\
void\
__env_encrypt_proc(dbenvcl_id, passwd, flags, replyp)\
\ long dbenvcl_id;\
\ char *passwd;\
\ u_int32_t flags;\
\ __env_encrypt_reply *replyp;\
/* END __env_encrypt_proc */
/^\/\* BEGIN __env_flags_proc/,/^\/\* END __env_flags_proc/c\
/* BEGIN __env_flags_proc */\
/*\
\ * PUBLIC: void __env_flags_proc __P((long, u_int32_t, u_int32_t,\
\ * PUBLIC: __env_flags_reply *));\
\ */\
void\
__env_flags_proc(dbenvcl_id, flags, onoff, replyp)\
\ long dbenvcl_id;\
\ u_int32_t flags;\
\ u_int32_t onoff;\
\ __env_flags_reply *replyp;\
/* END __env_flags_proc */
/^\/\* BEGIN __env_open_proc/,/^\/\* END __env_open_proc/c\
/* BEGIN __env_open_proc */\
/*\
\ * PUBLIC: void __env_open_proc __P((long, char *, u_int32_t, u_int32_t,\
\ * PUBLIC: __env_open_reply *));\
\ */\
void\
__env_open_proc(dbenvcl_id, home, flags,\
\ \ mode, replyp)\
\ long dbenvcl_id;\
\ char *home;\
\ u_int32_t flags;\
\ u_int32_t mode;\
\ __env_open_reply *replyp;\
/* END __env_open_proc */
/^\/\* BEGIN __env_remove_proc/,/^\/\* END __env_remove_proc/c\
/* BEGIN __env_remove_proc */\
/*\
\ * PUBLIC: void __env_remove_proc __P((long, char *, u_int32_t,\
\ * PUBLIC: __env_remove_reply *));\
\ */\
void\
__env_remove_proc(dbenvcl_id, home, flags, replyp)\
\ long dbenvcl_id;\
\ char *home;\
\ u_int32_t flags;\
\ __env_remove_reply *replyp;\
/* END __env_remove_proc */
/^\/\* BEGIN __txn_abort_proc/,/^\/\* END __txn_abort_proc/c\
/* BEGIN __txn_abort_proc */\
/*\
\ * PUBLIC: void __txn_abort_proc __P((long, __txn_abort_reply *));\
\ */\
void\
__txn_abort_proc(txnpcl_id, replyp)\
\ long txnpcl_id;\
\ __txn_abort_reply *replyp;\
/* END __txn_abort_proc */
/^\/\* BEGIN __txn_begin_proc/,/^\/\* END __txn_begin_proc/c\
/* BEGIN __txn_begin_proc */\
/*\
\ * PUBLIC: void __txn_begin_proc __P((long, long, u_int32_t,\
\ * PUBLIC: __txn_begin_reply *));\
\ */\
void\
__txn_begin_proc(dbenvcl_id, parentcl_id,\
\ \ flags, replyp)\
\ long dbenvcl_id;\
\ long parentcl_id;\
\ u_int32_t flags;\
\ __txn_begin_reply *replyp;\
/* END __txn_begin_proc */
/^\/\* BEGIN __txn_commit_proc/,/^\/\* END __txn_commit_proc/c\
/* BEGIN __txn_commit_proc */\
/*\
\ * PUBLIC: void __txn_commit_proc __P((long, u_int32_t,\
\ * PUBLIC: __txn_commit_reply *));\
\ */\
void\
__txn_commit_proc(txnpcl_id, flags, replyp)\
\ long txnpcl_id;\
\ u_int32_t flags;\
\ __txn_commit_reply *replyp;\
/* END __txn_commit_proc */
/^\/\* BEGIN __txn_discard_proc/,/^\/\* END __txn_discard_proc/c\
/* BEGIN __txn_discard_proc */\
/*\
\ * PUBLIC: void __txn_discard_proc __P((long, u_int32_t,\
\ * PUBLIC: __txn_discard_reply *));\
\ */\
void\
__txn_discard_proc(txnpcl_id, flags, replyp)\
\ long txnpcl_id;\
\ u_int32_t flags;\
\ __txn_discard_reply *replyp;\
/* END __txn_discard_proc */
/^\/\* BEGIN __txn_prepare_proc/,/^\/\* END __txn_prepare_proc/c\
/* BEGIN __txn_prepare_proc */\
/*\
\ * PUBLIC: void __txn_prepare_proc __P((long, u_int8_t *,\
\ * PUBLIC: __txn_prepare_reply *));\
\ */\
void\
__txn_prepare_proc(txnpcl_id, gid, replyp)\
\ long txnpcl_id;\
\ u_int8_t *gid;\
\ __txn_prepare_reply *replyp;\
/* END __txn_prepare_proc */
/^\/\* BEGIN __txn_recover_proc/,/^\/\* END __txn_recover_proc/c\
/* BEGIN __txn_recover_proc */\
/*\
\ * PUBLIC: void __txn_recover_proc __P((long, u_int32_t, u_int32_t,\
\ * PUBLIC: __txn_recover_reply *, int *));\
\ */\
void\
__txn_recover_proc(dbenvcl_id, count,\
\ \ flags, replyp, freep)\
\ long dbenvcl_id;\
\ u_int32_t count;\
\ u_int32_t flags;\
\ __txn_recover_reply *replyp;\
\ int * freep;\
/* END __txn_recover_proc */
/^\/\* BEGIN __db_associate_proc/,/^\/\* END __db_associate_proc/c\
/* BEGIN __db_associate_proc */\
/*\
\ * PUBLIC: void __db_associate_proc __P((long, long, long, u_int32_t,\
\ * PUBLIC: __db_associate_reply *));\
\ */\
void\
__db_associate_proc(dbpcl_id, txnpcl_id, sdbpcl_id,\
\ \ flags, replyp)\
\ long dbpcl_id;\
\ long txnpcl_id;\
\ long sdbpcl_id;\
\ u_int32_t flags;\
\ __db_associate_reply *replyp;\
/* END __db_associate_proc */
/^\/\* BEGIN __db_bt_maxkey_proc/,/^\/\* END __db_bt_maxkey_proc/c\
/* BEGIN __db_bt_maxkey_proc */\
/*\
\ * PUBLIC: void __db_bt_maxkey_proc __P((long, u_int32_t,\
\ * PUBLIC: __db_bt_maxkey_reply *));\
\ */\
void\
__db_bt_maxkey_proc(dbpcl_id, maxkey, replyp)\
\ long dbpcl_id;\
\ u_int32_t maxkey;\
\ __db_bt_maxkey_reply *replyp;\
/* END __db_bt_maxkey_proc */
/^\/\* BEGIN __db_bt_minkey_proc/,/^\/\* END __db_bt_minkey_proc/c\
/* BEGIN __db_bt_minkey_proc */\
/*\
\ * PUBLIC: void __db_bt_minkey_proc __P((long, u_int32_t,\
\ * PUBLIC: __db_bt_minkey_reply *));\
\ */\
void\
__db_bt_minkey_proc(dbpcl_id, minkey, replyp)\
\ long dbpcl_id;\
\ u_int32_t minkey;\
\ __db_bt_minkey_reply *replyp;\
/* END __db_bt_minkey_proc */
/^\/\* BEGIN __db_close_proc/,/^\/\* END __db_close_proc/c\
/* BEGIN __db_close_proc */\
/*\
\ * PUBLIC: void __db_close_proc __P((long, u_int32_t, __db_close_reply *));\
\ */\
void\
__db_close_proc(dbpcl_id, flags, replyp)\
\ long dbpcl_id;\
\ u_int32_t flags;\
\ __db_close_reply *replyp;\
/* END __db_close_proc */
/^\/\* BEGIN __db_create_proc/,/^\/\* END __db_create_proc/c\
/* BEGIN __db_create_proc */\
/*\
\ * PUBLIC: void __db_create_proc __P((long, u_int32_t, __db_create_reply *));\
\ */\
void\
__db_create_proc(dbenvcl_id, flags, replyp)\
\ long dbenvcl_id;\
\ u_int32_t flags;\
\ __db_create_reply *replyp;\
/* END __db_create_proc */
/^\/\* BEGIN __db_del_proc/,/^\/\* END __db_del_proc/c\
/* BEGIN __db_del_proc */\
/*\
\ * PUBLIC: void __db_del_proc __P((long, long, u_int32_t, u_int32_t, u_int32_t,\
\ * PUBLIC: u_int32_t, void *, u_int32_t, u_int32_t, __db_del_reply *));\
\ */\
void\
__db_del_proc(dbpcl_id, txnpcl_id, keydlen,\
\ \ keydoff, keyulen, keyflags, keydata,\
\ \ keysize, flags, replyp)\
\ long dbpcl_id;\
\ long txnpcl_id;\
\ u_int32_t keydlen;\
\ u_int32_t keydoff;\
\ u_int32_t keyulen;\
\ u_int32_t keyflags;\
\ void *keydata;\
\ u_int32_t keysize;\
\ u_int32_t flags;\
\ __db_del_reply *replyp;\
/* END __db_del_proc */
/^\/\* BEGIN __db_encrypt_proc/,/^\/\* END __db_encrypt_proc/c\
/* BEGIN __db_encrypt_proc */\
/*\
\ * PUBLIC: void __db_encrypt_proc __P((long, char *, u_int32_t,\
\ * PUBLIC: __db_encrypt_reply *));\
\ */\
void\
__db_encrypt_proc(dbpcl_id, passwd, flags, replyp)\
\ long dbpcl_id;\
\ char *passwd;\
\ u_int32_t flags;\
\ __db_encrypt_reply *replyp;\
/* END __db_encrypt_proc */
/^\/\* BEGIN __db_extentsize_proc/,/^\/\* END __db_extentsize_proc/c\
/* BEGIN __db_extentsize_proc */\
/*\
\ * PUBLIC: void __db_extentsize_proc __P((long, u_int32_t,\
\ * PUBLIC: __db_extentsize_reply *));\
\ */\
void\
__db_extentsize_proc(dbpcl_id, extentsize, replyp)\
\ long dbpcl_id;\
\ u_int32_t extentsize;\
\ __db_extentsize_reply *replyp;\
/* END __db_extentsize_proc */
/^\/\* BEGIN __db_flags_proc/,/^\/\* END __db_flags_proc/c\
/* BEGIN __db_flags_proc */\
/*\
\ * PUBLIC: void __db_flags_proc __P((long, u_int32_t, __db_flags_reply *));\
\ */\
void\
__db_flags_proc(dbpcl_id, flags, replyp)\
\ long dbpcl_id;\
\ u_int32_t flags;\
\ __db_flags_reply *replyp;\
/* END __db_flags_proc */
/^\/\* BEGIN __db_get_proc/,/^\/\* END __db_get_proc/c\
/* BEGIN __db_get_proc */\
/*\
\ * PUBLIC: void __db_get_proc __P((long, long, u_int32_t, u_int32_t, u_int32_t,\
\ * PUBLIC: u_int32_t, void *, u_int32_t, u_int32_t, u_int32_t, u_int32_t, u_int32_t, void *,\
\ * PUBLIC: u_int32_t, u_int32_t, __db_get_reply *, int *));\
\ */\
void\
__db_get_proc(dbpcl_id, txnpcl_id, keydlen,\
\ \ keydoff, keyulen, keyflags, keydata,\
\ \ keysize, datadlen, datadoff, dataulen,\
\ \ dataflags, datadata, datasize, flags, replyp, freep)\
\ long dbpcl_id;\
\ long txnpcl_id;\
\ u_int32_t keydlen;\
\ u_int32_t keydoff;\
\ u_int32_t keyulen;\
\ u_int32_t keyflags;\
\ void *keydata;\
\ u_int32_t keysize;\
\ u_int32_t datadlen;\
\ u_int32_t datadoff;\
\ u_int32_t dataulen;\
\ u_int32_t dataflags;\
\ void *datadata;\
\ u_int32_t datasize;\
\ u_int32_t flags;\
\ __db_get_reply *replyp;\
\ int * freep;\
/* END __db_get_proc */
/^\/\* BEGIN __db_h_ffactor_proc/,/^\/\* END __db_h_ffactor_proc/c\
/* BEGIN __db_h_ffactor_proc */\
/*\
\ * PUBLIC: void __db_h_ffactor_proc __P((long, u_int32_t,\
\ * PUBLIC: __db_h_ffactor_reply *));\
\ */\
void\
__db_h_ffactor_proc(dbpcl_id, ffactor, replyp)\
\ long dbpcl_id;\
\ u_int32_t ffactor;\
\ __db_h_ffactor_reply *replyp;\
/* END __db_h_ffactor_proc */
/^\/\* BEGIN __db_h_nelem_proc/,/^\/\* END __db_h_nelem_proc/c\
/* BEGIN __db_h_nelem_proc */\
/*\
\ * PUBLIC: void __db_h_nelem_proc __P((long, u_int32_t,\
\ * PUBLIC: __db_h_nelem_reply *));\
\ */\
void\
__db_h_nelem_proc(dbpcl_id, nelem, replyp)\
\ long dbpcl_id;\
\ u_int32_t nelem;\
\ __db_h_nelem_reply *replyp;\
/* END __db_h_nelem_proc */
/^\/\* BEGIN __db_key_range_proc/,/^\/\* END __db_key_range_proc/c\
/* BEGIN __db_key_range_proc */\
/*\
\ * PUBLIC: void __db_key_range_proc __P((long, long, u_int32_t, u_int32_t,\
\ * PUBLIC: u_int32_t, u_int32_t, void *, u_int32_t, u_int32_t, __db_key_range_reply *));\
\ */\
void\
__db_key_range_proc(dbpcl_id, txnpcl_id, keydlen,\
\ \ keydoff, keyulen, keyflags, keydata,\
\ \ keysize, flags, replyp)\
\ long dbpcl_id;\
\ long txnpcl_id;\
\ u_int32_t keydlen;\
\ u_int32_t keydoff;\
\ u_int32_t keyulen;\
\ u_int32_t keyflags;\
\ void *keydata;\
\ u_int32_t keysize;\
\ u_int32_t flags;\
\ __db_key_range_reply *replyp;\
/* END __db_key_range_proc */
/^\/\* BEGIN __db_lorder_proc/,/^\/\* END __db_lorder_proc/c\
/* BEGIN __db_lorder_proc */\
/*\
\ * PUBLIC: void __db_lorder_proc __P((long, u_int32_t, __db_lorder_reply *));\
\ */\
void\
__db_lorder_proc(dbpcl_id, lorder, replyp)\
\ long dbpcl_id;\
\ u_int32_t lorder;\
\ __db_lorder_reply *replyp;\
/* END __db_lorder_proc */
/^\/\* BEGIN __db_open_proc/,/^\/\* END __db_open_proc/c\
/* BEGIN __db_open_proc */\
/*\
\ * PUBLIC: void __db_open_proc __P((long, long, char *, char *, u_int32_t,\
\ * PUBLIC: u_int32_t, u_int32_t, __db_open_reply *));\
\ */\
void\
__db_open_proc(dbpcl_id, txnpcl_id, name,\
\ \ subdb, type, flags, mode, replyp)\
\ long dbpcl_id;\
\ long txnpcl_id;\
\ char *name;\
\ char *subdb;\
\ u_int32_t type;\
\ u_int32_t flags;\
\ u_int32_t mode;\
\ __db_open_reply *replyp;\
/* END __db_open_proc */
/^\/\* BEGIN __db_pagesize_proc/,/^\/\* END __db_pagesize_proc/c\
/* BEGIN __db_pagesize_proc */\
/*\
\ * PUBLIC: void __db_pagesize_proc __P((long, u_int32_t,\
\ * PUBLIC: __db_pagesize_reply *));\
\ */\
void\
__db_pagesize_proc(dbpcl_id, pagesize, replyp)\
\ long dbpcl_id;\
\ u_int32_t pagesize;\
\ __db_pagesize_reply *replyp;\
/* END __db_pagesize_proc */
/^\/\* BEGIN __db_pget_proc/,/^\/\* END __db_pget_proc/c\
/* BEGIN __db_pget_proc */\
/*\
\ * PUBLIC: void __db_pget_proc __P((long, long, u_int32_t, u_int32_t,\
\ * PUBLIC: u_int32_t, u_int32_t, void *, u_int32_t, u_int32_t, u_int32_t, u_int32_t,\
\ * PUBLIC: u_int32_t, void *, u_int32_t, u_int32_t, u_int32_t, u_int32_t, u_int32_t, void *,\
\ * PUBLIC: u_int32_t, u_int32_t, __db_pget_reply *, int *));\
\ */\
void\
__db_pget_proc(dbpcl_id, txnpcl_id, skeydlen,\
\ \ skeydoff, skeyulen, skeyflags, skeydata,\
\ \ skeysize, pkeydlen, pkeydoff, pkeyulen,\
\ \ pkeyflags, pkeydata, pkeysize, datadlen,\
\ \ datadoff, dataulen, dataflags, datadata,\
\ \ datasize, flags, replyp, freep)\
\ long dbpcl_id;\
\ long txnpcl_id;\
\ u_int32_t skeydlen;\
\ u_int32_t skeydoff;\
\ u_int32_t skeyulen;\
\ u_int32_t skeyflags;\
\ void *skeydata;\
\ u_int32_t skeysize;\
\ u_int32_t pkeydlen;\
\ u_int32_t pkeydoff;\
\ u_int32_t pkeyulen;\
\ u_int32_t pkeyflags;\
\ void *pkeydata;\
\ u_int32_t pkeysize;\
\ u_int32_t datadlen;\
\ u_int32_t datadoff;\
\ u_int32_t dataulen;\
\ u_int32_t dataflags;\
\ void *datadata;\
\ u_int32_t datasize;\
\ u_int32_t flags;\
\ __db_pget_reply *replyp;\
\ int * freep;\
/* END __db_pget_proc */
/^\/\* BEGIN __db_put_proc/,/^\/\* END __db_put_proc/c\
/* BEGIN __db_put_proc */\
/*\
\ * PUBLIC: void __db_put_proc __P((long, long, u_int32_t, u_int32_t, u_int32_t,\
\ * PUBLIC: u_int32_t, void *, u_int32_t, u_int32_t, u_int32_t, u_int32_t, u_int32_t, void *,\
\ * PUBLIC: u_int32_t, u_int32_t, __db_put_reply *, int *));\
\ */\
void\
__db_put_proc(dbpcl_id, txnpcl_id, keydlen,\
\ \ keydoff, keyulen, keyflags, keydata,\
\ \ keysize, datadlen, datadoff, dataulen,\
\ \ dataflags, datadata, datasize, flags, replyp, freep)\
\ long dbpcl_id;\
\ long txnpcl_id;\
\ u_int32_t keydlen;\
\ u_int32_t keydoff;\
\ u_int32_t keyulen;\
\ u_int32_t keyflags;\
\ void *keydata;\
\ u_int32_t keysize;\
\ u_int32_t datadlen;\
\ u_int32_t datadoff;\
\ u_int32_t dataulen;\
\ u_int32_t dataflags;\
\ void *datadata;\
\ u_int32_t datasize;\
\ u_int32_t flags;\
\ __db_put_reply *replyp;\
\ int * freep;\
/* END __db_put_proc */
/^\/\* BEGIN __db_re_delim_proc/,/^\/\* END __db_re_delim_proc/c\
/* BEGIN __db_re_delim_proc */\
/*\
\ * PUBLIC: void __db_re_delim_proc __P((long, u_int32_t,\
\ * PUBLIC: __db_re_delim_reply *));\
\ */\
void\
__db_re_delim_proc(dbpcl_id, delim, replyp)\
\ long dbpcl_id;\
\ u_int32_t delim;\
\ __db_re_delim_reply *replyp;\
/* END __db_re_delim_proc */
/^\/\* BEGIN __db_re_len_proc/,/^\/\* END __db_re_len_proc/c\
/* BEGIN __db_re_len_proc */\
/*\
\ * PUBLIC: void __db_re_len_proc __P((long, u_int32_t, __db_re_len_reply *));\
\ */\
void\
__db_re_len_proc(dbpcl_id, len, replyp)\
\ long dbpcl_id;\
\ u_int32_t len;\
\ __db_re_len_reply *replyp;\
/* END __db_re_len_proc */
/^\/\* BEGIN __db_re_pad_proc/,/^\/\* END __db_re_pad_proc/c\
/* BEGIN __db_re_pad_proc */\
/*\
\ * PUBLIC: void __db_re_pad_proc __P((long, u_int32_t, __db_re_pad_reply *));\
\ */\
void\
__db_re_pad_proc(dbpcl_id, pad, replyp)\
\ long dbpcl_id;\
\ u_int32_t pad;\
\ __db_re_pad_reply *replyp;\
/* END __db_re_pad_proc */
/^\/\* BEGIN __db_remove_proc/,/^\/\* END __db_remove_proc/c\
/* BEGIN __db_remove_proc */\
/*\
\ * PUBLIC: void __db_remove_proc __P((long, char *, char *, u_int32_t,\
\ * PUBLIC: __db_remove_reply *));\
\ */\
void\
__db_remove_proc(dbpcl_id, name, subdb,\
\ \ flags, replyp)\
\ long dbpcl_id;\
\ char *name;\
\ char *subdb;\
\ u_int32_t flags;\
\ __db_remove_reply *replyp;\
/* END __db_remove_proc */
/^\/\* BEGIN __db_rename_proc/,/^\/\* END __db_rename_proc/c\
/* BEGIN __db_rename_proc */\
/*\
\ * PUBLIC: void __db_rename_proc __P((long, char *, char *, char *, u_int32_t,\
\ * PUBLIC: __db_rename_reply *));\
\ */\
void\
__db_rename_proc(dbpcl_id, name, subdb,\
\ \ newname, flags, replyp)\
\ long dbpcl_id;\
\ char *name;\
\ char *subdb;\
\ char *newname;\
\ u_int32_t flags;\
\ __db_rename_reply *replyp;\
/* END __db_rename_proc */
/^\/\* BEGIN __db_stat_proc/,/^\/\* END __db_stat_proc/c\
/* BEGIN __db_stat_proc */\
/*\
\ * PUBLIC: void __db_stat_proc __P((long, u_int32_t, __db_stat_reply *,\
\ * PUBLIC: int *));\
\ */\
void\
__db_stat_proc(dbpcl_id, flags, replyp, freep)\
\ long dbpcl_id;\
\ u_int32_t flags;\
\ __db_stat_reply *replyp;\
\ int * freep;\
/* END __db_stat_proc */
/^\/\* BEGIN __db_sync_proc/,/^\/\* END __db_sync_proc/c\
/* BEGIN __db_sync_proc */\
/*\
\ * PUBLIC: void __db_sync_proc __P((long, u_int32_t, __db_sync_reply *));\
\ */\
void\
__db_sync_proc(dbpcl_id, flags, replyp)\
\ long dbpcl_id;\
\ u_int32_t flags;\
\ __db_sync_reply *replyp;\
/* END __db_sync_proc */
/^\/\* BEGIN __db_truncate_proc/,/^\/\* END __db_truncate_proc/c\
/* BEGIN __db_truncate_proc */\
/*\
\ * PUBLIC: void __db_truncate_proc __P((long, long, u_int32_t,\
\ * PUBLIC: __db_truncate_reply *));\
\ */\
void\
__db_truncate_proc(dbpcl_id, txnpcl_id,\
\ \ flags, replyp)\
\ long dbpcl_id;\
\ long txnpcl_id;\
\ u_int32_t flags;\
\ __db_truncate_reply *replyp;\
/* END __db_truncate_proc */
/^\/\* BEGIN __db_cursor_proc/,/^\/\* END __db_cursor_proc/c\
/* BEGIN __db_cursor_proc */\
/*\
\ * PUBLIC: void __db_cursor_proc __P((long, long, u_int32_t,\
\ * PUBLIC: __db_cursor_reply *));\
\ */\
void\
__db_cursor_proc(dbpcl_id, txnpcl_id,\
\ \ flags, replyp)\
\ long dbpcl_id;\
\ long txnpcl_id;\
\ u_int32_t flags;\
\ __db_cursor_reply *replyp;\
/* END __db_cursor_proc */
/^\/\* BEGIN __db_join_proc/,/^\/\* END __db_join_proc/c\
/* BEGIN __db_join_proc */\
/*\
\ * PUBLIC: void __db_join_proc __P((long, u_int32_t *, u_int32_t, u_int32_t,\
\ * PUBLIC: __db_join_reply *));\
\ */\
void\
__db_join_proc(dbpcl_id, curs, curslen,\
\ \ flags, replyp)\
\ long dbpcl_id;\
\ u_int32_t * curs;\
\ u_int32_t curslen;\
\ u_int32_t flags;\
\ __db_join_reply *replyp;\
/* END __db_join_proc */
/^\/\* BEGIN __dbc_close_proc/,/^\/\* END __dbc_close_proc/c\
/* BEGIN __dbc_close_proc */\
/*\
\ * PUBLIC: void __dbc_close_proc __P((long, __dbc_close_reply *));\
\ */\
void\
__dbc_close_proc(dbccl_id, replyp)\
\ long dbccl_id;\
\ __dbc_close_reply *replyp;\
/* END __dbc_close_proc */
/^\/\* BEGIN __dbc_count_proc/,/^\/\* END __dbc_count_proc/c\
/* BEGIN __dbc_count_proc */\
/*\
\ * PUBLIC: void __dbc_count_proc __P((long, u_int32_t, __dbc_count_reply *));\
\ */\
void\
__dbc_count_proc(dbccl_id, flags, replyp)\
\ long dbccl_id;\
\ u_int32_t flags;\
\ __dbc_count_reply *replyp;\
/* END __dbc_count_proc */
/^\/\* BEGIN __dbc_del_proc/,/^\/\* END __dbc_del_proc/c\
/* BEGIN __dbc_del_proc */\
/*\
\ * PUBLIC: void __dbc_del_proc __P((long, u_int32_t, __dbc_del_reply *));\
\ */\
void\
__dbc_del_proc(dbccl_id, flags, replyp)\
\ long dbccl_id;\
\ u_int32_t flags;\
\ __dbc_del_reply *replyp;\
/* END __dbc_del_proc */
/^\/\* BEGIN __dbc_dup_proc/,/^\/\* END __dbc_dup_proc/c\
/* BEGIN __dbc_dup_proc */\
/*\
\ * PUBLIC: void __dbc_dup_proc __P((long, u_int32_t, __dbc_dup_reply *));\
\ */\
void\
__dbc_dup_proc(dbccl_id, flags, replyp)\
\ long dbccl_id;\
\ u_int32_t flags;\
\ __dbc_dup_reply *replyp;\
/* END __dbc_dup_proc */
/^\/\* BEGIN __dbc_get_proc/,/^\/\* END __dbc_get_proc/c\
/* BEGIN __dbc_get_proc */\
/*\
\ * PUBLIC: void __dbc_get_proc __P((long, u_int32_t, u_int32_t, u_int32_t,\
\ * PUBLIC: u_int32_t, void *, u_int32_t, u_int32_t, u_int32_t, u_int32_t, u_int32_t, void *,\
\ * PUBLIC: u_int32_t, u_int32_t, __dbc_get_reply *, int *));\
\ */\
void\
__dbc_get_proc(dbccl_id, keydlen, keydoff,\
\ \ keyulen, keyflags, keydata, keysize,\
\ \ datadlen, datadoff, dataulen, dataflags,\
\ \ datadata, datasize, flags, replyp, freep)\
\ long dbccl_id;\
\ u_int32_t keydlen;\
\ u_int32_t keydoff;\
\ u_int32_t keyulen;\
\ u_int32_t keyflags;\
\ void *keydata;\
\ u_int32_t keysize;\
\ u_int32_t datadlen;\
\ u_int32_t datadoff;\
\ u_int32_t dataulen;\
\ u_int32_t dataflags;\
\ void *datadata;\
\ u_int32_t datasize;\
\ u_int32_t flags;\
\ __dbc_get_reply *replyp;\
\ int * freep;\
/* END __dbc_get_proc */
/^\/\* BEGIN __dbc_pget_proc/,/^\/\* END __dbc_pget_proc/c\
/* BEGIN __dbc_pget_proc */\
/*\
\ * PUBLIC: void __dbc_pget_proc __P((long, u_int32_t, u_int32_t, u_int32_t,\
\ * PUBLIC: u_int32_t, void *, u_int32_t, u_int32_t, u_int32_t, u_int32_t, u_int32_t, void *,\
\ * PUBLIC: u_int32_t, u_int32_t, u_int32_t, u_int32_t, u_int32_t, void *, u_int32_t,\
\ * PUBLIC: u_int32_t, __dbc_pget_reply *, int *));\
\ */\
void\
__dbc_pget_proc(dbccl_id, skeydlen, skeydoff,\
\ \ skeyulen, skeyflags, skeydata, skeysize,\
\ \ pkeydlen, pkeydoff, pkeyulen, pkeyflags,\
\ \ pkeydata, pkeysize, datadlen, datadoff,\
\ \ dataulen, dataflags, datadata, datasize,\
\ \ flags, replyp, freep)\
\ long dbccl_id;\
\ u_int32_t skeydlen;\
\ u_int32_t skeydoff;\
\ u_int32_t skeyulen;\
\ u_int32_t skeyflags;\
\ void *skeydata;\
\ u_int32_t skeysize;\
\ u_int32_t pkeydlen;\
\ u_int32_t pkeydoff;\
\ u_int32_t pkeyulen;\
\ u_int32_t pkeyflags;\
\ void *pkeydata;\
\ u_int32_t pkeysize;\
\ u_int32_t datadlen;\
\ u_int32_t datadoff;\
\ u_int32_t dataulen;\
\ u_int32_t dataflags;\
\ void *datadata;\
\ u_int32_t datasize;\
\ u_int32_t flags;\
\ __dbc_pget_reply *replyp;\
\ int * freep;\
/* END __dbc_pget_proc */
/^\/\* BEGIN __dbc_put_proc/,/^\/\* END __dbc_put_proc/c\
/* BEGIN __dbc_put_proc */\
/*\
\ * PUBLIC: void __dbc_put_proc __P((long, u_int32_t, u_int32_t, u_int32_t,\
\ * PUBLIC: u_int32_t, void *, u_int32_t, u_int32_t, u_int32_t, u_int32_t, u_int32_t, void *,\
\ * PUBLIC: u_int32_t, u_int32_t, __dbc_put_reply *, int *));\
\ */\
void\
__dbc_put_proc(dbccl_id, keydlen, keydoff,\
\ \ keyulen, keyflags, keydata, keysize,\
\ \ datadlen, datadoff, dataulen, dataflags,\
\ \ datadata, datasize, flags, replyp, freep)\
\ long dbccl_id;\
\ u_int32_t keydlen;\
\ u_int32_t keydoff;\
\ u_int32_t keyulen;\
\ u_int32_t keyflags;\
\ void *keydata;\
\ u_int32_t keysize;\
\ u_int32_t datadlen;\
\ u_int32_t datadoff;\
\ u_int32_t dataulen;\
\ u_int32_t dataflags;\
\ void *datadata;\
\ u_int32_t datasize;\
\ u_int32_t flags;\
\ __dbc_put_reply *replyp;\
\ int * freep;\
/* END __dbc_put_proc */
/*
* Please do not edit this file.
* It was generated using rpcgen.
*/
#include "db_config.h"
#ifndef NO_SYSTEM_INCLUDES
#include <rpc/rpc.h>
#include <rpc/pmap_clnt.h>
#include <stdio.h>
#include <stdlib.h> /* getenv, exit */
#include <memory.h>
#include <sys/socket.h>
#include <netinet/in.h>
#endif
#include "db_int.h"
#include "dbinc_auto/db_server.h"
#include "dbinc/db_server_int.h"
#include "dbinc_auto/rpc_server_ext.h"
#ifdef DEBUG
#define RPC_SVC_FG
#endif
static void
db_rpc_serverprog_4001(rqstp, transp)
struct svc_req *rqstp;
register SVCXPRT *transp;
{
union {
__env_cachesize_msg __db_env_cachesize_4001_arg;
__env_close_msg __db_env_close_4001_arg;
__env_create_msg __db_env_create_4001_arg;
__env_dbremove_msg __db_env_dbremove_4001_arg;
__env_dbrename_msg __db_env_dbrename_4001_arg;
__env_encrypt_msg __db_env_encrypt_4001_arg;
__env_flags_msg __db_env_flags_4001_arg;
__env_open_msg __db_env_open_4001_arg;
__env_remove_msg __db_env_remove_4001_arg;
__txn_abort_msg __db_txn_abort_4001_arg;
__txn_begin_msg __db_txn_begin_4001_arg;
__txn_commit_msg __db_txn_commit_4001_arg;
__txn_discard_msg __db_txn_discard_4001_arg;
__txn_prepare_msg __db_txn_prepare_4001_arg;
__txn_recover_msg __db_txn_recover_4001_arg;
__db_associate_msg __db_db_associate_4001_arg;
__db_bt_maxkey_msg __db_db_bt_maxkey_4001_arg;
__db_bt_minkey_msg __db_db_bt_minkey_4001_arg;
__db_close_msg __db_db_close_4001_arg;
__db_create_msg __db_db_create_4001_arg;
__db_del_msg __db_db_del_4001_arg;
__db_encrypt_msg __db_db_encrypt_4001_arg;
__db_extentsize_msg __db_db_extentsize_4001_arg;
__db_flags_msg __db_db_flags_4001_arg;
__db_get_msg __db_db_get_4001_arg;
__db_h_ffactor_msg __db_db_h_ffactor_4001_arg;
__db_h_nelem_msg __db_db_h_nelem_4001_arg;
__db_key_range_msg __db_db_key_range_4001_arg;
__db_lorder_msg __db_db_lorder_4001_arg;
__db_open_msg __db_db_open_4001_arg;
__db_pagesize_msg __db_db_pagesize_4001_arg;
__db_pget_msg __db_db_pget_4001_arg;
__db_put_msg __db_db_put_4001_arg;
__db_re_delim_msg __db_db_re_delim_4001_arg;
__db_re_len_msg __db_db_re_len_4001_arg;
__db_re_pad_msg __db_db_re_pad_4001_arg;
__db_remove_msg __db_db_remove_4001_arg;
__db_rename_msg __db_db_rename_4001_arg;
__db_stat_msg __db_db_stat_4001_arg;
__db_sync_msg __db_db_sync_4001_arg;
__db_truncate_msg __db_db_truncate_4001_arg;
__db_cursor_msg __db_db_cursor_4001_arg;
__db_join_msg __db_db_join_4001_arg;
__dbc_close_msg __db_dbc_close_4001_arg;
__dbc_count_msg __db_dbc_count_4001_arg;
__dbc_del_msg __db_dbc_del_4001_arg;
__dbc_dup_msg __db_dbc_dup_4001_arg;
__dbc_get_msg __db_dbc_get_4001_arg;
__dbc_pget_msg __db_dbc_pget_4001_arg;
__dbc_put_msg __db_dbc_put_4001_arg;
} argument;
char *result;
bool_t (*xdr_argument)(), (*xdr_result)();
char *(*local)();
switch (rqstp->rq_proc) {
case NULLPROC:
(void) svc_sendreply(transp, (xdrproc_t)xdr_void,
(char *)NULL);
return;
case __DB_env_cachesize:
xdr_argument = xdr___env_cachesize_msg;
xdr_result = xdr___env_cachesize_reply;
local = (char *(*)()) __db_env_cachesize_4001;
break;
case __DB_env_close:
xdr_argument = xdr___env_close_msg;
xdr_result = xdr___env_close_reply;
local = (char *(*)()) __db_env_close_4001;
break;
case __DB_env_create:
xdr_argument = xdr___env_create_msg;
xdr_result = xdr___env_create_reply;
local = (char *(*)()) __db_env_create_4001;
break;
case __DB_env_dbremove:
xdr_argument = xdr___env_dbremove_msg;
xdr_result = xdr___env_dbremove_reply;
local = (char *(*)()) __db_env_dbremove_4001;
break;
case __DB_env_dbrename:
xdr_argument = xdr___env_dbrename_msg;
xdr_result = xdr___env_dbrename_reply;
local = (char *(*)()) __db_env_dbrename_4001;
break;
case __DB_env_encrypt:
xdr_argument = xdr___env_encrypt_msg;
xdr_result = xdr___env_encrypt_reply;
local = (char *(*)()) __db_env_encrypt_4001;
break;
case __DB_env_flags:
xdr_argument = xdr___env_flags_msg;
xdr_result = xdr___env_flags_reply;
local = (char *(*)()) __db_env_flags_4001;
break;
case __DB_env_open:
xdr_argument = xdr___env_open_msg;
xdr_result = xdr___env_open_reply;
local = (char *(*)()) __db_env_open_4001;
break;
case __DB_env_remove:
xdr_argument = xdr___env_remove_msg;
xdr_result = xdr___env_remove_reply;
local = (char *(*)()) __db_env_remove_4001;
break;
case __DB_txn_abort:
xdr_argument = xdr___txn_abort_msg;
xdr_result = xdr___txn_abort_reply;
local = (char *(*)()) __db_txn_abort_4001;
break;
case __DB_txn_begin:
xdr_argument = xdr___txn_begin_msg;
xdr_result = xdr___txn_begin_reply;
local = (char *(*)()) __db_txn_begin_4001;
break;
case __DB_txn_commit:
xdr_argument = xdr___txn_commit_msg;
xdr_result = xdr___txn_commit_reply;
local = (char *(*)()) __db_txn_commit_4001;
break;
case __DB_txn_discard:
xdr_argument = xdr___txn_discard_msg;
xdr_result = xdr___txn_discard_reply;
local = (char *(*)()) __db_txn_discard_4001;
break;
case __DB_txn_prepare:
xdr_argument = xdr___txn_prepare_msg;
xdr_result = xdr___txn_prepare_reply;
local = (char *(*)()) __db_txn_prepare_4001;
break;
case __DB_txn_recover:
xdr_argument = xdr___txn_recover_msg;
xdr_result = xdr___txn_recover_reply;
local = (char *(*)()) __db_txn_recover_4001;
break;
case __DB_db_associate:
xdr_argument = xdr___db_associate_msg;
xdr_result = xdr___db_associate_reply;
local = (char *(*)()) __db_db_associate_4001;
break;
case __DB_db_bt_maxkey:
xdr_argument = xdr___db_bt_maxkey_msg;
xdr_result = xdr___db_bt_maxkey_reply;
local = (char *(*)()) __db_db_bt_maxkey_4001;
break;
case __DB_db_bt_minkey:
xdr_argument = xdr___db_bt_minkey_msg;
xdr_result = xdr___db_bt_minkey_reply;
local = (char *(*)()) __db_db_bt_minkey_4001;
break;
case __DB_db_close:
xdr_argument = xdr___db_close_msg;
xdr_result = xdr___db_close_reply;
local = (char *(*)()) __db_db_close_4001;
break;
case __DB_db_create:
xdr_argument = xdr___db_create_msg;
xdr_result = xdr___db_create_reply;
local = (char *(*)()) __db_db_create_4001;
break;
case __DB_db_del:
xdr_argument = xdr___db_del_msg;
xdr_result = xdr___db_del_reply;
local = (char *(*)()) __db_db_del_4001;
break;
case __DB_db_encrypt:
xdr_argument = xdr___db_encrypt_msg;
xdr_result = xdr___db_encrypt_reply;
local = (char *(*)()) __db_db_encrypt_4001;
break;
case __DB_db_extentsize:
xdr_argument = xdr___db_extentsize_msg;
xdr_result = xdr___db_extentsize_reply;
local = (char *(*)()) __db_db_extentsize_4001;
break;
case __DB_db_flags:
xdr_argument = xdr___db_flags_msg;
xdr_result = xdr___db_flags_reply;
local = (char *(*)()) __db_db_flags_4001;
break;
case __DB_db_get:
xdr_argument = xdr___db_get_msg;
xdr_result = xdr___db_get_reply;
local = (char *(*)()) __db_db_get_4001;
break;
case __DB_db_h_ffactor:
xdr_argument = xdr___db_h_ffactor_msg;
xdr_result = xdr___db_h_ffactor_reply;
local = (char *(*)()) __db_db_h_ffactor_4001;
break;
case __DB_db_h_nelem:
xdr_argument = xdr___db_h_nelem_msg;
xdr_result = xdr___db_h_nelem_reply;
local = (char *(*)()) __db_db_h_nelem_4001;
break;
case __DB_db_key_range:
xdr_argument = xdr___db_key_range_msg;
xdr_result = xdr___db_key_range_reply;
local = (char *(*)()) __db_db_key_range_4001;
break;
case __DB_db_lorder:
xdr_argument = xdr___db_lorder_msg;
xdr_result = xdr___db_lorder_reply;
local = (char *(*)()) __db_db_lorder_4001;
break;
case __DB_db_open:
xdr_argument = xdr___db_open_msg;
xdr_result = xdr___db_open_reply;
local = (char *(*)()) __db_db_open_4001;
break;
case __DB_db_pagesize:
xdr_argument = xdr___db_pagesize_msg;
xdr_result = xdr___db_pagesize_reply;
local = (char *(*)()) __db_db_pagesize_4001;
break;
case __DB_db_pget:
xdr_argument = xdr___db_pget_msg;
xdr_result = xdr___db_pget_reply;
local = (char *(*)()) __db_db_pget_4001;
break;
case __DB_db_put:
xdr_argument = xdr___db_put_msg;
xdr_result = xdr___db_put_reply;
local = (char *(*)()) __db_db_put_4001;
break;
case __DB_db_re_delim:
xdr_argument = xdr___db_re_delim_msg;
xdr_result = xdr___db_re_delim_reply;
local = (char *(*)()) __db_db_re_delim_4001;
break;
case __DB_db_re_len:
xdr_argument = xdr___db_re_len_msg;
xdr_result = xdr___db_re_len_reply;
local = (char *(*)()) __db_db_re_len_4001;
break;
case __DB_db_re_pad:
xdr_argument = xdr___db_re_pad_msg;
xdr_result = xdr___db_re_pad_reply;
local = (char *(*)()) __db_db_re_pad_4001;
break;
case __DB_db_remove:
xdr_argument = xdr___db_remove_msg;
xdr_result = xdr___db_remove_reply;
local = (char *(*)()) __db_db_remove_4001;
break;
case __DB_db_rename:
xdr_argument = xdr___db_rename_msg;
xdr_result = xdr___db_rename_reply;
local = (char *(*)()) __db_db_rename_4001;
break;
case __DB_db_stat:
xdr_argument = xdr___db_stat_msg;
xdr_result = xdr___db_stat_reply;
local = (char *(*)()) __db_db_stat_4001;
break;
case __DB_db_sync:
xdr_argument = xdr___db_sync_msg;
xdr_result = xdr___db_sync_reply;
local = (char *(*)()) __db_db_sync_4001;
break;
case __DB_db_truncate:
xdr_argument = xdr___db_truncate_msg;
xdr_result = xdr___db_truncate_reply;
local = (char *(*)()) __db_db_truncate_4001;
break;
case __DB_db_cursor:
xdr_argument = xdr___db_cursor_msg;
xdr_result = xdr___db_cursor_reply;
local = (char *(*)()) __db_db_cursor_4001;
break;
case __DB_db_join:
xdr_argument = xdr___db_join_msg;
xdr_result = xdr___db_join_reply;
local = (char *(*)()) __db_db_join_4001;
break;
case __DB_dbc_close:
xdr_argument = xdr___dbc_close_msg;
xdr_result = xdr___dbc_close_reply;
local = (char *(*)()) __db_dbc_close_4001;
break;
case __DB_dbc_count:
xdr_argument = xdr___dbc_count_msg;
xdr_result = xdr___dbc_count_reply;
local = (char *(*)()) __db_dbc_count_4001;
break;
case __DB_dbc_del:
xdr_argument = xdr___dbc_del_msg;
xdr_result = xdr___dbc_del_reply;
local = (char *(*)()) __db_dbc_del_4001;
break;
case __DB_dbc_dup:
xdr_argument = xdr___dbc_dup_msg;
xdr_result = xdr___dbc_dup_reply;
local = (char *(*)()) __db_dbc_dup_4001;
break;
case __DB_dbc_get:
xdr_argument = xdr___dbc_get_msg;
xdr_result = xdr___dbc_get_reply;
local = (char *(*)()) __db_dbc_get_4001;
break;
case __DB_dbc_pget:
xdr_argument = xdr___dbc_pget_msg;
xdr_result = xdr___dbc_pget_reply;
local = (char *(*)()) __db_dbc_pget_4001;
break;
case __DB_dbc_put:
xdr_argument = xdr___dbc_put_msg;
xdr_result = xdr___dbc_put_reply;
local = (char *(*)()) __db_dbc_put_4001;
break;
default:
svcerr_noproc(transp);
return;
}
(void) memset((char *)&argument, 0, sizeof (argument));
if (!svc_getargs(transp, (xdrproc_t)xdr_argument, (char *)&argument)) {
svcerr_decode(transp);
return;
}
result = (*local)(&argument, rqstp);
if (result != NULL && !svc_sendreply(transp, (xdrproc_t)xdr_result, result)) {
svcerr_systemerr(transp);
}
if (!svc_freeargs(transp, (xdrproc_t)xdr_argument, (char *)&argument)) {
fprintf(stderr, "unable to free arguments");
exit(1);
}
__dbsrv_timeout(0);
return;
}
void __dbsrv_main()
{
register SVCXPRT *transp;
(void) pmap_unset(DB_RPC_SERVERPROG, DB_RPC_SERVERVERS);
transp = svctcp_create(RPC_ANYSOCK, 0, 0);
if (transp == NULL) {
fprintf(stderr, "cannot create tcp service.");
exit(1);
}
if (!svc_register(transp, DB_RPC_SERVERPROG, DB_RPC_SERVERVERS, db_rpc_serverprog_4001, IPPROTO_TCP)) {
fprintf(stderr, "unable to register (DB_RPC_SERVERPROG, DB_RPC_SERVERVERS, tcp).");
exit(1);
}
svc_run();
fprintf(stderr, "svc_run returned");
exit(1);
/* NOTREACHED */
}
#include "db_config.h"
#ifdef HAVE_RPC
/*
* Please do not edit this file.
* It was generated using rpcgen.
*/
#ifndef NO_SYSTEM_INCLUDES
#include <rpc/rpc.h>
#include <strings.h>
#endif
#include "db_int.h"
#include "dbinc_auto/db_server.h"
bool_t
xdr___env_cachesize_msg(xdrs, objp)
register XDR *xdrs;
__env_cachesize_msg *objp;
{
if (!xdr_u_int(xdrs, &objp->dbenvcl_id))
return (FALSE);
if (!xdr_u_int(xdrs, &objp->gbytes))
return (FALSE);
if (!xdr_u_int(xdrs, &objp->bytes))
return (FALSE);
if (!xdr_u_int(xdrs, &objp->ncache))
return (FALSE);
return (TRUE);
}
bool_t
xdr___env_cachesize_reply(xdrs, objp)
register XDR *xdrs;
__env_cachesize_reply *objp;
{
if (!xdr_int(xdrs, &objp->status))
return (FALSE);
return (TRUE);
}
bool_t
xdr___env_close_msg(xdrs, objp)
register XDR *xdrs;
__env_close_msg *objp;
{
if (!xdr_u_int(xdrs, &objp->dbenvcl_id))
return (FALSE);
if (!xdr_u_int(xdrs, &objp->flags))
return (FALSE);
return (TRUE);
}
bool_t
xdr___env_close_reply(xdrs, objp)
register XDR *xdrs;
__env_close_reply *objp;
{
if (!xdr_int(xdrs, &objp->status))
return (FALSE);
return (TRUE);
}
bool_t
xdr___env_create_msg(xdrs, objp)
register XDR *xdrs;
__env_create_msg *objp;
{
if (!xdr_u_int(xdrs, &objp->timeout))
return (FALSE);
return (TRUE);
}
bool_t
xdr___env_create_reply(xdrs, objp)
register XDR *xdrs;
__env_create_reply *objp;
{
if (!xdr_int(xdrs, &objp->status))
return (FALSE);
if (!xdr_u_int(xdrs, &objp->envcl_id))
return (FALSE);
return (TRUE);
}
bool_t
xdr___env_dbremove_msg(xdrs, objp)
register XDR *xdrs;
__env_dbremove_msg *objp;
{
if (!xdr_u_int(xdrs, &objp->dbenvcl_id))
return (FALSE);
if (!xdr_u_int(xdrs, &objp->txnpcl_id))
return (FALSE);
if (!xdr_string(xdrs, &objp->name, ~0))
return (FALSE);
if (!xdr_string(xdrs, &objp->subdb, ~0))
return (FALSE);
if (!xdr_u_int(xdrs, &objp->flags))
return (FALSE);
return (TRUE);
}
bool_t
xdr___env_dbremove_reply(xdrs, objp)
register XDR *xdrs;
__env_dbremove_reply *objp;
{
if (!xdr_int(xdrs, &objp->status))
return (FALSE);
return (TRUE);
}
bool_t
xdr___env_dbrename_msg(xdrs, objp)
register XDR *xdrs;
__env_dbrename_msg *objp;
{
if (!xdr_u_int(xdrs, &objp->dbenvcl_id))
return (FALSE);
if (!xdr_u_int(xdrs, &objp->txnpcl_id))
return (FALSE);
if (!xdr_string(xdrs, &objp->name, ~0))
return (FALSE);
if (!xdr_string(xdrs, &objp->subdb, ~0))
return (FALSE);
if (!xdr_string(xdrs, &objp->newname, ~0))
return (FALSE);
if (!xdr_u_int(xdrs, &objp->flags))
return (FALSE);
return (TRUE);
}
bool_t
xdr___env_dbrename_reply(xdrs, objp)
register XDR *xdrs;
__env_dbrename_reply *objp;
{
if (!xdr_int(xdrs, &objp->status))
return (FALSE);
return (TRUE);
}
bool_t
xdr___env_encrypt_msg(xdrs, objp)
register XDR *xdrs;
__env_encrypt_msg *objp;
{
if (!xdr_u_int(xdrs, &objp->dbenvcl_id))
return (FALSE);
if (!xdr_string(xdrs, &objp->passwd, ~0))
return (FALSE);
if (!xdr_u_int(xdrs, &objp->flags))
return (FALSE);
return (TRUE);
}
bool_t
xdr___env_encrypt_reply(xdrs, objp)
register XDR *xdrs;
__env_encrypt_reply *objp;
{
if (!xdr_int(xdrs, &objp->status))
return (FALSE);
return (TRUE);
}
bool_t
xdr___env_flags_msg(xdrs, objp)
register XDR *xdrs;
__env_flags_msg *objp;
{
if (!xdr_u_int(xdrs, &objp->dbenvcl_id))
return (FALSE);
if (!xdr_u_int(xdrs, &objp->flags))
return (FALSE);
if (!xdr_u_int(xdrs, &objp->onoff))
return (FALSE);
return (TRUE);
}
bool_t
xdr___env_flags_reply(xdrs, objp)
register XDR *xdrs;
__env_flags_reply *objp;
{
if (!xdr_int(xdrs, &objp->status))
return (FALSE);
return (TRUE);
}
bool_t
xdr___env_open_msg(xdrs, objp)
register XDR *xdrs;
__env_open_msg *objp;
{
if (!xdr_u_int(xdrs, &objp->dbenvcl_id))
return (FALSE);
if (!xdr_string(xdrs, &objp->home, ~0))
return (FALSE);
if (!xdr_u_int(xdrs, &objp->flags))
return (FALSE);
if (!xdr_u_int(xdrs, &objp->mode))
return (FALSE);
return (TRUE);
}
bool_t
xdr___env_open_reply(xdrs, objp)
register XDR *xdrs;
__env_open_reply *objp;
{
if (!xdr_int(xdrs, &objp->status))
return (FALSE);
if (!xdr_u_int(xdrs, &objp->envcl_id))
return (FALSE);
return (TRUE);
}
bool_t
xdr___env_remove_msg(xdrs, objp)
register XDR *xdrs;
__env_remove_msg *objp;
{
if (!xdr_u_int(xdrs, &objp->dbenvcl_id))
return (FALSE);
if (!xdr_string(xdrs, &objp->home, ~0))
return (FALSE);
if (!xdr_u_int(xdrs, &objp->flags))
return (FALSE);
return (TRUE);
}
bool_t
xdr___env_remove_reply(xdrs, objp)
register XDR *xdrs;
__env_remove_reply *objp;
{
if (!xdr_int(xdrs, &objp->status))
return (FALSE);
return (TRUE);
}
bool_t
xdr___txn_abort_msg(xdrs, objp)
register XDR *xdrs;
__txn_abort_msg *objp;
{
if (!xdr_u_int(xdrs, &objp->txnpcl_id))
return (FALSE);
return (TRUE);
}
bool_t
xdr___txn_abort_reply(xdrs, objp)
register XDR *xdrs;
__txn_abort_reply *objp;
{
if (!xdr_int(xdrs, &objp->status))
return (FALSE);
return (TRUE);
}
bool_t
xdr___txn_begin_msg(xdrs, objp)
register XDR *xdrs;
__txn_begin_msg *objp;
{
if (!xdr_u_int(xdrs, &objp->dbenvcl_id))
return (FALSE);
if (!xdr_u_int(xdrs, &objp->parentcl_id))
return (FALSE);
if (!xdr_u_int(xdrs, &objp->flags))
return (FALSE);
return (TRUE);
}
bool_t
xdr___txn_begin_reply(xdrs, objp)
register XDR *xdrs;
__txn_begin_reply *objp;
{
if (!xdr_int(xdrs, &objp->status))
return (FALSE);
if (!xdr_u_int(xdrs, &objp->txnidcl_id))
return (FALSE);
return (TRUE);
}
bool_t
xdr___txn_commit_msg(xdrs, objp)
register XDR *xdrs;
__txn_commit_msg *objp;
{
if (!xdr_u_int(xdrs, &objp->txnpcl_id))
return (FALSE);
if (!xdr_u_int(xdrs, &objp->flags))
return (FALSE);
return (TRUE);
}
bool_t
xdr___txn_commit_reply(xdrs, objp)
register XDR *xdrs;
__txn_commit_reply *objp;
{
if (!xdr_int(xdrs, &objp->status))
return (FALSE);
return (TRUE);
}
bool_t
xdr___txn_discard_msg(xdrs, objp)
register XDR *xdrs;
__txn_discard_msg *objp;
{
if (!xdr_u_int(xdrs, &objp->txnpcl_id))
return (FALSE);
if (!xdr_u_int(xdrs, &objp->flags))
return (FALSE);
return (TRUE);
}
bool_t
xdr___txn_discard_reply(xdrs, objp)
register XDR *xdrs;
__txn_discard_reply *objp;
{
if (!xdr_int(xdrs, &objp->status))
return (FALSE);
return (TRUE);
}
bool_t
xdr___txn_prepare_msg(xdrs, objp)
register XDR *xdrs;
__txn_prepare_msg *objp;
{
if (!xdr_u_int(xdrs, &objp->txnpcl_id))
return (FALSE);
if (!xdr_opaque(xdrs, objp->gid, 128))
return (FALSE);
return (TRUE);
}
bool_t
xdr___txn_prepare_reply(xdrs, objp)
register XDR *xdrs;
__txn_prepare_reply *objp;
{
if (!xdr_int(xdrs, &objp->status))
return (FALSE);
return (TRUE);
}
bool_t
xdr___txn_recover_msg(xdrs, objp)
register XDR *xdrs;
__txn_recover_msg *objp;
{
if (!xdr_u_int(xdrs, &objp->dbenvcl_id))
return (FALSE);
if (!xdr_u_int(xdrs, &objp->count))
return (FALSE);
if (!xdr_u_int(xdrs, &objp->flags))
return (FALSE);
return (TRUE);
}
bool_t
xdr___txn_recover_reply(xdrs, objp)
register XDR *xdrs;
__txn_recover_reply *objp;
{
if (!xdr_int(xdrs, &objp->status))
return (FALSE);
if (!xdr_array(xdrs, (char **)&objp->txn.txn_val, (u_int *) &objp->txn.txn_len, ~0,
sizeof (u_int), (xdrproc_t) xdr_u_int))
return (FALSE);
if (!xdr_bytes(xdrs, (char **)&objp->gid.gid_val, (u_int *) &objp->gid.gid_len, ~0))
return (FALSE);
if (!xdr_u_int(xdrs, &objp->retcount))
return (FALSE);
return (TRUE);
}
bool_t
xdr___db_associate_msg(xdrs, objp)
register XDR *xdrs;
__db_associate_msg *objp;
{
if (!xdr_u_int(xdrs, &objp->dbpcl_id))
return (FALSE);
if (!xdr_u_int(xdrs, &objp->txnpcl_id))
return (FALSE);
if (!xdr_u_int(xdrs, &objp->sdbpcl_id))
return (FALSE);
if (!xdr_u_int(xdrs, &objp->flags))
return (FALSE);
return (TRUE);
}
bool_t
xdr___db_associate_reply(xdrs, objp)
register XDR *xdrs;
__db_associate_reply *objp;
{
if (!xdr_int(xdrs, &objp->status))
return (FALSE);
return (TRUE);
}
bool_t
xdr___db_bt_maxkey_msg(xdrs, objp)
register XDR *xdrs;
__db_bt_maxkey_msg *objp;
{
if (!xdr_u_int(xdrs, &objp->dbpcl_id))
return (FALSE);
if (!xdr_u_int(xdrs, &objp->maxkey))
return (FALSE);
return (TRUE);
}
bool_t
xdr___db_bt_maxkey_reply(xdrs, objp)
register XDR *xdrs;
__db_bt_maxkey_reply *objp;
{
if (!xdr_int(xdrs, &objp->status))
return (FALSE);
return (TRUE);
}
bool_t
xdr___db_bt_minkey_msg(xdrs, objp)
register XDR *xdrs;
__db_bt_minkey_msg *objp;
{
if (!xdr_u_int(xdrs, &objp->dbpcl_id))
return (FALSE);
if (!xdr_u_int(xdrs, &objp->minkey))
return (FALSE);
return (TRUE);
}
bool_t
xdr___db_bt_minkey_reply(xdrs, objp)
register XDR *xdrs;
__db_bt_minkey_reply *objp;
{
if (!xdr_int(xdrs, &objp->status))
return (FALSE);
return (TRUE);
}
bool_t
xdr___db_close_msg(xdrs, objp)
register XDR *xdrs;
__db_close_msg *objp;
{
if (!xdr_u_int(xdrs, &objp->dbpcl_id))
return (FALSE);
if (!xdr_u_int(xdrs, &objp->flags))
return (FALSE);
return (TRUE);
}
bool_t
xdr___db_close_reply(xdrs, objp)
register XDR *xdrs;
__db_close_reply *objp;
{
if (!xdr_int(xdrs, &objp->status))
return (FALSE);
return (TRUE);
}
bool_t
xdr___db_create_msg(xdrs, objp)
register XDR *xdrs;
__db_create_msg *objp;
{
if (!xdr_u_int(xdrs, &objp->dbenvcl_id))
return (FALSE);
if (!xdr_u_int(xdrs, &objp->flags))
return (FALSE);
return (TRUE);
}
bool_t
xdr___db_create_reply(xdrs, objp)
register XDR *xdrs;
__db_create_reply *objp;
{
if (!xdr_int(xdrs, &objp->status))
return (FALSE);
if (!xdr_u_int(xdrs, &objp->dbcl_id))
return (FALSE);
return (TRUE);
}
bool_t
xdr___db_del_msg(xdrs, objp)
register XDR *xdrs;
__db_del_msg *objp;
{
if (!xdr_u_int(xdrs, &objp->dbpcl_id))
return (FALSE);
if (!xdr_u_int(xdrs, &objp->txnpcl_id))
return (FALSE);
if (!xdr_u_int(xdrs, &objp->keydlen))
return (FALSE);
if (!xdr_u_int(xdrs, &objp->keydoff))
return (FALSE);
if (!xdr_u_int(xdrs, &objp->keyulen))
return (FALSE);
if (!xdr_u_int(xdrs, &objp->keyflags))
return (FALSE);
if (!xdr_bytes(xdrs, (char **)&objp->keydata.keydata_val, (u_int *) &objp->keydata.keydata_len, ~0))
return (FALSE);
if (!xdr_u_int(xdrs, &objp->flags))
return (FALSE);
return (TRUE);
}
bool_t
xdr___db_del_reply(xdrs, objp)
register XDR *xdrs;
__db_del_reply *objp;
{
if (!xdr_int(xdrs, &objp->status))
return (FALSE);
return (TRUE);
}
bool_t
xdr___db_encrypt_msg(xdrs, objp)
register XDR *xdrs;
__db_encrypt_msg *objp;
{
if (!xdr_u_int(xdrs, &objp->dbpcl_id))
return (FALSE);
if (!xdr_string(xdrs, &objp->passwd, ~0))
return (FALSE);
if (!xdr_u_int(xdrs, &objp->flags))
return (FALSE);
return (TRUE);
}
bool_t
xdr___db_encrypt_reply(xdrs, objp)
register XDR *xdrs;
__db_encrypt_reply *objp;
{
if (!xdr_int(xdrs, &objp->status))
return (FALSE);
return (TRUE);
}
bool_t
xdr___db_extentsize_msg(xdrs, objp)
register XDR *xdrs;
__db_extentsize_msg *objp;
{
if (!xdr_u_int(xdrs, &objp->dbpcl_id))
return (FALSE);
if (!xdr_u_int(xdrs, &objp->extentsize))
return (FALSE);
return (TRUE);
}
bool_t
xdr___db_extentsize_reply(xdrs, objp)
register XDR *xdrs;
__db_extentsize_reply *objp;
{
if (!xdr_int(xdrs, &objp->status))
return (FALSE);
return (TRUE);
}
bool_t
xdr___db_flags_msg(xdrs, objp)
register XDR *xdrs;
__db_flags_msg *objp;
{
if (!xdr_u_int(xdrs, &objp->dbpcl_id))
return (FALSE);
if (!xdr_u_int(xdrs, &objp->flags))
return (FALSE);
return (TRUE);
}
bool_t
xdr___db_flags_reply(xdrs, objp)
register XDR *xdrs;
__db_flags_reply *objp;
{
if (!xdr_int(xdrs, &objp->status))
return (FALSE);
return (TRUE);
}
bool_t
xdr___db_get_msg(xdrs, objp)
register XDR *xdrs;
__db_get_msg *objp;
{
if (!xdr_u_int(xdrs, &objp->dbpcl_id))
return (FALSE);
if (!xdr_u_int(xdrs, &objp->txnpcl_id))
return (FALSE);
if (!xdr_u_int(xdrs, &objp->keydlen))
return (FALSE);
if (!xdr_u_int(xdrs, &objp->keydoff))
return (FALSE);
if (!xdr_u_int(xdrs, &objp->keyulen))
return (FALSE);
if (!xdr_u_int(xdrs, &objp->keyflags))
return (FALSE);
if (!xdr_bytes(xdrs, (char **)&objp->keydata.keydata_val, (u_int *) &objp->keydata.keydata_len, ~0))
return (FALSE);
if (!xdr_u_int(xdrs, &objp->datadlen))
return (FALSE);
if (!xdr_u_int(xdrs, &objp->datadoff))
return (FALSE);
if (!xdr_u_int(xdrs, &objp->dataulen))
return (FALSE);
if (!xdr_u_int(xdrs, &objp->dataflags))
return (FALSE);
if (!xdr_bytes(xdrs, (char **)&objp->datadata.datadata_val, (u_int *) &objp->datadata.datadata_len, ~0))
return (FALSE);
if (!xdr_u_int(xdrs, &objp->flags))
return (FALSE);
return (TRUE);
}
bool_t
xdr___db_get_reply(xdrs, objp)
register XDR *xdrs;
__db_get_reply *objp;
{
if (!xdr_int(xdrs, &objp->status))
return (FALSE);
if (!xdr_bytes(xdrs, (char **)&objp->keydata.keydata_val, (u_int *) &objp->keydata.keydata_len, ~0))
return (FALSE);
if (!xdr_bytes(xdrs, (char **)&objp->datadata.datadata_val, (u_int *) &objp->datadata.datadata_len, ~0))
return (FALSE);
return (TRUE);
}
bool_t
xdr___db_h_ffactor_msg(xdrs, objp)
register XDR *xdrs;
__db_h_ffactor_msg *objp;
{
if (!xdr_u_int(xdrs, &objp->dbpcl_id))
return (FALSE);
if (!xdr_u_int(xdrs, &objp->ffactor))
return (FALSE);
return (TRUE);
}
bool_t
xdr___db_h_ffactor_reply(xdrs, objp)
register XDR *xdrs;
__db_h_ffactor_reply *objp;
{
if (!xdr_int(xdrs, &objp->status))
return (FALSE);
return (TRUE);
}
bool_t
xdr___db_h_nelem_msg(xdrs, objp)
register XDR *xdrs;
__db_h_nelem_msg *objp;
{
if (!xdr_u_int(xdrs, &objp->dbpcl_id))
return (FALSE);
if (!xdr_u_int(xdrs, &objp->nelem))
return (FALSE);
return (TRUE);
}
bool_t
xdr___db_h_nelem_reply(xdrs, objp)
register XDR *xdrs;
__db_h_nelem_reply *objp;
{
if (!xdr_int(xdrs, &objp->status))
return (FALSE);
return (TRUE);
}
bool_t
xdr___db_key_range_msg(xdrs, objp)
register XDR *xdrs;
__db_key_range_msg *objp;
{
if (!xdr_u_int(xdrs, &objp->dbpcl_id))
return (FALSE);
if (!xdr_u_int(xdrs, &objp->txnpcl_id))
return (FALSE);
if (!xdr_u_int(xdrs, &objp->keydlen))
return (FALSE);
if (!xdr_u_int(xdrs, &objp->keydoff))
return (FALSE);
if (!xdr_u_int(xdrs, &objp->keyulen))
return (FALSE);
if (!xdr_u_int(xdrs, &objp->keyflags))
return (FALSE);
if (!xdr_bytes(xdrs, (char **)&objp->keydata.keydata_val, (u_int *) &objp->keydata.keydata_len, ~0))
return (FALSE);
if (!xdr_u_int(xdrs, &objp->flags))
return (FALSE);
return (TRUE);
}
bool_t
xdr___db_key_range_reply(xdrs, objp)
register XDR *xdrs;
__db_key_range_reply *objp;
{
if (!xdr_int(xdrs, &objp->status))
return (FALSE);
if (!xdr_double(xdrs, &objp->less))
return (FALSE);
if (!xdr_double(xdrs, &objp->equal))
return (FALSE);
if (!xdr_double(xdrs, &objp->greater))
return (FALSE);
return (TRUE);
}
bool_t
xdr___db_lorder_msg(xdrs, objp)
register XDR *xdrs;
__db_lorder_msg *objp;
{
if (!xdr_u_int(xdrs, &objp->dbpcl_id))
return (FALSE);
if (!xdr_u_int(xdrs, &objp->lorder))
return (FALSE);
return (TRUE);
}
bool_t
xdr___db_lorder_reply(xdrs, objp)
register XDR *xdrs;
__db_lorder_reply *objp;
{
if (!xdr_int(xdrs, &objp->status))
return (FALSE);
return (TRUE);
}
bool_t
xdr___db_open_msg(xdrs, objp)
register XDR *xdrs;
__db_open_msg *objp;
{
if (!xdr_u_int(xdrs, &objp->dbpcl_id))
return (FALSE);
if (!xdr_u_int(xdrs, &objp->txnpcl_id))
return (FALSE);
if (!xdr_string(xdrs, &objp->name, ~0))
return (FALSE);
if (!xdr_string(xdrs, &objp->subdb, ~0))
return (FALSE);
if (!xdr_u_int(xdrs, &objp->type))
return (FALSE);
if (!xdr_u_int(xdrs, &objp->flags))
return (FALSE);
if (!xdr_u_int(xdrs, &objp->mode))
return (FALSE);
return (TRUE);
}
bool_t
xdr___db_open_reply(xdrs, objp)
register XDR *xdrs;
__db_open_reply *objp;
{
if (!xdr_int(xdrs, &objp->status))
return (FALSE);
if (!xdr_u_int(xdrs, &objp->dbcl_id))
return (FALSE);
if (!xdr_u_int(xdrs, &objp->type))
return (FALSE);
if (!xdr_u_int(xdrs, &objp->dbflags))
return (FALSE);
if (!xdr_u_int(xdrs, &objp->lorder))
return (FALSE);
return (TRUE);
}
bool_t
xdr___db_pagesize_msg(xdrs, objp)
register XDR *xdrs;
__db_pagesize_msg *objp;
{
if (!xdr_u_int(xdrs, &objp->dbpcl_id))
return (FALSE);
if (!xdr_u_int(xdrs, &objp->pagesize))
return (FALSE);
return (TRUE);
}
bool_t
xdr___db_pagesize_reply(xdrs, objp)
register XDR *xdrs;
__db_pagesize_reply *objp;
{
if (!xdr_int(xdrs, &objp->status))
return (FALSE);
return (TRUE);
}
bool_t
xdr___db_pget_msg(xdrs, objp)
register XDR *xdrs;
__db_pget_msg *objp;
{
if (!xdr_u_int(xdrs, &objp->dbpcl_id))
return (FALSE);
if (!xdr_u_int(xdrs, &objp->txnpcl_id))
return (FALSE);
if (!xdr_u_int(xdrs, &objp->skeydlen))
return (FALSE);
if (!xdr_u_int(xdrs, &objp->skeydoff))
return (FALSE);
if (!xdr_u_int(xdrs, &objp->skeyulen))
return (FALSE);
if (!xdr_u_int(xdrs, &objp->skeyflags))
return (FALSE);
if (!xdr_bytes(xdrs, (char **)&objp->skeydata.skeydata_val, (u_int *) &objp->skeydata.skeydata_len, ~0))
return (FALSE);
if (!xdr_u_int(xdrs, &objp->pkeydlen))
return (FALSE);
if (!xdr_u_int(xdrs, &objp->pkeydoff))
return (FALSE);
if (!xdr_u_int(xdrs, &objp->pkeyulen))
return (FALSE);
if (!xdr_u_int(xdrs, &objp->pkeyflags))
return (FALSE);
if (!xdr_bytes(xdrs, (char **)&objp->pkeydata.pkeydata_val, (u_int *) &objp->pkeydata.pkeydata_len, ~0))
return (FALSE);
if (!xdr_u_int(xdrs, &objp->datadlen))
return (FALSE);
if (!xdr_u_int(xdrs, &objp->datadoff))
return (FALSE);
if (!xdr_u_int(xdrs, &objp->dataulen))
return (FALSE);
if (!xdr_u_int(xdrs, &objp->dataflags))
return (FALSE);
if (!xdr_bytes(xdrs, (char **)&objp->datadata.datadata_val, (u_int *) &objp->datadata.datadata_len, ~0))
return (FALSE);
if (!xdr_u_int(xdrs, &objp->flags))
return (FALSE);
return (TRUE);
}
bool_t
xdr___db_pget_reply(xdrs, objp)
register XDR *xdrs;
__db_pget_reply *objp;
{
if (!xdr_int(xdrs, &objp->status))
return (FALSE);
if (!xdr_bytes(xdrs, (char **)&objp->skeydata.skeydata_val, (u_int *) &objp->skeydata.skeydata_len, ~0))
return (FALSE);
if (!xdr_bytes(xdrs, (char **)&objp->pkeydata.pkeydata_val, (u_int *) &objp->pkeydata.pkeydata_len, ~0))
return (FALSE);
if (!xdr_bytes(xdrs, (char **)&objp->datadata.datadata_val, (u_int *) &objp->datadata.datadata_len, ~0))
return (FALSE);
return (TRUE);
}
bool_t
xdr___db_put_msg(xdrs, objp)
register XDR *xdrs;
__db_put_msg *objp;
{
if (!xdr_u_int(xdrs, &objp->dbpcl_id))
return (FALSE);
if (!xdr_u_int(xdrs, &objp->txnpcl_id))
return (FALSE);
if (!xdr_u_int(xdrs, &objp->keydlen))
return (FALSE);
if (!xdr_u_int(xdrs, &objp->keydoff))
return (FALSE);
if (!xdr_u_int(xdrs, &objp->keyulen))
return (FALSE);
if (!xdr_u_int(xdrs, &objp->keyflags))
return (FALSE);
if (!xdr_bytes(xdrs, (char **)&objp->keydata.keydata_val, (u_int *) &objp->keydata.keydata_len, ~0))
return (FALSE);
if (!xdr_u_int(xdrs, &objp->datadlen))
return (FALSE);
if (!xdr_u_int(xdrs, &objp->datadoff))
return (FALSE);
if (!xdr_u_int(xdrs, &objp->dataulen))
return (FALSE);
if (!xdr_u_int(xdrs, &objp->dataflags))
return (FALSE);
if (!xdr_bytes(xdrs, (char **)&objp->datadata.datadata_val, (u_int *) &objp->datadata.datadata_len, ~0))
return (FALSE);
if (!xdr_u_int(xdrs, &objp->flags))
return (FALSE);
return (TRUE);
}
bool_t
xdr___db_put_reply(xdrs, objp)
register XDR *xdrs;
__db_put_reply *objp;
{
if (!xdr_int(xdrs, &objp->status))
return (FALSE);
if (!xdr_bytes(xdrs, (char **)&objp->keydata.keydata_val, (u_int *) &objp->keydata.keydata_len, ~0))
return (FALSE);
return (TRUE);
}
bool_t
xdr___db_re_delim_msg(xdrs, objp)
register XDR *xdrs;
__db_re_delim_msg *objp;
{
if (!xdr_u_int(xdrs, &objp->dbpcl_id))
return (FALSE);
if (!xdr_u_int(xdrs, &objp->delim))
return (FALSE);
return (TRUE);
}
bool_t
xdr___db_re_delim_reply(xdrs, objp)
register XDR *xdrs;
__db_re_delim_reply *objp;
{
if (!xdr_int(xdrs, &objp->status))
return (FALSE);
return (TRUE);
}
bool_t
xdr___db_re_len_msg(xdrs, objp)
register XDR *xdrs;
__db_re_len_msg *objp;
{
if (!xdr_u_int(xdrs, &objp->dbpcl_id))
return (FALSE);
if (!xdr_u_int(xdrs, &objp->len))
return (FALSE);
return (TRUE);
}
bool_t
xdr___db_re_len_reply(xdrs, objp)
register XDR *xdrs;
__db_re_len_reply *objp;
{
if (!xdr_int(xdrs, &objp->status))
return (FALSE);
return (TRUE);
}
bool_t
xdr___db_re_pad_msg(xdrs, objp)
register XDR *xdrs;
__db_re_pad_msg *objp;
{
if (!xdr_u_int(xdrs, &objp->dbpcl_id))
return (FALSE);
if (!xdr_u_int(xdrs, &objp->pad))
return (FALSE);
return (TRUE);
}
bool_t
xdr___db_re_pad_reply(xdrs, objp)
register XDR *xdrs;
__db_re_pad_reply *objp;
{
if (!xdr_int(xdrs, &objp->status))
return (FALSE);
return (TRUE);
}
bool_t
xdr___db_remove_msg(xdrs, objp)
register XDR *xdrs;
__db_remove_msg *objp;
{
if (!xdr_u_int(xdrs, &objp->dbpcl_id))
return (FALSE);
if (!xdr_string(xdrs, &objp->name, ~0))
return (FALSE);
if (!xdr_string(xdrs, &objp->subdb, ~0))
return (FALSE);
if (!xdr_u_int(xdrs, &objp->flags))
return (FALSE);
return (TRUE);
}
bool_t
xdr___db_remove_reply(xdrs, objp)
register XDR *xdrs;
__db_remove_reply *objp;
{
if (!xdr_int(xdrs, &objp->status))
return (FALSE);
return (TRUE);
}
bool_t
xdr___db_rename_msg(xdrs, objp)
register XDR *xdrs;
__db_rename_msg *objp;
{
if (!xdr_u_int(xdrs, &objp->dbpcl_id))
return (FALSE);
if (!xdr_string(xdrs, &objp->name, ~0))
return (FALSE);
if (!xdr_string(xdrs, &objp->subdb, ~0))
return (FALSE);
if (!xdr_string(xdrs, &objp->newname, ~0))
return (FALSE);
if (!xdr_u_int(xdrs, &objp->flags))
return (FALSE);
return (TRUE);
}
bool_t
xdr___db_rename_reply(xdrs, objp)
register XDR *xdrs;
__db_rename_reply *objp;
{
if (!xdr_int(xdrs, &objp->status))
return (FALSE);
return (TRUE);
}
bool_t
xdr___db_stat_msg(xdrs, objp)
register XDR *xdrs;
__db_stat_msg *objp;
{
if (!xdr_u_int(xdrs, &objp->dbpcl_id))
return (FALSE);
if (!xdr_u_int(xdrs, &objp->flags))
return (FALSE);
return (TRUE);
}
bool_t
xdr___db_stat_reply(xdrs, objp)
register XDR *xdrs;
__db_stat_reply *objp;
{
if (!xdr_int(xdrs, &objp->status))
return (FALSE);
if (!xdr_array(xdrs, (char **)&objp->stats.stats_val, (u_int *) &objp->stats.stats_len, ~0,
sizeof (u_int), (xdrproc_t) xdr_u_int))
return (FALSE);
return (TRUE);
}
bool_t
xdr___db_sync_msg(xdrs, objp)
register XDR *xdrs;
__db_sync_msg *objp;
{
if (!xdr_u_int(xdrs, &objp->dbpcl_id))
return (FALSE);
if (!xdr_u_int(xdrs, &objp->flags))
return (FALSE);
return (TRUE);
}
bool_t
xdr___db_sync_reply(xdrs, objp)
register XDR *xdrs;
__db_sync_reply *objp;
{
if (!xdr_int(xdrs, &objp->status))
return (FALSE);
return (TRUE);
}
bool_t
xdr___db_truncate_msg(xdrs, objp)
register XDR *xdrs;
__db_truncate_msg *objp;
{
if (!xdr_u_int(xdrs, &objp->dbpcl_id))
return (FALSE);
if (!xdr_u_int(xdrs, &objp->txnpcl_id))
return (FALSE);
if (!xdr_u_int(xdrs, &objp->flags))
return (FALSE);
return (TRUE);
}
bool_t
xdr___db_truncate_reply(xdrs, objp)
register XDR *xdrs;
__db_truncate_reply *objp;
{
if (!xdr_int(xdrs, &objp->status))
return (FALSE);
if (!xdr_u_int(xdrs, &objp->count))
return (FALSE);
return (TRUE);
}
bool_t
xdr___db_cursor_msg(xdrs, objp)
register XDR *xdrs;
__db_cursor_msg *objp;
{
if (!xdr_u_int(xdrs, &objp->dbpcl_id))
return (FALSE);
if (!xdr_u_int(xdrs, &objp->txnpcl_id))
return (FALSE);
if (!xdr_u_int(xdrs, &objp->flags))
return (FALSE);
return (TRUE);
}
bool_t
xdr___db_cursor_reply(xdrs, objp)
register XDR *xdrs;
__db_cursor_reply *objp;
{
if (!xdr_int(xdrs, &objp->status))
return (FALSE);
if (!xdr_u_int(xdrs, &objp->dbcidcl_id))
return (FALSE);
return (TRUE);
}
bool_t
xdr___db_join_msg(xdrs, objp)
register XDR *xdrs;
__db_join_msg *objp;
{
if (!xdr_u_int(xdrs, &objp->dbpcl_id))
return (FALSE);
if (!xdr_array(xdrs, (char **)&objp->curs.curs_val, (u_int *) &objp->curs.curs_len, ~0,
sizeof (u_int), (xdrproc_t) xdr_u_int))
return (FALSE);
if (!xdr_u_int(xdrs, &objp->flags))
return (FALSE);
return (TRUE);
}
bool_t
xdr___db_join_reply(xdrs, objp)
register XDR *xdrs;
__db_join_reply *objp;
{
if (!xdr_int(xdrs, &objp->status))
return (FALSE);
if (!xdr_u_int(xdrs, &objp->dbcidcl_id))
return (FALSE);
return (TRUE);
}
bool_t
xdr___dbc_close_msg(xdrs, objp)
register XDR *xdrs;
__dbc_close_msg *objp;
{
if (!xdr_u_int(xdrs, &objp->dbccl_id))
return (FALSE);
return (TRUE);
}
bool_t
xdr___dbc_close_reply(xdrs, objp)
register XDR *xdrs;
__dbc_close_reply *objp;
{
if (!xdr_int(xdrs, &objp->status))
return (FALSE);
return (TRUE);
}
bool_t
xdr___dbc_count_msg(xdrs, objp)
register XDR *xdrs;
__dbc_count_msg *objp;
{
if (!xdr_u_int(xdrs, &objp->dbccl_id))
return (FALSE);
if (!xdr_u_int(xdrs, &objp->flags))
return (FALSE);
return (TRUE);
}
bool_t
xdr___dbc_count_reply(xdrs, objp)
register XDR *xdrs;
__dbc_count_reply *objp;
{
if (!xdr_int(xdrs, &objp->status))
return (FALSE);
if (!xdr_u_int(xdrs, &objp->dupcount))
return (FALSE);
return (TRUE);
}
bool_t
xdr___dbc_del_msg(xdrs, objp)
register XDR *xdrs;
__dbc_del_msg *objp;
{
if (!xdr_u_int(xdrs, &objp->dbccl_id))
return (FALSE);
if (!xdr_u_int(xdrs, &objp->flags))
return (FALSE);
return (TRUE);
}
bool_t
xdr___dbc_del_reply(xdrs, objp)
register XDR *xdrs;
__dbc_del_reply *objp;
{
if (!xdr_int(xdrs, &objp->status))
return (FALSE);
return (TRUE);
}
bool_t
xdr___dbc_dup_msg(xdrs, objp)
register XDR *xdrs;
__dbc_dup_msg *objp;
{
if (!xdr_u_int(xdrs, &objp->dbccl_id))
return (FALSE);
if (!xdr_u_int(xdrs, &objp->flags))
return (FALSE);
return (TRUE);
}
bool_t
xdr___dbc_dup_reply(xdrs, objp)
register XDR *xdrs;
__dbc_dup_reply *objp;
{
if (!xdr_int(xdrs, &objp->status))
return (FALSE);
if (!xdr_u_int(xdrs, &objp->dbcidcl_id))
return (FALSE);
return (TRUE);
}
bool_t
xdr___dbc_get_msg(xdrs, objp)
register XDR *xdrs;
__dbc_get_msg *objp;
{
if (!xdr_u_int(xdrs, &objp->dbccl_id))
return (FALSE);
if (!xdr_u_int(xdrs, &objp->keydlen))
return (FALSE);
if (!xdr_u_int(xdrs, &objp->keydoff))
return (FALSE);
if (!xdr_u_int(xdrs, &objp->keyulen))
return (FALSE);
if (!xdr_u_int(xdrs, &objp->keyflags))
return (FALSE);
if (!xdr_bytes(xdrs, (char **)&objp->keydata.keydata_val, (u_int *) &objp->keydata.keydata_len, ~0))
return (FALSE);
if (!xdr_u_int(xdrs, &objp->datadlen))
return (FALSE);
if (!xdr_u_int(xdrs, &objp->datadoff))
return (FALSE);
if (!xdr_u_int(xdrs, &objp->dataulen))
return (FALSE);
if (!xdr_u_int(xdrs, &objp->dataflags))
return (FALSE);
if (!xdr_bytes(xdrs, (char **)&objp->datadata.datadata_val, (u_int *) &objp->datadata.datadata_len, ~0))
return (FALSE);
if (!xdr_u_int(xdrs, &objp->flags))
return (FALSE);
return (TRUE);
}
bool_t
xdr___dbc_get_reply(xdrs, objp)
register XDR *xdrs;
__dbc_get_reply *objp;
{
if (!xdr_int(xdrs, &objp->status))
return (FALSE);
if (!xdr_bytes(xdrs, (char **)&objp->keydata.keydata_val, (u_int *) &objp->keydata.keydata_len, ~0))
return (FALSE);
if (!xdr_bytes(xdrs, (char **)&objp->datadata.datadata_val, (u_int *) &objp->datadata.datadata_len, ~0))
return (FALSE);
return (TRUE);
}
bool_t
xdr___dbc_pget_msg(xdrs, objp)
register XDR *xdrs;
__dbc_pget_msg *objp;
{
if (!xdr_u_int(xdrs, &objp->dbccl_id))
return (FALSE);
if (!xdr_u_int(xdrs, &objp->skeydlen))
return (FALSE);
if (!xdr_u_int(xdrs, &objp->skeydoff))
return (FALSE);
if (!xdr_u_int(xdrs, &objp->skeyulen))
return (FALSE);
if (!xdr_u_int(xdrs, &objp->skeyflags))
return (FALSE);
if (!xdr_bytes(xdrs, (char **)&objp->skeydata.skeydata_val, (u_int *) &objp->skeydata.skeydata_len, ~0))
return (FALSE);
if (!xdr_u_int(xdrs, &objp->pkeydlen))
return (FALSE);
if (!xdr_u_int(xdrs, &objp->pkeydoff))
return (FALSE);
if (!xdr_u_int(xdrs, &objp->pkeyulen))
return (FALSE);
if (!xdr_u_int(xdrs, &objp->pkeyflags))
return (FALSE);
if (!xdr_bytes(xdrs, (char **)&objp->pkeydata.pkeydata_val, (u_int *) &objp->pkeydata.pkeydata_len, ~0))
return (FALSE);
if (!xdr_u_int(xdrs, &objp->datadlen))
return (FALSE);
if (!xdr_u_int(xdrs, &objp->datadoff))
return (FALSE);
if (!xdr_u_int(xdrs, &objp->dataulen))
return (FALSE);
if (!xdr_u_int(xdrs, &objp->dataflags))
return (FALSE);
if (!xdr_bytes(xdrs, (char **)&objp->datadata.datadata_val, (u_int *) &objp->datadata.datadata_len, ~0))
return (FALSE);
if (!xdr_u_int(xdrs, &objp->flags))
return (FALSE);
return (TRUE);
}
bool_t
xdr___dbc_pget_reply(xdrs, objp)
register XDR *xdrs;
__dbc_pget_reply *objp;
{
if (!xdr_int(xdrs, &objp->status))
return (FALSE);
if (!xdr_bytes(xdrs, (char **)&objp->skeydata.skeydata_val, (u_int *) &objp->skeydata.skeydata_len, ~0))
return (FALSE);
if (!xdr_bytes(xdrs, (char **)&objp->pkeydata.pkeydata_val, (u_int *) &objp->pkeydata.pkeydata_len, ~0))
return (FALSE);
if (!xdr_bytes(xdrs, (char **)&objp->datadata.datadata_val, (u_int *) &objp->datadata.datadata_len, ~0))
return (FALSE);
return (TRUE);
}
bool_t
xdr___dbc_put_msg(xdrs, objp)
register XDR *xdrs;
__dbc_put_msg *objp;
{
if (!xdr_u_int(xdrs, &objp->dbccl_id))
return (FALSE);
if (!xdr_u_int(xdrs, &objp->keydlen))
return (FALSE);
if (!xdr_u_int(xdrs, &objp->keydoff))
return (FALSE);
if (!xdr_u_int(xdrs, &objp->keyulen))
return (FALSE);
if (!xdr_u_int(xdrs, &objp->keyflags))
return (FALSE);
if (!xdr_bytes(xdrs, (char **)&objp->keydata.keydata_val, (u_int *) &objp->keydata.keydata_len, ~0))
return (FALSE);
if (!xdr_u_int(xdrs, &objp->datadlen))
return (FALSE);
if (!xdr_u_int(xdrs, &objp->datadoff))
return (FALSE);
if (!xdr_u_int(xdrs, &objp->dataulen))
return (FALSE);
if (!xdr_u_int(xdrs, &objp->dataflags))
return (FALSE);
if (!xdr_bytes(xdrs, (char **)&objp->datadata.datadata_val, (u_int *) &objp->datadata.datadata_len, ~0))
return (FALSE);
if (!xdr_u_int(xdrs, &objp->flags))
return (FALSE);
return (TRUE);
}
bool_t
xdr___dbc_put_reply(xdrs, objp)
register XDR *xdrs;
__dbc_put_reply *objp;
{
if (!xdr_int(xdrs, &objp->status))
return (FALSE);
if (!xdr_bytes(xdrs, (char **)&objp->keydata.keydata_val, (u_int *) &objp->keydata.keydata_len, ~0))
return (FALSE);
return (TRUE);
}
#endif /* HAVE_RPC */
/* Do not edit: automatically built by gen_rpc.awk. */
#include "db_config.h"
#ifndef NO_SYSTEM_INCLUDES
#include <sys/types.h>
#include <rpc/rpc.h>
#include <rpc/xdr.h>
#include <string.h>
#endif
#include "db_int.h"
#include "dbinc_auto/db_server.h"
#include "dbinc/db_server_int.h"
#include "dbinc_auto/rpc_server_ext.h"
/*
* PUBLIC: __env_cachesize_reply *__db_env_cachesize_4001
* PUBLIC: __P((__env_cachesize_msg *, struct svc_req *));
*/
__env_cachesize_reply *
__db_env_cachesize_4001(msg, req)
__env_cachesize_msg *msg;
struct svc_req *req;
{
static __env_cachesize_reply reply; /* must be static */
COMPQUIET(req, NULL);
__env_cachesize_proc(msg->dbenvcl_id,
msg->gbytes,
msg->bytes,
msg->ncache,
&reply);
return (&reply);
}
/*
* PUBLIC: __env_close_reply *__db_env_close_4001 __P((__env_close_msg *,
* PUBLIC: struct svc_req *));
*/
__env_close_reply *
__db_env_close_4001(msg, req)
__env_close_msg *msg;
struct svc_req *req;
{
static __env_close_reply reply; /* must be static */
COMPQUIET(req, NULL);
__env_close_proc(msg->dbenvcl_id,
msg->flags,
&reply);
return (&reply);
}
/*
* PUBLIC: __env_create_reply *__db_env_create_4001 __P((__env_create_msg *,
* PUBLIC: struct svc_req *));
*/
__env_create_reply *
__db_env_create_4001(msg, req)
__env_create_msg *msg;
struct svc_req *req;
{
static __env_create_reply reply; /* must be static */
COMPQUIET(req, NULL);
__env_create_proc(msg->timeout,
&reply);
return (&reply);
}
/*
* PUBLIC: __env_dbremove_reply *__db_env_dbremove_4001
* PUBLIC: __P((__env_dbremove_msg *, struct svc_req *));
*/
__env_dbremove_reply *
__db_env_dbremove_4001(msg, req)
__env_dbremove_msg *msg;
struct svc_req *req;
{
static __env_dbremove_reply reply; /* must be static */
COMPQUIET(req, NULL);
__env_dbremove_proc(msg->dbenvcl_id,
msg->txnpcl_id,
(*msg->name == '\0') ? NULL : msg->name,
(*msg->subdb == '\0') ? NULL : msg->subdb,
msg->flags,
&reply);
return (&reply);
}
/*
* PUBLIC: __env_dbrename_reply *__db_env_dbrename_4001
* PUBLIC: __P((__env_dbrename_msg *, struct svc_req *));
*/
__env_dbrename_reply *
__db_env_dbrename_4001(msg, req)
__env_dbrename_msg *msg;
struct svc_req *req;
{
static __env_dbrename_reply reply; /* must be static */
COMPQUIET(req, NULL);
__env_dbrename_proc(msg->dbenvcl_id,
msg->txnpcl_id,
(*msg->name == '\0') ? NULL : msg->name,
(*msg->subdb == '\0') ? NULL : msg->subdb,
(*msg->newname == '\0') ? NULL : msg->newname,
msg->flags,
&reply);
return (&reply);
}
/*
* PUBLIC: __env_encrypt_reply *__db_env_encrypt_4001
* PUBLIC: __P((__env_encrypt_msg *, struct svc_req *));
*/
__env_encrypt_reply *
__db_env_encrypt_4001(msg, req)
__env_encrypt_msg *msg;
struct svc_req *req;
{
static __env_encrypt_reply reply; /* must be static */
COMPQUIET(req, NULL);
__env_encrypt_proc(msg->dbenvcl_id,
(*msg->passwd == '\0') ? NULL : msg->passwd,
msg->flags,
&reply);
return (&reply);
}
/*
* PUBLIC: __env_flags_reply *__db_env_flags_4001 __P((__env_flags_msg *,
* PUBLIC: struct svc_req *));
*/
__env_flags_reply *
__db_env_flags_4001(msg, req)
__env_flags_msg *msg;
struct svc_req *req;
{
static __env_flags_reply reply; /* must be static */
COMPQUIET(req, NULL);
__env_flags_proc(msg->dbenvcl_id,
msg->flags,
msg->onoff,
&reply);
return (&reply);
}
/*
* PUBLIC: __env_open_reply *__db_env_open_4001 __P((__env_open_msg *,
* PUBLIC: struct svc_req *));
*/
__env_open_reply *
__db_env_open_4001(msg, req)
__env_open_msg *msg;
struct svc_req *req;
{
static __env_open_reply reply; /* must be static */
COMPQUIET(req, NULL);
__env_open_proc(msg->dbenvcl_id,
(*msg->home == '\0') ? NULL : msg->home,
msg->flags,
msg->mode,
&reply);
return (&reply);
}
/*
* PUBLIC: __env_remove_reply *__db_env_remove_4001 __P((__env_remove_msg *,
* PUBLIC: struct svc_req *));
*/
__env_remove_reply *
__db_env_remove_4001(msg, req)
__env_remove_msg *msg;
struct svc_req *req;
{
static __env_remove_reply reply; /* must be static */
COMPQUIET(req, NULL);
__env_remove_proc(msg->dbenvcl_id,
(*msg->home == '\0') ? NULL : msg->home,
msg->flags,
&reply);
return (&reply);
}
/*
* PUBLIC: __txn_abort_reply *__db_txn_abort_4001 __P((__txn_abort_msg *,
* PUBLIC: struct svc_req *));
*/
__txn_abort_reply *
__db_txn_abort_4001(msg, req)
__txn_abort_msg *msg;
struct svc_req *req;
{
static __txn_abort_reply reply; /* must be static */
COMPQUIET(req, NULL);
__txn_abort_proc(msg->txnpcl_id,
&reply);
return (&reply);
}
/*
* PUBLIC: __txn_begin_reply *__db_txn_begin_4001 __P((__txn_begin_msg *,
* PUBLIC: struct svc_req *));
*/
__txn_begin_reply *
__db_txn_begin_4001(msg, req)
__txn_begin_msg *msg;
struct svc_req *req;
{
static __txn_begin_reply reply; /* must be static */
COMPQUIET(req, NULL);
__txn_begin_proc(msg->dbenvcl_id,
msg->parentcl_id,
msg->flags,
&reply);
return (&reply);
}
/*
* PUBLIC: __txn_commit_reply *__db_txn_commit_4001 __P((__txn_commit_msg *,
* PUBLIC: struct svc_req *));
*/
__txn_commit_reply *
__db_txn_commit_4001(msg, req)
__txn_commit_msg *msg;
struct svc_req *req;
{
static __txn_commit_reply reply; /* must be static */
COMPQUIET(req, NULL);
__txn_commit_proc(msg->txnpcl_id,
msg->flags,
&reply);
return (&reply);
}
/*
* PUBLIC: __txn_discard_reply *__db_txn_discard_4001
* PUBLIC: __P((__txn_discard_msg *, struct svc_req *));
*/
__txn_discard_reply *
__db_txn_discard_4001(msg, req)
__txn_discard_msg *msg;
struct svc_req *req;
{
static __txn_discard_reply reply; /* must be static */
COMPQUIET(req, NULL);
__txn_discard_proc(msg->txnpcl_id,
msg->flags,
&reply);
return (&reply);
}
/*
* PUBLIC: __txn_prepare_reply *__db_txn_prepare_4001
* PUBLIC: __P((__txn_prepare_msg *, struct svc_req *));
*/
__txn_prepare_reply *
__db_txn_prepare_4001(msg, req)
__txn_prepare_msg *msg;
struct svc_req *req;
{
static __txn_prepare_reply reply; /* must be static */
COMPQUIET(req, NULL);
__txn_prepare_proc(msg->txnpcl_id,
msg->gid,
&reply);
return (&reply);
}
/*
* PUBLIC: __txn_recover_reply *__db_txn_recover_4001
* PUBLIC: __P((__txn_recover_msg *, struct svc_req *));
*/
__txn_recover_reply *
__db_txn_recover_4001(msg, req)
__txn_recover_msg *msg;
struct svc_req *req;
{
static __txn_recover_reply reply; /* must be static */
static int __txn_recover_free = 0; /* must be static */
COMPQUIET(req, NULL);
if (__txn_recover_free)
xdr_free((xdrproc_t)xdr___txn_recover_reply, (void *)&reply);
__txn_recover_free = 0;
/* Reinitialize allocated fields */
reply.txn.txn_val = NULL;
reply.gid.gid_val = NULL;
__txn_recover_proc(msg->dbenvcl_id,
msg->count,
msg->flags,
&reply,
&__txn_recover_free);
return (&reply);
}
/*
* PUBLIC: __db_associate_reply *__db_db_associate_4001
* PUBLIC: __P((__db_associate_msg *, struct svc_req *));
*/
__db_associate_reply *
__db_db_associate_4001(msg, req)
__db_associate_msg *msg;
struct svc_req *req;
{
static __db_associate_reply reply; /* must be static */
COMPQUIET(req, NULL);
__db_associate_proc(msg->dbpcl_id,
msg->txnpcl_id,
msg->sdbpcl_id,
msg->flags,
&reply);
return (&reply);
}
/*
* PUBLIC: __db_bt_maxkey_reply *__db_db_bt_maxkey_4001
* PUBLIC: __P((__db_bt_maxkey_msg *, struct svc_req *));
*/
__db_bt_maxkey_reply *
__db_db_bt_maxkey_4001(msg, req)
__db_bt_maxkey_msg *msg;
struct svc_req *req;
{
static __db_bt_maxkey_reply reply; /* must be static */
COMPQUIET(req, NULL);
__db_bt_maxkey_proc(msg->dbpcl_id,
msg->maxkey,
&reply);
return (&reply);
}
/*
* PUBLIC: __db_bt_minkey_reply *__db_db_bt_minkey_4001
* PUBLIC: __P((__db_bt_minkey_msg *, struct svc_req *));
*/
__db_bt_minkey_reply *
__db_db_bt_minkey_4001(msg, req)
__db_bt_minkey_msg *msg;
struct svc_req *req;
{
static __db_bt_minkey_reply reply; /* must be static */
COMPQUIET(req, NULL);
__db_bt_minkey_proc(msg->dbpcl_id,
msg->minkey,
&reply);
return (&reply);
}
/*
* PUBLIC: __db_close_reply *__db_db_close_4001 __P((__db_close_msg *,
* PUBLIC: struct svc_req *));
*/
__db_close_reply *
__db_db_close_4001(msg, req)
__db_close_msg *msg;
struct svc_req *req;
{
static __db_close_reply reply; /* must be static */
COMPQUIET(req, NULL);
__db_close_proc(msg->dbpcl_id,
msg->flags,
&reply);
return (&reply);
}
/*
* PUBLIC: __db_create_reply *__db_db_create_4001 __P((__db_create_msg *,
* PUBLIC: struct svc_req *));
*/
__db_create_reply *
__db_db_create_4001(msg, req)
__db_create_msg *msg;
struct svc_req *req;
{
static __db_create_reply reply; /* must be static */
COMPQUIET(req, NULL);
__db_create_proc(msg->dbenvcl_id,
msg->flags,
&reply);
return (&reply);
}
/*
* PUBLIC: __db_del_reply *__db_db_del_4001 __P((__db_del_msg *,
* PUBLIC: struct svc_req *));
*/
__db_del_reply *
__db_db_del_4001(msg, req)
__db_del_msg *msg;
struct svc_req *req;
{
static __db_del_reply reply; /* must be static */
COMPQUIET(req, NULL);
__db_del_proc(msg->dbpcl_id,
msg->txnpcl_id,
msg->keydlen,
msg->keydoff,
msg->keyulen,
msg->keyflags,
msg->keydata.keydata_val,
msg->keydata.keydata_len,
msg->flags,
&reply);
return (&reply);
}
/*
* PUBLIC: __db_encrypt_reply *__db_db_encrypt_4001 __P((__db_encrypt_msg *,
* PUBLIC: struct svc_req *));
*/
__db_encrypt_reply *
__db_db_encrypt_4001(msg, req)
__db_encrypt_msg *msg;
struct svc_req *req;
{
static __db_encrypt_reply reply; /* must be static */
COMPQUIET(req, NULL);
__db_encrypt_proc(msg->dbpcl_id,
(*msg->passwd == '\0') ? NULL : msg->passwd,
msg->flags,
&reply);
return (&reply);
}
/*
* PUBLIC: __db_extentsize_reply *__db_db_extentsize_4001
* PUBLIC: __P((__db_extentsize_msg *, struct svc_req *));
*/
__db_extentsize_reply *
__db_db_extentsize_4001(msg, req)
__db_extentsize_msg *msg;
struct svc_req *req;
{
static __db_extentsize_reply reply; /* must be static */
COMPQUIET(req, NULL);
__db_extentsize_proc(msg->dbpcl_id,
msg->extentsize,
&reply);
return (&reply);
}
/*
* PUBLIC: __db_flags_reply *__db_db_flags_4001 __P((__db_flags_msg *,
* PUBLIC: struct svc_req *));
*/
__db_flags_reply *
__db_db_flags_4001(msg, req)
__db_flags_msg *msg;
struct svc_req *req;
{
static __db_flags_reply reply; /* must be static */
COMPQUIET(req, NULL);
__db_flags_proc(msg->dbpcl_id,
msg->flags,
&reply);
return (&reply);
}
/*
* PUBLIC: __db_get_reply *__db_db_get_4001 __P((__db_get_msg *,
* PUBLIC: struct svc_req *));
*/
__db_get_reply *
__db_db_get_4001(msg, req)
__db_get_msg *msg;
struct svc_req *req;
{
static __db_get_reply reply; /* must be static */
static int __db_get_free = 0; /* must be static */
COMPQUIET(req, NULL);
if (__db_get_free)
xdr_free((xdrproc_t)xdr___db_get_reply, (void *)&reply);
__db_get_free = 0;
/* Reinitialize allocated fields */
reply.keydata.keydata_val = NULL;
reply.datadata.datadata_val = NULL;
__db_get_proc(msg->dbpcl_id,
msg->txnpcl_id,
msg->keydlen,
msg->keydoff,
msg->keyulen,
msg->keyflags,
msg->keydata.keydata_val,
msg->keydata.keydata_len,
msg->datadlen,
msg->datadoff,
msg->dataulen,
msg->dataflags,
msg->datadata.datadata_val,
msg->datadata.datadata_len,
msg->flags,
&reply,
&__db_get_free);
return (&reply);
}
/*
* PUBLIC: __db_h_ffactor_reply *__db_db_h_ffactor_4001
* PUBLIC: __P((__db_h_ffactor_msg *, struct svc_req *));
*/
__db_h_ffactor_reply *
__db_db_h_ffactor_4001(msg, req)
__db_h_ffactor_msg *msg;
struct svc_req *req;
{
static __db_h_ffactor_reply reply; /* must be static */
COMPQUIET(req, NULL);
__db_h_ffactor_proc(msg->dbpcl_id,
msg->ffactor,
&reply);
return (&reply);
}
/*
* PUBLIC: __db_h_nelem_reply *__db_db_h_nelem_4001 __P((__db_h_nelem_msg *,
* PUBLIC: struct svc_req *));
*/
__db_h_nelem_reply *
__db_db_h_nelem_4001(msg, req)
__db_h_nelem_msg *msg;
struct svc_req *req;
{
static __db_h_nelem_reply reply; /* must be static */
COMPQUIET(req, NULL);
__db_h_nelem_proc(msg->dbpcl_id,
msg->nelem,
&reply);
return (&reply);
}
/*
* PUBLIC: __db_key_range_reply *__db_db_key_range_4001
* PUBLIC: __P((__db_key_range_msg *, struct svc_req *));
*/
__db_key_range_reply *
__db_db_key_range_4001(msg, req)
__db_key_range_msg *msg;
struct svc_req *req;
{
static __db_key_range_reply reply; /* must be static */
COMPQUIET(req, NULL);
__db_key_range_proc(msg->dbpcl_id,
msg->txnpcl_id,
msg->keydlen,
msg->keydoff,
msg->keyulen,
msg->keyflags,
msg->keydata.keydata_val,
msg->keydata.keydata_len,
msg->flags,
&reply);
return (&reply);
}
/*
* PUBLIC: __db_lorder_reply *__db_db_lorder_4001 __P((__db_lorder_msg *,
* PUBLIC: struct svc_req *));
*/
__db_lorder_reply *
__db_db_lorder_4001(msg, req)
__db_lorder_msg *msg;
struct svc_req *req;
{
static __db_lorder_reply reply; /* must be static */
COMPQUIET(req, NULL);
__db_lorder_proc(msg->dbpcl_id,
msg->lorder,
&reply);
return (&reply);
}
/*
* PUBLIC: __db_open_reply *__db_db_open_4001 __P((__db_open_msg *,
* PUBLIC: struct svc_req *));
*/
__db_open_reply *
__db_db_open_4001(msg, req)
__db_open_msg *msg;
struct svc_req *req;
{
static __db_open_reply reply; /* must be static */
COMPQUIET(req, NULL);
__db_open_proc(msg->dbpcl_id,
msg->txnpcl_id,
(*msg->name == '\0') ? NULL : msg->name,
(*msg->subdb == '\0') ? NULL : msg->subdb,
msg->type,
msg->flags,
msg->mode,
&reply);
return (&reply);
}
/*
* PUBLIC: __db_pagesize_reply *__db_db_pagesize_4001
* PUBLIC: __P((__db_pagesize_msg *, struct svc_req *));
*/
__db_pagesize_reply *
__db_db_pagesize_4001(msg, req)
__db_pagesize_msg *msg;
struct svc_req *req;
{
static __db_pagesize_reply reply; /* must be static */
COMPQUIET(req, NULL);
__db_pagesize_proc(msg->dbpcl_id,
msg->pagesize,
&reply);
return (&reply);
}
/*
* PUBLIC: __db_pget_reply *__db_db_pget_4001 __P((__db_pget_msg *,
* PUBLIC: struct svc_req *));
*/
__db_pget_reply *
__db_db_pget_4001(msg, req)
__db_pget_msg *msg;
struct svc_req *req;
{
static __db_pget_reply reply; /* must be static */
static int __db_pget_free = 0; /* must be static */
COMPQUIET(req, NULL);
if (__db_pget_free)
xdr_free((xdrproc_t)xdr___db_pget_reply, (void *)&reply);
__db_pget_free = 0;
/* Reinitialize allocated fields */
reply.skeydata.skeydata_val = NULL;
reply.pkeydata.pkeydata_val = NULL;
reply.datadata.datadata_val = NULL;
__db_pget_proc(msg->dbpcl_id,
msg->txnpcl_id,
msg->skeydlen,
msg->skeydoff,
msg->skeyulen,
msg->skeyflags,
msg->skeydata.skeydata_val,
msg->skeydata.skeydata_len,
msg->pkeydlen,
msg->pkeydoff,
msg->pkeyulen,
msg->pkeyflags,
msg->pkeydata.pkeydata_val,
msg->pkeydata.pkeydata_len,
msg->datadlen,
msg->datadoff,
msg->dataulen,
msg->dataflags,
msg->datadata.datadata_val,
msg->datadata.datadata_len,
msg->flags,
&reply,
&__db_pget_free);
return (&reply);
}
/*
* PUBLIC: __db_put_reply *__db_db_put_4001 __P((__db_put_msg *,
* PUBLIC: struct svc_req *));
*/
__db_put_reply *
__db_db_put_4001(msg, req)
__db_put_msg *msg;
struct svc_req *req;
{
static __db_put_reply reply; /* must be static */
static int __db_put_free = 0; /* must be static */
COMPQUIET(req, NULL);
if (__db_put_free)
xdr_free((xdrproc_t)xdr___db_put_reply, (void *)&reply);
__db_put_free = 0;
/* Reinitialize allocated fields */
reply.keydata.keydata_val = NULL;
__db_put_proc(msg->dbpcl_id,
msg->txnpcl_id,
msg->keydlen,
msg->keydoff,
msg->keyulen,
msg->keyflags,
msg->keydata.keydata_val,
msg->keydata.keydata_len,
msg->datadlen,
msg->datadoff,
msg->dataulen,
msg->dataflags,
msg->datadata.datadata_val,
msg->datadata.datadata_len,
msg->flags,
&reply,
&__db_put_free);
return (&reply);
}
/*
* PUBLIC: __db_re_delim_reply *__db_db_re_delim_4001
* PUBLIC: __P((__db_re_delim_msg *, struct svc_req *));
*/
__db_re_delim_reply *
__db_db_re_delim_4001(msg, req)
__db_re_delim_msg *msg;
struct svc_req *req;
{
static __db_re_delim_reply reply; /* must be static */
COMPQUIET(req, NULL);
__db_re_delim_proc(msg->dbpcl_id,
msg->delim,
&reply);
return (&reply);
}
/*
* PUBLIC: __db_re_len_reply *__db_db_re_len_4001 __P((__db_re_len_msg *,
* PUBLIC: struct svc_req *));
*/
__db_re_len_reply *
__db_db_re_len_4001(msg, req)
__db_re_len_msg *msg;
struct svc_req *req;
{
static __db_re_len_reply reply; /* must be static */
COMPQUIET(req, NULL);
__db_re_len_proc(msg->dbpcl_id,
msg->len,
&reply);
return (&reply);
}
/*
* PUBLIC: __db_re_pad_reply *__db_db_re_pad_4001 __P((__db_re_pad_msg *,
* PUBLIC: struct svc_req *));
*/
__db_re_pad_reply *
__db_db_re_pad_4001(msg, req)
__db_re_pad_msg *msg;
struct svc_req *req;
{
static __db_re_pad_reply reply; /* must be static */
COMPQUIET(req, NULL);
__db_re_pad_proc(msg->dbpcl_id,
msg->pad,
&reply);
return (&reply);
}
/*
* PUBLIC: __db_remove_reply *__db_db_remove_4001 __P((__db_remove_msg *,
* PUBLIC: struct svc_req *));
*/
__db_remove_reply *
__db_db_remove_4001(msg, req)
__db_remove_msg *msg;
struct svc_req *req;
{
static __db_remove_reply reply; /* must be static */
COMPQUIET(req, NULL);
__db_remove_proc(msg->dbpcl_id,
(*msg->name == '\0') ? NULL : msg->name,
(*msg->subdb == '\0') ? NULL : msg->subdb,
msg->flags,
&reply);
return (&reply);
}
/*
* PUBLIC: __db_rename_reply *__db_db_rename_4001 __P((__db_rename_msg *,
* PUBLIC: struct svc_req *));
*/
__db_rename_reply *
__db_db_rename_4001(msg, req)
__db_rename_msg *msg;
struct svc_req *req;
{
static __db_rename_reply reply; /* must be static */
COMPQUIET(req, NULL);
__db_rename_proc(msg->dbpcl_id,
(*msg->name == '\0') ? NULL : msg->name,
(*msg->subdb == '\0') ? NULL : msg->subdb,
(*msg->newname == '\0') ? NULL : msg->newname,
msg->flags,
&reply);
return (&reply);
}
/*
* PUBLIC: __db_stat_reply *__db_db_stat_4001 __P((__db_stat_msg *,
* PUBLIC: struct svc_req *));
*/
__db_stat_reply *
__db_db_stat_4001(msg, req)
__db_stat_msg *msg;
struct svc_req *req;
{
static __db_stat_reply reply; /* must be static */
static int __db_stat_free = 0; /* must be static */
COMPQUIET(req, NULL);
if (__db_stat_free)
xdr_free((xdrproc_t)xdr___db_stat_reply, (void *)&reply);
__db_stat_free = 0;
/* Reinitialize allocated fields */
reply.stats.stats_val = NULL;
__db_stat_proc(msg->dbpcl_id,
msg->flags,
&reply,
&__db_stat_free);
return (&reply);
}
/*
* PUBLIC: __db_sync_reply *__db_db_sync_4001 __P((__db_sync_msg *,
* PUBLIC: struct svc_req *));
*/
__db_sync_reply *
__db_db_sync_4001(msg, req)
__db_sync_msg *msg;
struct svc_req *req;
{
static __db_sync_reply reply; /* must be static */
COMPQUIET(req, NULL);
__db_sync_proc(msg->dbpcl_id,
msg->flags,
&reply);
return (&reply);
}
/*
* PUBLIC: __db_truncate_reply *__db_db_truncate_4001
* PUBLIC: __P((__db_truncate_msg *, struct svc_req *));
*/
__db_truncate_reply *
__db_db_truncate_4001(msg, req)
__db_truncate_msg *msg;
struct svc_req *req;
{
static __db_truncate_reply reply; /* must be static */
COMPQUIET(req, NULL);
__db_truncate_proc(msg->dbpcl_id,
msg->txnpcl_id,
msg->flags,
&reply);
return (&reply);
}
/*
* PUBLIC: __db_cursor_reply *__db_db_cursor_4001 __P((__db_cursor_msg *,
* PUBLIC: struct svc_req *));
*/
__db_cursor_reply *
__db_db_cursor_4001(msg, req)
__db_cursor_msg *msg;
struct svc_req *req;
{
static __db_cursor_reply reply; /* must be static */
COMPQUIET(req, NULL);
__db_cursor_proc(msg->dbpcl_id,
msg->txnpcl_id,
msg->flags,
&reply);
return (&reply);
}
/*
* PUBLIC: __db_join_reply *__db_db_join_4001 __P((__db_join_msg *,
* PUBLIC: struct svc_req *));
*/
__db_join_reply *
__db_db_join_4001(msg, req)
__db_join_msg *msg;
struct svc_req *req;
{
static __db_join_reply reply; /* must be static */
COMPQUIET(req, NULL);
__db_join_proc(msg->dbpcl_id,
msg->curs.curs_val,
msg->curs.curs_len,
msg->flags,
&reply);
return (&reply);
}
/*
* PUBLIC: __dbc_close_reply *__db_dbc_close_4001 __P((__dbc_close_msg *,
* PUBLIC: struct svc_req *));
*/
__dbc_close_reply *
__db_dbc_close_4001(msg, req)
__dbc_close_msg *msg;
struct svc_req *req;
{
static __dbc_close_reply reply; /* must be static */
COMPQUIET(req, NULL);
__dbc_close_proc(msg->dbccl_id,
&reply);
return (&reply);
}
/*
* PUBLIC: __dbc_count_reply *__db_dbc_count_4001 __P((__dbc_count_msg *,
* PUBLIC: struct svc_req *));
*/
__dbc_count_reply *
__db_dbc_count_4001(msg, req)
__dbc_count_msg *msg;
struct svc_req *req;
{
static __dbc_count_reply reply; /* must be static */
COMPQUIET(req, NULL);
__dbc_count_proc(msg->dbccl_id,
msg->flags,
&reply);
return (&reply);
}
/*
* PUBLIC: __dbc_del_reply *__db_dbc_del_4001 __P((__dbc_del_msg *,
* PUBLIC: struct svc_req *));
*/
__dbc_del_reply *
__db_dbc_del_4001(msg, req)
__dbc_del_msg *msg;
struct svc_req *req;
{
static __dbc_del_reply reply; /* must be static */
COMPQUIET(req, NULL);
__dbc_del_proc(msg->dbccl_id,
msg->flags,
&reply);
return (&reply);
}
/*
* PUBLIC: __dbc_dup_reply *__db_dbc_dup_4001 __P((__dbc_dup_msg *,
* PUBLIC: struct svc_req *));
*/
__dbc_dup_reply *
__db_dbc_dup_4001(msg, req)
__dbc_dup_msg *msg;
struct svc_req *req;
{
static __dbc_dup_reply reply; /* must be static */
COMPQUIET(req, NULL);
__dbc_dup_proc(msg->dbccl_id,
msg->flags,
&reply);
return (&reply);
}
/*
* PUBLIC: __dbc_get_reply *__db_dbc_get_4001 __P((__dbc_get_msg *,
* PUBLIC: struct svc_req *));
*/
__dbc_get_reply *
__db_dbc_get_4001(msg, req)
__dbc_get_msg *msg;
struct svc_req *req;
{
static __dbc_get_reply reply; /* must be static */
static int __dbc_get_free = 0; /* must be static */
COMPQUIET(req, NULL);
if (__dbc_get_free)
xdr_free((xdrproc_t)xdr___dbc_get_reply, (void *)&reply);
__dbc_get_free = 0;
/* Reinitialize allocated fields */
reply.keydata.keydata_val = NULL;
reply.datadata.datadata_val = NULL;
__dbc_get_proc(msg->dbccl_id,
msg->keydlen,
msg->keydoff,
msg->keyulen,
msg->keyflags,
msg->keydata.keydata_val,
msg->keydata.keydata_len,
msg->datadlen,
msg->datadoff,
msg->dataulen,
msg->dataflags,
msg->datadata.datadata_val,
msg->datadata.datadata_len,
msg->flags,
&reply,
&__dbc_get_free);
return (&reply);
}
/*
* PUBLIC: __dbc_pget_reply *__db_dbc_pget_4001 __P((__dbc_pget_msg *,
* PUBLIC: struct svc_req *));
*/
__dbc_pget_reply *
__db_dbc_pget_4001(msg, req)
__dbc_pget_msg *msg;
struct svc_req *req;
{
static __dbc_pget_reply reply; /* must be static */
static int __dbc_pget_free = 0; /* must be static */
COMPQUIET(req, NULL);
if (__dbc_pget_free)
xdr_free((xdrproc_t)xdr___dbc_pget_reply, (void *)&reply);
__dbc_pget_free = 0;
/* Reinitialize allocated fields */
reply.skeydata.skeydata_val = NULL;
reply.pkeydata.pkeydata_val = NULL;
reply.datadata.datadata_val = NULL;
__dbc_pget_proc(msg->dbccl_id,
msg->skeydlen,
msg->skeydoff,
msg->skeyulen,
msg->skeyflags,
msg->skeydata.skeydata_val,
msg->skeydata.skeydata_len,
msg->pkeydlen,
msg->pkeydoff,
msg->pkeyulen,
msg->pkeyflags,
msg->pkeydata.pkeydata_val,
msg->pkeydata.pkeydata_len,
msg->datadlen,
msg->datadoff,
msg->dataulen,
msg->dataflags,
msg->datadata.datadata_val,
msg->datadata.datadata_len,
msg->flags,
&reply,
&__dbc_pget_free);
return (&reply);
}
/*
* PUBLIC: __dbc_put_reply *__db_dbc_put_4001 __P((__dbc_put_msg *,
* PUBLIC: struct svc_req *));
*/
__dbc_put_reply *
__db_dbc_put_4001(msg, req)
__dbc_put_msg *msg;
struct svc_req *req;
{
static __dbc_put_reply reply; /* must be static */
static int __dbc_put_free = 0; /* must be static */
COMPQUIET(req, NULL);
if (__dbc_put_free)
xdr_free((xdrproc_t)xdr___dbc_put_reply, (void *)&reply);
__dbc_put_free = 0;
/* Reinitialize allocated fields */
reply.keydata.keydata_val = NULL;
__dbc_put_proc(msg->dbccl_id,
msg->keydlen,
msg->keydoff,
msg->keyulen,
msg->keyflags,
msg->keydata.keydata_val,
msg->keydata.keydata_len,
msg->datadlen,
msg->datadoff,
msg->dataulen,
msg->dataflags,
msg->datadata.datadata_val,
msg->datadata.datadata_len,
msg->flags,
&reply,
&__dbc_put_free);
return (&reply);
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment