sc68fordevelopers  2.2.1
debugmsg68.h
Go to the documentation of this file.
1 
12 /* Copyright (C) 1998-2003 Benjamin Gerard */
13 
14 #ifndef _DEBUGMSG68_H_
15 #define _DEBUGMSG68_H_
16 
17 #include <stdarg.h>
18 
19 #ifdef __cplusplus
20 extern "C" {
21 #endif
22 
24 typedef void (*debugmsg68_t)(void * cookie, const char * fmt, va_list list);
25 
33 
41 void * debugmsg68_set_cookie(void * cookie);
42 
48 void debugmsg68(const char * fmt, ...);
49 
56 void vdebugmsg68(const char * fmt, va_list list);
57 
64 void SC68os_pdebug(const char *fmt, ...);
65 
66 #ifdef __cplusplus
67 }
68 #endif
69 
70 #endif /* #ifndef _DEBUGMSG68_H_ */
void SC68os_pdebug(const char *fmt,...)
Wrapper for debugmsg68().
debugmsg68_t debugmsg68_set_handler(debugmsg68_t handler)
Set debug function.
void vdebugmsg68(const char *fmt, va_list list)
Print debug message (variable argument).
void * debugmsg68_set_cookie(void *cookie)
Set debug function user parameter.
void debugmsg68(const char *fmt,...)
Print debug message.
void(* debugmsg68_t)(void *cookie, const char *fmt, va_list list)
Debug handler type.
Definition: debugmsg68.h:24