00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011 struct __db_jumptab {
00012 int (*j_close) __P((int));
00013 void (*j_dirfree) __P((char **, int));
00014 int (*j_dirlist) __P((const char *, char ***, int *));
00015 int (*j_exists) __P((const char *, int *));
00016 void (*j_free) __P((void *));
00017 int (*j_fsync) __P((int));
00018 int (*j_ioinfo) __P((const char *,
00019 int, u_int32_t *, u_int32_t *, u_int32_t *));
00020 void *(*j_malloc) __P((size_t));
00021 int (*j_map) __P((char *, size_t, int, int, void **));
00022 int (*j_open) __P((const char *, int, ...));
00023 ssize_t (*j_read) __P((int, void *, size_t));
00024 void *(*j_realloc) __P((void *, size_t));
00025 int (*j_rename) __P((const char *, const char *));
00026 int (*j_seek) __P((int, size_t, db_pgno_t, u_int32_t, int, int));
00027 int (*j_sleep) __P((u_long, u_long));
00028 int (*j_unlink) __P((const char *));
00029 int (*j_unmap) __P((void *, size_t));
00030 ssize_t (*j_write) __P((int, const void *, size_t));
00031 int (*j_yield) __P((void));
00032 };
00033
00034 extern struct __db_jumptab CDB___db_jump;