devname and getbsize move in from ps and df
[unix-history] / usr / src / include / db.h
index 15cb7a9..38d223f 100644 (file)
@@ -4,7 +4,7 @@
  *
  * %sccs.include.redist.c%
  *
  *
  * %sccs.include.redist.c%
  *
- *     @(#)db.h        5.23 (Berkeley) %G%
+ *     @(#)db.h        5.26 (Berkeley) %G%
  */
 
 #ifndef _DB_H_
  */
 
 #ifndef _DB_H_
@@ -53,6 +53,7 @@ typedef struct __db {
        DBTYPE type;                    /* underlying db type */
        int (*close)    __P((struct __db *));
        int (*del)      __P((const struct __db *, const DBT *, u_int));
        DBTYPE type;                    /* underlying db type */
        int (*close)    __P((struct __db *));
        int (*del)      __P((const struct __db *, const DBT *, u_int));
+       int (*fd)       __P((const struct __db *));
        int (*get)      __P((const struct __db *, const DBT *, DBT *, u_int));
        int (*put)      __P((const struct __db *, DBT *, const DBT *, u_int));
        int (*seq)      __P((const struct __db *, DBT *, DBT *, u_int));
        int (*get)      __P((const struct __db *, const DBT *, DBT *, u_int));
        int (*put)      __P((const struct __db *, DBT *, const DBT *, u_int));
        int (*seq)      __P((const struct __db *, DBT *, DBT *, u_int));
@@ -98,6 +99,7 @@ typedef struct {
 #define        R_SNAPSHOT      0x04    /* snapshot the input */
        u_long   flags;
        int      cachesize;     /* bytes to cache */
 #define        R_SNAPSHOT      0x04    /* snapshot the input */
        u_long   flags;
        int      cachesize;     /* bytes to cache */
+       int      psize;         /* page size */
        int      lorder;        /* byte order */
        size_t   reclen;        /* record length (fixed-length records) */
        u_char   bval;          /* delimiting byte (variable-length records */
        int      lorder;        /* byte order */
        size_t   reclen;        /* record length (fixed-length records) */
        u_char   bval;          /* delimiting byte (variable-length records */