Mercurial > mplayer.hg
comparison stream/freesdp/parserpriv.h @ 29263:0f1b5b68af32
whitespace cosmetics: Remove all trailing whitespace.
author | diego |
---|---|
date | Wed, 13 May 2009 02:58:57 +0000 |
parents | 64d82a45a05d |
children | 08a90b0e44e1 |
comparison
equal
deleted
inserted
replaced
29262:7d545a6b8aff | 29263:0f1b5b68af32 |
---|---|
31 | 31 |
32 /** | 32 /** |
33 * Parse a connection (c=<network type> <address type> <connection | 33 * Parse a connection (c=<network type> <address type> <connection |
34 * address>) line. If the textual description in <code>p</code> begins | 34 * address>) line. If the textual description in <code>p</code> begins |
35 * with a connection line, it is parsed. If not, nothing is done. | 35 * with a connection line, it is parsed. If not, nothing is done. |
36 * | 36 * |
37 * @param p fraction of textual SDP description. | 37 * @param p fraction of textual SDP description. |
38 * @param ntype where to store the network type. | 38 * @param ntype where to store the network type. |
39 * @param atype where to store the address type. | 39 * @param atype where to store the address type. |
40 * @param address where to store the connection address as a string. | 40 * @param address where to store the connection address as a string. |
41 * | 41 * |
42 * @return parse error code. | 42 * @return parse error code. |
43 **/ | 43 **/ |
44 static fsdp_error_t | 44 static fsdp_error_t |
45 fsdp_parse_c (const char **p, fsdp_network_type_t * ntype, | 45 fsdp_parse_c (const char **p, fsdp_network_type_t * ntype, |
46 fsdp_address_type_t * atype, | 46 fsdp_address_type_t * atype, |
49 /** | 49 /** |
50 * Parse b (b=<modifier>:<bandwidth-value>) consecutive lines. If the | 50 * Parse b (b=<modifier>:<bandwidth-value>) consecutive lines. If the |
51 * textual description in <code>p</code> begins with a bandwidth line, | 51 * textual description in <code>p</code> begins with a bandwidth line, |
52 * it is parsed as well as all b lines inmediately after it. If not, | 52 * it is parsed as well as all b lines inmediately after it. If not, |
53 * nothing is done. | 53 * nothing is done. |
54 * | 54 * |
55 * @param p fraction of textual SDP description. | 55 * @param p fraction of textual SDP description. |
56 * @param bw_modifiers pointer to empty array of bandwidth modifiers to fill. | 56 * @param bw_modifiers pointer to empty array of bandwidth modifiers to fill. |
57 * @param bw_modifiers_count where to set the number of bandwidth | 57 * @param bw_modifiers_count where to set the number of bandwidth |
58 * modifiers successfully parsed. | 58 * modifiers successfully parsed. |
59 * | 59 * |
94 | 94 |
95 static fsdp_error_t | 95 static fsdp_error_t |
96 fsdp_parse_rtpmap (fsdp_rtpmap_t *** rtpmap, unsigned int *counter, | 96 fsdp_parse_rtpmap (fsdp_rtpmap_t *** rtpmap, unsigned int *counter, |
97 const char *value); | 97 const char *value); |
98 | 98 |
99 /** | 99 /** |
100 * Maximun default field len for "expected to be short" fields, like | 100 * Maximun default field len for "expected to be short" fields, like |
101 * username, session_id or inet addresses. | 101 * username, session_id or inet addresses. |
102 * | 102 * |
103 * MDFLENS value must be MAXSHORTFIELDLEN - 1 | 103 * MDFLENS value must be MAXSHORTFIELDLEN - 1 |
104 **/ | 104 **/ |
105 #define MAXSHORTFIELDLEN 96 | 105 #define MAXSHORTFIELDLEN 96 |
106 #define MSFLENS "95" | 106 #define MSFLENS "95" |
107 | 107 |
108 /** | 108 /** |