Logo Search packages:      
Sourcecode: icu version File versions

Defines | Typedefs | Enumerations | Functions

usprep.h File Reference

C API: Implements the StringPrep algorithm. More...

#include "unicode/utypes.h"
#include "unicode/localpointer.h"
#include "unicode/parseerr.h"
Include dependency graph for usprep.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define USPREP_ALLOW_UNASSIGNED   0x0001
#define USPREP_DEFAULT   0x0000

Typedefs

typedef struct UStringPrepProfile UStringPrepProfile
typedef enum UStringPrepProfileType UStringPrepProfileType

Enumerations

enum  UStringPrepProfileType {
  USPREP_RFC3491_NAMEPREP, USPREP_RFC3530_NFS4_CS_PREP, USPREP_RFC3530_NFS4_CS_PREP_CI, USPREP_RFC3530_NFS4_CIS_PREP,
  USPREP_RFC3530_NFS4_MIXED_PREP_PREFIX, USPREP_RFC3530_NFS4_MIXED_PREP_SUFFIX, USPREP_RFC3722_ISCSI, USPREP_RFC3920_NODEPREP,
  USPREP_RFC3920_RESOURCEPREP, USPREP_RFC4011_MIB, USPREP_RFC4013_SASLPREP, USPREP_RFC4505_TRACE,
  USPREP_RFC4518_LDAP, USPREP_RFC4518_LDAP_CI
}

Functions

U_STABLE void U_EXPORT2 usprep_close (UStringPrepProfile *profile)
U_STABLE UStringPrepProfile
*U_EXPORT2 
usprep_open (const char *path, const char *fileName, UErrorCode *status)
U_STABLE UStringPrepProfile
*U_EXPORT2 
usprep_openByType (UStringPrepProfileType type, UErrorCode *status)
U_STABLE int32_t U_EXPORT2 usprep_prepare (const UStringPrepProfile *prep, const UChar *src, int32_t srcLength, UChar *dest, int32_t destCapacity, int32_t options, UParseError *parseError, UErrorCode *status)

Detailed Description

C API: Implements the StringPrep algorithm.

Definition in file usprep.h.


Generated by  Doxygen 1.6.0   Back to index