RTEMS CPU Kit with SuperCore
Data Structures | Macros | Typedefs | Enumerations | Functions
hexdump.h File Reference
#include <wchar.h>
#include <setjmp.h>
#include <stdio.h>
Include dependency graph for hexdump.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  _pr
 
struct  _fu
 
struct  _fs
 
struct  rtems_shell_hexdump_globals_t
 

Macros

#define F_ADDRESS   0x001 /* print offset */
 
#define F_BPAD   0x002 /* blank pad */
 
#define F_C   0x004 /* %_c */
 
#define F_CHAR   0x008 /* %c */
 
#define F_DBL   0x010 /* %[EefGf] */
 
#define F_INT   0x020 /* %[di] */
 
#define F_P   0x040 /* %_p */
 
#define F_STR   0x080 /* %s */
 
#define F_U   0x100 /* %_u */
 
#define F_UINT   0x200 /* %[ouXx] */
 
#define F_TEXT   0x400 /* no conversions */
 
#define F_IGNORE   0x01 /* %_A */
 
#define F_SETREP   0x02 /* rep count set, not default */
 
#define fshead   globals->fshead
 
#define endfu   globals->endfu
 
#define blocksize   globals->blocksize
 
#define exitval   globals->exitval
 
#define odmode   globals->odmode
 
#define length   globals->length
 
#define skip   globals->skip
 
#define vflag   globals->vflag
 
#define address   globals->address
 
#define eaddress   globals->eaddress
 
#define ateof   globals->ateof
 
#define curp   globals->curp
 
#define savp   globals->savp
 
#define done   globals->done
 
#define hdstdin   globals->hdstdin
 
#define exit_jump   &(globals->exit_jmp)
 
#define add   rtems_shell_hexdump_add
 
#define addfile   rtems_shell_hexdump_addfile
 
#define badcnt   rtems_shell_hexdump_badcnt
 
#define badconv   rtems_shell_hexdump_badconv
 
#define badfmt   rtems_shell_hexdump_badfmt
 
#define badsfmt   rtems_shell_hexdump_badsfmt
 
#define bpad   rtems_shell_hexdump_bpad
 
#define conv_c   rtems_shell_hexdump_conv_c
 
#define conv_u   rtems_shell_hexdump_conv_u
 
#define display   rtems_shell_hexdump_display
 
#define doskip   rtems_shell_hexdump_doskip
 
#define escape   rtems_shell_hexdump_escape
 
#define get   rtems_shell_hexdump_get
 
#define newsyntax   rtems_shell_hexdump_newsyntax
 
#define next   rtems_shell_hexdump_next
 
#define nomem   rtems_shell_hexdump_nomem
 
#define oldsyntax   rtems_shell_hexdump_oldsyntax
 
#define peek   rtems_shell_hexdump_peek
 
#define rewrite   rtems_shell_hexdump_rewrite
 
#define size   rtems_shell_hexdump_size
 
#define usage   rtems_shell_hexdump_usage
 
#define exit(ec)   rtems_shell_hexdump_exit(globals, ec)
 

Typedefs

typedef struct _pr PR
 
typedef struct _fu FU
 
typedef struct _fs FS
 
typedef struct rtems_shell_hexdump_globals_t rtems_shell_hexdump_globals
 

Enumerations

enum  _vflag { ALL, DUP, FIRST, WAIT }
 

Functions

void add (rtems_shell_hexdump_globals *, const char *)
 
void addfile (rtems_shell_hexdump_globals *, char *)
 
void badcnt (rtems_shell_hexdump_globals *, char *)
 
void badconv (rtems_shell_hexdump_globals *, char *)
 
void badfmt (rtems_shell_hexdump_globals *, const char *)
 
void badsfmt (rtems_shell_hexdump_globals *)
 
void bpad (PR *)
 
void conv_c (rtems_shell_hexdump_globals *, PR *, u_char *, size_t)
 
void conv_u (rtems_shell_hexdump_globals *, PR *, u_char *)
 
void display (rtems_shell_hexdump_globals *)
 
void doskip (rtems_shell_hexdump_globals *, const char *, int)
 
void escape (char *)
 
u_char * get (rtems_shell_hexdump_globals *)
 
void newsyntax (rtems_shell_hexdump_globals *, int, char ***)
 
int next (rtems_shell_hexdump_globals *, char **)
 
void nomem (void)
 
void oldsyntax (rtems_shell_hexdump_globals *, int, char ***)
 
size_t peek (rtems_shell_hexdump_globals *, u_char *, size_t)
 
void rewrite (rtems_shell_hexdump_globals *, FS *)
 
int size (rtems_shell_hexdump_globals *, FS *)
 
void usage (rtems_shell_hexdump_globals *)
 
void rtems_shell_hexdump_exit (rtems_shell_hexdump_globals *globals, int code)