]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/back-mdb/idl.h
Merge remote-tracking branch 'origin/mdb.master' into OPENLDAP_REL_ENG_2_5
[openldap] / servers / slapd / back-mdb / idl.h
index 8ce742a8c1b2bfe7f355c33feb5e5ab25f61c409..ea862f2148b43e64d4e1765bd2aa80fe17d43235 100644 (file)
@@ -2,7 +2,7 @@
 /* $OpenLDAP$ */
 /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
  *
- * Copyright 2000-2013 The OpenLDAP Foundation.
+ * Copyright 2000-2014 The OpenLDAP Foundation.
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
@@ -62,6 +62,7 @@
 #define MDB_IDL_ALL( ids ) MDB_IDL_RANGE( ids, 1, NOID )
 
 #define MDB_IDL_FIRST( ids )   ( (ids)[1] )
+#define MDB_IDL_LLAST( ids )   ( (ids)[(ids)[0]] )
 #define MDB_IDL_LAST( ids )            ( MDB_IDL_IS_RANGE(ids) \
        ? (ids)[2] : (ids)[(ids)[0]] )
 
@@ -87,6 +88,7 @@ typedef struct IdScopes {
        MDB_cursor *mc;
        ID id;
        ID2L scopes;
+       ID2L sctmp;
        int numrdns;
        int nscope;
        int oscope;