ucasemap.h

Go to the documentation of this file.
00001 /*
00002 *******************************************************************************
00003 *
00004 *   Copyright (C) 2005, International Business Machines
00005 *   Corporation and others.  All Rights Reserved.
00006 *
00007 *******************************************************************************
00008 *   file name:  ucasemap.h
00009 *   encoding:   US-ASCII
00010 *   tab size:   8 (not used)
00011 *   indentation:4
00012 *
00013 *   created on: 2005may06
00014 *   created by: Markus W. Scherer
00015 *
00016 *   Case mapping service object and functions using it.
00017 */
00018 
00019 #ifndef __UCASEMAP_H__
00020 #define __UCASEMAP_H__
00021 
00022 #include "unicode/utypes.h"
00023 #include "unicode/ustring.h"
00024 
00044 struct UCaseMap;
00045 typedef struct UCaseMap UCaseMap; 
00065 U_DRAFT UCaseMap * U_EXPORT2
00066 ucasemap_open(const char *locale, uint32_t options, UErrorCode *pErrorCode);
00067 
00073 U_DRAFT void U_EXPORT2
00074 ucasemap_close(UCaseMap *csm);
00075 
00082 U_DRAFT const char * U_EXPORT2
00083 ucasemap_getLocale(const UCaseMap *csm);
00084 
00091 U_DRAFT uint32_t U_EXPORT2
00092 ucasemap_getOptions(const UCaseMap *csm);
00093 
00105 U_DRAFT void U_EXPORT2
00106 ucasemap_setLocale(UCaseMap *csm, const char *locale, UErrorCode *pErrorCode);
00107 
00119 U_DRAFT void U_EXPORT2
00120 ucasemap_setOptions(UCaseMap *csm, uint32_t options, UErrorCode *pErrorCode);
00121 
00145 U_DRAFT int32_t U_EXPORT2
00146 ucasemap_utf8ToLower(const UCaseMap *csm,
00147                      char *dest, int32_t destCapacity,
00148                      const char *src, int32_t srcLength,
00149                      UErrorCode *pErrorCode);
00150 
00174 U_DRAFT int32_t U_EXPORT2
00175 ucasemap_utf8ToUpper(const UCaseMap *csm,
00176                      char *dest, int32_t destCapacity,
00177                      const char *src, int32_t srcLength,
00178                      UErrorCode *pErrorCode);
00179 
00180 #endif

Generated on Mon Aug 13 07:17:24 2007 for ICU 3.6 by  doxygen 1.5.2