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
Joe Martin
OpenLDAP
Commits
835ab08d
Commit
835ab08d
authored
Apr 15, 2008
by
Quanah Gibson-Mount
Browse files
const strings
parent
0c401677
Changes
3
Hide whitespace changes
Inline
Side-by-side
servers/slapd/at.c
View file @
835ab08d
...
...
@@ -1031,7 +1031,7 @@ at_schema_info( Entry *e )
}
int
register_at
(
char
*
def
,
AttributeDescription
**
rad
,
int
dupok
)
register_at
(
const
char
*
def
,
AttributeDescription
**
rad
,
int
dupok
)
{
LDAPAttributeType
*
at
;
int
code
,
freeit
=
0
;
...
...
servers/slapd/oc.c
View file @
835ab08d
...
...
@@ -896,7 +896,7 @@ oc_schema_info( Entry *e )
}
int
register_oc
(
char
*
def
,
ObjectClass
**
soc
,
int
dupok
)
register_oc
(
const
char
*
def
,
ObjectClass
**
soc
,
int
dupok
)
{
LDAPObjectClass
*
oc
;
int
code
;
...
...
servers/slapd/proto-slap.h
View file @
835ab08d
...
...
@@ -248,7 +248,7 @@ LDAP_SLAPD_F (void) at_unparse LDAP_P((
BerVarray
*
bva
,
AttributeType
*
start
,
AttributeType
*
end
,
int
system
));
LDAP_SLAPD_F
(
int
)
register_at
LDAP_P
((
char
*
at
,
const
char
*
at
,
AttributeDescription
**
ad
,
int
dupok
));
...
...
@@ -1368,7 +1368,7 @@ LDAP_SLAPD_F (void) oc_unparse LDAP_P((
BerVarray
*
bva
,
ObjectClass
*
start
,
ObjectClass
*
end
,
int
system
));
LDAP_SLAPD_F
(
int
)
register_oc
LDAP_P
((
char
*
desc
,
const
char
*
desc
,
ObjectClass
**
oc
,
int
dupok
));
...
...
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