]> git.sur5r.net Git - openldap/blobdiff - libraries/libmdb/midl.h
Reimplement basic ops as cursor ops
[openldap] / libraries / libmdb / midl.h
index a08046308c6de8b6d46cd724b043d122852028e6..1e6c3c38437818ac087f017829e0d875eea30bfa 100644 (file)
 /** @defgroup internal MDB Internals
  *     @{
  */
+       /**     ULONG should be the largest integer type supported on a machine.
+        * It should be equal to the size of a pointer.
+        */
+#define ULONG          unsigned long
 /** @defgroup idls     ID List Management
  *     @{
  */
-       /** An ID should be the largest integer type supported on a machine.
+       /** A generic ID number. These were entryIDs in back-bdb.
         */
-#define        ID      unsigned long
+typedef ULONG ID;
 
        /** An IDL is an ID List, a sorted array of IDs. The first
         * element of the array is a counter for how many actual