diff options
Diffstat (limited to 'common.h')
-rw-r--r-- | common.h | 13 |
1 files changed, 11 insertions, 2 deletions
@@ -181,8 +181,16 @@ #define FROMTO_DOS2UNIX 0 #define FROMTO_MAC2UNIX 1 -#define FROMTO_UNIX2DOS 0 -#define FROMTO_UNIX2MAC 1 +#define FROMTO_UNIX2DOS 2 +#define FROMTO_UNIX2MAC 3 + +#define INFO_DOS 0x1 +#define INFO_UNIX 0x2 +#define INFO_MAC 0x4 +#define INFO_BOM 0x8 +#define INFO_TEXT 0x10 +#define INFO_DEFAULT 0x1F +#define INFO_CONVERT 0x20 #define SYMLINK_SKIP 0 #define SYMLINK_FOLLOW 1 @@ -210,6 +218,7 @@ typedef struct int add_bom; /* 1: write BOM */ int keep_bom; /* 1: write BOM if input file has BOM. 0: Do not write BOM */ int keep_utf16; /* 1: write UTF-16 format when input file is UTF-16 format */ + int file_info; /* 1: print file information */ } CFlag; |