summaryrefslogtreecommitdiff
path: root/dos2unix.h
diff options
context:
space:
mode:
authorDongHun Kwak <dh0128.kwak@samsung.com>2016-10-20 13:28:30 +0900
committerDongHun Kwak <dh0128.kwak@samsung.com>2016-10-20 13:28:33 +0900
commit6ad0574136d3b23b486db4fa359672b9f731e235 (patch)
treeae96a2384615b0132969083bc097c918acf4e9f7 /dos2unix.h
parentde90208a6d3f0b5c5944c4aa4d4ea95fc2611470 (diff)
downloaddos2unix-6ad0574136d3b23b486db4fa359672b9f731e235.tar.gz
dos2unix-6ad0574136d3b23b486db4fa359672b9f731e235.tar.bz2
dos2unix-6ad0574136d3b23b486db4fa359672b9f731e235.zip
Imported Upstream version 7.0
Change-Id: Ib83b48cbb624fbb64cd653899c84ddffdcd21860 Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
Diffstat (limited to 'dos2unix.h')
-rw-r--r--dos2unix.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/dos2unix.h b/dos2unix.h
index 9f84e66..4db5e3d 100644
--- a/dos2unix.h
+++ b/dos2unix.h
@@ -28,6 +28,7 @@
#ifndef __DOS2UNIX_H
#define __DOS2UNIX_H
+#ifdef __DOS2UNIX_C
/* ASCII mode. No conversion. */
static int D2UAsciiTable[256] =
@@ -212,5 +213,12 @@ static int D2UIso1252Table[256] =
'\xe0', '\xe1', '\xe2', '\xe3', '\xe4', '\xe5', '\xe6', '\xe7', '\xe8', '\xe9', '\xea', '\xeb', '\xec', '\xed', '\xee', '\xef',
'\xf0', '\xf1', '\xf2', '\xf3', '\xf4', '\xf5', '\xf6', '\xf7', '\xf8', '\xf9', '\xfa', '\xfb', '\xfc', '\xfd', '\xfe', '\xff',
};
+#endif
+
+
+#ifdef D2U_UNICODE
+int ConvertDosToUnixW(FILE* ipInF, FILE* ipOutF, CFlag *ipFlag, const char *progname);
+#endif
+int ConvertDosToUnix(FILE* ipInF, FILE* ipOutF, CFlag *ipFlag, const char *progname);
#endif