Changeset 32502 in project


Ignore:
Timestamp:
06/18/15 22:10:50 (4 years ago)
Author:
sven
Message:

add ecode functions for hdb and bdb

Location:
release/4/tokyocabinet/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • release/4/tokyocabinet/trunk/tcbdbapi.h

    r17370 r32502  
    55BDB tcbdbnew();
    66void tcbdbdel(BDB bdb);
     7int tcbdbecode(BDB bdb);
    78bool tcbdbopen(BDB bdb, char *file, int flags);
    89bool tcbdbclose(BDB bdb);
  • release/4/tokyocabinet/trunk/tchdbapi.h

    r32500 r32502  
    44HDB tchdbnew();
    55void tchdbdel(HDB hdb);
     6int tchdbecode(HDB hdb);
    67bool tchdbopen(HDB hdb, char *file, int flags);
    78bool tchdbclose(HDB hdb);
  • release/4/tokyocabinet/trunk/tokyocabinet.scm

    r32500 r32502  
    1919  TC_HDBONOLCK TC_HDBOLCKNB
    2020  tc-hdb-open tc-hdb-close
    21   tc-hdb-put! tc-hdb-out! tc-hdb-get tc-hdb-vsize tc-hdb-delete!
     21  tc-hdb-put! tc-hdb-out! tc-hdb-get tc-hdb-vsize tc-hdb-delete! tc-hdb-ecode
    2222  tc-hdb-fold
    2323  tc-hdb-iter-init tc-hdb-iter-next
     
    3030  TC_BDBONOLCK TC_BDBOLCKNB
    3131  tc-bdb-open tc-bdb-close
    32   tc-bdb-put! tc-bdb-putdup! tc-bdb-out! tc-bdb-get tc-bdb-delete!
     32  tc-bdb-put! tc-bdb-putdup! tc-bdb-out! tc-bdb-get tc-bdb-delete! tc-bdb-ecode
    3333  tc-bdb-get-tc-list tc-bdb-put-tc-list!
    3434  tc-bdb-fold
     
    269269
    270270(define tc-hdb-delete! tc-hdb-out!)
     271
     272(define tc-hdb-ecode %tc-hdb-ecode)
    271273
    272274(define (tc-hdb-get hdb key)
     
    415417(define tc-bdb-delete! tc-bdb-out!)
    416418
     419(define tc-bdb-ecode %tc-bdb-ecode)
     420
    417421(define (tc-bdb-get bdb key)
    418422  (let-location ((size int))
Note: See TracChangeset for help on using the changeset viewer.