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
00031 #ifndef CASE_ALLO_H
00032 #define CASE_ALLO_H
00033
00034 #define allow_ev_ents_CASE \
00035 switch(LOWER_DWORD(val)) { \
00036 case _ents_: \
00037 p += 4; \
00038 hdr->type = HDR_ALLOWEVENTS_T; \
00039 goto dc_end; \
00040 }
00041
00042
00043
00044 #define allo_w_ev_CASE \
00045 switch(LOWER_DWORD(val)) { \
00046 case _w_ev_: \
00047 p += 4; \
00048 val = READ(p); \
00049 allow_ev_ents_CASE;\
00050 goto other; \
00051 }
00052
00053
00054 #define allo_CASE \
00055 p += 4; \
00056 val = READ(p); \
00057 allo_w_ev_CASE; \
00058 if (LOWER_BYTE(*p) == 'w') { \
00059 hdr->type = HDR_ALLOW_T; \
00060 p++; \
00061 goto dc_end; \
00062 } \
00063 goto other;
00064
00065
00066 #endif