Slapi_Has8Thbit(); Slapi_Utf8Casecmp() - Netscape DIRECTORY SERVER 7.0 - PLUG-IN Manual

For plug-in
Table of Contents

Advertisement

Functions Related to UTF-8
Table 15-27 UTF-8 Related Routines (Continued)
Function
slapi_utf8ToUpper()
slapi_UTF8TOUPPER()

slapi_has8thBit()

Checks if a string has an 8-bit character.
Syntax
#include "slapi-plugin.h"
int slapi_has8thBit(unsigned char *s);
Parameters
This function takes the following parameter:
s
Returns
This function returns one of the following values:
1
0

slapi_utf8casecmp()

Makes case-insensitive string comparison of two UTF-8 strings.
Syntax
#include "slapi-plugin.h"
int slapi_utf8casecmp(unsigned char *s0, unsigned char *s1);
Parameters
This function takes the following parameters:
s0
492
Netscape Directory Server Plug-in Programmer's Guide • October 2004
Description
Converts a lower-case UTF-8 character to an upper-case character.
Converts a lower-case UTF-8 character to an upper-case character.
Pointer to the null-terminated string to test.
if the string contains an 8-bit character.
if it does not.
A null-terminated UTF-8 string.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Netscape directory server 7.0

Table of Contents