aboutsummaryrefslogtreecommitdiff
path: root/src/extern.h
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2004-09-08 11:41:40 +0000
committerSergey Poznyakoff <gray@gnu.org.ua>2004-09-08 11:41:40 +0000
commitfabecbd29ab387da1fc591fc25b57ff4fb6b6874 (patch)
tree87d0d86ae009996b5b4a41f57624c970a7dccefd /src/extern.h
parent79cfd7332a806375fe1e37577c75249da216a830 (diff)
downloadcpio-fabecbd29ab387da1fc591fc25b57ff4fb6b6874.tar.gz
cpio-fabecbd29ab387da1fc591fc25b57ff4fb6b6874.tar.bz2
Added new globals.
Diffstat (limited to 'src/extern.h')
-rw-r--r--src/extern.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/extern.h b/src/extern.h
index 0165344..e6e3d6e 100644
--- a/src/extern.h
+++ b/src/extern.h
@@ -47,6 +47,14 @@ extern int sparse_flag;
extern int quiet_flag;
extern int only_verify_crc_flag;
extern int no_abs_paths_flag;
+extern unsigned int warn_option;
+
+/* Values for warn_option */
+#define CPIO_WARN_NONE 0
+#define CPIO_WARN_TRUNCATE 0x01
+#define CPIO_WARN_ALL (unsigned int)-1
+
+extern bool to_stdout_option;
extern int last_header_start;
extern int copy_matching_files;
@@ -93,6 +101,7 @@ extern void (*copy_function) ();
#endif
/* copyin.c */
+void warn_junk_bytes P_((long bytes_skipped));
void read_in_header P_((struct new_cpio_header *file_hdr, int in_des));
void read_in_old_ascii P_((struct new_cpio_header *file_hdr, int in_des));
void read_in_new_ascii P_((struct new_cpio_header *file_hdr, int in_des));

Return to:

Send suggestions and report system problems to the System administrator.