#if defined(RTC_BEGIN_H) || defined(RTC_MIDDLE_H) # error "rtc_begin.h cannot follow rtc_begin.h or rtc_middle_h" #else #undef RTC_END_H #define RTC_BEGIN_H #define CF_PRIVATE (char*)-1 #define CF_BEGIN(s) typedef struct _##s { #define CF_END(s) } s; #define CF_BOOL(s,x) int x; #define CF_INT(s,x) int x; #define CF_ADDR(s,x) struct in_addr x; #define CF_STR(s,x,l) char x[l+1]; #define CF_PERM(s,x) struct _perm *x; #define CF_INT_P(s,x) int x; #endif