00001 /* 00002 ********************************************************************** 00003 * Copyright (C) 2000, International Business Machines 00004 * Corporation and others. All Rights Reserved. 00005 ********************************************************************** 00006 * ucnv_cb.h: 00007 * External APIs for the ICU's codeset conversion library 00008 * Helena Shih 00009 * 00010 * Modification History: 00011 * 00012 * Date Name Description 00013 */ 00014 00020 #ifndef UCNV_CB_H 00021 #define UCNV_CB_H 00022 00023 #include "unicode/utypes.h" 00024 #include "unicode/ucnv.h" 00025 #include "unicode/ucnv_err.h" 00026 00027 /* From Unicode */ 00041 U_CAPI void U_EXPORT2 ucnv_cbFromUWriteBytes (UConverterFromUnicodeArgs *args, 00042 const char* source, 00043 int32_t length, 00044 int32_t offsetIndex, 00045 UErrorCode * err); 00046 00060 U_CAPI void U_EXPORT2 ucnv_cbFromUWriteSub (UConverterFromUnicodeArgs *args, 00061 int32_t offsetIndex, 00062 UErrorCode * err); 00063 00064 00077 U_CAPI void U_EXPORT2 ucnv_cbFromUWriteUChars(UConverterFromUnicodeArgs *args, 00078 const UChar** source, 00079 const UChar* sourceLimit, 00080 int32_t offsetIndex, 00081 UErrorCode * err); 00082 00096 U_CAPI void U_EXPORT2 ucnv_cbToUWriteUChars (UConverterToUnicodeArgs *args, 00097 const UChar* source, 00098 int32_t length, 00099 int32_t offsetIndex, 00100 UErrorCode * err); 00101 00113 U_CAPI void U_EXPORT2 ucnv_cbToUWriteSub (UConverterToUnicodeArgs *args, 00114 int32_t offsetIndex, 00115 UErrorCode * err); 00116 #endif 00117