/* ********************************************************************** * Copyright (C) 2000-2004, X.Net, Inc. Lafayette, California, USA * All Rights Reserved. * * Open source license http://www.opensource.org/licenses/xnet.html ********************************************************************** * xiux.h: * Private APIs for the ICU's codeset conversion library * * * Modification History: * * Date Name Description * 09/07/00 brown Initial version. * 10/10/01 brown xIUA 3.1 complete * 12/06/01 brown xIUA 3.2 complete * 10/03/02 brown Removed locid.h include * added xiux_malloc/realloc/free * 10/03/02 brown xIUA 3.3 complete * 12/17/02 brown xIUA 3.4 complete * 06/14/03 brown xIUA 3.5 complete (ICU 2.6 support) * 02/05/04 brown xIUA 3.6 complete (ICU 2.8 support) * 02/22/04 brown Filter times zones and build tz offset table */ /** * XIUX C API */ #ifndef XIUX_H #define XIUX_H #include "xiua.h" U_CAPIX void U_EXPORTX xmtx_init( XMTX *mutex ); U_CAPIX void U_EXPORTX xmtx_unlock( XMTX* mutex ); U_CAPIX void U_EXPORTX xmtx_lock( XMTX *mutex ); U_CAPIX void U_EXPORTX xmtx_term( XMTX *mutex ); /* U_CAPIX int32_t U_EXPORTX xiux_UCharsTostr(char *cs, const UChar *cus); */ U_CAPIX int32_t U_EXPORTX xiux_strToUChars(UChar *us, const char *ccs); U_CAPIX int32_t U_EXPORTX xiux_UCharsToNstr(char *cs, const UChar *cus, int32_t size); U_CAPIX int32_t U_EXPORTX xiux_strToNUChars(UChar *us, const char *ccs, int32_t size); U_CAPIX void * U_EXPORTX xiux_malloc(size_t s); U_CAPIX void * U_EXPORTX xiux_realloc(void *mem, size_t size); U_CAPIX void U_EXPORTX xiux_free(void *mem); U_CAPIX XIUA_Thread * U_EXPORTX xiux_getCurrentThread(void); U_CAPI void * U_EXPORT2 uprv_malloc(size_t s); U_CAPI void * U_EXPORT2 uprv_realloc(void *mem, size_t size); U_CAPI void U_EXPORT2 uprv_free(void *mem); #endif /*_XIUX*/