Import BSDDB 4.7.25 (as of svn r89086)
This commit is contained in:
32
dbinc/fop.h
Normal file
32
dbinc/fop.h
Normal file
@@ -0,0 +1,32 @@
|
||||
/*-
|
||||
* See the file LICENSE for redistribution information.
|
||||
*
|
||||
* Copyright (c) 2001,2008 Oracle. All rights reserved.
|
||||
*
|
||||
* $Id: fop.h 63573 2008-05-23 21:43:21Z trent.nelson $
|
||||
*/
|
||||
|
||||
#ifndef _DB_FOP_H_
|
||||
#define _DB_FOP_H_
|
||||
|
||||
#if defined(__cplusplus)
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#define MAKE_INMEM(D) do { \
|
||||
F_SET((D), DB_AM_INMEM); \
|
||||
(void)__memp_set_flags((D)->mpf, DB_MPOOL_NOFILE, 1); \
|
||||
} while (0)
|
||||
|
||||
#define CLR_INMEM(D) do { \
|
||||
F_CLR((D), DB_AM_INMEM); \
|
||||
(void)__memp_set_flags((D)->mpf, DB_MPOOL_NOFILE, 0); \
|
||||
} while (0)
|
||||
|
||||
#include "dbinc_auto/fileops_auto.h"
|
||||
#include "dbinc_auto/fileops_ext.h"
|
||||
|
||||
#if defined(__cplusplus)
|
||||
}
|
||||
#endif
|
||||
#endif /* !_DB_FOP_H_ */
|
||||
Reference in New Issue
Block a user