diff options
author | Andrew Tridgell <tridge@samba.org> | 2005-07-12 05:56:06 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:20:08 -0500 |
commit | 7c78ec0e145064696552d750eaaa70f00a0882e8 (patch) | |
tree | c893bc90876914f65768d12e6df0ad6ef3c15c9b /source4/lib/ldb/include | |
parent | 9570e24df1397f31dbd7c8436928749da9fc378c (diff) | |
download | samba-7c78ec0e145064696552d750eaaa70f00a0882e8.tar.gz samba-7c78ec0e145064696552d750eaaa70f00a0882e8.tar.bz2 samba-7c78ec0e145064696552d750eaaa70f00a0882e8.zip |
r8342: allow ldb_ldif_read_string() to continue in the string, so you can
read multiple records
(This used to be commit 4b11c00421b5152fd7d4be0be0db983bb310021d)
Diffstat (limited to 'source4/lib/ldb/include')
-rw-r--r-- | source4/lib/ldb/include/ldb.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/ldb/include/ldb.h b/source4/lib/ldb/include/ldb.h index 1f642d3bff..b2468b6ecb 100644 --- a/source4/lib/ldb/include/ldb.h +++ b/source4/lib/ldb/include/ldb.h @@ -316,7 +316,7 @@ void ldb_ldif_read_free(struct ldb_context *ldb, struct ldb_ldif *); struct ldb_ldif *ldb_ldif_read(struct ldb_context *ldb, int (*fgetc_fn)(void *), void *private_data); struct ldb_ldif *ldb_ldif_read_file(struct ldb_context *ldb, FILE *f); -struct ldb_ldif *ldb_ldif_read_string(struct ldb_context *ldb, const char *s); +struct ldb_ldif *ldb_ldif_read_string(struct ldb_context *ldb, const char **s); int ldb_ldif_write_file(struct ldb_context *ldb, FILE *f, const struct ldb_ldif *msg); char *ldb_base64_encode(void *mem_ctx, const char *buf, int len); int ldb_base64_decode(char *s); |