summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2011-02-12 16:58:10 +0100
committerVolker Lendecke <vl@samba.org>2011-02-13 12:11:53 +0100
commit84abb428f640e4c48a7231ed78383b197ed715a9 (patch)
treefed2344f30389fed416ef4fc15a65abdbf41d40d /source3/include
parent158c1e315b2b680dad56d1b14ccfd4679c04c8bc (diff)
downloadsamba-84abb428f640e4c48a7231ed78383b197ed715a9.tar.gz
samba-84abb428f640e4c48a7231ed78383b197ed715a9.tar.bz2
samba-84abb428f640e4c48a7231ed78383b197ed715a9.zip
s3: Add an explicit counter to tldap_add_mod_[blobs|str]
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/tldap_util.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/source3/include/tldap_util.h b/source3/include/tldap_util.h
index d0268fe1d6..6a99a5f78a 100644
--- a/source3/include/tldap_util.h
+++ b/source3/include/tldap_util.h
@@ -33,10 +33,12 @@ bool tldap_pull_binsid(struct tldap_message *msg, const char *attribute,
struct dom_sid *sid);
bool tldap_pull_guid(struct tldap_message *msg, const char *attribute,
struct GUID *guid);
-bool tldap_add_mod_blobs(TALLOC_CTX *mem_ctx, struct tldap_mod **pmods,
+bool tldap_add_mod_blobs(TALLOC_CTX *mem_ctx,
+ struct tldap_mod **pmods, int *pnum_mods,
int mod_op, const char *attrib,
- DATA_BLOB *values, int num_values);
-bool tldap_add_mod_str(TALLOC_CTX *mem_ctx, struct tldap_mod **pmods,
+ DATA_BLOB *newvals, int num_newvals);
+bool tldap_add_mod_str(TALLOC_CTX *mem_ctx,
+ struct tldap_mod **pmods, int *pnum_mods,
int mod_op, const char *attrib, const char *str);
bool tldap_make_mod_blob(struct tldap_message *existing, TALLOC_CTX *mem_ctx,
struct tldap_mod **pmods, int *pnum_mods,