Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.busybox.net/busybox.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2021-06-18 01:59:17 +0300
committerDenys Vlasenko <vda.linux@googlemail.com>2021-06-18 01:59:17 +0300
commit2c436679fbb5fa38b0e7a505022a2075fab87d84 (patch)
tree01cc2527c1026abe489b48ee9e6db79a830f0473 /include
parent25fe2d50bd75097861db9eac8c8c9f238283ff5f (diff)
xxd: implement -i "C style output"
function old new delta xxd_main 710 888 +178 .rodata 103252 103331 +79 print_C_style - 78 +78 packed_usage 33639 33652 +13 next 276 278 +2 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 4/0 up/down: 350/0) Total: 350 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'include')
-rw-r--r--include/dump.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/dump.h b/include/dump.h
index 54f5629a7..10fc5d900 100644
--- a/include/dump.h
+++ b/include/dump.h
@@ -34,6 +34,7 @@ typedef struct dumper_t {
smallint dump_vflag; /*enum dump_vflag_t*/
FS *fshead;
const char *xxd_eofstring;
+ off_t address; /* address/offset in stream */
long long xxd_displayoff;
} dumper_t;