aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/dump.h24
1 files changed, 23 insertions, 1 deletions
diff --git a/include/dump.h b/include/dump.h
index f4759c193..9193a6925 100644
--- a/include/dump.h
+++ b/include/dump.h
@@ -4,7 +4,29 @@ PUSH_AND_SET_FUNCTION_VISIBILITY_TO_HIDDEN
4 4
5enum dump_vflag_t { ALL, DUP, FIRST, WAIT }; /* -v values */ 5enum dump_vflag_t { ALL, DUP, FIRST, WAIT }; /* -v values */
6 6
7typedef struct FS FS; 7typedef struct PR {
8 struct PR *nextpr; /* next print unit */
9 unsigned flags; /* flag values */
10 int bcnt; /* byte count */
11 char *cchar; /* conversion character */
12 char *fmt; /* printf format */
13 char *nospace; /* no whitespace version */
14} PR;
15
16typedef struct FU {
17 struct FU *nextfu; /* next format unit */
18 struct PR *nextpr; /* next print unit */
19 unsigned flags; /* flag values */
20 int reps; /* repetition count */
21 int bcnt; /* byte count */
22 char *fmt; /* format string */
23} FU;
24
25typedef struct FS { /* format strings */
26 struct FS *nextfs; /* linked list of format strings */
27 struct FU *nextfu; /* linked list of format units */
28 int bcnt;
29} FS;
8 30
9typedef struct dumper_t { 31typedef struct dumper_t {
10 off_t dump_skip; /* bytes to skip */ 32 off_t dump_skip; /* bytes to skip */