From: Luke Howard Date: Fri, 24 Jan 2003 09:00:18 +0000 (+0000) Subject: Matching rule constants for future support X-Git-Tag: NO_SLAP_OP_BLOCKS~509 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=45289b09a7c34549ed92834d1de9079c6ed73657;p=openldap Matching rule constants for future support --- diff --git a/include/slapi-plugin.h b/include/slapi-plugin.h index b576a6abfd..7a6a0a24ed 100644 --- a/include/slapi-plugin.h +++ b/include/slapi-plugin.h @@ -239,6 +239,8 @@ int slapi_x_compute_get_pblock(computed_attr_context *c, Slapi_PBlock **pb); #define SLAPI_PLUGIN_EXTENDEDOP 2 #define SLAPI_PLUGIN_PREOPERATION 3 #define SLAPI_PLUGIN_POSTOPERATION 4 +#define SLAPI_PLUGIN_MATCHINGRULE 5 +#define SLAPI_PLUGIN_SYNTAX 6 #define SLAPI_PLUGIN_AUDIT 7 /* misc params */ @@ -371,6 +373,12 @@ int slapi_x_compute_get_pblock(computed_attr_context *c, Slapi_PBlock **pb); #define SLAPI_PLUGIN_MR_QUERY_OPERATOR 616 #define SLAPI_PLUGIN_MR_USAGE 617 +#define SLAPI_MATCHINGRULE_NAME 1 +#define SLAPI_MATCHINGRULE_OID 2 +#define SLAPI_MATCHINGRULE_DESC 3 +#define SLAPI_MATCHINGRULE_SYNTAX 4 +#define SLAPI_MATCHINGRULE_OBSOLETE 5 + #define SLAPI_OP_LESS 1 #define SLAPI_OP_LESS_OR_EQUAL 2 #define SLAPI_OP_EQUAL 3 diff --git a/servers/slapd/slapi/slapi.h b/servers/slapd/slapi/slapi.h index f367172902..41afe283f9 100644 --- a/servers/slapd/slapi/slapi.h +++ b/servers/slapd/slapi/slapi.h @@ -224,6 +224,12 @@ LDAP_BEGIN_DECL #define SLAPI_PLUGIN_MR_USAGE_INDEX 0 #define SLAPI_PLUGIN_MR_USAGE_SORT 1 +#define SLAPI_MATCHINGRULE_NAME 1 +#define SLAPI_MATCHINGRULE_OID 2 +#define SLAPI_MATCHINGRULE_DESC 3 +#define SLAPI_MATCHINGRULE_SYNTAX 4 +#define SLAPI_MATCHINGRULE_OBSOLETE 5 + #define SLAPI_PLUGIN_SYNTAX_FILTER_AVA 700 #define SLAPI_PLUGIN_SYNTAX_FILTER_SUB 701 #define SLAPI_PLUGIN_SYNTAX_VALUES2KEYS 702