From 3ddab071eb81023fa99e69d0a8a2d696cf56db70 Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Mon, 28 Aug 2006 18:00:45 +0000 Subject: r17894: better name for the internal syntax type (This used to be commit 4241a1bb832461ca44ce0f20cb770ea2b6f2d7e3) --- source4/dsdb/samdb/ldb_modules/schema.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source4') diff --git a/source4/dsdb/samdb/ldb_modules/schema.c b/source4/dsdb/samdb/ldb_modules/schema.c index 21a6527e10..3e8a70a043 100644 --- a/source4/dsdb/samdb/ldb_modules/schema.c +++ b/source4/dsdb/samdb/ldb_modules/schema.c @@ -41,7 +41,7 @@ see ldap_server/devdocs/AD-syntaxes.txt */ -enum schema_int_attr_id { +enum schema_internal_syntax { SCHEMA_AS_BOOLEAN, SCHEMA_AS_INTEGER, SCHEMA_AS_OCTET_STRING, @@ -77,7 +77,7 @@ enum schema_class_type { struct schema_attribute { char *OID; /* attributeID */ char *name; /* lDAPDisplayName */ - enum schema_int_attr_id syntax; /* generated from attributeSyntax, oMSyntax, oMObjectClass */ + enum schema_internal_syntax syntax; /* generated from attributeSyntax, oMSyntax, oMObjectClass */ bool single; /* isSingleValued */ int min; /* rangeLower */ int max; /* rangeUpper */ @@ -253,7 +253,7 @@ struct schema_attribute **schema_get_attrs_list(struct ldb_module *module, return list; } -static int map_schema_syntax(uint32_t om_syntax, const char *attr_syntax, const struct ldb_val *om_class, enum schema_int_attr_id *syntax) +static int map_schema_syntax(uint32_t om_syntax, const char *attr_syntax, const struct ldb_val *om_class, enum schema_internal_syntax *syntax) { int ret; -- cgit