summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/include
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2006-01-14 01:06:16 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:51:07 -0500
commit5db0c6b3042292e0f343ced3d45f2f7a8f97de12 (patch)
tree1fe20dd2ef31c9189f0ddc7fc620eee08f06e112 /source4/lib/ldb/include
parent8e42a0c63c772731c4b756d8cd7db6a842a5f969 (diff)
downloadsamba-5db0c6b3042292e0f343ced3d45f2f7a8f97de12.tar.gz
samba-5db0c6b3042292e0f343ced3d45f2f7a8f97de12.tar.bz2
samba-5db0c6b3042292e0f343ced3d45f2f7a8f97de12.zip
r12925: implement client side of ASQ control
(This used to be commit dd386bdc6ca6fe0b25705d5a375d29e6940b437f)
Diffstat (limited to 'source4/lib/ldb/include')
-rw-r--r--source4/lib/ldb/include/ldb.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/source4/lib/ldb/include/ldb.h b/source4/lib/ldb/include/ldb.h
index 2a718334fe..569bf9d6a5 100644
--- a/source4/lib/ldb/include/ldb.h
+++ b/source4/lib/ldb/include/ldb.h
@@ -406,6 +406,15 @@ typedef int (*ldb_qsort_cmp_fn_t) (const void *, const void *, const void *);
*/
#define LDB_CONTROL_SORT_RESP_OID "1.2.840.113556.1.4.474"
+/**
+ OID for LDAP Attribute Scoped Query extension.
+
+ This control is include in SearchRequest or SearchResponse
+ messages as part of the controls field of the LDAPMessage.
+*/
+#define LDB_CONTROL_ASQ_OID "1.2.840.113556.1.4.1504"
+
+
struct ldb_paged_control {
int size;
int cookie_len;
@@ -427,6 +436,13 @@ struct ldb_sort_resp_control {
char *attr_desc;
};
+struct ldb_asq_control {
+ int request;
+ char *source_attribute;
+ int src_attr_len;
+ int result;
+};
+
struct ldb_control {
const char *oid;
int critical;