summaryrefslogtreecommitdiff
path: root/source4/libcli/ldap/ldap.h
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-05-10 01:57:47 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:16:34 -0500
commitf6c0bee79125e779ab0036a77506e2f688c4872f (patch)
treed363c559e200ce6627a0fb212f7962a6ccc6bd32 /source4/libcli/ldap/ldap.h
parente1369f8720517796438dc57da1965efcfff25ff5 (diff)
downloadsamba-f6c0bee79125e779ab0036a77506e2f688c4872f.tar.gz
samba-f6c0bee79125e779ab0036a77506e2f688c4872f.tar.bz2
samba-f6c0bee79125e779ab0036a77506e2f688c4872f.zip
r6689: minor ldap client library work
- added support for binary encoded search filters - fixed some const handling - changed the message type to an enum, to help debugging (This used to be commit d5353b63428698d1ce95c50e2626f1841fa637e3)
Diffstat (limited to 'source4/libcli/ldap/ldap.h')
-rw-r--r--source4/libcli/ldap/ldap.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/source4/libcli/ldap/ldap.h b/source4/libcli/ldap/ldap.h
index 710c022a3c..50031fd60c 100644
--- a/source4/libcli/ldap/ldap.h
+++ b/source4/libcli/ldap/ldap.h
@@ -149,7 +149,7 @@ struct ldap_SearchRequest {
uint32_t timelimit;
uint32_t sizelimit;
BOOL attributesonly;
- char *filter;
+ const char *filter;
int num_attributes;
const char **attributes;
};
@@ -251,9 +251,9 @@ struct ldap_Control {
struct ldap_message {
TALLOC_CTX *mem_ctx;
- uint32_t messageid;
- uint8_t type;
- union ldap_Request r;
+ uint32_t messageid;
+ enum ldap_request_tag type;
+ union ldap_Request r;
int num_controls;
struct ldap_Control *controls;
};