Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
O
OpenLDAP
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Christopher Ng
OpenLDAP
Commits
e0f7614a
Commit
e0f7614a
authored
25 years ago
by
Kurt Zeilenga
Browse files
Options
Downloads
Patches
Plain Diff
Add matching rule function pointers for index generation and use with
filters.
parent
916a63d8
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
servers/slapd/slap.h
+18
-1
18 additions, 1 deletion
servers/slapd/slap.h
with
18 additions
and
1 deletion
servers/slapd/slap.h
+
18
−
1
View file @
e0f7614a
...
...
@@ -178,12 +178,29 @@ typedef int slap_mr_match_func LDAP_P((
struct
berval
*
value
,
struct
berval
*
assertValue
));
/* Index generation function */
typedef
int
slap_mr_indexer_func
LDAP_P
((
struct
slap_syntax
*
syntax
,
/* syntax of stored value */
struct
slap_matching_rule
*
mr
,
struct
berval
**
values
,
struct
berval
**
keys
));
struct
slap_filter
;
/* forward declaration */
/* Filter index function */
typedef
int
slap_mr_filter_func
LDAP_P
((
struct
slap_syntax
*
syntax
,
/* syntax of stored value */
struct
slap_matching_rule
*
mr
,
struct
slap_filter
*
filter
,
struct
berval
**
keys
));
typedef
struct
slap_matching_rule
{
LDAP_MATCHING_RULE
smr_mrule
;
Syntax
*
smr_syntax
;
slap_mr_convert_func
*
smr_convert
;
slap_mr_normalize_func
*
smr_normalize
;
slap_mr_match_func
*
smr_match
;
Syntax
*
smr_syntax
;
slap_mr_indexer_func
*
smr_indexer
;
slap_mr_filter_func
*
smr_filter
;
struct
slap_matching_rule
*
smr_next
;
#define smr_oid smr_mrule.mr_oid
#define smr_names smr_mrule.mr_names
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment