00001
00002
00003
00004
00005
00006
00007
00008
00009 #ifndef __OSKA_PRINT_H
00010 #define __OSKA_PRINT_H
00011
00012 #ifdef __OSKA_API_DOC
00013
00039 void os_print(enum os_print_level level, const char *prefix, const char *name,
00040 const char *format, ...);
00041
00062 void os_vprint(enum os_print_level level, const char *prefix, const char *name,
00063 const char *format, va_list args);
00064
00065 #endif
00066
00072 enum os_print_level {
00073 OS_PRINT_ERROR,
00074 OS_PRINT_WARNING,
00075 OS_PRINT_INFO,
00076 OS_PRINT_DEBUG,
00077 };
00078
00079 #ifdef linux
00080 # include <../linux/print.h>
00081 #elif defined(ZSDE)
00082 # include <../zoran/print.h>
00083 #elif defined(KMDF_MAJOR_VERSION)
00084 # include <../windows/kmdf/print.h>
00085 #else
00086 # error <oska/print.h> not provided for this OS
00087 #endif
00088
00089 #endif