]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/alock.h
fix previous commit (ITS#4861)
[openldap] / servers / slapd / alock.h
index 49efcbeea0cc92f02050787311b3a7e5f87e0e00..0f78fffdd0ef1196475e5f96d7a467990eff5121 100644 (file)
@@ -2,7 +2,7 @@
 /* $OpenLDAP$ */
 /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
  *
- * Copyright 2005-2006 The OpenLDAP Foundation.
+ * Copyright 2005-2007 The OpenLDAP Foundation.
  * Portions Copyright 2004-2005 Symas Corporation.
  * All rights reserved.
  *
 #define ALOCK_UNIQUE   (2)
 #define ALOCK_DIRTY            (3)
 
+#define ALOCK_SMASK            3
+
+/* lock/state where recovery is not available */
+#define        ALOCK_NOSAVE    4
+
 /* constants */
 #define ALOCK_SLOT_SIZE                (1024)
 #define ALOCK_SLOT_IATTRS      (4)