/*
-*******************************************************************************
-*
-* Copyright (C) 1998-2004, International Business Machines
-* Corporation and others. All Rights Reserved.
-*
-*******************************************************************************
-*
-* File ufile.h
-*
-* Modification History:
-*
-* Date Name Description
-* 12/01/98 stephen Creation.
-* 03/12/99 stephen Modified for new C API.
-*******************************************************************************
-*/
+ *******************************************************************************
+ *
+ * Copyright (C) 1998-2010, International Business Machines
+ * Corporation and others. All Rights Reserved.
+ *
+ *******************************************************************************
+ *
+ * File ufile.h
+ *
+ * Modification History:
+ *
+ * Date Name Description
+ * 12/01/98 stephen Creation.
+ * 03/12/99 stephen Modified for new C API.
+ *******************************************************************************
+ */
#ifndef UFILE_H
#define UFILE_H
/**
* Like u_file_write but takes a flush parameter
*/
-U_CAPI int32_t U_EXPORT2
-u_file_write_flush( const UChar *chars,
- int32_t count,
- UFILE *f,
- UBool flush);
+U_CFUNC int32_t U_EXPORT2
+u_file_write_flush( const UChar *chars,
+ int32_t count,
+ UFILE *f,
+ UBool flushIO,
+ UBool flushTranslit);
/**
* Fill a UFILE's buffer with converted codepage data.
void
ufile_flush_translit(UFILE *f);
+/**
+ * Flush the IO buffer
+ * @param f UFile to flush
+ */
+void
+ufile_flush_io(UFILE *f);
+
#endif