1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-27 14:04:05 +03:00

r9393: Fix ldb standalone build

(This used to be commit 796d0ea2fcf5132b157a397cc1a54aa26c042691)
This commit is contained in:
Simo Sorce 2005-08-18 16:27:09 +00:00 committed by Gerald (Jerry) Carter
parent ac90ddfdb2
commit 7c7b93f649
2 changed files with 6 additions and 0 deletions

View File

@ -353,6 +353,7 @@ struct ldb_dn *ldb_dn_explode(void *mem_ctx, const char *dn)
/* Allocate a structure to hold the exploded DN */
edn = ldb_dn_new(mem_ctx);
pdn = NULL;
/* Empty DNs */
if (dn[0] == '\0') {

View File

@ -348,6 +348,11 @@ int ldb_attrib_add_handlers(struct ldb_context *ldb,
unsigned num_handlers);
/* The following definitions come from lib/ldb/common/ldb_dn.c */
#ifndef BOOL
typedef int BOOL;
#endif
BOOL ldb_dn_is_special(const struct ldb_dn *dn);
BOOL ldb_dn_check_special(const struct ldb_dn *dn, const char *check);
char *ldb_dn_escape_value(void *mem_ctx, struct ldb_val value);