summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim McDonough <jmcd@samba.org>2002-02-11 15:48:34 +0000
committerJim McDonough <jmcd@samba.org>2002-02-11 15:48:34 +0000
commit6ea1824a5ca221d05ed4690b9018c31779d3286c (patch)
tree2ceb15979db5181e2c672feb100d14bf0d64849c
parentad6dfee7413756b7fe76ce1c9440105edd2fe9b2 (diff)
downloadsamba-6ea1824a5ca221d05ed4690b9018c31779d3286c.tar.gz
samba-6ea1824a5ca221d05ed4690b9018c31779d3286c.tar.bz2
samba-6ea1824a5ca221d05ed4690b9018c31779d3286c.zip
Add ability to extend ads modification list on the fly. Added ADS_MODLIST type.
(This used to be commit 3f7ba70615008d74a145a94aa087cae08efab343)
-rw-r--r--source3/include/ads.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/source3/include/ads.h b/source3/include/ads.h
index 343f505f8b..6c441f870f 100644
--- a/source3/include/ads.h
+++ b/source3/include/ads.h
@@ -85,6 +85,12 @@ typedef struct {
int minor_status;
} ADS_STATUS;
+#ifdef HAVE_ADS
+typedef LDAPMod **ADS_MODLIST;
+#else
+typedef void **ADS_MODLIST;
+#endif
+
/* macros to simplify error returning */
#define ADS_ERROR(rc) ads_build_error(ADS_ERROR_LDAP, rc, 0)
#define ADS_ERROR_SYSTEM(rc) ads_build_error(ADS_ERROR_SYSTEM, rc, 0)