summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-06-06 23:21:01 +0200
committerVolker Lendecke <vl@samba.org>2009-06-20 18:54:06 +0200
commitd45cf0146b62bf196ff207cd1ec52bbc39ef67ca (patch)
tree6c86d64a4d9d867110119a6a88d4bb10927321b4 /source3/include
parent63a70ba0ad306e39311db3145d85323276e02c02 (diff)
downloadsamba-d45cf0146b62bf196ff207cd1ec52bbc39ef67ca.tar.gz
samba-d45cf0146b62bf196ff207cd1ec52bbc39ef67ca.tar.bz2
samba-d45cf0146b62bf196ff207cd1ec52bbc39ef67ca.zip
tldap control support
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/tldap.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/source3/include/tldap.h b/source3/include/tldap.h
index 3da7d69d86..820f5d7097 100644
--- a/source3/include/tldap.h
+++ b/source3/include/tldap.h
@@ -29,7 +29,7 @@ struct tldap_message;
struct tldap_control {
const char *oid;
DATA_BLOB value;
- bool iscritical;
+ bool critical;
};
struct tldap_attribute {
@@ -104,7 +104,7 @@ int tldap_search(struct tldap_context *ld,
struct tldap_control *sctrls, int num_sctrls,
struct tldap_control *cctrls, int num_cctrls,
int timelimit, int sizelimit, int deref,
- TALLOC_CTX *mem_ctx, struct tldap_message ***pentries,
+ TALLOC_CTX *mem_ctx, struct tldap_message ***entries,
struct tldap_message ***refs);
bool tldap_entry_dn(struct tldap_message *msg, char **dn);
bool tldap_entry_attributes(struct tldap_message *msg, int *num_attributes,
@@ -159,9 +159,13 @@ int tldap_msg_type(const struct tldap_message *msg);
const char *tldap_req_matcheddn(struct tevent_req *req);
const char *tldap_req_diagnosticmessage(struct tevent_req *req);
const char *tldap_req_referral(struct tevent_req *req);
+void tldap_req_sctrls(struct tevent_req *req, int *num_sctrls,
+ struct tldap_control **sctrls);
const char *tldap_ctx_matcheddn(struct tldap_context *ctx);
const char *tldap_ctx_diagnosticmessage(struct tldap_context *ctx);
const char *tldap_ctx_referral(struct tldap_context *ctx);
+void tldap_ctx_sctrls(struct tldap_context *ctx, int *num_sctrls,
+ struct tldap_control **sctrls);
const char *tldap_err2string(int rc);
/* DEBUG */