Netscape DIRECTORY SERVER 6.02 - PLUG-IN Manual page 446

Table of Contents

Advertisement

Functions Related to UTF-8
dsz
slapi_utf8ToUpper()
Converts a lower-case UTF-8 character to an upper-case character.
Syntax
#include "slapi-plugin.h"
void slapi_utf8ToUpper(unsigned char *s, unsigned char *d, int *ssz,
int *dsz);
Parameters
This function takes the following parameters:
s
d
ssz
dsz
Memory Concerns
Memory for the output character is not allocated in this function; caller should
have allocated it (
slapi_UTF8TOUPPER()
Converts a lower-case UTF-8 character to an upper-case character.
Syntax
#include "slapi-plugin.h"
void slapi_UTF8TOUPPER(char *s, char *d, int *ssz, int *dsz);
Parameters
This function takes the following parameters:
s
446
Netscape Directory Server Plug-In Programmer's Guide • May 2002
Returns the length in bytes of the output character.
Pointer to a single UTF-8 character (could be multiple bytes).
Pointer to the upper case version of s. The memory for this must
be allocated by the caller before calling the function.
Length in bytes of the input character.
Length in bytes of the output character.
).
is used since
d
memmove
Pointer to a single UTF-8 character (could be multiple bytes).
and
are overlapped.
s
d

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.02

Table of Contents