ldb:ldb.h - reorder extended operations list
authorMatthias Dieter Wallnöfer <mdw@samba.org>
Thu, 4 Nov 2010 20:58:16 +0000 (21:58 +0100)
committerMatthias Dieter Wallnöfer <mdw@samba.org>
Fri, 5 Nov 2010 08:44:14 +0000 (08:44 +0000)
We always define the controls and operations with a comment block. The data
structure definitions lie a bit below.

Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Fri Nov  5 08:44:14 UTC 2010 on sn-devel-104

source4/lib/ldb/include/ldb.h

index 933ee931639c24067132055f5dc279d52c60ea46..eeb939a170ce7a3e636ec52a528a7d1ee267d1e2 100644 (file)
@@ -683,7 +683,16 @@ typedef int (*ldb_qsort_cmp_fn_t) (void *v1, void *v2, void *opaque);
 */
 #define LDB_CONTROL_RELAX_OID "1.3.6.1.4.1.4203.666.5.12"
 
-/*
+/* Extended operations */
+
+/**
+   OID for LDAP Extended Operation SEQUENCE_NUMBER
+
+   This extended operation is used to retrieve the extended sequence number.
+*/
+#define LDB_EXTENDED_SEQUENCE_NUMBER   "1.3.6.1.4.1.7165.4.4.3"
+
+/**
    OID for LDAP Extended Operation PASSWORD_CHANGE.
 
    This Extended operation is used to allow user password changes by the user
@@ -691,7 +700,6 @@ typedef int (*ldb_qsort_cmp_fn_t) (void *v1, void *v2, void *opaque);
 */
 #define LDB_EXTENDED_PASSWORD_CHANGE_OID       "1.3.6.1.4.1.4203.1.11.1"
 
-/* Extended operations */
 
 /**
    OID for LDAP Extended Operation FAST_BIND
@@ -849,8 +857,6 @@ struct ldb_extended {
        void *data; /* NULL or a valid talloc pointer! talloc_get_type() will be used on it */
 };
 
-#define LDB_EXTENDED_SEQUENCE_NUMBER   "1.3.6.1.4.1.7165.4.4.3"
-
 enum ldb_sequence_type {
        LDB_SEQ_HIGHEST_SEQ,
        LDB_SEQ_HIGHEST_TIMESTAMP,