summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/include/ldb.h
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mdw@samba.org>2010-11-04 21:58:16 +0100
committerMatthias Dieter Wallnöfer <mdw@samba.org>2010-11-05 08:44:14 +0000
commit90b3bf8f62465f4e9925232aacd2045136689bbc (patch)
tree5ac8391f5919f7aedeff1f09ae009d6c0c4ae95a /source4/lib/ldb/include/ldb.h
parent578a37e806ff1c1194a694dc39f65fdd1cbf7b11 (diff)
downloadsamba-90b3bf8f62465f4e9925232aacd2045136689bbc.tar.gz
samba-90b3bf8f62465f4e9925232aacd2045136689bbc.tar.bz2
samba-90b3bf8f62465f4e9925232aacd2045136689bbc.zip
ldb:ldb.h - reorder extended operations list
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
Diffstat (limited to 'source4/lib/ldb/include/ldb.h')
-rw-r--r--source4/lib/ldb/include/ldb.h14
1 files changed, 10 insertions, 4 deletions
diff --git a/source4/lib/ldb/include/ldb.h b/source4/lib/ldb/include/ldb.h
index 933ee93163..eeb939a170 100644
--- a/source4/lib/ldb/include/ldb.h
+++ b/source4/lib/ldb/include/ldb.h
@@ -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,