From 783a41fbd74db1e939be27d0af2cd90d47ecc3eb Mon Sep 17 00:00:00 2001 From: "Steven R. Loomis" Date: Fri, 15 Oct 1999 01:28:02 +0000 Subject: [PATCH] jitterbug29: u_fgetconverter X-Commit-URL: https://ssl.icu-project.org/trac/changeset/61 --- icu4c/source/extra/ustdio/ustdio.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/icu4c/source/extra/ustdio/ustdio.h b/icu4c/source/extra/ustdio/ustdio.h index 3323db28f8f..6e59242fc18 100644 --- a/icu4c/source/extra/ustdio/ustdio.h +++ b/icu4c/source/extra/ustdio/ustdio.h @@ -28,11 +28,14 @@ #include #include "utypes.h" +#include /** Forward declaration of a Unicode-aware file */ typedef struct UFILE UFILE; + + /** * Open a UFILE. * A UFILE is a wrapper around a FILE* that is locale and codepage aware. @@ -136,6 +139,13 @@ u_fsetcodepage(const char *codepage, UFILE *file); +/** + * Returns an alias to the converter being used for this file. + * @param file The UFILE to set. + * @return alias to the converter + */ +CAPI UConverter *u_fgetConverter(UFILE *f); + /* Output functions */ /**