Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
openldap
OpenLDAP
Commits
8b19daa3
Commit
8b19daa3
authored
Mar 24, 2003
by
Kurt Zeilenga
Browse files
SLAP_NVALUES: add numericStringNormalize()
parent
fd8c453a
Changes
1
Hide whitespace changes
Inline
Side-by-side
servers/slapd/schema_init.c
View file @
8b19daa3
...
...
@@ -52,7 +52,6 @@
#define integerNormalize NULL
#define integerFirstComponentNormalize NULL
#define numericStringNormalize NULL
#define objectIdentifierNormalize NULL
#define objectIdentifierFirstComponentNormalize NULL
#define generalizedTimeNormalize NULL
...
...
@@ -3709,13 +3708,20 @@ numericStringValidate(
return
LDAP_SUCCESS
;
}
#ifndef SLAP_NVALUES
static
int
#ifdef SLAP_NVALUES
numericStringNormalize
(
slap_mask_t
usage
,
Syntax
*
syntax
,
MatchingRule
*
mr
,
struct
berval
*
val
,
struct
berval
*
normalized
)
#else
xnumericStringNormalize
(
Syntax
*
syntax
,
struct
berval
*
val
,
struct
berval
*
normalized
)
#endif
{
/* removal all spaces */
char
*
p
,
*
q
;
...
...
@@ -3754,6 +3760,7 @@ xnumericStringNormalize(
return
LDAP_SUCCESS
;
}
#ifndef SLAP_NVALUES
static
int
objectIdentifierFirstComponentMatch
(
int
*
matchp
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment