2 Copyright (C) 2001 Paul Davis
3 Copyright (C) 2004-2008 Grame
4 Copyright (C) 2008 Nedko Arnaudov
6 This program is free software; you can redistribute it and/or modify
7 it under the terms of the GNU Lesser General Public License as published by
8 the Free Software Foundation; either version 2.1 of the License, or
9 (at your option) any later version.
11 This program is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU Lesser General Public License for more details.
16 You should have received a copy of the GNU Lesser General Public License
17 along with this program; if not, write to the Free Software
18 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
27 #include "JackCompilerDeps.h"
34 SERVER_EXPORT
void jack_error(const char *fmt
, ...);
35 SERVER_EXPORT
void jack_info(const char *fmt
, ...);
36 SERVER_EXPORT
void jack_log(const char *fmt
, ...);
38 SERVER_EXPORT
extern void (*jack_error_callback
)(const char *desc
);
39 SERVER_EXPORT
extern void (*jack_info_callback
)(const char *desc
);
41 SERVER_EXPORT
extern void default_jack_error_callback(const char *desc
);
42 SERVER_EXPORT
extern void default_jack_info_callback(const char *desc
);
44 SERVER_EXPORT
void silent_jack_error_callback(const char *desc
);
45 SERVER_EXPORT
void silent_jack_info_callback(const char *desc
);
47 SERVER_EXPORT
int set_threaded_log_function();
49 #define LOG_LEVEL_INFO 1
50 #define LOG_LEVEL_ERROR 2
52 void jack_log_function(int level
, const char *message
);
53 typedef void (* jack_log_function_t
)(int level
, const char *message
);