summaryrefslogtreecommitdiffstats
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
commit3f7ba70615008d74a145a94aa087cae08efab343 (patch)
tree35b9caf28263def5e53c8fce4db39b829f314930
parent6169b668fe955f298c7323c5d64f6c7b303aaac0 (diff)
downloadsamba-3f7ba70615008d74a145a94aa087cae08efab343.tar.gz
samba-3f7ba70615008d74a145a94aa087cae08efab343.tar.xz
samba-3f7ba70615008d74a145a94aa087cae08efab343.zip
Add ability to extend ads modification list on the fly. Added ADS_MODLIST type.
-rw-r--r--source/include/ads.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/source/include/ads.h b/source/include/ads.h
index 343f505f8b0..6c441f870fe 100644
--- a/source/include/ads.h
+++ b/source/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)