2004-02-15 20:46:45 +00:00
|
|
|
/*
|
|
|
|
*
|
|
|
|
* (c) 2004 Laurent Vivier <LaurentVivier@wanadoo.fr>
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
2004-06-22 21:23:03 +00:00
|
|
|
#ifndef __MISC_H__
|
|
|
|
#define __MISC_H__
|
|
|
|
|
2004-06-02 17:37:06 +00:00
|
|
|
typedef unsigned char u_int8_t;
|
|
|
|
typedef signed char int8_t;
|
|
|
|
typedef unsigned short u_int16_t;
|
|
|
|
typedef signed short int16_t;
|
|
|
|
typedef unsigned int u_int32_t;
|
|
|
|
typedef signed int int32_t;
|
|
|
|
|
2004-06-21 22:40:10 +00:00
|
|
|
extern unsigned char *c2pstring(char* s);
|
2004-05-26 21:41:20 +00:00
|
|
|
extern void memdump(unsigned char* addr, unsigned long size);
|
2004-06-03 07:54:56 +00:00
|
|
|
extern void error(char *x) __attribute__ ((noreturn));
|
2004-06-22 21:23:03 +00:00
|
|
|
|
|
|
|
#endif /* __MISC_H__ */
|