comparison src/define.h @ 31:b88ceb81dba2

mege changes from Joe Nahmias
author carl
date Tue, 10 Jul 2007 17:17:28 -0700
parents 51d826f31329
children 12cac756bc05
comparison
equal deleted inserted replaced
30:45eccad4b606 31:b88ceb81dba2
3 * Part of the LibPST project 3 * Part of the LibPST project
4 * Written by David Smith 4 * Written by David Smith
5 * dave.s@earthcorp.com 5 * dave.s@earthcorp.com
6 */ 6 */
7 7
8 // last one wins 8 #ifdef HAVE_CONFIG_H
9 #define DEBUG_ALL 9 #include "config.h"
10 #undef DEBUG_ALL 10 #endif
11 11
12 #ifndef DEFINEH_H 12 #ifndef DEFINEH_H
13 #define DEFINEH_H 13 #define DEFINEH_H
14 14
15 #ifdef DEBUG_ALL 15 #ifdef DEBUG_ALL
58 void _pst_debug_hexprint(char *data, int size); 58 void _pst_debug_hexprint(char *data, int size);
59 59
60 void _debug_init(char *fname); 60 void _debug_init(char *fname);
61 void _debug_msg_info (int line, char *file, int type); 61 void _debug_msg_info (int line, char *file, int type);
62 void _debug_msg_text(char* fmt, ...); 62 void _debug_msg_text(char* fmt, ...);
63 void _debug_hexdump(char *x, int y, int cols); 63 void _debug_hexdump(unsigned char *x, int y, int cols);
64 void _debug_func(char *function); 64 void _debug_func(char *function);
65 void _debug_func_ret(); 65 void _debug_func_ret();
66 void _debug_close(void); 66 void _debug_close(void);
67 void _debug_write(); 67 void _debug_write();
68 68