summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/include/ldb.h
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2011-01-13 11:07:15 +1100
committerAndrew Tridgell <tridge@samba.org>2011-01-14 16:39:32 +1100
commitfb704d7fc1336ad73f685abd8ac454bbde8ac966 (patch)
tree017019d2163b70e746ecabea5f9af882029b58c0 /source4/lib/ldb/include/ldb.h
parent29fb42a48b29158dc77682e2f4a42ed0e961c4b2 (diff)
downloadsamba-fb704d7fc1336ad73f685abd8ac454bbde8ac966.tar.gz
samba-fb704d7fc1336ad73f685abd8ac454bbde8ac966.tar.bz2
samba-fb704d7fc1336ad73f685abd8ac454bbde8ac966.zip
ldb: added ldb_dn_get_extended_comp_num()
this returns the number of extended components. We need this to validate a DN in the extended_dn_in module Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source4/lib/ldb/include/ldb.h')
-rw-r--r--source4/lib/ldb/include/ldb.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/lib/ldb/include/ldb.h b/source4/lib/ldb/include/ldb.h
index 0c3196a286..e7f7ebba46 100644
--- a/source4/lib/ldb/include/ldb.h
+++ b/source4/lib/ldb/include/ldb.h
@@ -1758,6 +1758,7 @@ struct ldb_dn *ldb_dn_get_parent(TALLOC_CTX *mem_ctx, struct ldb_dn *dn);
char *ldb_dn_canonical_string(TALLOC_CTX *mem_ctx, struct ldb_dn *dn);
char *ldb_dn_canonical_ex_string(TALLOC_CTX *mem_ctx, struct ldb_dn *dn);
int ldb_dn_get_comp_num(struct ldb_dn *dn);
+int ldb_dn_get_extended_comp_num(struct ldb_dn *dn);
const char *ldb_dn_get_component_name(struct ldb_dn *dn, unsigned int num);
const struct ldb_val *ldb_dn_get_component_val(struct ldb_dn *dn, unsigned int num);
const char *ldb_dn_get_rdn_name(struct ldb_dn *dn);