blob: 5fca507dcf3da8e4b4e1d69dc3be6968a9610d6c [file] [log] [blame]
/*
*******************************************************************************
*
* Copyright (C) 2009-2011, International Business Machines
* Corporation and others. All Rights Reserved.
*
*******************************************************************************
*/
#ifndef _OICU
#define _OICU
#include "unicode/uclean.h"
/**
uclean.h
*/
U_STABLE void U_EXPORT2
OICU_u_init(UErrorCode *status);
#include "unicode/ucol.h"
/**
ucol.h
*/
U_STABLE UCollator* U_EXPORT2
OICU_ucol_open(const char *loc, UErrorCode& status);
U_STABLE int32_t U_EXPORT2
OICU_ucol_getShortDefinitionString(const UCollator *coll,
const char *locale,
char *buffer,
int32_t capacity,
UErrorCode *status);
U_STABLE void U_EXPORT2
OICU_ucol_close(UCollator*);
U_STABLE UCollationResult OICU_ucol_strcoll ( const UCollator * coll,
const UChar * source,
int32_t sourceLength,
const UChar * target,
int32_t targetLength
);
U_STABLE void U_EXPORT2
OICU_ucol_setStrength(const UCollator *, UCollationStrength );
#ifndef OICU_ucol_getAvailable
#error OICU_ucol_getAvailable not found - urename symbol mismatch?
#endif
U_STABLE const char * U_EXPORT2
OICU_ucol_getAvailable(int32_t i);
U_STABLE int32_t U_EXPORT2
OICU_ucol_countAvailable();
U_STABLE UCollationStrength U_EXPORT2
OICU_ucol_getStrength(UCollator *col);
U_STABLE int32_t U_EXPORT2
OICU_ucol_getSortKey(const UCollator *coll,
const UChar *source,
int32_t sourceLength,
uint8_t *result,
int32_t resultLength);
U_STABLE UCollator* U_EXPORT2
OICU_ucol_safeClone(const UCollator *coll,
void *stackBuffer,
int32_t *pBufferSize,
UErrorCode *status);
#include "unicode/udat.h"
U_STABLE UDateFormat* U_EXPORT2
OICU_udat_open(UDateFormatStyle timeStyle,
UDateFormatStyle dateStyle,
const char *locale,
const UChar *tzID,
int32_t tzIDLength,
const UChar *pattern,
int32_t patternLength,
UErrorCode *status);
U_STABLE const char * U_EXPORT2
OICU_udat_getAvailable(int32_t i);
U_STABLE int32_t U_EXPORT2
OICU_udat_countAvailable();
U_STABLE void U_EXPORT2
OICU_udat_close(UDateFormat* format);
U_STABLE int32_t U_EXPORT2
OICU_udat_format( const UDateFormat* format,
UDate dateToFormat,
UChar* result,
int32_t resultLength,
UFieldPosition* position,
UErrorCode* status);
/**
end ucol.h
*/
// define version
#endif