+// © 2016 and later: Unicode, Inc. and others.
+// License & terms of use: http://www.unicode.org/copyright.html
/*
-*******************************************************************************
-*
-* Copyright (C) 1998-2005, 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-2014, 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
#include "unicode/utypes.h"
+
+#if !UCONFIG_NO_CONVERSION
+
+#include <stdio.h>
+
#include "unicode/ucnv.h"
#include "unicode/utrans.h"
#include "locbund.h"
/**
* Like u_file_write but takes a flush parameter
*/
-U_CAPI int32_t U_EXPORT2
+U_CFUNC int32_t U_EXPORT2
u_file_write_flush( const UChar *chars,
int32_t count,
UFILE *f,
void
ufile_flush_translit(UFILE *f);
+/**
+ * Flush the IO buffer
+ * @param f UFile to flush
+ */
+void
+ufile_flush_io(UFILE *f);
+
#endif
+#endif