00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017 #ifndef __CALENDAR_SUPPORT_H__
00018 #define __CALENDAR_SUPPORT_H_
00019
00020
00021
00022 #undef DEBUG_LEVEL_1
00023
00024
00025
00026
00027 #ifndef NO_DEBUG_MESSAGES_PLEASE
00028 #ifdef DEBUG_LEVEL_1
00029 # define CAL_DEBUG_LOG(a...) ULOG_DEBUG_F(a)
00030 # else
00031 # define CAL_DEBUG_LOG(fmtstr, args...) \
00032 (printf("CALENDAR" ":%s: " fmtstr "\n", __func__, ##args))
00033 # endif
00034 #else
00035 # define CAL_DEBUG_LOG(a...) {;}
00036 #endif
00037
00038 #ifdef DEBUG_LEVEL_2
00039
00040 #define CAL_LOG(ARG...) ULOG_DEBUG_F(ARG)
00041
00042 #else
00043
00044 #define CAL_LOG(ARG...)
00045
00046 #endif
00047
00048 #endif