]> git.sesse.net Git - vlc/blobdiff - include/intf_msg.h
* GNU/Hurd configuration and compilation fixes.
[vlc] / include / intf_msg.h
index 82d38e45fe52a61ce9111e817bc1873d685e1e10..71f8e9d0c65fc9de62f67c1ce28a9d9c447c43f6 100644 (file)
@@ -4,8 +4,9 @@
  * 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,
@@ -46,9 +47,14 @@ 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
 
@@ -80,8 +86,9 @@ void         intf_MsgDestroy     ( void );
 void         intf_Msg            ( char *psz_format, ... );
 void         intf_ErrMsg         ( char *psz_format, ... );
 void         intf_WarnMsg        ( int i_level, char *psz_format, ... );
-void         intf_IntfMsg        ( 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 );
+