1 // © 2016 and later: Unicode, Inc. and others.
2 // License & terms of use: http://www.unicode.org/copyright.html
4 *******************************************************************************
6 * Copyright (C) 2003, International Business Machines
7 * Corporation and others. All Rights Reserved.
9 *******************************************************************************
10 * file name: nfsprep.h
12 * tab size: 8 (not used)
15 * created on: 2003jul11
16 * created by: Ram Viswanadha
21 #include "unicode/utypes.h"
25 #include "unicode/ustring.h"
26 #include "unicode/usprep.h"
31 /* this enum must be kept in syn with NFS4DataFileNames array in nfsprep.c */
32 enum NFS4ProfileState
{
36 NFS4_MIXED_PREP_PREFIX
,
37 NFS4_MIXED_PREP_SUFFIX
40 typedef enum NFS4ProfileState NFS4ProfileState
;
43 * Prepares the source UTF-8 string for use in file names and
44 * returns UTF-8 string on output.
54 nfs4_prepare(const char* src
, int32_t srcLength
,
55 char* dest
, int32_t destCapacity
,
56 NFS4ProfileState state
,
57 UParseError
* parseError
,
70 nfs4_mixed_prepare( const char* src
, int32_t srcLength
,
71 char* dest
, int32_t destCapacity
,
72 UParseError
* parseError
,
85 nfs4_cis_prepare( const char* src
, int32_t srcLength
,
86 char* dest
, int32_t destCapacity
,
87 UParseError
* parseError
,
100 nfs4_cs_prepare( const char* src
, int32_t srcLength
,
101 char* dest
, int32_t destCapacity
,
102 UBool isCaseSensitive
,
103 UParseError
* parseError
,
109 * Hey, Emacs, please set the following:
112 * indent-tabs-mode: nil