41#define F_ADDRESS 0x001
86enum _vflag { ALL, DUP, FIRST, WAIT };
87extern enum _vflag vflag;
93enum _vflag { ALL, DUP, FIRST, WAIT };
115} rtems_shell_hexdump_globals;
117#define fshead globals->fshead
118#define endfu globals->endfu
119#define blocksize globals->blocksize
120#define exitval globals->exitval
121#define odmode globals->odmode
122#define length globals->length
123#define skip globals->skip
124#define vflag globals->vflag
126#define address globals->address
127#define eaddress globals->eaddress
128#define ateof globals->ateof
129#define curp globals->curp
130#define savp globals->savp
131#define done globals->done
133#define hdstdin globals->hdstdin
135#define exit_jump &(globals->exit_jmp)
137#define add rtems_shell_hexdump_add
138#define addfile rtems_shell_hexdump_addfile
139#define badcnt rtems_shell_hexdump_badcnt
140#define badconv rtems_shell_hexdump_badconv
141#define badfmt rtems_shell_hexdump_badfmt
142#define badsfmt rtems_shell_hexdump_badsfmt
143#define bpad rtems_shell_hexdump_bpad
144#define conv_c rtems_shell_hexdump_conv_c
145#define conv_u rtems_shell_hexdump_conv_u
146#define display rtems_shell_hexdump_display
147#define doskip rtems_shell_hexdump_doskip
148#define escape rtems_shell_hexdump_escape
149#define get rtems_shell_hexdump_get
150#define newsyntax rtems_shell_hexdump_newsyntax
151#define next rtems_shell_hexdump_next
152#define nomem rtems_shell_hexdump_nomem
153#define oldsyntax rtems_shell_hexdump_oldsyntax
154#define peek rtems_shell_hexdump_peek
155#define rewrite rtems_shell_hexdump_rewrite
156#define size rtems_shell_hexdump_size
157#define usage rtems_shell_hexdump_usage
159void add(rtems_shell_hexdump_globals*,
const char *);
160void addfile(rtems_shell_hexdump_globals*,
char *);
161void badcnt(rtems_shell_hexdump_globals*,
char *);
162void badconv(rtems_shell_hexdump_globals*,
char *);
163void badfmt(rtems_shell_hexdump_globals*,
const char *);
164void badsfmt(rtems_shell_hexdump_globals*);
166void conv_c(rtems_shell_hexdump_globals*, PR *, u_char *,
size_t);
167void conv_u(rtems_shell_hexdump_globals*, PR *, u_char *);
168void display(rtems_shell_hexdump_globals*);
169void doskip(rtems_shell_hexdump_globals*,
const char *,
int);
171u_char *get(rtems_shell_hexdump_globals*);
172void newsyntax(rtems_shell_hexdump_globals*,
int,
char ***);
173int next(rtems_shell_hexdump_globals*,
char **);
175void oldsyntax(rtems_shell_hexdump_globals*,
int,
char ***);
176size_t peek(rtems_shell_hexdump_globals*, u_char *,
size_t);
177void rewrite(rtems_shell_hexdump_globals*, FS *);
178int size(rtems_shell_hexdump_globals*, FS *);
179void usage(rtems_shell_hexdump_globals*);
181#define exit(ec) rtems_shell_hexdump_exit(globals, ec)
183void rtems_shell_hexdump_exit(rtems_shell_hexdump_globals* globals,
int code);