X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=servers%2Fslapd%2Falock.h;h=0f78fffdd0ef1196475e5f96d7a467990eff5121;hb=6a9c44849c1c20b9d961de7a0b6585dcd059154a;hp=2f3039bb8d29f6d4c01cf5426d0b1f59ff8f7d5e;hpb=258b31ccad1774f3be477e918b3e37a21172e5f6;p=openldap diff --git a/servers/slapd/alock.h b/servers/slapd/alock.h index 2f3039bb8d..0f78fffdd0 100644 --- a/servers/slapd/alock.h +++ b/servers/slapd/alock.h @@ -2,7 +2,7 @@ /* $OpenLDAP$ */ /* This work is part of OpenLDAP Software . * - * Copyright 2005 The OpenLDAP Foundation. + * Copyright 2005-2007 The OpenLDAP Foundation. * Portions Copyright 2004-2005 Symas Corporation. * All rights reserved. * @@ -38,6 +38,11 @@ #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)