summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/include/ldb.h
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2006-12-14 10:03:21 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:29:17 -0500
commite55ff42229d67c1447f2c811191b79137b1ce8cc (patch)
tree61448fcdfc6030de5aaa1098df88ab48bc0dc1c3 /source4/lib/ldb/include/ldb.h
parent66afa1003726fe8b4eeb98000581222a5f1f39c5 (diff)
downloadsamba-e55ff42229d67c1447f2c811191b79137b1ce8cc.tar.gz
samba-e55ff42229d67c1447f2c811191b79137b1ce8cc.tar.bz2
samba-e55ff42229d67c1447f2c811191b79137b1ce8cc.zip
r20168: start separating attributes and syntaxes
metze (This used to be commit 8dda4342f648aa71878ac9eeb7941710e2813aee)
Diffstat (limited to 'source4/lib/ldb/include/ldb.h')
-rw-r--r--source4/lib/ldb/include/ldb.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/source4/lib/ldb/include/ldb.h b/source4/lib/ldb/include/ldb.h
index eb1f505099..3db334d341 100644
--- a/source4/lib/ldb/include/ldb.h
+++ b/source4/lib/ldb/include/ldb.h
@@ -340,6 +340,14 @@ struct ldb_attrib_handler {
ldb_attr_comparison_t comparison_fn;
};
+struct ldb_schema_syntax {
+ const char *name;
+ ldb_attr_handler_t ldif_read_fn;
+ ldb_attr_handler_t ldif_write_fn;
+ ldb_attr_handler_t canonicalise_fn;
+ ldb_attr_comparison_t comparison_fn;
+};
+
/**
The attribute is not returned by default
*/