ICU 73.2  73.2
ucnv_cb.h
Go to the documentation of this file.
00001 // © 2016 and later: Unicode, Inc. and others.
00002 // License & terms of use: http://www.unicode.org/copyright.html
00003 /*
00004 **********************************************************************
00005 *   Copyright (C) 2000-2004, International Business Machines
00006 *   Corporation and others.  All Rights Reserved.
00007 **********************************************************************
00008  *  ucnv_cb.h:
00009  *  External APIs for the ICU's codeset conversion library
00010  *  Helena Shih
00011  * 
00012  * Modification History:
00013  *
00014  *   Date        Name        Description
00015  */
00016 
00063 #ifndef UCNV_CB_H
00064 #define UCNV_CB_H
00065 
00066 #include "unicode/utypes.h"
00067 
00068 #if !UCONFIG_NO_CONVERSION
00069 
00070 #include "unicode/ucnv.h"
00071 #include "unicode/ucnv_err.h"
00072 
00087 U_CAPI void U_EXPORT2
00088 ucnv_cbFromUWriteBytes (UConverterFromUnicodeArgs *args,
00089                         const char* source,
00090                         int32_t length,
00091                         int32_t offsetIndex,
00092                         UErrorCode * err);
00093 
00107 U_CAPI void U_EXPORT2 
00108 ucnv_cbFromUWriteSub (UConverterFromUnicodeArgs *args,
00109                       int32_t offsetIndex,
00110                       UErrorCode * err);
00111 
00124 U_CAPI void U_EXPORT2 ucnv_cbFromUWriteUChars(UConverterFromUnicodeArgs *args,
00125                              const UChar** source,
00126                              const UChar*  sourceLimit,
00127                              int32_t offsetIndex,
00128                              UErrorCode * err);
00129 
00143 U_CAPI void U_EXPORT2 ucnv_cbToUWriteUChars (UConverterToUnicodeArgs *args,
00144                                              const UChar* source,
00145                                              int32_t length,
00146                                              int32_t offsetIndex,
00147                                              UErrorCode * err);
00148 
00159 U_CAPI void U_EXPORT2 ucnv_cbToUWriteSub (UConverterToUnicodeArgs *args,
00160                        int32_t offsetIndex,
00161                        UErrorCode * err);
00162 #endif
00163 
00164 #endif