src/hexdump.h

Wed, 05 Aug 2009 15:15:47 +0100

author
Philip Pemberton <philpem@philpem.me.uk>
date
Wed, 05 Aug 2009 15:15:47 +0100
changeset 15
e5577dd259c6
parent 3
4aec27d9d4da
permissions
-rw-r--r--

multiple fixes -- now prints successfully to a PT-2450DX.
FIX: job options were being set in GetStatus, now moved to their rightful home in Initialise()
REFACTOR: small mods to structure of Initialise, now uses PT_ERR_* consts, calls pt_Close on failure, exit logic slightly changed.
FIX: debug options should NOT have been set in Hg source (especially SKIP_STATUS_READBACK), now fixed.

     1 #ifndef _HEXDUMP_H
     2 #define _HEXDUMP_H
     4 void hex_dump(void *data, int size);
     5 /* dumps size bytes of *data to stdout. Looks like:
     6  * [0000] 75 6E 6B 6E 6F 77 6E 20   30 FF 00 00 00 00 39 00 unknown 0.....9.
     7  */
     9 #endif // _HEXDUMP_H