H5Cpublic.h

00001 /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
00002  * Copyright by The HDF Group.                                               *
00003  * Copyright by the Board of Trustees of the University of Illinois.         *
00004  * All rights reserved.                                                      *
00005  *                                                                           *
00006  * This file is part of HDF5.  The full HDF5 copyright notice, including     *
00007  * terms governing use, modification, and redistribution, is contained in    *
00008  * the files COPYING and Copyright.html.  COPYING can be found at the root   *
00009  * of the source code distribution tree; Copyright.html can be found at the  *
00010  * root level of an installed copy of the electronic HDF5 document set and   *
00011  * is linked from the top-level documents page.  It can also be found at     *
00012  * http://hdfgroup.org/HDF5/doc/Copyright.html.  If you do not have          *
00013  * access to either file, you may request a copy from help@hdfgroup.org.     *
00014  * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
00015 
00016 /*-------------------------------------------------------------------------
00017  *
00018  * Created:     H5Cproto.h
00019  *              June 4, 2005
00020  *              John Mainzer
00021  *
00022  * Purpose:     Public include file for cache functions.
00023  *
00024  * Modifications:
00025  *
00026  *-------------------------------------------------------------------------
00027  */
00028 #ifndef _H5Cpublic_H
00029 #define _H5Cpublic_H
00030 
00031 /* Public headers needed by this file */
00032 #include "H5public.h"
00033 
00034 #ifdef __cplusplus
00035 extern "C" {
00036 #endif
00037 
00038 enum H5C_cache_incr_mode
00039 {
00040     H5C_incr__off,
00041     H5C_incr__threshold
00042 };
00043 
00044 enum H5C_cache_flash_incr_mode
00045 {
00046     H5C_flash_incr__off,
00047     H5C_flash_incr__add_space
00048 };
00049 
00050 enum H5C_cache_decr_mode
00051 {
00052     H5C_decr__off,
00053     H5C_decr__threshold,
00054     H5C_decr__age_out,
00055     H5C_decr__age_out_with_threshold
00056 };
00057 
00058 #ifdef __cplusplus
00059 }
00060 #endif
00061 #endif