📄 rvsdpprs.c
字号:
static void ag_rp_77(PCB_DECL, int p, RvpStrPtrN n, int r, RvpStrPtrN pr) {
/* Line 493, Z:/rv/sdp/rvsdpprs.syn */
RvSdpRtpMap * m = rvSdpCommonFieldsAddRtpMapN(PRS_STATE->cur_sdp_fields,p,n.buf,n.len,r,PRS_ALLOC);
/* Note: this could be conditional to media=AUDIO */
rvSdpRtpMapSetEncodingParametersN(m,pr.buf,pr.len);
}
#define ag_rp_78(PCB_POINTER) (rvSdpCommonFieldsSetConnectionMode(PRS_STATE->cur_sdp_fields,RV_SDPCONNECTMODE_SENDRECV))
#define ag_rp_79(PCB_POINTER) (rvSdpCommonFieldsSetConnectionMode(PRS_STATE->cur_sdp_fields,RV_SDPCONNECTMODE_SENDONLY))
#define ag_rp_80(PCB_POINTER) (rvSdpCommonFieldsSetConnectionMode(PRS_STATE->cur_sdp_fields,RV_SDPCONNECTMODE_RECVONLY))
#define ag_rp_81(PCB_POINTER) (CUR_INT())
#define ag_rp_83(PCB_POINTER) (CUR_INT())
static void ag_rp_85(PCB_DECL, RvpStrPtrN m, int p, int sp, RvpStrPtrN pt) {
/* Line 526, Z:/rv/sdp/rvsdpprs.syn */
rvSdpParseAuxAddSdpMedia(PRS_STATE,m,p,sp,pt);
}
static void ag_rp_86(PCB_DECL, RvpStrPtrN m, int p, RvpStrPtrN pt) {
/* Line 527, Z:/rv/sdp/rvsdpprs.syn */
rvSdpParseAuxAddSdpMedia(PRS_STATE,m,p,RV_SDPFIELD_NOTSET,pt);
}
#define ag_rp_87(PCB_POINTER, am) (rvSdpParseAuxAddSdpMediaNAS(PRS_STATE,RV_SDPPORT_NOTSET,RV_SDPFIELD_NOTSET,am.buf,am.len))
#define ag_rp_88(PCB_POINTER, am, p) (rvSdpParseAuxAddSdpMediaNAS(PRS_STATE,p,RV_SDPFIELD_NOTSET,am.buf,am.len))
#define ag_rp_89(PCB_POINTER, am, p, sp) (rvSdpParseAuxAddSdpMediaNAS(PRS_STATE,p,sp,am.buf,am.len))
#define ag_rp_92(PCB_POINTER) (CUR_INT16())
#define ag_rp_93(PCB_POINTER) (RV_SDPPORT_ANY)
#define ag_rp_94(PCB_POINTER) (RV_SDPPORT_IGNORE)
#define ag_rp_95(PCB_POINTER) (RV_SDPPORT_ATM)
#define ag_rp_96(PCB_POINTER) (CUR_INT())
#define ag_rp_97(PCB_POINTER) (rvSdpParseAuxAddMediaDescrFormatN(PRS_STATE,TOKEN_START,TOKEN_LENGTH))
#define ag_rp_104(PCB_POINTER, a) (a)
#define ag_rp_107(PCB_POINTER, a) (a)
#define ag_rp_109(PCB_POINTER) (PRS_STATE->ttl = CUR_INT())
#define ag_rp_110(PCB_POINTER) (PRS_STATE->num_addr = CUR_INT())
#define ag_rp_111(PCB_POINTER, t) (t)
#define ag_rp_112(PCB_POINTER) (0)
#define ag_rp_113(PCB_POINTER, t) (t)
#define ag_rp_114(PCB_POINTER) (0)
#define ag_rp_115(PCB_POINTER) (CUR_INT())
#define ag_rp_116(PCB_POINTER) (CUR_INT())
static RvSdpTypedTime ag_rp_117(PCB_DECL, unsigned int t) {
/* Line 633, Z:/rv/sdp/rvsdpprs.syn */
RvSdpTypedTime ttime;
ttime.time = t;
ttime.type = RV_SDPTIMETYPE_SECOND;
return ttime;
}
static RvSdpTypedTime ag_rp_118(PCB_DECL, unsigned int t, short type) {
/* Line 639, Z:/rv/sdp/rvsdpprs.syn */
RvSdpTypedTime ttime;
ttime.time = t;
ttime.type = (RvSdpTimeUnit)type;
return ttime;
}
#define ag_rp_119(PCB_POINTER) (RV_SDPTIMETYPE_DAY)
#define ag_rp_120(PCB_POINTER) (RV_SDPTIMETYPE_HOUR)
#define ag_rp_121(PCB_POINTER) (RV_SDPTIMETYPE_MONTH)
#define ag_rp_122(PCB_POINTER) (RV_SDPTIMETYPE_SECOND)
#define ag_rp_124(PCB_POINTER) (CUR_INT())
#define ag_rp_126(PCB_POINTER, e) (rvSdpMsgAddEmailN(SDP_MSG,e.buf,e.len,"",0))
#define ag_rp_127(PCB_POINTER, e, s) (rvSdpMsgAddEmailN(SDP_MSG,e.buf,e.len,s.buf,s.len))
#define ag_rp_128(PCB_POINTER, s, e) (rvSdpMsgAddEmailN(SDP_MSG,e.buf,e.len,s.buf,s.len))
#define ag_rp_131(PCB_POINTER, p) (rvSdpMsgAddPhoneN(SDP_MSG,p.buf,p.len,"",0))
#define ag_rp_132(PCB_POINTER, p, s) (rvSdpMsgAddPhoneN(SDP_MSG,p.buf,p.len,s.buf,s.len))
#define ag_rp_133(PCB_POINTER, s, p) (rvSdpMsgAddPhoneN(SDP_MSG,p.buf,p.len,s.buf,s.len))
#define ag_rp_144(PCB_POINTER, g) (rvSdpParserAuxSaveVcId(PRS_STATE, RV_SDPVCID_VCCI, g.buf, g.len))
#define ag_rp_145(PCB_POINTER, g) (rvSdpParserAuxSaveVcId(PRS_STATE, RV_SDPVCID_CID, g.buf, g.len))
#define ag_rp_146(PCB_POINTER, g) (rvSdpParserAuxSaveVcId(PRS_STATE, RV_SDPVCID_BCG, g.buf, g.len))
#define ag_rp_147(PCB_POINTER, g) (rvSdpParserAuxSaveVcId(PRS_STATE, RV_SDPVCID_PORT, g.buf, g.len))
#define ag_rp_148(PCB_POINTER, g) (rvSdpParserAuxSaveVcId(PRS_STATE, RV_SDPVCID_VPI, g.buf, g.len))
#define ag_rp_149(PCB_POINTER, g) (rvSdpParserAuxSaveVcId(PRS_STATE, RV_SDPVCID_VCI, g.buf, g.len))
#define ag_rp_150(PCB_POINTER, g) (rvSdpParserAuxSaveVcId(PRS_STATE, RV_SDPVCID_VPCI, g.buf, g.len))
#define ag_rp_151(PCB_POINTER, g) (rvSdpParserAuxSaveVcId(PRS_STATE, RV_SDPVCID_NSAP, g.buf, g.len))
#define ag_rp_152(PCB_POINTER) (rvSdpParserAuxSaveVcId(PRS_STATE, RV_SDPVCID_NSAP, "$", 1))
#define ag_rp_153(PCB_POINTER, g) (rvSdpParserAuxSaveVcId(PRS_STATE, RV_SDPVCID_E164, g.buf, g.len))
#define ag_rp_154(PCB_POINTER) (rvSdpParserAuxSaveVcId(PRS_STATE, RV_SDPVCID_E164, "$", 1))
#define ag_rp_155(PCB_POINTER, g) (rvSdpParserAuxSaveVcId(PRS_STATE, RV_SDPVCID_GWID, g.buf, g.len))
#define ag_rp_156(PCB_POINTER) (rvSdpParserAuxSaveVcId(PRS_STATE, RV_SDPVCID_GWID, "$", 1))
#define ag_rp_157(PCB_POINTER, g) (rvSdpParserAuxSaveVcId(PRS_STATE, RV_SDPVCID_ALIAS, g.buf, g.len))
#define ag_rp_158(PCB_POINTER) (rvSdpParserAuxSaveVcId(PRS_STATE, RV_SDPVCID_ALIAS, "$", 1))
#define READ_COUNTS
#define WRITE_COUNTS
#undef V
#define V(i,t) (*(t *) (&(PCB).vs[(PCB).ssx + i]))
#undef VS
#define VS(i) (PCB).vs[(PCB).ssx + i]
#ifndef GET_CONTEXT
#define GET_CONTEXT CONTEXT = (PCB).input_context
#endif
typedef enum {
ag_action_1,
ag_action_2,
ag_action_3,
ag_action_4,
ag_action_5,
ag_action_6,
ag_action_7,
ag_action_8,
ag_action_9,
ag_action_10,
ag_action_11,
ag_action_12
} ag_parser_action;
#ifndef NULL_VALUE_INITIALIZER
#define NULL_VALUE_INITIALIZER = { 0 }
#endif
static rvSdpParser_vs_type const ag_null_value NULL_VALUE_INITIALIZER;
static const unsigned char ag_rpx[] = {
0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 1, 1,
0, 0, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 0, 0, 0, 0, 0,
13, 14, 15, 16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 17, 18, 19, 20, 21, 0, 0, 22, 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 0, 0, 0,
0, 0, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0,
0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1,
1, 1
};
static const unsigned char ag_key_itt[] = {
0
};
static const unsigned short ag_key_pt[] = {
0
};
static const unsigned char ag_key_ch[] = {
0, 86,255, 67, 69, 73, 79, 80, 83, 85,255, 67, 69, 73, 80, 83, 85,255,
68, 72, 77, 83,255, 67, 69, 73, 80, 85,255, 67, 69, 80, 85,255, 67, 69,
80,255, 67, 80,255, 37, 58,255, 58,255, 34,255, 67,255, 37, 43, 47, 63,
255, 46, 64,255, 34, 92,255, 64,255, 43,255, 36, 45, 65, 73, 84,255, 47,
63,255, 63,255, 91,255, 37,255, 92, 93,255, 46,255, 45,255, 36, 45, 65,
69, 71, 78,255, 36, 45, 82,255, 52, 54,255, 80,255, 36, 45, 73,255, 36,
45,255, 37, 43,255, 93,255, 48,255, 69, 84,255, 79, 82,255, 68,255, 78,
255, 69,255, 82, 83,255, 67, 73,255,126,255, 78,255, 45,255, 83,255, 65,
255, 73,255, 76,255, 45,255, 52,255, 54,255, 49,255, 45,255, 68,255, 73,
255, 87,255, 45,255, 80,255, 65,255, 83,255, 67, 80,255, 65, 66, 69, 71,
78, 80, 86,255, 48,255, 67, 80,255, 86,255, 86,255, 86,255, 67, 80,255,
86,255, 67,255, 49, 50, 53,255, 76,255, 65,255, 65, 72, 82,255, 69, 84,
255, 65, 67, 73,255
};
static const unsigned char ag_key_act[] = {
0,0,4,0,0,0,0,0,0,0,4,0,0,0,0,0,0,4,0,0,0,0,4,0,0,0,0,0,4,0,0,0,0,4,0,
0,0,4,0,0,4,0,0,4,0,4,0,4,0,4,0,0,0,0,4,0,0,4,0,0,4,0,4,0,4,0,0,3,3,3,
4,0,0,4,0,4,0,4,0,4,0,0,4,0,4,0,4,0,0,3,3,3,3,4,0,0,3,4,0,0,4,2,4,0,0,
2,4,0,0,4,0,0,4,0,4,0,4,3,3,4,3,3,4,2,4,2,4,2,4,2,2,4,0,0,4,0,4,3,4,3,
4,1,4,2,4,2,4,2,4,3,4,1,4,2,4,2,4,3,4,1,4,2,4,2,4,3,4,1,4,2,4,2,4,3,3,
4,2,3,2,2,2,3,2,4,3,4,3,3,4,2,4,3,4,3,4,3,3,4,2,4,3,4,3,3,3,4,2,4,2,4,
2,3,3,4,3,3,4,3,3,2,4
};
static const unsigned short ag_key_parm[] = {
0, 91, 0,106,102, 99, 93,104, 98,100, 0,106,102, 99,104, 98,100, 0,
245,246,247, 98, 0,106,102, 99,104,100, 0,106,102,104,100, 0,106,102,
104, 0,106,104, 0,304,288, 0,288, 0,282, 0,106, 0,304,297,295,290,
0,255,252, 0,282,280, 0,252, 0,297, 0,109, 50,112,110,111, 0,295,
290, 0,290, 0,271, 0,304, 0,280,277, 0,255, 0, 50, 0,109, 50,119,
115,117,113, 0,109, 50,124, 0,120,122, 0, 0, 0,109, 50, 0, 0,109,
50, 0,304,297, 0,277, 0,240, 0,190,183, 0,189,188, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0,106, 99, 0,175, 0,209, 0,364, 0,119, 0, 0,
0, 0, 0, 0, 0,362, 0,115, 0, 0, 0, 0, 0,363, 0,117, 0, 0,
0, 0, 0,361, 0,113, 0, 0, 0, 0, 0,350,360, 0, 0,354, 0, 0,
0,355, 0, 0,365, 0,350,360, 0, 0, 0,359, 0,357, 0,350,357, 0,
0, 0,352, 0,382,384,385, 0, 0, 0, 0, 0, 0,387,386, 0,391,389,
0,388,390, 0, 0
};
static const unsigned char ag_key_jmp[] = {
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 5, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 7,
12, 16, 20, 0, 0, 0, 24, 0, 0, 0, 0, 98, 0, 0, 0,101, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 31, 38, 0, 43, 47, 0,120, 0,123,
0,125, 0,117,127, 0, 0, 0, 0, 0, 0, 51, 0, 54, 0,139, 0,141,
0,143, 0,145, 0, 59, 0,149, 0,151, 0,153, 0, 61, 0,157, 0,159,
0,161, 0, 63, 0,165, 0,167, 0,169, 0, 69, 72, 0,147, 56,155,163,
171, 65,173, 0, 75, 0, 77, 80, 0,186, 0, 83, 0, 86, 0, 89, 92, 0,
195, 0, 94, 0, 97, 99,101, 0,202, 0,206, 0,208,103,109, 0,126,130,
0,116,120,214, 0
};
static const unsigned char ag_key_index[] = {
1, 0, 3, 0, 0, 11, 18, 0, 0, 0, 23, 18, 0, 0, 0, 0, 0, 29,
0, 0, 0, 0, 0, 34, 0, 0, 0, 0, 0, 34, 38, 0, 41, 44, 0, 46,
0, 38, 48, 0, 0, 0, 41, 50, 55, 58, 0, 55, 55, 61, 0, 0, 0, 63,
0, 0, 65, 0, 50, 71, 71, 74, 55, 0, 46, 0, 46, 55, 55, 0, 76, 46,
0, 0, 0, 0, 0, 0, 65, 0, 0, 0, 0, 0, 0, 0, 0, 50, 50, 78,
55, 80, 83, 0, 0, 85, 63, 0, 0, 0, 0, 0, 0, 87, 94,103,107,107,
110, 80,113, 76, 83, 85, 0, 0, 0, 0,115, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 78, 0, 0, 0, 0, 0, 0,
0, 0, 0,107,107,107,107,107, 0, 78,107,107,107,107,107,107,107, 0,
0,115, 0, 0, 0, 0, 0, 0,129, 0,132, 0, 0, 0, 0, 0, 0, 0,
78, 0, 0, 0, 83, 0, 0, 0, 83, 0, 0, 0, 0, 0, 0, 85, 0, 0,
135, 0, 0, 0, 0, 0, 0,137, 48, 0, 0, 0, 0, 0, 0, 0, 0, 83,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 18,135, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 83, 0, 0, 0, 0, 0, 0, 0,
176, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 85, 85, 85,
85, 85, 85, 85, 85, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0,184,184,184,184,189,191,193,198,200,210, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 85, 0, 85, 0,
0, 0, 85,217,217,217, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
191,200,184,200,184,191,191,200,184, 0, 85,210, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,200, 0,200,
200, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
};
static const unsigned char ag_key_ends[] = {
84,77,0, 78,0, 78,0, 76,73,65,83,0, 49,54,52,0, 87,73,68,0,
83,65,80,0, 70,67,50,53,52,51,0, 67,86,79,78,76,89,0,
80,77,65,80,0, 78,76,89,0, 69,67,86,0, 65,83,0, 36,0, 67,71,0,
36,0, 36,0, 36,0, 79,82,84,0, 67,73,0, 67,73,0, 88,0, 67,73,0,
67,73,0, 67,73,0, 80,73,0, 67,73,0, 73,0, 73,68,0, 47,0, 47,0,
47,0, 51,50,51,67,45,0, 84,80,47,65,86,80,0, 84,77,70,0,
85,83,84,79,77,0, 69,69,58,0, 85,0,
};
#define AG_TCV(x) ag_tcv[(x)]
static const unsigned short ag_tcv[] = {
55,393,393,393,393,393,393,393,393,394,392,393,393, 27,393,393,393,393,
393,393,393,393,393,393,393,393,393,393,393,393,393,393, 34,395,396,397,
217,398,399,400, 38, 40,401,333,402,218, 56, 36, 11, 9, 10, 12, 13, 15,
403,403,403,403, 46,404, 42, 48, 44,405,406,178,138,407,407,407,407,408,
408,408,408,167,408,200,408,408,408,408,154,408,141,408,408,408,337,408,
161,409,410,409,397,316,397,178,138,407,407,407,407,408,408,408,408,167,
408,200,408,408,408,408,154,408,141,408,408,408,337,408,161,397,397, 57,
397,411,411,411,411,411,411,411,411,411,411,411,411,411,411,411,411,411,
411,411,411,411,411,411,411,411,411,411,411,411,411,411,411,411,411,411,
411,411,411,411,411,411,411,411,411,411,411,411,411,411,411,411,411,411,
411,411,411,411,411,411,411,411,411,411,411,411,411,411,411,411,411,411,
411,411,411,411,411,411,411,411,411,411,411,411,411,411,411,411,411,411,
411,411,411,411,411,411,411,411,411,411,411,411,411,411,411,411,411,411,
411,411,411,411,411,411,411,411,411,411,411,411,411,411,411,411,411,411,
411,411,411,411
};
#ifndef SYNTAX_ERROR
#define SYNTAX_ERROR fprintf(stderr,"%s, line %d, column %d\n", \
(PCB).error_message, (PCB).line, (PCB).column)
#endif
#ifndef FIRST_LINE
#define FIRST_LINE 1
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -