diff options
author | Tim Potter <tpot@samba.org> | 2004-04-28 07:32:37 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:51:36 -0500 |
commit | b0b97592be312b3553ac31cc3f3cb994de06e506 (patch) | |
tree | dc9d731c916eae81767883804c2d7d269bc56f3f /source4/lib/ldb/include | |
parent | 6411aa483f9233af098b4893ad67ebd2fd9d5868 (diff) | |
download | samba-b0b97592be312b3553ac31cc3f3cb994de06e506.tar.gz samba-b0b97592be312b3553ac31cc3f3cb994de06e506.tar.bz2 samba-b0b97592be312b3553ac31cc3f3cb994de06e506.zip |
r382: More C++ friendliness fixes.
(This used to be commit e96f3a2005cf6f4da2ecd4670a35eab1b4f250d0)
Diffstat (limited to 'source4/lib/ldb/include')
-rw-r--r-- | source4/lib/ldb/include/ldb.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source4/lib/ldb/include/ldb.h b/source4/lib/ldb/include/ldb.h index d010d8dd40..ef00cdf32c 100644 --- a/source4/lib/ldb/include/ldb.h +++ b/source4/lib/ldb/include/ldb.h @@ -86,7 +86,7 @@ struct ldb_message { char *dn; unsigned int num_elements; struct ldb_message_element *elements; - void *private; /* private to the backend */ + void *private_data; /* private to the backend */ }; enum ldb_changetype { @@ -210,10 +210,10 @@ const char *ldb_errstring(struct ldb_context *ldb); ldif manipulation functions */ int ldif_write(int (*fprintf_fn)(void *, const char *, ...), - void *private, + void *private_data, const struct ldb_ldif *ldif); void ldif_read_free(struct ldb_ldif *); -struct ldb_ldif *ldif_read(int (*fgetc_fn)(void *), void *private); +struct ldb_ldif *ldif_read(int (*fgetc_fn)(void *), void *private_data); struct ldb_ldif *ldif_read_file(FILE *f); struct ldb_ldif *ldif_read_string(const char *s); int ldif_write_file(FILE *f, const struct ldb_ldif *msg); |