/[global]/global/libdb/db.h
ViewVC logotype

Diff of /global/libdb/db.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.3 by shigio, Mon May 16 02:41:25 2005 UTC revision 1.4 by h-iwamoto, Wed Aug 24 13:50:02 2005 UTC
# Line 101  typedef enum { DB_BTREE, DB_HASH, DB_REC Line 101  typedef enum { DB_BTREE, DB_HASH, DB_REC
101  /* Access method description structure. */  /* Access method description structure. */
102  typedef struct __db {  typedef struct __db {
103          DBTYPE type;                    /* Underlying db type. */          DBTYPE type;                    /* Underlying db type. */
104          int (*close)    (struct __db *);          /* The 2nd argument was added in order to
105               avoid useless writing just before unlink. */
106            int (*close)    (struct __db *, int);
107          int (*del)      (const struct __db *, const DBT *, u_int);          int (*del)      (const struct __db *, const DBT *, u_int);
108          int (*get)      (const struct __db *, const DBT *, DBT *, u_int);          int (*get)      (const struct __db *, const DBT *, DBT *, u_int);
109          int (*put)      (const struct __db *, DBT *, const DBT *, u_int);          int (*put)      (const struct __db *, DBT *, const DBT *, u_int);

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26