From 71c2ea555c58b2cde6fcab4850fbc1e3e99d2962 Mon Sep 17 00:00:00 2001 From: bug1 Date: Thu, 12 Apr 2001 00:49:26 +0000 Subject: convert() is used by dos2unix and unix2dos git-svn-id: svn://busybox.net/trunk/busybox@2324 69ca8d6d-28ef-0310-b511-8ec308f3f277 --- libbb/libbb.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'libbb') diff --git a/libbb/libbb.h b/libbb/libbb.h index 54e852512..8a5e6756f 100644 --- a/libbb/libbb.h +++ b/libbb/libbb.h @@ -233,4 +233,9 @@ extern int unzip(FILE *l_in_file, FILE *l_out_file); extern void gz_close(int gunzip_pid); extern int gz_open(FILE *compressed_file, int *pid); +#define CT_AUTO 0 +#define CT_UNIX2DOS 1 +#define CT_DOS2UNIX 2 +extern int convert(char *fn, int ConvType); + #endif /* __LIBBB_H__ */ -- cgit v1.2.3-55-g6feb