summaryrefslogtreecommitdiff
path: root/source4/dsdb/samdb/ldb_modules/schema_syntax.h
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2006-10-16 12:05:06 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:21:11 -0500
commitd9cb938dcd73f10fb36838a5edaee1690628ec1b (patch)
treed94fa63e6c1acaf9850ff5e2beb3edfae7a93163 /source4/dsdb/samdb/ldb_modules/schema_syntax.h
parent549dd10f0f4bbc15c47a6da885db5d802b0a9a24 (diff)
downloadsamba-d9cb938dcd73f10fb36838a5edaee1690628ec1b.tar.gz
samba-d9cb938dcd73f10fb36838a5edaee1690628ec1b.tar.bz2
samba-d9cb938dcd73f10fb36838a5edaee1690628ec1b.zip
r19333: commit module changes I made some time ago before I loose them
(This used to be commit 524ec78086597e0507cb6ce307155ef1b6a47836)
Diffstat (limited to 'source4/dsdb/samdb/ldb_modules/schema_syntax.h')
-rw-r--r--source4/dsdb/samdb/ldb_modules/schema_syntax.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/schema_syntax.h b/source4/dsdb/samdb/ldb_modules/schema_syntax.h
index 1974c10b99..453f79a3c2 100644
--- a/source4/dsdb/samdb/ldb_modules/schema_syntax.h
+++ b/source4/dsdb/samdb/ldb_modules/schema_syntax.h
@@ -62,3 +62,12 @@ enum schema_internal_syntax {
SCHEMA_AS_DN_STRING = 23
};
+int map_schema_syntax(uint32_t om_syntax,
+ const char *attr_syntax,
+ const struct ldb_val *om_class,
+ enum schema_internal_syntax *syntax);
+
+int schema_validate(struct ldb_message_element *el,
+ enum schema_internal_syntax type,
+ bool single, int min, int max);
+