MIT Information Systems

Macintosh Development

[Home] [About Us] [People] [Information Systems]
[Kerberos for Macintosh] [Applications] [Miscellaneous Documentation]


Kerberos Errors API
Functions:
int ddebug (void);

ddebug() returns whether or not debugging is enabled. Use this function when you want to perform some computationally expensive operation for debugging purposes only.


void dprintf (const char *format, ...);

dprintf() prints out a formatted error string. Uses the same format syntax as the printf() family of functions.


void dprintmem (const void *inBuffer, size_t inLength);

dprintmem() prints a block of memory in hexadecimal and ASCII formats. Useful for debugging networking code.


void dprintbootstrap (task_t inTask);

dprintbootstrap() prints the state of the callers Mach bootstrap. Displays the output of bootstrap_info().


Questions or comments? Send mail to macdev@mit.edu
Last updated on $Date: 2004/12/08 21:40:08 $
Last modified by $Author: lxs $