]> git.sesse.net Git - vlc/blob - include/intf_msg.h
* ./plugins/macosx/intf_vlc_wrapper.m: fix for non-ASCII filenames in the
[vlc] / include / intf_msg.h
1 /*****************************************************************************
2  * intf_msg.h: messages interface
3  * This library provides basic functions for threads to interact with user
4  * interface, such as message output. See config.h for output configuration.
5  *****************************************************************************
6  * Copyright (C) 1999, 2000 VideoLAN
7  * $Id: intf_msg.h,v 1.19 2002/04/24 00:36:24 sam Exp $
8  *
9  * Authors: Vincent Seguin <seguin@via.ecp.fr>
10  *
11  * This program is free software; you can redistribute it and/or modify
12  * it under the terms of the GNU General Public License as published by
13  * the Free Software Foundation; either version 2 of the License, or
14  * (at your option) any later version.
15  * 
16  * This program is distributed in the hope that it will be useful,
17  * but WITHOUT ANY WARRANTY; without even the implied warranty of
18  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
19  * GNU General Public License for more details.
20  *
21  * You should have received a copy of the GNU General Public License
22  * along with this program; if not, write to the Free Software
23  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111, USA.
24  *****************************************************************************/
25
26 /*****************************************************************************
27  * Prototypes
28  *****************************************************************************/
29 #ifndef __PLUGIN__
30 void intf_Msg            ( char *psz_format, ... );
31 void intf_ErrMsg         ( char *psz_format, ... );
32 void intf_WarnMsg        ( int i_level, char *psz_format, ... );
33 void intf_StatMsg        ( char *psz_format, ... );
34
35 void intf_WarnHexDump    ( int i_level, void *p_data, int i_size );
36 #else
37 #   define intf_MsgSub p_symbols->intf_MsgSub
38 #   define intf_MsgUnsub p_symbols->intf_MsgUnsub
39
40 #   define intf_Msg p_symbols->intf_Msg
41 #   define intf_ErrMsg p_symbols->intf_ErrMsg
42 #   define intf_StatMsg p_symbols->intf_StatMsg
43 #   define intf_WarnMsg p_symbols->intf_WarnMsg
44 #endif
45