2
**********************************************************************
3
* Copyright (C) 1999-2001, International Business Machines
4
* Corporation and others. All Rights Reserved.
5
**********************************************************************
9
* defines variables and functions pertaining to file access, and name resolution
10
* aspect of the library
16
#include "unicode/utypes.h"
19
* Map a converter alias name to a canonical converter name.
20
* The alias is searched for case-insensitively, the converter name
21
* is returned in mixed-case.
22
* Returns NULL if the alias is not found.
25
ucnv_io_getConverterName(const char *alias, UErrorCode *pErrorCode);
28
* Search case-insensitively for a converter alias and set aliases to
29
* a pointer to the list of aliases for the actual converter.
30
* The first "alias" is the canonical converter name.
31
* The aliases are stored consecutively, in mixed case, each NUL-terminated.
32
* There are as many strings in this list as the return value specifies.
33
* Returns the number of aliases including the canonical converter name,
34
* or 0 if the alias is not found.
37
ucnv_io_getAliases(const char *alias, const char **aliases, UErrorCode *pErrorCode);
40
* Search case-insensitively for a converter alias and return
42
* Returns NULL if the alias is not found.
45
ucnv_io_getAlias(const char *alias, uint16_t n, UErrorCode *pErrorCode);
48
* Return the number of all standard names.
51
ucnv_io_countStandards(UErrorCode *pErrorCode);
54
* Return the number of all converter names.
57
ucnv_io_countAvailableConverters(UErrorCode *pErrorCode);
60
* Return the (n)th converter name in mixed case, or NULL
61
* if there is none (typically, if the data cannot be loaded).
62
* 0<=index<ucnv_io_countAvailableConverters().
65
ucnv_io_getAvailableConverter(uint16_t n, UErrorCode *pErrorCode);
68
* Fill an array const char *aliases[ucnv_io_countAvailableConverters()]
69
* with pointers to all converter names in mixed-case.
72
ucnv_io_fillAvailableConverters(const char **aliases, UErrorCode *pErrorCode);
75
* Return the number of all aliases (and converter names).
78
ucnv_io_countAvailableAliases(UErrorCode *pErrorCode);
81
* Return the (n)th alias or converter name in mixed case, or NULL
82
* if there is none (typically, if the data cannot be loaded).
83
* 0<=index<ucnv_io_countAvailableAliases().
86
ucnv_io_getAvailableAlias(uint16_t n, UErrorCode *pErrorCode);
89
* Fill an array const char *aliases[ucnv_io_countAvailableAliases()]
90
* with pointers to all aliases and converter names in mixed-case.
93
ucnv_io_fillAvailableAliases(const char **aliases, UErrorCode *pErrorCode);
96
* Get the name of the default converter.
97
* This name is already resolved by <code>ucnv_io_getConverterName()</code>.
100
ucnv_io_getDefaultConverterName(void);
103
* Set the name of the default converter.
106
ucnv_io_setDefaultConverterName(const char *name);
108
#endif /* _UCNV_IO */
111
* Hey, Emacs, please set the following:
114
* indent-tabs-mode: nil