Slapi_Utf8Tolower() - Netscape DIRECTORY SERVER 7.0 - PLUG-IN Manual

For plug-in
Table of Contents

Advertisement

Functions Related to UTF-8
Memory Concerns
The output string is allocated in this function and needs to be released when it is
no longer used.

slapi_utf8ToLower()

Converts an upper-case UTF-8 character to a lower-case character.
Syntax
#include "slapi-plugin.h"
void slapi_utf8ToLower(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_UTF8TOLOWER()
Converts an upper-case UTF-8 character to a lower-case character.
Syntax
#include "slapi-plugin.h"
void slapi_UTF8TOLOWER(char *s, char *d, int *ssz, int *dsz);
Parameters
This function takes the following parameters:
502
Netscape Directory Server Plug-in Programmer's Guide • October 2004
A single UTF-8 character (could be multiple bytes).
Pointer to the lower case form 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
and
are overlapped.
s
d

Advertisement

Table of Contents
loading

This manual is also suitable for:

Netscape directory server 7.0

Table of Contents