log.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
#ifndef _FLUIDSYNTH_LOG_H
00022
#define _FLUIDSYNTH_LOG_H
00023
00024
00025
#ifdef __cplusplus
00026
extern "C" {
00027
#endif
00028
00029
00053 enum fluid_log_level {
00054
FLUID_PANIC,
00055
FLUID_ERR,
00056
FLUID_WARN,
00057
FLUID_INFO,
00058
FLUID_DBG,
00059
LAST_LOG_LEVEL
00060 };
00061
00062 typedef void (*
fluid_log_function_t)(
int level,
char* message,
void* data);
00063
00067
FLUIDSYNTH_API
00068
fluid_log_function_t fluid_set_log_function(
int level,
fluid_log_function_t fun,
void* data);
00069
00070
00073
FLUIDSYNTH_API void fluid_default_log_function(
int level,
char* message,
void* data);
00074
00076
FLUIDSYNTH_API int fluid_log(
int level,
char * fmt, ...);
00077
00078
00079
00080
00081
#ifdef __cplusplus
00082
}
00083
#endif
00084
00085
#endif
Generated on Sat Jun 11 17:30:08 2005 for libfluidsynth by
1.3.8