1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651
|
/* Do not edit: automatically built by gen_rpc.awk. */
struct __env_cachesize_msg {
unsigned int dbenvcl_id;
unsigned int gbytes;
unsigned int bytes;
unsigned int ncache;
};
struct __env_cachesize_reply {
int status;
};
struct __env_close_msg {
unsigned int dbenvcl_id;
unsigned int flags;
};
struct __env_close_reply {
int status;
};
struct __env_create_msg {
unsigned int timeout;
};
struct __env_create_reply {
int status;
unsigned int envcl_id;
};
struct __env_dbremove_msg {
unsigned int dbenvcl_id;
unsigned int txnpcl_id;
string name<>;
string subdb<>;
unsigned int flags;
};
struct __env_dbremove_reply {
int status;
};
struct __env_dbrename_msg {
unsigned int dbenvcl_id;
unsigned int txnpcl_id;
string name<>;
string subdb<>;
string newname<>;
unsigned int flags;
};
struct __env_dbrename_reply {
int status;
};
struct __env_encrypt_msg {
unsigned int dbenvcl_id;
string passwd<>;
unsigned int flags;
};
struct __env_encrypt_reply {
int status;
};
struct __env_flags_msg {
unsigned int dbenvcl_id;
unsigned int flags;
unsigned int onoff;
};
struct __env_flags_reply {
int status;
};
struct __env_open_msg {
unsigned int dbenvcl_id;
string home<>;
unsigned int flags;
unsigned int mode;
};
struct __env_open_reply {
int status;
unsigned int envcl_id;
};
struct __env_remove_msg {
unsigned int dbenvcl_id;
string home<>;
unsigned int flags;
};
struct __env_remove_reply {
int status;
};
struct __txn_abort_msg {
unsigned int txnpcl_id;
};
struct __txn_abort_reply {
int status;
};
struct __txn_begin_msg {
unsigned int dbenvcl_id;
unsigned int parentcl_id;
unsigned int flags;
};
struct __txn_begin_reply {
int status;
unsigned int txnidcl_id;
};
struct __txn_commit_msg {
unsigned int txnpcl_id;
unsigned int flags;
};
struct __txn_commit_reply {
int status;
};
struct __txn_discard_msg {
unsigned int txnpcl_id;
unsigned int flags;
};
struct __txn_discard_reply {
int status;
};
struct __txn_prepare_msg {
unsigned int txnpcl_id;
opaque gid[128];
};
struct __txn_prepare_reply {
int status;
};
struct __txn_recover_msg {
unsigned int dbenvcl_id;
unsigned int count;
unsigned int flags;
};
struct __txn_recover_reply {
int status;
unsigned int txn<>;
opaque gid<>;
unsigned int retcount;
};
struct __db_associate_msg {
unsigned int dbpcl_id;
unsigned int txnpcl_id;
unsigned int sdbpcl_id;
unsigned int flags;
};
struct __db_associate_reply {
int status;
};
struct __db_bt_maxkey_msg {
unsigned int dbpcl_id;
unsigned int maxkey;
};
struct __db_bt_maxkey_reply {
int status;
};
struct __db_bt_minkey_msg {
unsigned int dbpcl_id;
unsigned int minkey;
};
struct __db_bt_minkey_reply {
int status;
};
struct __db_close_msg {
unsigned int dbpcl_id;
unsigned int flags;
};
struct __db_close_reply {
int status;
};
struct __db_create_msg {
unsigned int dbenvcl_id;
unsigned int flags;
};
struct __db_create_reply {
int status;
unsigned int dbcl_id;
};
struct __db_del_msg {
unsigned int dbpcl_id;
unsigned int txnpcl_id;
unsigned int keydlen;
unsigned int keydoff;
unsigned int keyulen;
unsigned int keyflags;
opaque keydata<>;
unsigned int flags;
};
struct __db_del_reply {
int status;
};
struct __db_encrypt_msg {
unsigned int dbpcl_id;
string passwd<>;
unsigned int flags;
};
struct __db_encrypt_reply {
int status;
};
struct __db_extentsize_msg {
unsigned int dbpcl_id;
unsigned int extentsize;
};
struct __db_extentsize_reply {
int status;
};
struct __db_flags_msg {
unsigned int dbpcl_id;
unsigned int flags;
};
struct __db_flags_reply {
int status;
};
struct __db_get_msg {
unsigned int dbpcl_id;
unsigned int txnpcl_id;
unsigned int keydlen;
unsigned int keydoff;
unsigned int keyulen;
unsigned int keyflags;
opaque keydata<>;
unsigned int datadlen;
unsigned int datadoff;
unsigned int dataulen;
unsigned int dataflags;
opaque datadata<>;
unsigned int flags;
};
struct __db_get_reply {
int status;
opaque keydata<>;
opaque datadata<>;
};
struct __db_h_ffactor_msg {
unsigned int dbpcl_id;
unsigned int ffactor;
};
struct __db_h_ffactor_reply {
int status;
};
struct __db_h_nelem_msg {
unsigned int dbpcl_id;
unsigned int nelem;
};
struct __db_h_nelem_reply {
int status;
};
struct __db_key_range_msg {
unsigned int dbpcl_id;
unsigned int txnpcl_id;
unsigned int keydlen;
unsigned int keydoff;
unsigned int keyulen;
unsigned int keyflags;
opaque keydata<>;
unsigned int flags;
};
struct __db_key_range_reply {
int status;
double less;
double equal;
double greater;
};
struct __db_lorder_msg {
unsigned int dbpcl_id;
unsigned int lorder;
};
struct __db_lorder_reply {
int status;
};
struct __db_open_msg {
unsigned int dbpcl_id;
unsigned int txnpcl_id;
string name<>;
string subdb<>;
unsigned int type;
unsigned int flags;
unsigned int mode;
};
struct __db_open_reply {
int status;
unsigned int dbcl_id;
unsigned int type;
unsigned int dbflags;
unsigned int lorder;
};
struct __db_pagesize_msg {
unsigned int dbpcl_id;
unsigned int pagesize;
};
struct __db_pagesize_reply {
int status;
};
struct __db_pget_msg {
unsigned int dbpcl_id;
unsigned int txnpcl_id;
unsigned int skeydlen;
unsigned int skeydoff;
unsigned int skeyulen;
unsigned int skeyflags;
opaque skeydata<>;
unsigned int pkeydlen;
unsigned int pkeydoff;
unsigned int pkeyulen;
unsigned int pkeyflags;
opaque pkeydata<>;
unsigned int datadlen;
unsigned int datadoff;
unsigned int dataulen;
unsigned int dataflags;
opaque datadata<>;
unsigned int flags;
};
struct __db_pget_reply {
int status;
opaque skeydata<>;
opaque pkeydata<>;
opaque datadata<>;
};
struct __db_put_msg {
unsigned int dbpcl_id;
unsigned int txnpcl_id;
unsigned int keydlen;
unsigned int keydoff;
unsigned int keyulen;
unsigned int keyflags;
opaque keydata<>;
unsigned int datadlen;
unsigned int datadoff;
unsigned int dataulen;
unsigned int dataflags;
opaque datadata<>;
unsigned int flags;
};
struct __db_put_reply {
int status;
opaque keydata<>;
};
struct __db_re_delim_msg {
unsigned int dbpcl_id;
unsigned int delim;
};
struct __db_re_delim_reply {
int status;
};
struct __db_re_len_msg {
unsigned int dbpcl_id;
unsigned int len;
};
struct __db_re_len_reply {
int status;
};
struct __db_re_pad_msg {
unsigned int dbpcl_id;
unsigned int pad;
};
struct __db_re_pad_reply {
int status;
};
struct __db_remove_msg {
unsigned int dbpcl_id;
string name<>;
string subdb<>;
unsigned int flags;
};
struct __db_remove_reply {
int status;
};
struct __db_rename_msg {
unsigned int dbpcl_id;
string name<>;
string subdb<>;
string newname<>;
unsigned int flags;
};
struct __db_rename_reply {
int status;
};
struct __db_stat_msg {
unsigned int dbpcl_id;
unsigned int flags;
};
struct __db_stat_reply {
int status;
unsigned int stats<>;
};
struct __db_sync_msg {
unsigned int dbpcl_id;
unsigned int flags;
};
struct __db_sync_reply {
int status;
};
struct __db_truncate_msg {
unsigned int dbpcl_id;
unsigned int txnpcl_id;
unsigned int flags;
};
struct __db_truncate_reply {
int status;
unsigned int count;
};
struct __db_cursor_msg {
unsigned int dbpcl_id;
unsigned int txnpcl_id;
unsigned int flags;
};
struct __db_cursor_reply {
int status;
unsigned int dbcidcl_id;
};
struct __db_join_msg {
unsigned int dbpcl_id;
unsigned int curs<>;
unsigned int flags;
};
struct __db_join_reply {
int status;
unsigned int dbcidcl_id;
};
struct __dbc_close_msg {
unsigned int dbccl_id;
};
struct __dbc_close_reply {
int status;
};
struct __dbc_count_msg {
unsigned int dbccl_id;
unsigned int flags;
};
struct __dbc_count_reply {
int status;
unsigned int dupcount;
};
struct __dbc_del_msg {
unsigned int dbccl_id;
unsigned int flags;
};
struct __dbc_del_reply {
int status;
};
struct __dbc_dup_msg {
unsigned int dbccl_id;
unsigned int flags;
};
struct __dbc_dup_reply {
int status;
unsigned int dbcidcl_id;
};
struct __dbc_get_msg {
unsigned int dbccl_id;
unsigned int keydlen;
unsigned int keydoff;
unsigned int keyulen;
unsigned int keyflags;
opaque keydata<>;
unsigned int datadlen;
unsigned int datadoff;
unsigned int dataulen;
unsigned int dataflags;
opaque datadata<>;
unsigned int flags;
};
struct __dbc_get_reply {
int status;
opaque keydata<>;
opaque datadata<>;
};
struct __dbc_pget_msg {
unsigned int dbccl_id;
unsigned int skeydlen;
unsigned int skeydoff;
unsigned int skeyulen;
unsigned int skeyflags;
opaque skeydata<>;
unsigned int pkeydlen;
unsigned int pkeydoff;
unsigned int pkeyulen;
unsigned int pkeyflags;
opaque pkeydata<>;
unsigned int datadlen;
unsigned int datadoff;
unsigned int dataulen;
unsigned int dataflags;
opaque datadata<>;
unsigned int flags;
};
struct __dbc_pget_reply {
int status;
opaque skeydata<>;
opaque pkeydata<>;
opaque datadata<>;
};
struct __dbc_put_msg {
unsigned int dbccl_id;
unsigned int keydlen;
unsigned int keydoff;
unsigned int keyulen;
unsigned int keyflags;
opaque keydata<>;
unsigned int datadlen;
unsigned int datadoff;
unsigned int dataulen;
unsigned int dataflags;
opaque datadata<>;
unsigned int flags;
};
struct __dbc_put_reply {
int status;
opaque keydata<>;
};
program DB_RPC_SERVERPROG {
version DB_RPC_SERVERVERS {
__env_cachesize_reply __DB_env_cachesize(__env_cachesize_msg) = 1;
__env_close_reply __DB_env_close(__env_close_msg) = 2;
__env_create_reply __DB_env_create(__env_create_msg) = 3;
__env_dbremove_reply __DB_env_dbremove(__env_dbremove_msg) = 4;
__env_dbrename_reply __DB_env_dbrename(__env_dbrename_msg) = 5;
__env_encrypt_reply __DB_env_encrypt(__env_encrypt_msg) = 6;
__env_flags_reply __DB_env_flags(__env_flags_msg) = 7;
__env_open_reply __DB_env_open(__env_open_msg) = 8;
__env_remove_reply __DB_env_remove(__env_remove_msg) = 9;
__txn_abort_reply __DB_txn_abort(__txn_abort_msg) = 10;
__txn_begin_reply __DB_txn_begin(__txn_begin_msg) = 11;
__txn_commit_reply __DB_txn_commit(__txn_commit_msg) = 12;
__txn_discard_reply __DB_txn_discard(__txn_discard_msg) = 13;
__txn_prepare_reply __DB_txn_prepare(__txn_prepare_msg) = 14;
__txn_recover_reply __DB_txn_recover(__txn_recover_msg) = 15;
__db_associate_reply __DB_db_associate(__db_associate_msg) = 16;
__db_bt_maxkey_reply __DB_db_bt_maxkey(__db_bt_maxkey_msg) = 17;
__db_bt_minkey_reply __DB_db_bt_minkey(__db_bt_minkey_msg) = 18;
__db_close_reply __DB_db_close(__db_close_msg) = 19;
__db_create_reply __DB_db_create(__db_create_msg) = 20;
__db_del_reply __DB_db_del(__db_del_msg) = 21;
__db_encrypt_reply __DB_db_encrypt(__db_encrypt_msg) = 22;
__db_extentsize_reply __DB_db_extentsize(__db_extentsize_msg) = 23;
__db_flags_reply __DB_db_flags(__db_flags_msg) = 24;
__db_get_reply __DB_db_get(__db_get_msg) = 25;
__db_h_ffactor_reply __DB_db_h_ffactor(__db_h_ffactor_msg) = 26;
__db_h_nelem_reply __DB_db_h_nelem(__db_h_nelem_msg) = 27;
__db_key_range_reply __DB_db_key_range(__db_key_range_msg) = 28;
__db_lorder_reply __DB_db_lorder(__db_lorder_msg) = 29;
__db_open_reply __DB_db_open(__db_open_msg) = 30;
__db_pagesize_reply __DB_db_pagesize(__db_pagesize_msg) = 31;
__db_pget_reply __DB_db_pget(__db_pget_msg) = 32;
__db_put_reply __DB_db_put(__db_put_msg) = 33;
__db_re_delim_reply __DB_db_re_delim(__db_re_delim_msg) = 34;
__db_re_len_reply __DB_db_re_len(__db_re_len_msg) = 35;
__db_re_pad_reply __DB_db_re_pad(__db_re_pad_msg) = 36;
__db_remove_reply __DB_db_remove(__db_remove_msg) = 37;
__db_rename_reply __DB_db_rename(__db_rename_msg) = 38;
__db_stat_reply __DB_db_stat(__db_stat_msg) = 39;
__db_sync_reply __DB_db_sync(__db_sync_msg) = 40;
__db_truncate_reply __DB_db_truncate(__db_truncate_msg) = 41;
__db_cursor_reply __DB_db_cursor(__db_cursor_msg) = 42;
__db_join_reply __DB_db_join(__db_join_msg) = 43;
__dbc_close_reply __DB_dbc_close(__dbc_close_msg) = 44;
__dbc_count_reply __DB_dbc_count(__dbc_count_msg) = 45;
__dbc_del_reply __DB_dbc_del(__dbc_del_msg) = 46;
__dbc_dup_reply __DB_dbc_dup(__dbc_dup_msg) = 47;
__dbc_get_reply __DB_dbc_get(__dbc_get_msg) = 48;
__dbc_pget_reply __DB_dbc_pget(__dbc_pget_msg) = 49;
__dbc_put_reply __DB_dbc_put(__dbc_put_msg) = 50;
} = 4001;
} = 351457;
|