Commit 7d60b6ef authored by Pekka Pessi's avatar Pekka Pessi

sdp/sofia-sip/sdp.h: fixed whitespace

darcs-hash:20081127130317-db55f-0bcb988ba82b93580b90321bcdd270471aec19ec.gz
parent 0c5cc6bd
...@@ -98,7 +98,7 @@ struct sdp_session_s ...@@ -98,7 +98,7 @@ struct sdp_session_s
sdp_media_t *sdp_media; /**< Media descriptors */ sdp_media_t *sdp_media; /**< Media descriptors */
}; };
/** Session description identification */ /** Session description identification */
struct sdp_origin_s struct sdp_origin_s
{ {
int o_size; /**< sizeof sdp_origin_t */ int o_size; /**< sizeof sdp_origin_t */
...@@ -150,7 +150,7 @@ struct sdp_bandwidth_s ...@@ -150,7 +150,7 @@ struct sdp_bandwidth_s
{ {
int b_size; /**< Size fo sdp_bandwidth_t */ int b_size; /**< Size fo sdp_bandwidth_t */
sdp_bandwidth_t *b_next; /**< Next bw description in list */ sdp_bandwidth_t *b_next; /**< Next bw description in list */
sdp_bandwidth_e b_modifier; /**< Meaning of value sdp_bandwidth_e b_modifier; /**< Meaning of value
(total, or per application). */ (total, or per application). */
sdp_text_t *b_modifier_name; /**< Modifier if not well-known */ sdp_text_t *b_modifier_name; /**< Modifier if not well-known */
unsigned long b_value; /**< Bandwidth in kilobits per second */ unsigned long b_value; /**< Bandwidth in kilobits per second */
...@@ -197,7 +197,7 @@ typedef enum { ...@@ -197,7 +197,7 @@ typedef enum {
sdp_key_clear, /**< Key is included untransformed */ sdp_key_clear, /**< Key is included untransformed */
sdp_key_base64, /**< Key is encoded with base64 */ sdp_key_base64, /**< Key is encoded with base64 */
sdp_key_uri, /**< URI used to obtain a key */ sdp_key_uri, /**< URI used to obtain a key */
sdp_key_prompt /**< No key is included, sdp_key_prompt /**< No key is included,
prompt user for key */ prompt user for key */
} sdp_key_method_e; } sdp_key_method_e;
...@@ -249,19 +249,19 @@ typedef enum ...@@ -249,19 +249,19 @@ typedef enum
/** Session mode. @note Identical to rtp_mode_t. */ /** Session mode. @note Identical to rtp_mode_t. */
typedef enum { typedef enum {
sdp_inactive = 0, sdp_inactive = 0,
sdp_sendonly = 1, sdp_sendonly = 1,
sdp_recvonly = 2, sdp_recvonly = 2,
sdp_sendrecv = sdp_sendonly | sdp_recvonly sdp_sendrecv = sdp_sendonly | sdp_recvonly
} sdp_mode_t; } sdp_mode_t;
/** Media announcement. /** Media announcement.
* *
* This structure describes one media type, e.g., audio. The description * This structure describes one media type, e.g., audio. The description
* contains the transport address (IP address and port) used for the group, * contains the transport address (IP address and port) used for the group,
* the transport protocol used, the media formats or RTP payload types, and * the transport protocol used, the media formats or RTP payload types, and
* optionally media-specific bandwidth specification, encryption key and * optionally media-specific bandwidth specification, encryption key and
* attributes. * attributes.
* *
* There is a pointer (m_user) for the application data, too. * There is a pointer (m_user) for the application data, too.
*/ */
...@@ -286,9 +286,9 @@ struct sdp_media_s ...@@ -286,9 +286,9 @@ struct sdp_media_s
sdp_attribute_t *m_attributes; /**< Media attributes */ sdp_attribute_t *m_attributes; /**< Media attributes */
void *m_user; /**< User data. */ void *m_user; /**< User data. */
/** Rejected media */ /** Rejected media */
unsigned m_rejected : 1; unsigned m_rejected : 1;
/** Inactive, recvonly, sendonly, sendrecv */ /** Inactive, recvonly, sendonly, sendrecv */
/* sdp_mode_t */ unsigned m_mode : 2; /* sdp_mode_t */ unsigned m_mode : 2;
unsigned : 0; unsigned : 0;
...@@ -303,7 +303,7 @@ struct sdp_list_s ...@@ -303,7 +303,7 @@ struct sdp_list_s
}; };
/** Mapping from RTP payload to codec. /** Mapping from RTP payload to codec.
* *
* The sdp_rtpmap_t() structure defines a mapping from an RTP payload to a * The sdp_rtpmap_t() structure defines a mapping from an RTP payload to a
* particular codec. In case of well-known payloads, the sdp_rtpmap_t() * particular codec. In case of well-known payloads, the sdp_rtpmap_t()
* structure may be predefined, that is, generated by SDP parser without * structure may be predefined, that is, generated by SDP parser without
...@@ -437,8 +437,8 @@ SOFIAPUBFUN sdp_attribute_t *sdp_attribute_find(sdp_attribute_t const *a, ...@@ -437,8 +437,8 @@ SOFIAPUBFUN sdp_attribute_t *sdp_attribute_find(sdp_attribute_t const *a,
char const *name); char const *name);
/** Find named attribute from given lists. */ /** Find named attribute from given lists. */
SOFIAPUBFUN sdp_attribute_t *sdp_attribute_find2(sdp_attribute_t const *a, SOFIAPUBFUN sdp_attribute_t *sdp_attribute_find2(sdp_attribute_t const *a,
sdp_attribute_t const *a2, sdp_attribute_t const *a2,
char const *name); char const *name);
/** Get session mode from attribute list. */ /** Get session mode from attribute list. */
...@@ -446,26 +446,26 @@ SOFIAPUBFUN sdp_mode_t sdp_attribute_mode(sdp_attribute_t const *a, ...@@ -446,26 +446,26 @@ SOFIAPUBFUN sdp_mode_t sdp_attribute_mode(sdp_attribute_t const *a,
sdp_mode_t defmode); sdp_mode_t defmode);
/** Get session mode from attribute list. */ /** Get session mode from attribute list. */
SOFIAPUBFUN sdp_attribute_t *sdp_attribute_by_mode(su_home_t *, SOFIAPUBFUN sdp_attribute_t *sdp_attribute_by_mode(su_home_t *,
sdp_mode_t mode); sdp_mode_t mode);
/** Find a mapped attribute. */ /** Find a mapped attribute. */
SOFIAPUBFUN SOFIAPUBFUN
sdp_attribute_t *sdp_attribute_mapped_find(sdp_attribute_t const *a, sdp_attribute_t *sdp_attribute_mapped_find(sdp_attribute_t const *a,
char const *name, char const *name,
int pt, char **return_result); int pt, char **return_result);
/** Append a attribute to a list of attributes. */ /** Append a attribute to a list of attributes. */
SOFIAPUBFUN void sdp_attribute_append(sdp_attribute_t **list, SOFIAPUBFUN void sdp_attribute_append(sdp_attribute_t **list,
sdp_attribute_t const *a); sdp_attribute_t const *a);
/** Replace a attribute within a list of attributes. */ /** Replace a attribute within a list of attributes. */
SOFIAPUBFUN int sdp_attribute_replace(sdp_attribute_t **list, SOFIAPUBFUN int sdp_attribute_replace(sdp_attribute_t **list,
sdp_attribute_t *a, sdp_attribute_t *a,
sdp_attribute_t **return_replaced); sdp_attribute_t **return_replaced);
/** Remove a named attribute from a list of attributes. */ /** Remove a named attribute from a list of attributes. */
SOFIAPUBFUN sdp_attribute_t *sdp_attribute_remove(sdp_attribute_t **list, SOFIAPUBFUN sdp_attribute_t *sdp_attribute_remove(sdp_attribute_t **list,
char const *name); char const *name);
/* Return 1 if m= line struct matches with given type and name */ /* Return 1 if m= line struct matches with given type and name */
...@@ -505,8 +505,8 @@ enum sdp_parse_flags_e { ...@@ -505,8 +505,8 @@ enum sdp_parse_flags_e {
/** Accept only conforming SDP */ /** Accept only conforming SDP */
sdp_f_strict = 1, sdp_f_strict = 1,
/** Accept any network type. */ /** Accept any network type. */
sdp_f_anynet = 2, sdp_f_anynet = 2,
/** Reallocate message. */ /** Reallocate message. */
sdp_f_realloc = 4, sdp_f_realloc = 4,
/** Include well-known rtpmaps in message, too */ /** Include well-known rtpmaps in message, too */
sdp_f_all_rtpmaps = 8, sdp_f_all_rtpmaps = 8,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment