summaryrefslogtreecommitdiffstats
path: root/source/lib/ldb/include
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-06-19 01:31:27 +0000
committerAndrew Tridgell <tridge@samba.org>2005-06-19 01:31:27 +0000
commit195093fbf9a5344aa014ae9d3d1a01e77d94bc17 (patch)
treec722760afc7158b0aa73992e07deb1a397672ced /source/lib/ldb/include
parenta96d59a675d4996878c6552d8f7d90d95f95fe6b (diff)
downloadsamba-195093fbf9a5344aa014ae9d3d1a01e77d94bc17.tar.gz
samba-195093fbf9a5344aa014ae9d3d1a01e77d94bc17.tar.xz
samba-195093fbf9a5344aa014ae9d3d1a01e77d94bc17.zip
r7740: get rid of our duplicate base64 routines
Diffstat (limited to 'source/lib/ldb/include')
-rw-r--r--source/lib/ldb/include/ldb.h2
-rw-r--r--source/lib/ldb/include/ldb_private.h1
2 files changed, 2 insertions, 1 deletions
diff --git a/source/lib/ldb/include/ldb.h b/source/lib/ldb/include/ldb.h
index ecfa77f436c..e980633a62a 100644
--- a/source/lib/ldb/include/ldb.h
+++ b/source/lib/ldb/include/ldb.h
@@ -270,6 +270,8 @@ struct ldb_ldif *ldb_ldif_read(struct ldb_context *ldb,
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);
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);
/* useful functions for ldb_message structure manipulation */
diff --git a/source/lib/ldb/include/ldb_private.h b/source/lib/ldb/include/ldb_private.h
index 76a43cdbc22..92588e13fdc 100644
--- a/source/lib/ldb/include/ldb_private.h
+++ b/source/lib/ldb/include/ldb_private.h
@@ -116,7 +116,6 @@ const char *ldb_next_errstring(struct ldb_module *module);
void ldb_debug(struct ldb_context *ldb, enum ldb_debug_level level, const char *fmt, ...) PRINTF_ATTRIBUTE(3, 4);
/* The following definitions come from lib/ldb/common/ldb_ldif.c */
-char *ldb_base64_encode(struct ldb_context *ldb, const char *buf, int len);
int ldb_should_b64_encode(const struct ldb_val *val);
int ltdb_connect(struct ldb_context *ldb, const char *url,