* interface, such as message output. See config.h for output configuration.
*****************************************************************************
* Copyright (C) 1999, 2000 VideoLAN
+ * $Id: intf_msg.h,v 1.15 2001/05/31 03:12:49 sam Exp $
*
- * Authors:
+ * Authors: Vincent Seguin <seguin@via.ecp.fr>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* compiler extensions and print the file, the function and the line number
* from which they have been called. They call _intf_DbgMsg*() functions after
* having added debugging informations.
- * Outside DEBUG mode, intf_DbgMsg* functions do nothing.
+ * Outside trace mode, intf_DbgMsg* functions do nothing.
*****************************************************************************/
-#ifdef DEBUG
+#ifdef TRACE
-/* DEBUG mode */
+/* TRACE mode */
void _intf_DbgMsg ( char *psz_file, char *psz_function, int i_line,
char *psz_format, ... );
void _intf_DbgMsgImm ( char *psz_file, char *psz_function, int i_line,
#else
-/* Non-DEBUG mode */
-#define intf_DbgMsg( format, args... )
-#define intf_DbgMsgImm( format, args...)
+/* Non-TRACE mode */
+#if defined( _MSC_VER )
+# define intf_DbgMsg
+# define intf_DbgMsgImm
+#else
+# define intf_DbgMsg( format, args... )
+# define intf_DbgMsgImm( format, args...)
+#endif
#endif
void intf_Msg ( char *psz_format, ... );
void intf_ErrMsg ( char *psz_format, ... );
-void intf_IntfMsg ( char *psz_format, ... );
+void intf_WarnMsg ( int i_level, char *psz_format, ... );
void intf_MsgImm ( char *psz_format, ... );
void intf_ErrMsgImm ( char *psz_format, ... );
+void intf_WarnMsgImm ( int i_level, char *psz_format, ... );
+void intf_WarnHexDump ( int i_level, void *p_data, int i_size );
+