diff libcruft/misc/lo-error.h @ 5781:faafc2d98b8d

[project @ 2006-05-02 19:40:19 by jwe]
author jwe
date Tue, 02 May 2006 19:40:21 +0000
parents 4c8a2e4e0717
children 6465ca8e4f0c
line wrap: on
line diff
--- a/libcruft/misc/lo-error.h	Thu Apr 27 20:03:48 2006 +0000
+++ b/libcruft/misc/lo-error.h	Tue May 02 19:40:21 2006 +0000
@@ -32,20 +32,28 @@
 
 extern void liboctave_warning (const char *fmt, ...);
 
+extern void liboctave_warning_with_id (const char *id, const char *fmt, ...);
+
 typedef void (*liboctave_error_handler) (const char *, ...);
 
 typedef void (*liboctave_warning_handler) (const char *, ...);
 
+typedef void (*liboctave_warning_with_id_handler) (const char *, const char *, ...);
+
 /* Would be nice to make these pointers private, but we want to share
    them among all the liboctave classes. */
 extern liboctave_error_handler current_liboctave_error_handler;
 
 extern liboctave_warning_handler current_liboctave_warning_handler;
 
+extern liboctave_warning_with_id_handler current_liboctave_warning_with_id_handler;
+
 extern void set_liboctave_error_handler (liboctave_error_handler f);
 
 extern void set_liboctave_warning_handler (liboctave_warning_handler f);
 
+extern void set_liboctave_warning_with_id_handler (liboctave_warning_with_id_handler f);
+
 #ifdef __cplusplus
 }
 #endif