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
d6f3f785
Commit
d6f3f785
authored
19 years ago
by
Howard Chu
Browse files
Options
Downloads
Patches
Plain Diff
ITS#3869 set ldap_unicode_t to ac_uint4 to agree with ucdata usage.
parent
d602831a
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
include/ldap_pvt_uc.h
+2
-6
2 additions, 6 deletions
include/ldap_pvt_uc.h
with
2 additions
and
6 deletions
include/ldap_pvt_uc.h
+
2
−
6
View file @
d6f3f785
...
...
@@ -33,12 +33,8 @@ LDAP_BEGIN_DECL
* UTF-8 (in utf-8.c)
*/
typedef
short
ldap_ucs2_t
;
/* UCDATA uses UCS-2 passed in an unsigned long */
typedef
unsigned
long
ldap_unicode_t
;
#define ldap_utf8_to_unicode( p ) ldap_utf8_to_ucs4((p))
#define ldap_unicode_to_utf8( c, buf ) ldap_ucs4_to_ucs4((c),(buf))
/* UCDATA uses UCS-2 passed in a 4 byte unsigned int */
typedef
ac_uint4
ldap_unicode_t
;
/* Convert a string with csize octets per character to UTF-8 */
LDAP_F
(
int
)
ldap_ucs_to_utf8s
LDAP_P
((
...
...
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