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
00022
00023
00024
00025
00026
00032 #ifndef __case_reas_h
00033 #define __case_reas_h
00034
00035
00036 #define ON_CASE \
00037 switch(LOWER_DWORD(val)) { \
00038 case _on1_: \
00039 hdr->type = HDR_REASON_T; \
00040 hdr->name.len = 6; \
00041 return (p + 3); \
00042 case _on2_: \
00043 hdr->type = HDR_REASON_T; \
00044 hdr->name.len = 7; \
00045 return (p + 4); \
00046 case _on3_: \
00047 hdr->type = HDR_REASON_T; \
00048 p+=4; \
00049 goto dc_end; \
00050 } \
00051 if ((LOWER_DWORD(val)&0x00ffffff) ==\
00052 (_on1_&0x00ffffff)){ \
00053 hdr->type = HDR_REASON_T; \
00054 hdr->name.len = 6; \
00055 return (p+3); \
00056 }
00057
00058
00059
00060 #define reas_CASE \
00061 p += 4; \
00062 val = READ(p); \
00063 ON_CASE; \
00064 goto other;
00065
00066
00067
00068
00069 #endif
00070
00071