2 *******************************************************************************
4 * Copyright (C) 2003, International Business Machines
5 * Corporation and others. All Rights Reserved.
7 *******************************************************************************
10 * tab size: 8 (not used)
13 * created on: 2003jul11
14 * created by: Ram Viswanadha
19 #include "unicode/utypes.h"
23 #include "unicode/ustring.h"
24 #include "unicode/usprep.h"
29 /* this enum must be kept in syn with NFS4DataFileNames array in nfsprep.c */
30 enum NFS4ProfileState
{
34 NFS4_MIXED_PREP_PREFIX
,
35 NFS4_MIXED_PREP_SUFFIX
38 typedef enum NFS4ProfileState NFS4ProfileState
;
41 * Prepares the source UTF-8 string for use in file names and
42 * returns UTF-8 string on output.
52 nfs4_prepare(const char* src
, int32_t srcLength
,
53 char* dest
, int32_t destCapacity
,
54 NFS4ProfileState state
,
55 UParseError
* parseError
,
68 nfs4_mixed_prepare( const char* src
, int32_t srcLength
,
69 char* dest
, int32_t destCapacity
,
70 UParseError
* parseError
,
83 nfs4_cis_prepare( const char* src
, int32_t srcLength
,
84 char* dest
, int32_t destCapacity
,
85 UParseError
* parseError
,
98 nfs4_cs_prepare( const char* src
, int32_t srcLength
,
99 char* dest
, int32_t destCapacity
,
100 UBool isCaseSensitive
,
101 UParseError
* parseError
,
107 * Hey, Emacs, please set the following:
110 * indent-tabs-mode: nil