-#define FT_LNKSAVED 1 /* hard link to file already saved */
-#define FT_REGE 2 /* Regular file but empty */
-#define FT_REG 3 /* Regular file */
-#define FT_LNK 4 /* Soft Link */
-#define FT_DIR 5 /* Directory */
-#define FT_SPEC 6 /* Special file -- chr, blk, fifo, sock */
-#define FT_NOACCESS 7 /* Not able to access */
-#define FT_NOFOLLOW 8 /* Could not follow link */
-#define FT_NOSTAT 9 /* Could not stat file */
-#define FT_NOCHG 10 /* Incremental option, file not changed */
-#define FT_DIRNOCHG 11 /* Incremental option, directory not changed */
-#define FT_ISARCH 12 /* Trying to save archive file */
-#define FT_NORECURSE 13 /* No recursion into directory */
-#define FT_NOFSCHG 14 /* Different file system, prohibited */
-#define FT_NOOPEN 15 /* Could not open directory */
-
-/* Options saved in "flag" of ff packet */
-#define FO_MD5 0x01 /* Do MD5 checksum */
-#define FO_GZIP 0x02 /* Do Zlib compression */
-#define FO_NO_RECURSION 0x04 /* no recursion in directories */
-#define FO_MULTIFS 0x08 /* multiple file systems */
-#define FO_SPARSE 0x10 /* do sparse file checking */
-#define FO_IF_NEWER 0x20 /* replace if newer */
-#define FO_NOREPLACE 0x40 /* never replace */
-
-/* Options saved in "options" of include list */
-/* ****FIXME**** replace OPT_ flags with FO_ */
-#define OPT_compute_MD5 0x01 /* compute MD5 of file's data */
-#define OPT_GZIP_compression 0x02 /* use GZIP compression */
-#define OPT_no_recursion 0x04 /* no recursion in directories */
-#define OPT_multifs 0x08 /* multiple file systems */
-#define OPT_sparse 0x10 /* do sparse file checking */
-#define OPT_replace_if_newer 0x20 /* replace file if newer */
-#define OPT_never_replace 0x40 /* never replace */
+enum {
+ CF_SKIP = 1, /* skip file (not newer or something) */
+ CF_ERROR, /* error creating file */
+ CF_EXTRACT, /* file created, data to extract */
+ CF_CREATED /* file created, no data to extract */
+};