/home/mandrake/rpm/BUILD/sc68-2.2.1/file68/debugmsg68.h File Reference
sc68 debug message.
More...
#include <stdarg.h>
Go to the source code of this file.
Detailed Description
sc68 debug message.
- Author:
- Benjamin Gerard <ben@sashipa.com>
- Date:
- 2003/08/22
- Id
- debugmsg68.h,v 2.3 2003/09/30 06:29:57 benjihan Exp
Typedef Documentation
typedef void(* debugmsg68_t)(void *cookie, const char *fmt, va_list list) |
Function Documentation
Set debug function.
- Parameters:
-
| handler | pointer to a function to display debug messages (0 desactive debug message). |
- Returns:
- previous handler
void* debugmsg68_set_cookie |
( |
void * |
cookie |
) |
|
Set debug function user parameter.
- Parameters:
-
| cookie | user parameter that will be sent as first parameter to the debug handler. |
- See also:
- debugmsg68_set_handler();
void debugmsg68 |
( |
const char * |
fmt, |
|
|
|
... | |
|
) |
| | |
Print debug message.
- Parameters:
-
| fmt | printf() like format string. |
void vdebugmsg68 |
( |
const char * |
fmt, |
|
|
va_list |
list | |
|
) |
| | |
Print debug message (variable argument).
- Parameters:
-
| fmt | printf() like format string. |
| list | variable argument list (stdarg.h) |
void SC68os_pdebug |
( |
const char * |
fmt, |
|
|
|
... | |
|
) |
| | |