~ubuntu-branches/ubuntu/maverick/evolution-data-server/maverick-proposed

« back to all changes in this revision

Viewing changes to libdb/dist/template/gen_client_ret

  • Committer: Bazaar Package Importer
  • Author(s): Didier Roche
  • Date: 2010-05-17 17:02:06 UTC
  • mfrom: (1.1.79 upstream) (1.6.12 experimental)
  • Revision ID: james.westby@ubuntu.com-20100517170206-4ufr52vwrhh26yh0
Tags: 2.30.1-1ubuntu1
* Merge from debian experimental. Remaining change:
  (LP: #42199, #229669, #173703, #360344, #508494)
  + debian/control:
    - add Vcs-Bzr tag
    - don't use libgnome
    - Use Breaks instead of Conflicts against evolution 2.25 and earlier.
  + debian/evolution-data-server.install,
    debian/patches/45_libcamel_providers_version.patch:
    - use the upstream versioning, not a Debian-specific one 
  + debian/libedata-book1.2-dev.install, debian/libebackend-1.2-dev.install,
    debian/libcamel1.2-dev.install, debian/libedataserverui1.2-dev.install:
    - install html documentation
  + debian/rules:
    - don't build documentation it's shipped with the tarball

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* Do not edit: automatically built by gen_rpc.awk. */
2
 
#include "db_config.h"
3
 
 
4
 
#ifdef HAVE_RPC
5
 
#ifndef NO_SYSTEM_INCLUDES
6
 
#include <sys/types.h>
7
 
#include <rpc/rpc.h>
8
 
 
9
 
#include <string.h>
10
 
#endif
11
 
#include "db_int.h"
12
 
#include "dbinc_auto/db_server.h"
13
 
#include "dbinc/txn.h"
14
 
 
15
 
/*
16
 
 * PUBLIC: int __dbcl_env_close_ret __P((DB_ENV *, u_int32_t,
17
 
 * PUBLIC:      __env_close_reply *));
18
 
 */
19
 
int
20
 
__dbcl_env_close_ret(dbenv, flags, replyp)
21
 
        DB_ENV * dbenv;
22
 
        u_int32_t flags;
23
 
        __env_close_reply *replyp;
24
 
{
25
 
        int ret;
26
 
 
27
 
        if (replyp->status != 0)
28
 
                return (replyp->status);
29
 
 
30
 
        /*
31
 
         * XXX Code goes here
32
 
         */
33
 
 
34
 
        return (replyp->status);
35
 
}
36
 
 
37
 
/*
38
 
 * PUBLIC: int __dbcl_env_create_ret __P((DB_ENV *, long,
39
 
 * PUBLIC:      __env_create_reply *));
40
 
 */
41
 
int
42
 
__dbcl_env_create_ret(dbenv, timeout, replyp)
43
 
        DB_ENV * dbenv;
44
 
        long timeout;
45
 
        __env_create_reply *replyp;
46
 
{
47
 
        int ret;
48
 
        long env;
49
 
 
50
 
        if (replyp->status != 0)
51
 
                return (replyp->status);
52
 
        env = replyp->envcl_id;
53
 
 
54
 
        /*
55
 
         * XXX Code goes here
56
 
         */
57
 
 
58
 
        return (replyp->status);
59
 
}
60
 
 
61
 
/*
62
 
 * PUBLIC: int __dbcl_env_open_ret __P((DB_ENV *, const char *, u_int32_t, int,
63
 
 * PUBLIC:      __env_open_reply *));
64
 
 */
65
 
int
66
 
__dbcl_env_open_ret(dbenv, home, flags, mode, replyp)
67
 
        DB_ENV * dbenv;
68
 
        const char * home;
69
 
        u_int32_t flags;
70
 
        int mode;
71
 
        __env_open_reply *replyp;
72
 
{
73
 
        int ret;
74
 
        long env;
75
 
 
76
 
        if (replyp->status != 0)
77
 
                return (replyp->status);
78
 
        env = replyp->envcl_id;
79
 
 
80
 
        /*
81
 
         * XXX Code goes here
82
 
         */
83
 
 
84
 
        return (replyp->status);
85
 
}
86
 
 
87
 
/*
88
 
 * PUBLIC: int __dbcl_env_remove_ret __P((DB_ENV *, const char *, u_int32_t,
89
 
 * PUBLIC:      __env_remove_reply *));
90
 
 */
91
 
int
92
 
__dbcl_env_remove_ret(dbenv, home, flags, replyp)
93
 
        DB_ENV * dbenv;
94
 
        const char * home;
95
 
        u_int32_t flags;
96
 
        __env_remove_reply *replyp;
97
 
{
98
 
        int ret;
99
 
 
100
 
        if (replyp->status != 0)
101
 
                return (replyp->status);
102
 
 
103
 
        /*
104
 
         * XXX Code goes here
105
 
         */
106
 
 
107
 
        return (replyp->status);
108
 
}
109
 
 
110
 
/*
111
 
 * PUBLIC: int __dbcl_txn_abort_ret __P((DB_TXN *, __txn_abort_reply *));
112
 
 */
113
 
int
114
 
__dbcl_txn_abort_ret(txnp, replyp)
115
 
        DB_TXN * txnp;
116
 
        __txn_abort_reply *replyp;
117
 
{
118
 
        int ret;
119
 
 
120
 
        if (replyp->status != 0)
121
 
                return (replyp->status);
122
 
 
123
 
        /*
124
 
         * XXX Code goes here
125
 
         */
126
 
 
127
 
        return (replyp->status);
128
 
}
129
 
 
130
 
/*
131
 
 * PUBLIC: int __dbcl_txn_begin_ret __P((DB_ENV *, DB_TXN *, DB_TXN **,
132
 
 * PUBLIC:      u_int32_t, __txn_begin_reply *));
133
 
 */
134
 
int
135
 
__dbcl_txn_begin_ret(dbenv, parent, txnpp, flags, replyp)
136
 
        DB_ENV * dbenv;
137
 
        DB_TXN * parent;
138
 
        DB_TXN ** txnpp;
139
 
        u_int32_t flags;
140
 
        __txn_begin_reply *replyp;
141
 
{
142
 
        int ret;
143
 
        long txnid;
144
 
 
145
 
        if (replyp->status != 0)
146
 
                return (replyp->status);
147
 
        txnid = replyp->txnidcl_id;
148
 
 
149
 
        /*
150
 
         * XXX Code goes here
151
 
         */
152
 
 
153
 
        return (replyp->status);
154
 
}
155
 
 
156
 
/*
157
 
 * PUBLIC: int __dbcl_txn_commit_ret __P((DB_TXN *, u_int32_t,
158
 
 * PUBLIC:      __txn_commit_reply *));
159
 
 */
160
 
int
161
 
__dbcl_txn_commit_ret(txnp, flags, replyp)
162
 
        DB_TXN * txnp;
163
 
        u_int32_t flags;
164
 
        __txn_commit_reply *replyp;
165
 
{
166
 
        int ret;
167
 
 
168
 
        if (replyp->status != 0)
169
 
                return (replyp->status);
170
 
 
171
 
        /*
172
 
         * XXX Code goes here
173
 
         */
174
 
 
175
 
        return (replyp->status);
176
 
}
177
 
 
178
 
/*
179
 
 * PUBLIC: int __dbcl_txn_discard_ret __P((DB_TXN *, u_int32_t,
180
 
 * PUBLIC:      __txn_discard_reply *));
181
 
 */
182
 
int
183
 
__dbcl_txn_discard_ret(txnp, flags, replyp)
184
 
        DB_TXN * txnp;
185
 
        u_int32_t flags;
186
 
        __txn_discard_reply *replyp;
187
 
{
188
 
        int ret;
189
 
 
190
 
        if (replyp->status != 0)
191
 
                return (replyp->status);
192
 
 
193
 
        /*
194
 
         * XXX Code goes here
195
 
         */
196
 
 
197
 
        return (replyp->status);
198
 
}
199
 
 
200
 
/*
201
 
 * PUBLIC: int __dbcl_txn_recover_ret __P((DB_ENV *, DB_PREPLIST *, long,
202
 
 * PUBLIC:      long *, u_int32_t, __txn_recover_reply *));
203
 
 */
204
 
int
205
 
__dbcl_txn_recover_ret(dbenv, preplist, count, retp, flags, replyp)
206
 
        DB_ENV * dbenv;
207
 
        DB_PREPLIST * preplist;
208
 
        long count;
209
 
        long * retp;
210
 
        u_int32_t flags;
211
 
        __txn_recover_reply *replyp;
212
 
{
213
 
        int ret;
214
 
        u_int32_t *__db_txn;
215
 
        u_int8_t *__db_gid;
216
 
        long retcount;
217
 
 
218
 
        if (replyp->status != 0)
219
 
                return (replyp->status);
220
 
 
221
 
        /*
222
 
         * XXX Handle list
223
 
         */
224
 
 
225
 
 
226
 
        /*
227
 
         * XXX Handle list
228
 
         */
229
 
 
230
 
        retcount = replyp->retcount;
231
 
 
232
 
        /*
233
 
         * XXX Code goes here
234
 
         */
235
 
 
236
 
        return (replyp->status);
237
 
}
238
 
 
239
 
/*
240
 
 * PUBLIC: int __dbcl_db_close_ret __P((DB *, u_int32_t, __db_close_reply *));
241
 
 */
242
 
int
243
 
__dbcl_db_close_ret(dbp, flags, replyp)
244
 
        DB * dbp;
245
 
        u_int32_t flags;
246
 
        __db_close_reply *replyp;
247
 
{
248
 
        int ret;
249
 
 
250
 
        if (replyp->status != 0)
251
 
                return (replyp->status);
252
 
 
253
 
        /*
254
 
         * XXX Code goes here
255
 
         */
256
 
 
257
 
        return (replyp->status);
258
 
}
259
 
 
260
 
/*
261
 
 * PUBLIC: int __dbcl_db_create_ret __P((DB *, DB_ENV *, u_int32_t,
262
 
 * PUBLIC:      __db_create_reply *));
263
 
 */
264
 
int
265
 
__dbcl_db_create_ret(dbp, dbenv, flags, replyp)
266
 
        DB * dbp;
267
 
        DB_ENV * dbenv;
268
 
        u_int32_t flags;
269
 
        __db_create_reply *replyp;
270
 
{
271
 
        int ret;
272
 
        long db;
273
 
 
274
 
        if (replyp->status != 0)
275
 
                return (replyp->status);
276
 
        db = replyp->dbcl_id;
277
 
 
278
 
        /*
279
 
         * XXX Code goes here
280
 
         */
281
 
 
282
 
        return (replyp->status);
283
 
}
284
 
 
285
 
/*
286
 
 * PUBLIC: int __dbcl_db_get_ret __P((DB *, DB_TXN *, DBT *, DBT *, u_int32_t,
287
 
 * PUBLIC:      __db_get_reply *));
288
 
 */
289
 
int
290
 
__dbcl_db_get_ret(dbp, txnp, key, data, flags, replyp)
291
 
        DB * dbp;
292
 
        DB_TXN * txnp;
293
 
        DBT * key;
294
 
        DBT * data;
295
 
        u_int32_t flags;
296
 
        __db_get_reply *replyp;
297
 
{
298
 
        int ret;
299
 
        /* DBT key; */
300
 
        /* DBT data; */
301
 
 
302
 
        if (replyp->status != 0)
303
 
                return (replyp->status);
304
 
        /* Handle replyp->keydata; */
305
 
        /* Handle replyp->datadata; */
306
 
 
307
 
        /*
308
 
         * XXX Code goes here
309
 
         */
310
 
 
311
 
        return (replyp->status);
312
 
}
313
 
 
314
 
/*
315
 
 * PUBLIC: int __dbcl_db_key_range_ret __P((DB *, DB_TXN *, DBT *,
316
 
 * PUBLIC:      DB_KEY_RANGE *, u_int32_t, __db_key_range_reply *));
317
 
 */
318
 
int
319
 
__dbcl_db_key_range_ret(dbp, txnp, key, range, flags, replyp)
320
 
        DB * dbp;
321
 
        DB_TXN * txnp;
322
 
        DBT * key;
323
 
        DB_KEY_RANGE * range;
324
 
        u_int32_t flags;
325
 
        __db_key_range_reply *replyp;
326
 
{
327
 
        int ret;
328
 
        double less;
329
 
        double equal;
330
 
        double greater;
331
 
 
332
 
        if (replyp->status != 0)
333
 
                return (replyp->status);
334
 
        less = replyp->less;
335
 
        equal = replyp->equal;
336
 
        greater = replyp->greater;
337
 
 
338
 
        /*
339
 
         * XXX Code goes here
340
 
         */
341
 
 
342
 
        return (replyp->status);
343
 
}
344
 
 
345
 
/*
346
 
 * PUBLIC: int __dbcl_db_open_ret __P((DB *, DB_TXN *, const char *,
347
 
 * PUBLIC:      const char *, DBTYPE, u_int32_t, int, __db_open_reply *));
348
 
 */
349
 
int
350
 
__dbcl_db_open_ret(dbp, txnp, name, subdb, type, flags, mode, replyp)
351
 
        DB * dbp;
352
 
        DB_TXN * txnp;
353
 
        const char * name;
354
 
        const char * subdb;
355
 
        DBTYPE type;
356
 
        u_int32_t flags;
357
 
        int mode;
358
 
        __db_open_reply *replyp;
359
 
{
360
 
        int ret;
361
 
        long db;
362
 
        DBTYPE type;
363
 
        u_int32_t dbflags;
364
 
        int lorder;
365
 
 
366
 
        if (replyp->status != 0)
367
 
                return (replyp->status);
368
 
        db = replyp->dbcl_id;
369
 
        type = replyp->type;
370
 
        dbflags = replyp->dbflags;
371
 
        lorder = replyp->lorder;
372
 
 
373
 
        /*
374
 
         * XXX Code goes here
375
 
         */
376
 
 
377
 
        return (replyp->status);
378
 
}
379
 
 
380
 
/*
381
 
 * PUBLIC: int __dbcl_db_pget_ret __P((DB *, DB_TXN *, DBT *, DBT *, DBT *,
382
 
 * PUBLIC:      u_int32_t, __db_pget_reply *));
383
 
 */
384
 
int
385
 
__dbcl_db_pget_ret(dbp, txnp, skey, pkey, data, flags, replyp)
386
 
        DB * dbp;
387
 
        DB_TXN * txnp;
388
 
        DBT * skey;
389
 
        DBT * pkey;
390
 
        DBT * data;
391
 
        u_int32_t flags;
392
 
        __db_pget_reply *replyp;
393
 
{
394
 
        int ret;
395
 
        /* DBT skey; */
396
 
        /* DBT pkey; */
397
 
        /* DBT data; */
398
 
 
399
 
        if (replyp->status != 0)
400
 
                return (replyp->status);
401
 
        /* Handle replyp->skeydata; */
402
 
        /* Handle replyp->pkeydata; */
403
 
        /* Handle replyp->datadata; */
404
 
 
405
 
        /*
406
 
         * XXX Code goes here
407
 
         */
408
 
 
409
 
        return (replyp->status);
410
 
}
411
 
 
412
 
/*
413
 
 * PUBLIC: int __dbcl_db_put_ret __P((DB *, DB_TXN *, DBT *, DBT *, u_int32_t,
414
 
 * PUBLIC:      __db_put_reply *));
415
 
 */
416
 
int
417
 
__dbcl_db_put_ret(dbp, txnp, key, data, flags, replyp)
418
 
        DB * dbp;
419
 
        DB_TXN * txnp;
420
 
        DBT * key;
421
 
        DBT * data;
422
 
        u_int32_t flags;
423
 
        __db_put_reply *replyp;
424
 
{
425
 
        int ret;
426
 
        /* DBT key; */
427
 
 
428
 
        if (replyp->status != 0)
429
 
                return (replyp->status);
430
 
        /* Handle replyp->keydata; */
431
 
 
432
 
        /*
433
 
         * XXX Code goes here
434
 
         */
435
 
 
436
 
        return (replyp->status);
437
 
}
438
 
 
439
 
/*
440
 
 * PUBLIC: int __dbcl_db_remove_ret __P((DB *, const char *, const char *,
441
 
 * PUBLIC:      u_int32_t, __db_remove_reply *));
442
 
 */
443
 
int
444
 
__dbcl_db_remove_ret(dbp, name, subdb, flags, replyp)
445
 
        DB * dbp;
446
 
        const char * name;
447
 
        const char * subdb;
448
 
        u_int32_t flags;
449
 
        __db_remove_reply *replyp;
450
 
{
451
 
        int ret;
452
 
 
453
 
        if (replyp->status != 0)
454
 
                return (replyp->status);
455
 
 
456
 
        /*
457
 
         * XXX Code goes here
458
 
         */
459
 
 
460
 
        return (replyp->status);
461
 
}
462
 
 
463
 
/*
464
 
 * PUBLIC: int __dbcl_db_rename_ret __P((DB *, const char *, const char *,
465
 
 * PUBLIC:      const char *, u_int32_t, __db_rename_reply *));
466
 
 */
467
 
int
468
 
__dbcl_db_rename_ret(dbp, name, subdb, newname, flags, replyp)
469
 
        DB * dbp;
470
 
        const char * name;
471
 
        const char * subdb;
472
 
        const char * newname;
473
 
        u_int32_t flags;
474
 
        __db_rename_reply *replyp;
475
 
{
476
 
        int ret;
477
 
 
478
 
        if (replyp->status != 0)
479
 
                return (replyp->status);
480
 
 
481
 
        /*
482
 
         * XXX Code goes here
483
 
         */
484
 
 
485
 
        return (replyp->status);
486
 
}
487
 
 
488
 
/*
489
 
 * PUBLIC: int __dbcl_db_stat_ret __P((DB *, void *, u_int32_t,
490
 
 * PUBLIC:      __db_stat_reply *));
491
 
 */
492
 
int
493
 
__dbcl_db_stat_ret(dbp, sp, flags, replyp)
494
 
        DB * dbp;
495
 
        void * sp;
496
 
        u_int32_t flags;
497
 
        __db_stat_reply *replyp;
498
 
{
499
 
        int ret;
500
 
        u_int32_t *__db_stats;
501
 
 
502
 
        if (replyp->status != 0)
503
 
                return (replyp->status);
504
 
 
505
 
        /*
506
 
         * XXX Handle list
507
 
         */
508
 
 
509
 
 
510
 
        /*
511
 
         * XXX Code goes here
512
 
         */
513
 
 
514
 
        return (replyp->status);
515
 
}
516
 
 
517
 
/*
518
 
 * PUBLIC: int __dbcl_db_truncate_ret __P((DB *, DB_TXN *, u_int32_t  *,
519
 
 * PUBLIC:      u_int32_t, __db_truncate_reply *));
520
 
 */
521
 
int
522
 
__dbcl_db_truncate_ret(dbp, txnp, countp, flags, replyp)
523
 
        DB * dbp;
524
 
        DB_TXN * txnp;
525
 
        u_int32_t  * countp;
526
 
        u_int32_t flags;
527
 
        __db_truncate_reply *replyp;
528
 
{
529
 
        int ret;
530
 
        u_int32_t count;
531
 
 
532
 
        if (replyp->status != 0)
533
 
                return (replyp->status);
534
 
        count = replyp->count;
535
 
 
536
 
        /*
537
 
         * XXX Code goes here
538
 
         */
539
 
 
540
 
        return (replyp->status);
541
 
}
542
 
 
543
 
/*
544
 
 * PUBLIC: int __dbcl_db_cursor_ret __P((DB *, DB_TXN *, DBC **, u_int32_t,
545
 
 * PUBLIC:      __db_cursor_reply *));
546
 
 */
547
 
int
548
 
__dbcl_db_cursor_ret(dbp, txnp, dbcpp, flags, replyp)
549
 
        DB * dbp;
550
 
        DB_TXN * txnp;
551
 
        DBC ** dbcpp;
552
 
        u_int32_t flags;
553
 
        __db_cursor_reply *replyp;
554
 
{
555
 
        int ret;
556
 
        long dbcid;
557
 
 
558
 
        if (replyp->status != 0)
559
 
                return (replyp->status);
560
 
        dbcid = replyp->dbcidcl_id;
561
 
 
562
 
        /*
563
 
         * XXX Code goes here
564
 
         */
565
 
 
566
 
        return (replyp->status);
567
 
}
568
 
 
569
 
/*
570
 
 * PUBLIC: int __dbcl_db_join_ret __P((DB *, DBC **, DBC **, u_int32_t,
571
 
 * PUBLIC:      __db_join_reply *));
572
 
 */
573
 
int
574
 
__dbcl_db_join_ret(dbp, curs, dbcp, flags, replyp)
575
 
        DB * dbp;
576
 
        DBC ** curs;
577
 
        DBC ** dbcp;
578
 
        u_int32_t flags;
579
 
        __db_join_reply *replyp;
580
 
{
581
 
        int ret;
582
 
        long dbcid;
583
 
 
584
 
        if (replyp->status != 0)
585
 
                return (replyp->status);
586
 
        dbcid = replyp->dbcidcl_id;
587
 
 
588
 
        /*
589
 
         * XXX Code goes here
590
 
         */
591
 
 
592
 
        return (replyp->status);
593
 
}
594
 
 
595
 
/*
596
 
 * PUBLIC: int __dbcl_dbc_close_ret __P((DBC *, __dbc_close_reply *));
597
 
 */
598
 
int
599
 
__dbcl_dbc_close_ret(dbc, replyp)
600
 
        DBC * dbc;
601
 
        __dbc_close_reply *replyp;
602
 
{
603
 
        int ret;
604
 
 
605
 
        if (replyp->status != 0)
606
 
                return (replyp->status);
607
 
 
608
 
        /*
609
 
         * XXX Code goes here
610
 
         */
611
 
 
612
 
        return (replyp->status);
613
 
}
614
 
 
615
 
/*
616
 
 * PUBLIC: int __dbcl_dbc_count_ret __P((DBC *, db_recno_t *, u_int32_t,
617
 
 * PUBLIC:      __dbc_count_reply *));
618
 
 */
619
 
int
620
 
__dbcl_dbc_count_ret(dbc, countp, flags, replyp)
621
 
        DBC * dbc;
622
 
        db_recno_t * countp;
623
 
        u_int32_t flags;
624
 
        __dbc_count_reply *replyp;
625
 
{
626
 
        int ret;
627
 
        db_recno_t dupcount;
628
 
 
629
 
        if (replyp->status != 0)
630
 
                return (replyp->status);
631
 
        dupcount = replyp->dupcount;
632
 
 
633
 
        /*
634
 
         * XXX Code goes here
635
 
         */
636
 
 
637
 
        return (replyp->status);
638
 
}
639
 
 
640
 
/*
641
 
 * PUBLIC: int __dbcl_dbc_dup_ret __P((DBC *, DBC **, u_int32_t,
642
 
 * PUBLIC:      __dbc_dup_reply *));
643
 
 */
644
 
int
645
 
__dbcl_dbc_dup_ret(dbc, dbcp, flags, replyp)
646
 
        DBC * dbc;
647
 
        DBC ** dbcp;
648
 
        u_int32_t flags;
649
 
        __dbc_dup_reply *replyp;
650
 
{
651
 
        int ret;
652
 
        long dbcid;
653
 
 
654
 
        if (replyp->status != 0)
655
 
                return (replyp->status);
656
 
        dbcid = replyp->dbcidcl_id;
657
 
 
658
 
        /*
659
 
         * XXX Code goes here
660
 
         */
661
 
 
662
 
        return (replyp->status);
663
 
}
664
 
 
665
 
/*
666
 
 * PUBLIC: int __dbcl_dbc_get_ret __P((DBC *, DBT *, DBT *, u_int32_t,
667
 
 * PUBLIC:      __dbc_get_reply *));
668
 
 */
669
 
int
670
 
__dbcl_dbc_get_ret(dbc, key, data, flags, replyp)
671
 
        DBC * dbc;
672
 
        DBT * key;
673
 
        DBT * data;
674
 
        u_int32_t flags;
675
 
        __dbc_get_reply *replyp;
676
 
{
677
 
        int ret;
678
 
        /* DBT key; */
679
 
        /* DBT data; */
680
 
 
681
 
        if (replyp->status != 0)
682
 
                return (replyp->status);
683
 
        /* Handle replyp->keydata; */
684
 
        /* Handle replyp->datadata; */
685
 
 
686
 
        /*
687
 
         * XXX Code goes here
688
 
         */
689
 
 
690
 
        return (replyp->status);
691
 
}
692
 
 
693
 
/*
694
 
 * PUBLIC: int __dbcl_dbc_pget_ret __P((DBC *, DBT *, DBT *, DBT *, u_int32_t,
695
 
 * PUBLIC:      __dbc_pget_reply *));
696
 
 */
697
 
int
698
 
__dbcl_dbc_pget_ret(dbc, skey, pkey, data, flags, replyp)
699
 
        DBC * dbc;
700
 
        DBT * skey;
701
 
        DBT * pkey;
702
 
        DBT * data;
703
 
        u_int32_t flags;
704
 
        __dbc_pget_reply *replyp;
705
 
{
706
 
        int ret;
707
 
        /* DBT skey; */
708
 
        /* DBT pkey; */
709
 
        /* DBT data; */
710
 
 
711
 
        if (replyp->status != 0)
712
 
                return (replyp->status);
713
 
        /* Handle replyp->skeydata; */
714
 
        /* Handle replyp->pkeydata; */
715
 
        /* Handle replyp->datadata; */
716
 
 
717
 
        /*
718
 
         * XXX Code goes here
719
 
         */
720
 
 
721
 
        return (replyp->status);
722
 
}
723
 
 
724
 
/*
725
 
 * PUBLIC: int __dbcl_dbc_put_ret __P((DBC *, DBT *, DBT *, u_int32_t,
726
 
 * PUBLIC:      __dbc_put_reply *));
727
 
 */
728
 
int
729
 
__dbcl_dbc_put_ret(dbc, key, data, flags, replyp)
730
 
        DBC * dbc;
731
 
        DBT * key;
732
 
        DBT * data;
733
 
        u_int32_t flags;
734
 
        __dbc_put_reply *replyp;
735
 
{
736
 
        int ret;
737
 
        /* DBT key; */
738
 
 
739
 
        if (replyp->status != 0)
740
 
                return (replyp->status);
741
 
        /* Handle replyp->keydata; */
742
 
 
743
 
        /*
744
 
         * XXX Code goes here
745
 
         */
746
 
 
747
 
        return (replyp->status);
748
 
}
749
 
 
750
 
#endif /* HAVE_RPC */