summaryrefslogtreecommitdiffstats
path: root/text-utils/hexdump.h
diff options
context:
space:
mode:
authorKarel Zak2006-12-07 00:25:53 +0100
committerKarel Zak2006-12-07 00:25:53 +0100
commitffc4374869b9ac10539a3c18e13b29d1b0c64484 (patch)
tree1b8054e83f7f70e8fa77499fc9246d1cc16faa15 /text-utils/hexdump.h
parentImported from util-linux-2.11n tarball. (diff)
downloadkernel-qcow2-util-linux-ffc4374869b9ac10539a3c18e13b29d1b0c64484.tar.gz
kernel-qcow2-util-linux-ffc4374869b9ac10539a3c18e13b29d1b0c64484.tar.xz
kernel-qcow2-util-linux-ffc4374869b9ac10539a3c18e13b29d1b0c64484.zip
Imported from util-linux-2.11o tarball.
Diffstat (limited to 'text-utils/hexdump.h')
-rw-r--r--text-utils/hexdump.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/text-utils/hexdump.h b/text-utils/hexdump.h
index 445312231..f9e963bbe 100644
--- a/text-utils/hexdump.h
+++ b/text-utils/hexdump.h
@@ -73,13 +73,17 @@ typedef struct _fs { /* format strings */
extern FU *endfu;
extern FS *fshead; /* head of format strings list */
extern int blocksize; /* data block size */
-extern int deprecated;
+extern int deprecated; /* od compatibility */
+extern int exitval; /* final exit value */
+extern int length; /* max bytes to read */
extern off_t skip; /* bytes to skip */
+
enum _vflag { ALL, DUP, FIRST, WAIT }; /* -v values */
+extern enum _vflag vflag;
-char *emalloc(int);
+void *emalloc(int);
int size(FS *);
-void add(char *);
+void add(const char *);
void rewrite(FS *);
void addfile(char *);
void display(void);