/*
* Copyright (c) 2005 Sendmail, Inc. and its suppliers.
* All rights reserved.
*
* By using this file, you agree to the terms and conditions set
* forth in the LICENSE file which can be found at the top level of
* the sendmail distribution.
*
* $Id: edbdef.h,v 1.1 2005/07/25 20:21:43 ca Exp $
*/
#ifndef SM_EDBDEF_H
#define SM_EDBDEF_H 1
#include "sm/generic.h"
/* flags for edb_open() */
#define EDB_OPEN_RDWR 0x00 /* default */
#define EDB_OPEN_RDONLY 0x01 /* read only */
#define EDB_OPEN_NOENV 0x02 /* don't use dbenv */
#define EDB_OPEN_RECOVER 0x04 /* run recovery */
#define EDB_OPEN_RECOVER_FATAL 0x08 /* run recovery for fatal errors */
/* do not perform version check (for testing/debugging only) */
#define EDB_OPEN_NOVERSION 0x10
/* automatically remove log files that are no longer needed */
#define EDB_LOG_AUTOREMOVE 0x20
#endif /* SM_EDBDEF_H */
syntax highlighted by Code2HTML, v. 0.9.1