BOOTSTRAP (kutils) functions
LIBRARY ROUTINE
kset_infohandler - set the information handling routine used by kinfo()
LIBRARY CALL
knotify kset_infohandler(
knotify new_handler)
INPUT
- new_handler - the info handler to be called. Specify xvu_info()
for the Khoros pop-up info message (xvroutines &
hybrid routines only), NULL for the default
info handler which prints to the tty, or your own
info handler.
OUTPUT
none
RETURN VALUE
the previously installed information handler, or NULL
if the default information handler was installed.
DESCRIPTION
Sets the information handler routine to be used by the kinfo()
reporting facility. When set to NULL (the default) the
standard Khoros information handler will be used, which
reports to standard error.
If a different info handler is set, the info handler
must be declared as follows, and should return TRUE.
info_handler(
char *message )
message - message to give the user
ADDITIONAL INFORMATION
none
EXAMPLES
none
SIDE EFFECTS
none
RESTRICTIONS
none
MODIFICATION
none
FILES
$BOOTSTRAP/objects/library/kutils/src/notify.c
SEE ALSO
kutils(3)
COPYRIGHT
Copyright (C) 1993 - 1997, Khoral Research, Inc. ("KRI") All rights reserved.