case_sip.h
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
00027
00028
00029 #ifndef CASE_SIP_H
00030 #define CASE_SIP_H
00031
00032 #define atch_CASE \
00033 switch(LOWER_DWORD(val)) { \
00034 case _atch_: \
00035 LM_DBG("end of SIP-If-Match\n"); \
00036 hdr->type = HDR_SIPIFMATCH_T; \
00037 p += 4; \
00038 goto dc_end; \
00039 }
00040
00041
00042 #define ifm_CASE \
00043 switch(LOWER_DWORD(val)) { \
00044 case _ifm_: \
00045 LM_DBG("middle of SIP-If-Match: yet=0x%04x\n",LOWER_DWORD(val)); \
00046 p += 4; \
00047 val = READ(p); \
00048 atch_CASE; \
00049 goto other; \
00050 }
00051
00052 #define sip_CASE \
00053 LM_DBG("beginning of SIP-If-Match: yet=0x%04x\n",LOWER_DWORD(val)); \
00054 p += 4; \
00055 val = READ(p); \
00056 ifm_CASE; \
00057 goto other;
00058
00059 #endif