diff options
author | Simo Sorce <idra@samba.org> | 2005-06-27 00:00:50 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:18:53 -0500 |
commit | e1e95277c0c7f86b15acd70ee3151ec2b3131c5e (patch) | |
tree | 190d5f0b0cda341b1bf306382fc92eb34d8f8c7f /source4/lib/ldb/include | |
parent | 1702f52498168c0437416dec1014cedead634774 (diff) | |
download | samba-e1e95277c0c7f86b15acd70ee3151ec2b3131c5e.tar.gz samba-e1e95277c0c7f86b15acd70ee3151ec2b3131c5e.tar.bz2 samba-e1e95277c0c7f86b15acd70ee3151ec2b3131c5e.zip |
r7937: main file was missing
(This used to be commit 3898cdb0dc4722a7eb60a61b54ef778dab475aed)
Diffstat (limited to 'source4/lib/ldb/include')
-rw-r--r-- | source4/lib/ldb/include/ldb_dn.h (renamed from source4/lib/ldb/include/ldb_explode_dn.h) | 26 |
1 files changed, 11 insertions, 15 deletions
diff --git a/source4/lib/ldb/include/ldb_explode_dn.h b/source4/lib/ldb/include/ldb_dn.h index af9829ba40..f355ee4879 100644 --- a/source4/lib/ldb/include/ldb_explode_dn.h +++ b/source4/lib/ldb/include/ldb_dn.h @@ -20,27 +20,23 @@ */ struct ldb_dn_attribute { - char * rdn; - char * name; - char * value; + char *name; + char *value; }; struct ldb_dn_component { - char * component; - int attr_num; - struct ldb_dn_attribute ** attributes; + int attr_num; + struct ldb_dn_attribute **attributes; }; struct ldb_dn { - char * dn; - int comp_num; - struct ldb_dn_component ** components; + int comp_num; + struct ldb_dn_component **components; }; -extern struct ldb_dn * -ldb_explode_dn(void * mem_ctx, - const char * orig_dn, - void * hUserData, - int (*case_fold_attr_fn)(void * hUserData, - char * attr)); +struct ldb_dn *ldb_dn_explode(void *mem_ctx, const char *dn); +char *ldb_dn_linearize(void *mem_ctx, struct ldb_dn *edn); +int ldb_dn_compare(struct ldb_dn *edn0, struct ldb_dn *edn1); +struct ldb_dn *ldb_dn_casefold(void *mem_ctx, struct ldb_dn *edn, void *user_data, + int (* case_fold_attr_fn)(void * user_data, char * attr)); |