diff options
Diffstat (limited to 'tinyRTP/include/tinyrtp/rtcp/trtp_rtcp_sdes_item.h')
-rwxr-xr-x | tinyRTP/include/tinyrtp/rtcp/trtp_rtcp_sdes_item.h | 36 |
1 files changed, 17 insertions, 19 deletions
diff --git a/tinyRTP/include/tinyrtp/rtcp/trtp_rtcp_sdes_item.h b/tinyRTP/include/tinyrtp/rtcp/trtp_rtcp_sdes_item.h index 8356a74..f485e24 100755 --- a/tinyRTP/include/tinyrtp/rtcp/trtp_rtcp_sdes_item.h +++ b/tinyRTP/include/tinyrtp/rtcp/trtp_rtcp_sdes_item.h @@ -2,19 +2,19 @@ * Copyright (C) 2012 Doubango Telecom <http://www.doubango.org> * * Contact: Mamadou Diop <diopmamadou(at)doubango.org> -* +* * This file is part of Open Source Doubango Framework. * * DOUBANGO is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. -* +* * DOUBANGO is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. -* +* * You should have received a copy of the GNU General Public License * along with DOUBANGO. * @@ -34,26 +34,24 @@ TRTP_BEGIN_DECLS // RFC 3550 12.2 SDES Types -typedef enum trtp_rtcp_sdes_item_type_e -{ - trtp_rtcp_sdes_item_type_end = 0, /**< end of SDES list */ - trtp_rtcp_sdes_item_type_cname = 1, /**< canonical name*/ - trtp_rtcp_sdes_item_type_name = 2, /**< user name */ - trtp_rtcp_sdes_item_type_email = 3, /**< user's electronic mail address*/ - trtp_rtcp_sdes_item_type_phone = 4, /**< user's phone number */ - trtp_rtcp_sdes_item_type_loc = 5, /**< geographic user location*/ - trtp_rtcp_sdes_item_type_tool = 6, /**< name of application or tool*/ - trtp_rtcp_sdes_item_type_note = 7, /**< notice about the source*/ - trtp_rtcp_sdes_item_type_priv = 8, /**< private extensions*/ +typedef enum trtp_rtcp_sdes_item_type_e { + trtp_rtcp_sdes_item_type_end = 0, /**< end of SDES list */ + trtp_rtcp_sdes_item_type_cname = 1, /**< canonical name*/ + trtp_rtcp_sdes_item_type_name = 2, /**< user name */ + trtp_rtcp_sdes_item_type_email = 3, /**< user's electronic mail address*/ + trtp_rtcp_sdes_item_type_phone = 4, /**< user's phone number */ + trtp_rtcp_sdes_item_type_loc = 5, /**< geographic user location*/ + trtp_rtcp_sdes_item_type_tool = 6, /**< name of application or tool*/ + trtp_rtcp_sdes_item_type_note = 7, /**< notice about the source*/ + trtp_rtcp_sdes_item_type_priv = 8, /**< private extensions*/ } trtp_rtcp_sdes_item_type_t; -typedef struct trtp_rtcp_sdes_item_s -{ - TSK_DECLARE_OBJECT; +typedef struct trtp_rtcp_sdes_item_s { + TSK_DECLARE_OBJECT; - trtp_rtcp_sdes_item_type_t type; - tsk_buffer_t *data; + trtp_rtcp_sdes_item_type_t type; + tsk_buffer_t *data; } trtp_rtcp_sdes_item_t; |