Netscape DIRECTORY SERVER 6.1 - PLUG-IN Manual page 482

Table of Contents

Advertisement

Functions Related to UTF-8
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
s1
Returns
This function returns one of the following values:
A positive number if
482
Netscape Directory Server Plug-In Programmer's Guide • August 2002
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.
A null-terminated UTF-8 string.
s0
is after
.
s1

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.1

Table of Contents