summaryrefslogtreecommitdiff
path: root/cpio.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpio.h')
-rw-r--r--cpio.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/cpio.h b/cpio.h
new file mode 100644
index 0000000..7f0d6b5
--- /dev/null
+++ b/cpio.h
@@ -0,0 +1,25 @@
+/*
+ * Copyright (c) 2004 Michael Schroeder (mls@suse.de)
+ *
+ * This program is licensed under the BSD license, read LICENSE.BSD
+ * for further information
+ */
+
+struct cpiophys {
+ char magic[6];
+ char inode[8];
+ char mode[8];
+ char uid[8];
+ char gid[8];
+ char nlink[8];
+ char mtime[8];
+ char filesize[8];
+ char devMajor[8];
+ char devMinor[8];
+ char rdevMajor[8];
+ char rdevMinor[8];
+ char namesize[8];
+ char checksum[8];
+};
+
+extern unsigned int cpion(char *s);