os_jump.h

Go to the documentation of this file.
00001 /*-
00002  * See the file LICENSE for redistribution information.
00003  *
00004  * Copyright (c) 1997, 1998, 1999, 2000
00005  *      Sleepycat Software.  All rights reserved.
00006  *
00007  * $Id: os__jump_8h-source.html,v 1.1 2008/06/08 10:21:17 sebdiaz Exp $
00008  */
00009 
00010 /* Calls which can be replaced by the application. */
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;

Generated on Sun Jun 8 10:56:38 2008 for GNUmifluz by  doxygen 1.5.5