00001
00002 #include "db_config.h"
00003
00004 #ifndef NO_SYSTEM_INCLUDES
00005 #include <sys/types.h>
00006
00007 #include <rpc/rpc.h>
00008
00009 #include <string.h>
00010 #endif
00011
00012 #include "db_server.h"
00013
00014 #include "db_int.h"
00015 #include "dbinc/db_server_int.h"
00016 #include "dbinc_auto/rpc_server_ext.h"
00017
00018 __env_create_reply *
00019 __db_env_create_4004__SVCSUFFIX__(msg, req)
00020 __env_create_msg *msg;
00021 struct svc_req *req;
00022 {
00023 static __env_create_reply reply;
00024 COMPQUIET(req, NULL);
00025
00026 __env_create_proc(msg->timeout,
00027 &reply);
00028
00029 return (&reply);
00030 }
00031
00032 __env_close_reply *
00033 __db_env_close_4004__SVCSUFFIX__(msg, req)
00034 __env_close_msg *msg;
00035 struct svc_req *req;
00036 {
00037 static __env_close_reply reply;
00038 COMPQUIET(req, NULL);
00039
00040 __env_close_proc(msg->dbenvcl_id,
00041 msg->flags,
00042 &reply);
00043
00044 return (&reply);
00045 }
00046
00047 __env_dbremove_reply *
00048 __db_env_dbremove_4004__SVCSUFFIX__(msg, req)
00049 __env_dbremove_msg *msg;
00050 struct svc_req *req;
00051 {
00052 static __env_dbremove_reply reply;
00053 COMPQUIET(req, NULL);
00054
00055 __env_dbremove_proc(msg->dbenvcl_id,
00056 msg->txnpcl_id,
00057 (*msg->name == '\0') ? NULL : msg->name,
00058 (*msg->subdb == '\0') ? NULL : msg->subdb,
00059 msg->flags,
00060 &reply);
00061
00062 return (&reply);
00063 }
00064
00065 __env_dbrename_reply *
00066 __db_env_dbrename_4004__SVCSUFFIX__(msg, req)
00067 __env_dbrename_msg *msg;
00068 struct svc_req *req;
00069 {
00070 static __env_dbrename_reply reply;
00071 COMPQUIET(req, NULL);
00072
00073 __env_dbrename_proc(msg->dbenvcl_id,
00074 msg->txnpcl_id,
00075 (*msg->name == '\0') ? NULL : msg->name,
00076 (*msg->subdb == '\0') ? NULL : msg->subdb,
00077 (*msg->newname == '\0') ? NULL : msg->newname,
00078 msg->flags,
00079 &reply);
00080
00081 return (&reply);
00082 }
00083
00084 __env_get_cachesize_reply *
00085 __db_env_get_cachesize_4004__SVCSUFFIX__(msg, req)
00086 __env_get_cachesize_msg *msg;
00087 struct svc_req *req;
00088 {
00089 static __env_get_cachesize_reply reply;
00090 COMPQUIET(req, NULL);
00091
00092 __env_get_cachesize_proc(msg->dbenvcl_id,
00093 &reply);
00094
00095 return (&reply);
00096 }
00097
00098 __env_get_encrypt_flags_reply *
00099 __db_env_get_encrypt_flags_4004__SVCSUFFIX__(msg, req)
00100 __env_get_encrypt_flags_msg *msg;
00101 struct svc_req *req;
00102 {
00103 static __env_get_encrypt_flags_reply reply;
00104 COMPQUIET(req, NULL);
00105
00106 __env_get_encrypt_flags_proc(msg->dbenvcl_id,
00107 &reply);
00108
00109 return (&reply);
00110 }
00111
00112 __env_get_flags_reply *
00113 __db_env_get_flags_4004__SVCSUFFIX__(msg, req)
00114 __env_get_flags_msg *msg;
00115 struct svc_req *req;
00116 {
00117 static __env_get_flags_reply reply;
00118 COMPQUIET(req, NULL);
00119
00120 __env_get_flags_proc(msg->dbenvcl_id,
00121 &reply);
00122
00123 return (&reply);
00124 }
00125
00126 __env_get_home_reply *
00127 __db_env_get_home_4004__SVCSUFFIX__(msg, req)
00128 __env_get_home_msg *msg;
00129 struct svc_req *req;
00130 {
00131 static __env_get_home_reply reply;
00132 COMPQUIET(req, NULL);
00133
00134 __env_get_home_proc(msg->dbenvcl_id,
00135 &reply);
00136
00137 return (&reply);
00138 }
00139
00140 __env_get_open_flags_reply *
00141 __db_env_get_open_flags_4004__SVCSUFFIX__(msg, req)
00142 __env_get_open_flags_msg *msg;
00143 struct svc_req *req;
00144 {
00145 static __env_get_open_flags_reply reply;
00146 COMPQUIET(req, NULL);
00147
00148 __env_get_open_flags_proc(msg->dbenvcl_id,
00149 &reply);
00150
00151 return (&reply);
00152 }
00153
00154 __env_open_reply *
00155 __db_env_open_4004__SVCSUFFIX__(msg, req)
00156 __env_open_msg *msg;
00157 struct svc_req *req;
00158 {
00159 static __env_open_reply reply;
00160 COMPQUIET(req, NULL);
00161
00162 __env_open_proc(msg->dbenvcl_id,
00163 (*msg->home == '\0') ? NULL : msg->home,
00164 msg->flags,
00165 msg->mode,
00166 &reply);
00167
00168 return (&reply);
00169 }
00170
00171 __env_remove_reply *
00172 __db_env_remove_4004__SVCSUFFIX__(msg, req)
00173 __env_remove_msg *msg;
00174 struct svc_req *req;
00175 {
00176 static __env_remove_reply reply;
00177 COMPQUIET(req, NULL);
00178
00179 __env_remove_proc(msg->dbenvcl_id,
00180 (*msg->home == '\0') ? NULL : msg->home,
00181 msg->flags,
00182 &reply);
00183
00184 return (&reply);
00185 }
00186
00187 __env_set_cachesize_reply *
00188 __db_env_set_cachesize_4004__SVCSUFFIX__(msg, req)
00189 __env_set_cachesize_msg *msg;
00190 struct svc_req *req;
00191 {
00192 static __env_set_cachesize_reply reply;
00193 COMPQUIET(req, NULL);
00194
00195 __env_set_cachesize_proc(msg->dbenvcl_id,
00196 msg->gbytes,
00197 msg->bytes,
00198 msg->ncache,
00199 &reply);
00200
00201 return (&reply);
00202 }
00203
00204 __env_set_encrypt_reply *
00205 __db_env_set_encrypt_4004__SVCSUFFIX__(msg, req)
00206 __env_set_encrypt_msg *msg;
00207 struct svc_req *req;
00208 {
00209 static __env_set_encrypt_reply reply;
00210 COMPQUIET(req, NULL);
00211
00212 __env_set_encrypt_proc(msg->dbenvcl_id,
00213 (*msg->passwd == '\0') ? NULL : msg->passwd,
00214 msg->flags,
00215 &reply);
00216
00217 return (&reply);
00218 }
00219
00220 __env_set_flags_reply *
00221 __db_env_set_flags_4004__SVCSUFFIX__(msg, req)
00222 __env_set_flags_msg *msg;
00223 struct svc_req *req;
00224 {
00225 static __env_set_flags_reply reply;
00226 COMPQUIET(req, NULL);
00227
00228 __env_set_flags_proc(msg->dbenvcl_id,
00229 msg->flags,
00230 msg->onoff,
00231 &reply);
00232
00233 return (&reply);
00234 }
00235
00236 __env_txn_begin_reply *
00237 __db_env_txn_begin_4004__SVCSUFFIX__(msg, req)
00238 __env_txn_begin_msg *msg;
00239 struct svc_req *req;
00240 {
00241 static __env_txn_begin_reply reply;
00242 COMPQUIET(req, NULL);
00243
00244 __env_txn_begin_proc(msg->dbenvcl_id,
00245 msg->parentcl_id,
00246 msg->flags,
00247 &reply);
00248
00249 return (&reply);
00250 }
00251
00252 __env_txn_recover_reply *
00253 __db_env_txn_recover_4004__SVCSUFFIX__(msg, req)
00254 __env_txn_recover_msg *msg;
00255 struct svc_req *req;
00256 {
00257 static __env_txn_recover_reply reply;
00258 static int __env_txn_recover_free = 0;
00259
00260 COMPQUIET(req, NULL);
00261 if (__env_txn_recover_free)
00262 xdr_free((xdrproc_t)xdr___env_txn_recover_reply, (void *)&reply);
00263 __env_txn_recover_free = 0;
00264
00265
00266 reply.txn.txn_val = NULL;
00267 reply.gid.gid_val = NULL;
00268
00269 __env_txn_recover_proc(msg->dbenvcl_id,
00270 msg->count,
00271 msg->flags,
00272 &reply,
00273 &__env_txn_recover_free);
00274 return (&reply);
00275 }
00276
00277 __db_create_reply *
00278 __db_db_create_4004__SVCSUFFIX__(msg, req)
00279 __db_create_msg *msg;
00280 struct svc_req *req;
00281 {
00282 static __db_create_reply reply;
00283 COMPQUIET(req, NULL);
00284
00285 __db_create_proc(msg->dbenvcl_id,
00286 msg->flags,
00287 &reply);
00288
00289 return (&reply);
00290 }
00291
00292 __db_associate_reply *
00293 __db_db_associate_4004__SVCSUFFIX__(msg, req)
00294 __db_associate_msg *msg;
00295 struct svc_req *req;
00296 {
00297 static __db_associate_reply reply;
00298 COMPQUIET(req, NULL);
00299
00300 __db_associate_proc(msg->dbpcl_id,
00301 msg->txnpcl_id,
00302 msg->sdbpcl_id,
00303 msg->flags,
00304 &reply);
00305
00306 return (&reply);
00307 }
00308
00309 __db_close_reply *
00310 __db_db_close_4004__SVCSUFFIX__(msg, req)
00311 __db_close_msg *msg;
00312 struct svc_req *req;
00313 {
00314 static __db_close_reply reply;
00315 COMPQUIET(req, NULL);
00316
00317 __db_close_proc(msg->dbpcl_id,
00318 msg->flags,
00319 &reply);
00320
00321 return (&reply);
00322 }
00323
00324 __db_cursor_reply *
00325 __db_db_cursor_4004__SVCSUFFIX__(msg, req)
00326 __db_cursor_msg *msg;
00327 struct svc_req *req;
00328 {
00329 static __db_cursor_reply reply;
00330 COMPQUIET(req, NULL);
00331
00332 __db_cursor_proc(msg->dbpcl_id,
00333 msg->txnpcl_id,
00334 msg->flags,
00335 &reply);
00336
00337 return (&reply);
00338 }
00339
00340 __db_del_reply *
00341 __db_db_del_4004__SVCSUFFIX__(msg, req)
00342 __db_del_msg *msg;
00343 struct svc_req *req;
00344 {
00345 static __db_del_reply reply;
00346 COMPQUIET(req, NULL);
00347
00348 __db_del_proc(msg->dbpcl_id,
00349 msg->txnpcl_id,
00350 msg->keydlen,
00351 msg->keydoff,
00352 msg->keyulen,
00353 msg->keyflags,
00354 msg->keydata.keydata_val,
00355 msg->keydata.keydata_len,
00356 msg->flags,
00357 &reply);
00358
00359 return (&reply);
00360 }
00361
00362 __db_get_reply *
00363 __db_db_get_4004__SVCSUFFIX__(msg, req)
00364 __db_get_msg *msg;
00365 struct svc_req *req;
00366 {
00367 static __db_get_reply reply;
00368 static int __db_get_free = 0;
00369
00370 COMPQUIET(req, NULL);
00371 if (__db_get_free)
00372 xdr_free((xdrproc_t)xdr___db_get_reply, (void *)&reply);
00373 __db_get_free = 0;
00374
00375
00376 reply.keydata.keydata_val = NULL;
00377 reply.datadata.datadata_val = NULL;
00378
00379 __db_get_proc(msg->dbpcl_id,
00380 msg->txnpcl_id,
00381 msg->keydlen,
00382 msg->keydoff,
00383 msg->keyulen,
00384 msg->keyflags,
00385 msg->keydata.keydata_val,
00386 msg->keydata.keydata_len,
00387 msg->datadlen,
00388 msg->datadoff,
00389 msg->dataulen,
00390 msg->dataflags,
00391 msg->datadata.datadata_val,
00392 msg->datadata.datadata_len,
00393 msg->flags,
00394 &reply,
00395 &__db_get_free);
00396 return (&reply);
00397 }
00398
00399 __db_get_bt_minkey_reply *
00400 __db_db_get_bt_minkey_4004__SVCSUFFIX__(msg, req)
00401 __db_get_bt_minkey_msg *msg;
00402 struct svc_req *req;
00403 {
00404 static __db_get_bt_minkey_reply reply;
00405 COMPQUIET(req, NULL);
00406
00407 __db_get_bt_minkey_proc(msg->dbpcl_id,
00408 &reply);
00409
00410 return (&reply);
00411 }
00412
00413 __db_get_dbname_reply *
00414 __db_db_get_dbname_4004__SVCSUFFIX__(msg, req)
00415 __db_get_dbname_msg *msg;
00416 struct svc_req *req;
00417 {
00418 static __db_get_dbname_reply reply;
00419 COMPQUIET(req, NULL);
00420
00421 __db_get_dbname_proc(msg->dbpcl_id,
00422 &reply);
00423
00424 return (&reply);
00425 }
00426
00427 __db_get_encrypt_flags_reply *
00428 __db_db_get_encrypt_flags_4004__SVCSUFFIX__(msg, req)
00429 __db_get_encrypt_flags_msg *msg;
00430 struct svc_req *req;
00431 {
00432 static __db_get_encrypt_flags_reply reply;
00433 COMPQUIET(req, NULL);
00434
00435 __db_get_encrypt_flags_proc(msg->dbpcl_id,
00436 &reply);
00437
00438 return (&reply);
00439 }
00440
00441 __db_get_flags_reply *
00442 __db_db_get_flags_4004__SVCSUFFIX__(msg, req)
00443 __db_get_flags_msg *msg;
00444 struct svc_req *req;
00445 {
00446 static __db_get_flags_reply reply;
00447 COMPQUIET(req, NULL);
00448
00449 __db_get_flags_proc(msg->dbpcl_id,
00450 &reply);
00451
00452 return (&reply);
00453 }
00454
00455 __db_get_h_ffactor_reply *
00456 __db_db_get_h_ffactor_4004__SVCSUFFIX__(msg, req)
00457 __db_get_h_ffactor_msg *msg;
00458 struct svc_req *req;
00459 {
00460 static __db_get_h_ffactor_reply reply;
00461 COMPQUIET(req, NULL);
00462
00463 __db_get_h_ffactor_proc(msg->dbpcl_id,
00464 &reply);
00465
00466 return (&reply);
00467 }
00468
00469 __db_get_h_nelem_reply *
00470 __db_db_get_h_nelem_4004__SVCSUFFIX__(msg, req)
00471 __db_get_h_nelem_msg *msg;
00472 struct svc_req *req;
00473 {
00474 static __db_get_h_nelem_reply reply;
00475 COMPQUIET(req, NULL);
00476
00477 __db_get_h_nelem_proc(msg->dbpcl_id,
00478 &reply);
00479
00480 return (&reply);
00481 }
00482
00483 __db_get_lorder_reply *
00484 __db_db_get_lorder_4004__SVCSUFFIX__(msg, req)
00485 __db_get_lorder_msg *msg;
00486 struct svc_req *req;
00487 {
00488 static __db_get_lorder_reply reply;
00489 COMPQUIET(req, NULL);
00490
00491 __db_get_lorder_proc(msg->dbpcl_id,
00492 &reply);
00493
00494 return (&reply);
00495 }
00496
00497 __db_get_open_flags_reply *
00498 __db_db_get_open_flags_4004__SVCSUFFIX__(msg, req)
00499 __db_get_open_flags_msg *msg;
00500 struct svc_req *req;
00501 {
00502 static __db_get_open_flags_reply reply;
00503 COMPQUIET(req, NULL);
00504
00505 __db_get_open_flags_proc(msg->dbpcl_id,
00506 &reply);
00507
00508 return (&reply);
00509 }
00510
00511 __db_get_pagesize_reply *
00512 __db_db_get_pagesize_4004__SVCSUFFIX__(msg, req)
00513 __db_get_pagesize_msg *msg;
00514 struct svc_req *req;
00515 {
00516 static __db_get_pagesize_reply reply;
00517 COMPQUIET(req, NULL);
00518
00519 __db_get_pagesize_proc(msg->dbpcl_id,
00520 &reply);
00521
00522 return (&reply);
00523 }
00524
00525 __db_get_q_extentsize_reply *
00526 __db_db_get_q_extentsize_4004__SVCSUFFIX__(msg, req)
00527 __db_get_q_extentsize_msg *msg;
00528 struct svc_req *req;
00529 {
00530 static __db_get_q_extentsize_reply reply;
00531 COMPQUIET(req, NULL);
00532
00533 __db_get_q_extentsize_proc(msg->dbpcl_id,
00534 &reply);
00535
00536 return (&reply);
00537 }
00538
00539 __db_get_re_delim_reply *
00540 __db_db_get_re_delim_4004__SVCSUFFIX__(msg, req)
00541 __db_get_re_delim_msg *msg;
00542 struct svc_req *req;
00543 {
00544 static __db_get_re_delim_reply reply;
00545 COMPQUIET(req, NULL);
00546
00547 __db_get_re_delim_proc(msg->dbpcl_id,
00548 &reply);
00549
00550 return (&reply);
00551 }
00552
00553 __db_get_re_len_reply *
00554 __db_db_get_re_len_4004__SVCSUFFIX__(msg, req)
00555 __db_get_re_len_msg *msg;
00556 struct svc_req *req;
00557 {
00558 static __db_get_re_len_reply reply;
00559 COMPQUIET(req, NULL);
00560
00561 __db_get_re_len_proc(msg->dbpcl_id,
00562 &reply);
00563
00564 return (&reply);
00565 }
00566
00567 __db_get_re_pad_reply *
00568 __db_db_get_re_pad_4004__SVCSUFFIX__(msg, req)
00569 __db_get_re_pad_msg *msg;
00570 struct svc_req *req;
00571 {
00572 static __db_get_re_pad_reply reply;
00573 COMPQUIET(req, NULL);
00574
00575 __db_get_re_pad_proc(msg->dbpcl_id,
00576 &reply);
00577
00578 return (&reply);
00579 }
00580
00581 __db_join_reply *
00582 __db_db_join_4004__SVCSUFFIX__(msg, req)
00583 __db_join_msg *msg;
00584 struct svc_req *req;
00585 {
00586 static __db_join_reply reply;
00587 COMPQUIET(req, NULL);
00588
00589 __db_join_proc(msg->dbpcl_id,
00590 msg->curs.curs_val,
00591 msg->curs.curs_len,
00592 msg->flags,
00593 &reply);
00594
00595 return (&reply);
00596 }
00597
00598 __db_key_range_reply *
00599 __db_db_key_range_4004__SVCSUFFIX__(msg, req)
00600 __db_key_range_msg *msg;
00601 struct svc_req *req;
00602 {
00603 static __db_key_range_reply reply;
00604 COMPQUIET(req, NULL);
00605
00606 __db_key_range_proc(msg->dbpcl_id,
00607 msg->txnpcl_id,
00608 msg->keydlen,
00609 msg->keydoff,
00610 msg->keyulen,
00611 msg->keyflags,
00612 msg->keydata.keydata_val,
00613 msg->keydata.keydata_len,
00614 msg->flags,
00615 &reply);
00616
00617 return (&reply);
00618 }
00619
00620 __db_open_reply *
00621 __db_db_open_4004__SVCSUFFIX__(msg, req)
00622 __db_open_msg *msg;
00623 struct svc_req *req;
00624 {
00625 static __db_open_reply reply;
00626 COMPQUIET(req, NULL);
00627
00628 __db_open_proc(msg->dbpcl_id,
00629 msg->txnpcl_id,
00630 (*msg->name == '\0') ? NULL : msg->name,
00631 (*msg->subdb == '\0') ? NULL : msg->subdb,
00632 msg->type,
00633 msg->flags,
00634 msg->mode,
00635 &reply);
00636
00637 return (&reply);
00638 }
00639
00640 __db_pget_reply *
00641 __db_db_pget_4004__SVCSUFFIX__(msg, req)
00642 __db_pget_msg *msg;
00643 struct svc_req *req;
00644 {
00645 static __db_pget_reply reply;
00646 static int __db_pget_free = 0;
00647
00648 COMPQUIET(req, NULL);
00649 if (__db_pget_free)
00650 xdr_free((xdrproc_t)xdr___db_pget_reply, (void *)&reply);
00651 __db_pget_free = 0;
00652
00653
00654 reply.skeydata.skeydata_val = NULL;
00655 reply.pkeydata.pkeydata_val = NULL;
00656 reply.datadata.datadata_val = NULL;
00657
00658 __db_pget_proc(msg->dbpcl_id,
00659 msg->txnpcl_id,
00660 msg->skeydlen,
00661 msg->skeydoff,
00662 msg->skeyulen,
00663 msg->skeyflags,
00664 msg->skeydata.skeydata_val,
00665 msg->skeydata.skeydata_len,
00666 msg->pkeydlen,
00667 msg->pkeydoff,
00668 msg->pkeyulen,
00669 msg->pkeyflags,
00670 msg->pkeydata.pkeydata_val,
00671 msg->pkeydata.pkeydata_len,
00672 msg->datadlen,
00673 msg->datadoff,
00674 msg->dataulen,
00675 msg->dataflags,
00676 msg->datadata.datadata_val,
00677 msg->datadata.datadata_len,
00678 msg->flags,
00679 &reply,
00680 &__db_pget_free);
00681 return (&reply);
00682 }
00683
00684 __db_put_reply *
00685 __db_db_put_4004__SVCSUFFIX__(msg, req)
00686 __db_put_msg *msg;
00687 struct svc_req *req;
00688 {
00689 static __db_put_reply reply;
00690 static int __db_put_free = 0;
00691
00692 COMPQUIET(req, NULL);
00693 if (__db_put_free)
00694 xdr_free((xdrproc_t)xdr___db_put_reply, (void *)&reply);
00695 __db_put_free = 0;
00696
00697
00698 reply.keydata.keydata_val = NULL;
00699
00700 __db_put_proc(msg->dbpcl_id,
00701 msg->txnpcl_id,
00702 msg->keydlen,
00703 msg->keydoff,
00704 msg->keyulen,
00705 msg->keyflags,
00706 msg->keydata.keydata_val,
00707 msg->keydata.keydata_len,
00708 msg->datadlen,
00709 msg->datadoff,
00710 msg->dataulen,
00711 msg->dataflags,
00712 msg->datadata.datadata_val,
00713 msg->datadata.datadata_len,
00714 msg->flags,
00715 &reply,
00716 &__db_put_free);
00717 return (&reply);
00718 }
00719
00720 __db_remove_reply *
00721 __db_db_remove_4004__SVCSUFFIX__(msg, req)
00722 __db_remove_msg *msg;
00723 struct svc_req *req;
00724 {
00725 static __db_remove_reply reply;
00726 COMPQUIET(req, NULL);
00727
00728 __db_remove_proc(msg->dbpcl_id,
00729 (*msg->name == '\0') ? NULL : msg->name,
00730 (*msg->subdb == '\0') ? NULL : msg->subdb,
00731 msg->flags,
00732 &reply);
00733
00734 return (&reply);
00735 }
00736
00737 __db_rename_reply *
00738 __db_db_rename_4004__SVCSUFFIX__(msg, req)
00739 __db_rename_msg *msg;
00740 struct svc_req *req;
00741 {
00742 static __db_rename_reply reply;
00743 COMPQUIET(req, NULL);
00744
00745 __db_rename_proc(msg->dbpcl_id,
00746 (*msg->name == '\0') ? NULL : msg->name,
00747 (*msg->subdb == '\0') ? NULL : msg->subdb,
00748 (*msg->newname == '\0') ? NULL : msg->newname,
00749 msg->flags,
00750 &reply);
00751
00752 return (&reply);
00753 }
00754
00755 __db_set_bt_minkey_reply *
00756 __db_db_set_bt_minkey_4004__SVCSUFFIX__(msg, req)
00757 __db_set_bt_minkey_msg *msg;
00758 struct svc_req *req;
00759 {
00760 static __db_set_bt_minkey_reply reply;
00761 COMPQUIET(req, NULL);
00762
00763 __db_set_bt_minkey_proc(msg->dbpcl_id,
00764 msg->minkey,
00765 &reply);
00766
00767 return (&reply);
00768 }
00769
00770 __db_set_encrypt_reply *
00771 __db_db_set_encrypt_4004__SVCSUFFIX__(msg, req)
00772 __db_set_encrypt_msg *msg;
00773 struct svc_req *req;
00774 {
00775 static __db_set_encrypt_reply reply;
00776 COMPQUIET(req, NULL);
00777
00778 __db_set_encrypt_proc(msg->dbpcl_id,
00779 (*msg->passwd == '\0') ? NULL : msg->passwd,
00780 msg->flags,
00781 &reply);
00782
00783 return (&reply);
00784 }
00785
00786 __db_set_flags_reply *
00787 __db_db_set_flags_4004__SVCSUFFIX__(msg, req)
00788 __db_set_flags_msg *msg;
00789 struct svc_req *req;
00790 {
00791 static __db_set_flags_reply reply;
00792 COMPQUIET(req, NULL);
00793
00794 __db_set_flags_proc(msg->dbpcl_id,
00795 msg->flags,
00796 &reply);
00797
00798 return (&reply);
00799 }
00800
00801 __db_set_h_ffactor_reply *
00802 __db_db_set_h_ffactor_4004__SVCSUFFIX__(msg, req)
00803 __db_set_h_ffactor_msg *msg;
00804 struct svc_req *req;
00805 {
00806 static __db_set_h_ffactor_reply reply;
00807 COMPQUIET(req, NULL);
00808
00809 __db_set_h_ffactor_proc(msg->dbpcl_id,
00810 msg->ffactor,
00811 &reply);
00812
00813 return (&reply);
00814 }
00815
00816 __db_set_h_nelem_reply *
00817 __db_db_set_h_nelem_4004__SVCSUFFIX__(msg, req)
00818 __db_set_h_nelem_msg *msg;
00819 struct svc_req *req;
00820 {
00821 static __db_set_h_nelem_reply reply;
00822 COMPQUIET(req, NULL);
00823
00824 __db_set_h_nelem_proc(msg->dbpcl_id,
00825 msg->nelem,
00826 &reply);
00827
00828 return (&reply);
00829 }
00830
00831 __db_set_lorder_reply *
00832 __db_db_set_lorder_4004__SVCSUFFIX__(msg, req)
00833 __db_set_lorder_msg *msg;
00834 struct svc_req *req;
00835 {
00836 static __db_set_lorder_reply reply;
00837 COMPQUIET(req, NULL);
00838
00839 __db_set_lorder_proc(msg->dbpcl_id,
00840 msg->lorder,
00841 &reply);
00842
00843 return (&reply);
00844 }
00845
00846 __db_set_pagesize_reply *
00847 __db_db_set_pagesize_4004__SVCSUFFIX__(msg, req)
00848 __db_set_pagesize_msg *msg;
00849 struct svc_req *req;
00850 {
00851 static __db_set_pagesize_reply reply;
00852 COMPQUIET(req, NULL);
00853
00854 __db_set_pagesize_proc(msg->dbpcl_id,
00855 msg->pagesize,
00856 &reply);
00857
00858 return (&reply);
00859 }
00860
00861 __db_set_q_extentsize_reply *
00862 __db_db_set_q_extentsize_4004__SVCSUFFIX__(msg, req)
00863 __db_set_q_extentsize_msg *msg;
00864 struct svc_req *req;
00865 {
00866 static __db_set_q_extentsize_reply reply;
00867 COMPQUIET(req, NULL);
00868
00869 __db_set_q_extentsize_proc(msg->dbpcl_id,
00870 msg->extentsize,
00871 &reply);
00872
00873 return (&reply);
00874 }
00875
00876 __db_set_re_delim_reply *
00877 __db_db_set_re_delim_4004__SVCSUFFIX__(msg, req)
00878 __db_set_re_delim_msg *msg;
00879 struct svc_req *req;
00880 {
00881 static __db_set_re_delim_reply reply;
00882 COMPQUIET(req, NULL);
00883
00884 __db_set_re_delim_proc(msg->dbpcl_id,
00885 msg->delim,
00886 &reply);
00887
00888 return (&reply);
00889 }
00890
00891 __db_set_re_len_reply *
00892 __db_db_set_re_len_4004__SVCSUFFIX__(msg, req)
00893 __db_set_re_len_msg *msg;
00894 struct svc_req *req;
00895 {
00896 static __db_set_re_len_reply reply;
00897 COMPQUIET(req, NULL);
00898
00899 __db_set_re_len_proc(msg->dbpcl_id,
00900 msg->len,
00901 &reply);
00902
00903 return (&reply);
00904 }
00905
00906 __db_set_re_pad_reply *
00907 __db_db_set_re_pad_4004__SVCSUFFIX__(msg, req)
00908 __db_set_re_pad_msg *msg;
00909 struct svc_req *req;
00910 {
00911 static __db_set_re_pad_reply reply;
00912 COMPQUIET(req, NULL);
00913
00914 __db_set_re_pad_proc(msg->dbpcl_id,
00915 msg->pad,
00916 &reply);
00917
00918 return (&reply);
00919 }
00920
00921 __db_stat_reply *
00922 __db_db_stat_4004__SVCSUFFIX__(msg, req)
00923 __db_stat_msg *msg;
00924 struct svc_req *req;
00925 {
00926 static __db_stat_reply reply;
00927 static int __db_stat_free = 0;
00928
00929 COMPQUIET(req, NULL);
00930 if (__db_stat_free)
00931 xdr_free((xdrproc_t)xdr___db_stat_reply, (void *)&reply);
00932 __db_stat_free = 0;
00933
00934
00935 reply.stats.stats_val = NULL;
00936
00937 __db_stat_proc(msg->dbpcl_id,
00938 msg->txnpcl_id,
00939 msg->flags,
00940 &reply,
00941 &__db_stat_free);
00942 return (&reply);
00943 }
00944
00945 __db_sync_reply *
00946 __db_db_sync_4004__SVCSUFFIX__(msg, req)
00947 __db_sync_msg *msg;
00948 struct svc_req *req;
00949 {
00950 static __db_sync_reply reply;
00951 COMPQUIET(req, NULL);
00952
00953 __db_sync_proc(msg->dbpcl_id,
00954 msg->flags,
00955 &reply);
00956
00957 return (&reply);
00958 }
00959
00960 __db_truncate_reply *
00961 __db_db_truncate_4004__SVCSUFFIX__(msg, req)
00962 __db_truncate_msg *msg;
00963 struct svc_req *req;
00964 {
00965 static __db_truncate_reply reply;
00966 COMPQUIET(req, NULL);
00967
00968 __db_truncate_proc(msg->dbpcl_id,
00969 msg->txnpcl_id,
00970 msg->flags,
00971 &reply);
00972
00973 return (&reply);
00974 }
00975
00976 __dbc_c_close_reply *
00977 __db_dbc_c_close_4004__SVCSUFFIX__(msg, req)
00978 __dbc_c_close_msg *msg;
00979 struct svc_req *req;
00980 {
00981 static __dbc_c_close_reply reply;
00982 COMPQUIET(req, NULL);
00983
00984 __dbc_c_close_proc(msg->dbccl_id,
00985 &reply);
00986
00987 return (&reply);
00988 }
00989
00990 __dbc_c_count_reply *
00991 __db_dbc_c_count_4004__SVCSUFFIX__(msg, req)
00992 __dbc_c_count_msg *msg;
00993 struct svc_req *req;
00994 {
00995 static __dbc_c_count_reply reply;
00996 COMPQUIET(req, NULL);
00997
00998 __dbc_c_count_proc(msg->dbccl_id,
00999 msg->flags,
01000 &reply);
01001
01002 return (&reply);
01003 }
01004
01005 __dbc_c_del_reply *
01006 __db_dbc_c_del_4004__SVCSUFFIX__(msg, req)
01007 __dbc_c_del_msg *msg;
01008 struct svc_req *req;
01009 {
01010 static __dbc_c_del_reply reply;
01011 COMPQUIET(req, NULL);
01012
01013 __dbc_c_del_proc(msg->dbccl_id,
01014 msg->flags,
01015 &reply);
01016
01017 return (&reply);
01018 }
01019
01020 __dbc_c_dup_reply *
01021 __db_dbc_c_dup_4004__SVCSUFFIX__(msg, req)
01022 __dbc_c_dup_msg *msg;
01023 struct svc_req *req;
01024 {
01025 static __dbc_c_dup_reply reply;
01026 COMPQUIET(req, NULL);
01027
01028 __dbc_c_dup_proc(msg->dbccl_id,
01029 msg->flags,
01030 &reply);
01031
01032 return (&reply);
01033 }
01034
01035 __dbc_c_get_reply *
01036 __db_dbc_c_get_4004__SVCSUFFIX__(msg, req)
01037 __dbc_c_get_msg *msg;
01038 struct svc_req *req;
01039 {
01040 static __dbc_c_get_reply reply;
01041 static int __dbc_c_get_free = 0;
01042
01043 COMPQUIET(req, NULL);
01044 if (__dbc_c_get_free)
01045 xdr_free((xdrproc_t)xdr___dbc_c_get_reply, (void *)&reply);
01046 __dbc_c_get_free = 0;
01047
01048
01049 reply.keydata.keydata_val = NULL;
01050 reply.datadata.datadata_val = NULL;
01051
01052 __dbc_c_get_proc(msg->dbccl_id,
01053 msg->keydlen,
01054 msg->keydoff,
01055 msg->keyulen,
01056 msg->keyflags,
01057 msg->keydata.keydata_val,
01058 msg->keydata.keydata_len,
01059 msg->datadlen,
01060 msg->datadoff,
01061 msg->dataulen,
01062 msg->dataflags,
01063 msg->datadata.datadata_val,
01064 msg->datadata.datadata_len,
01065 msg->flags,
01066 &reply,
01067 &__dbc_c_get_free);
01068 return (&reply);
01069 }
01070
01071 __dbc_c_pget_reply *
01072 __db_dbc_c_pget_4004__SVCSUFFIX__(msg, req)
01073 __dbc_c_pget_msg *msg;
01074 struct svc_req *req;
01075 {
01076 static __dbc_c_pget_reply reply;
01077 static int __dbc_c_pget_free = 0;
01078
01079 COMPQUIET(req, NULL);
01080 if (__dbc_c_pget_free)
01081 xdr_free((xdrproc_t)xdr___dbc_c_pget_reply, (void *)&reply);
01082 __dbc_c_pget_free = 0;
01083
01084
01085 reply.skeydata.skeydata_val = NULL;
01086 reply.pkeydata.pkeydata_val = NULL;
01087 reply.datadata.datadata_val = NULL;
01088
01089 __dbc_c_pget_proc(msg->dbccl_id,
01090 msg->skeydlen,
01091 msg->skeydoff,
01092 msg->skeyulen,
01093 msg->skeyflags,
01094 msg->skeydata.skeydata_val,
01095 msg->skeydata.skeydata_len,
01096 msg->pkeydlen,
01097 msg->pkeydoff,
01098 msg->pkeyulen,
01099 msg->pkeyflags,
01100 msg->pkeydata.pkeydata_val,
01101 msg->pkeydata.pkeydata_len,
01102 msg->datadlen,
01103 msg->datadoff,
01104 msg->dataulen,
01105 msg->dataflags,
01106 msg->datadata.datadata_val,
01107 msg->datadata.datadata_len,
01108 msg->flags,
01109 &reply,
01110 &__dbc_c_pget_free);
01111 return (&reply);
01112 }
01113
01114 __dbc_c_put_reply *
01115 __db_dbc_c_put_4004__SVCSUFFIX__(msg, req)
01116 __dbc_c_put_msg *msg;
01117 struct svc_req *req;
01118 {
01119 static __dbc_c_put_reply reply;
01120 static int __dbc_c_put_free = 0;
01121
01122 COMPQUIET(req, NULL);
01123 if (__dbc_c_put_free)
01124 xdr_free((xdrproc_t)xdr___dbc_c_put_reply, (void *)&reply);
01125 __dbc_c_put_free = 0;
01126
01127
01128 reply.keydata.keydata_val = NULL;
01129
01130 __dbc_c_put_proc(msg->dbccl_id,
01131 msg->keydlen,
01132 msg->keydoff,
01133 msg->keyulen,
01134 msg->keyflags,
01135 msg->keydata.keydata_val,
01136 msg->keydata.keydata_len,
01137 msg->datadlen,
01138 msg->datadoff,
01139 msg->dataulen,
01140 msg->dataflags,
01141 msg->datadata.datadata_val,
01142 msg->datadata.datadata_len,
01143 msg->flags,
01144 &reply,
01145 &__dbc_c_put_free);
01146 return (&reply);
01147 }
01148
01149 __txn_abort_reply *
01150 __db_txn_abort_4004__SVCSUFFIX__(msg, req)
01151 __txn_abort_msg *msg;
01152 struct svc_req *req;
01153 {
01154 static __txn_abort_reply reply;
01155 COMPQUIET(req, NULL);
01156
01157 __txn_abort_proc(msg->txnpcl_id,
01158 &reply);
01159
01160 return (&reply);
01161 }
01162
01163 __txn_commit_reply *
01164 __db_txn_commit_4004__SVCSUFFIX__(msg, req)
01165 __txn_commit_msg *msg;
01166 struct svc_req *req;
01167 {
01168 static __txn_commit_reply reply;
01169 COMPQUIET(req, NULL);
01170
01171 __txn_commit_proc(msg->txnpcl_id,
01172 msg->flags,
01173 &reply);
01174
01175 return (&reply);
01176 }
01177
01178 __txn_discard_reply *
01179 __db_txn_discard_4004__SVCSUFFIX__(msg, req)
01180 __txn_discard_msg *msg;
01181 struct svc_req *req;
01182 {
01183 static __txn_discard_reply reply;
01184 COMPQUIET(req, NULL);
01185
01186 __txn_discard_proc(msg->txnpcl_id,
01187 msg->flags,
01188 &reply);
01189
01190 return (&reply);
01191 }
01192
01193 __txn_prepare_reply *
01194 __db_txn_prepare_4004__SVCSUFFIX__(msg, req)
01195 __txn_prepare_msg *msg;
01196 struct svc_req *req;
01197 {
01198 static __txn_prepare_reply reply;
01199 COMPQUIET(req, NULL);
01200
01201 __txn_prepare_proc(msg->txnpcl_id,
01202 (u_int8_t *)msg->gid,
01203 &reply);
01204
01205 return (&reply);
01206 }
01207