Go to the documentation of this file.00001
00008 #ifndef CASE_SIP_H
00009 #define CASE_SIP_H
00010
00011 #define atch_CASE \
00012 switch(LOWER_DWORD(val)) { \
00013 case _atch_: \
00014 DBG("end of SIP-If-Match\n"); \
00015 hdr->type = HDR_SIPIFMATCH_T; \
00016 p += 4; \
00017 goto dc_end; \
00018 }
00019
00020
00021 #define ifm_CASE \
00022 switch(LOWER_DWORD(val)) { \
00023 case _ifm_: \
00024 DBG("middle of SIP-If-Match: yet=0x%04x\n",LOWER_DWORD(val)); \
00025 p += 4; \
00026 val = READ(p); \
00027 atch_CASE; \
00028 goto other; \
00029 }
00030
00031 #define sip_CASE \
00032 DBG("beginning of SIP-If-Match: yet=0x%04x\n",LOWER_DWORD(val)); \
00033 p += 4; \
00034 val = READ(p); \
00035 ifm_CASE; \
00036 goto other;
00037
00038 #endif