diff options
Diffstat (limited to 'tinySIP/include/tinysip/headers')
95 files changed, 873 insertions, 968 deletions
diff --git a/tinySIP/include/tinysip/headers/tsip_header.h b/tinySIP/include/tinysip/headers/tsip_header.h index b611140..9237cf7 100755 --- a/tinySIP/include/tinysip/headers/tsip_header.h +++ b/tinySIP/include/tinysip/headers/tsip_header.h @@ -2,19 +2,19 @@ * Copyright (C) 2010-2011 Mamadou Diop. * * Contact: Mamadou Diop <diopmamadou(at)doubango[dot]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. * @@ -59,113 +59,111 @@ typedef char* (*tsip_header_get_special_param_value_f)(const struct tsip_header_ * * @brief List of all supported headers. **/ -typedef enum tsip_header_type_e -{ - tsip_htype_Accept, - tsip_htype_Accept_Contact, - tsip_htype_Accept_Encoding, - tsip_htype_Accept_Language, - tsip_htype_Accept_Resource_Priority, - tsip_htype_Alert_Info, - tsip_htype_Allow, - tsip_htype_Allow_Events, - tsip_htype_Authentication_Info, - tsip_htype_Authorization, - tsip_htype_Call_ID, - tsip_htype_Call_Info, - tsip_htype_Contact, - tsip_htype_Content_Disposition, - tsip_htype_Content_Encoding, - tsip_htype_Content_Language, - tsip_htype_Content_Length, - tsip_htype_Content_Type, - tsip_htype_CSeq, - tsip_htype_Date, - tsip_htype_Dummy, - tsip_htype_Error_Info, - tsip_htype_Event, - tsip_htype_Expires, - tsip_htype_From, - tsip_htype_History_Info, - tsip_htype_Identity, - tsip_htype_Identity_Info, - tsip_htype_In_Reply_To, - tsip_htype_Join, - tsip_htype_Max_Forwards, - tsip_htype_MIME_Version, - tsip_htype_Min_Expires, - tsip_htype_Min_SE, - tsip_htype_Organization, - tsip_htype_Path, - tsip_htype_Priority, - tsip_htype_Privacy, - tsip_htype_Proxy_Authenticate, - tsip_htype_Proxy_Authorization, - tsip_htype_Proxy_Require, - tsip_htype_RAck, - tsip_htype_Reason, - tsip_htype_Record_Route, - tsip_htype_Refer_Sub, - tsip_htype_Refer_To, - tsip_htype_Referred_By, - tsip_htype_Reject_Contact, - tsip_htype_Replaces, - tsip_htype_Reply_To, - tsip_htype_Request_Disposition, - tsip_htype_Require, - tsip_htype_Resource_Priority, - tsip_htype_Retry_After, - tsip_htype_Route, - tsip_htype_RSeq, - tsip_htype_Security_Client, - tsip_htype_Security_Server, - tsip_htype_Security_Verify, - tsip_htype_Server, - tsip_htype_Service_Route, - tsip_htype_Session_Expires, - tsip_htype_SIP_ETag, - tsip_htype_SIP_If_Match, - tsip_htype_Subject, - tsip_htype_Subscription_State, - tsip_htype_Supported, - tsip_htype_Target_Dialog, - tsip_htype_Timestamp, - tsip_htype_To, - tsip_htype_Unsupported, - tsip_htype_User_Agent, - tsip_htype_Via, - tsip_htype_Warning, - tsip_htype_WWW_Authenticate, - tsip_htype_P_Access_Network_Info, - tsip_htype_P_Answer_State, - tsip_htype_P_Asserted_Identity, - tsip_htype_P_Associated_URI, - tsip_htype_P_Called_Party_ID, - tsip_htype_P_Charging_Function_Addresses, - tsip_htype_P_Charging_Vector, - tsip_htype_P_DCS_Billing_Info, - tsip_htype_P_DCS_LAES, - tsip_htype_P_DCS_OSPS, - tsip_htype_P_DCS_Redirect, - tsip_htype_P_DCS_Trace_Party_ID, - tsip_htype_P_Early_Media, - tsip_htype_P_Media_Authorization, - tsip_htype_P_Preferred_Identity, - tsip_htype_P_Profile_Key, - tsip_htype_P_User_Database, - tsip_htype_P_Visited_Network_ID +typedef enum tsip_header_type_e { + tsip_htype_Accept, + tsip_htype_Accept_Contact, + tsip_htype_Accept_Encoding, + tsip_htype_Accept_Language, + tsip_htype_Accept_Resource_Priority, + tsip_htype_Alert_Info, + tsip_htype_Allow, + tsip_htype_Allow_Events, + tsip_htype_Authentication_Info, + tsip_htype_Authorization, + tsip_htype_Call_ID, + tsip_htype_Call_Info, + tsip_htype_Contact, + tsip_htype_Content_Disposition, + tsip_htype_Content_Encoding, + tsip_htype_Content_Language, + tsip_htype_Content_Length, + tsip_htype_Content_Type, + tsip_htype_CSeq, + tsip_htype_Date, + tsip_htype_Dummy, + tsip_htype_Error_Info, + tsip_htype_Event, + tsip_htype_Expires, + tsip_htype_From, + tsip_htype_History_Info, + tsip_htype_Identity, + tsip_htype_Identity_Info, + tsip_htype_In_Reply_To, + tsip_htype_Join, + tsip_htype_Max_Forwards, + tsip_htype_MIME_Version, + tsip_htype_Min_Expires, + tsip_htype_Min_SE, + tsip_htype_Organization, + tsip_htype_Path, + tsip_htype_Priority, + tsip_htype_Privacy, + tsip_htype_Proxy_Authenticate, + tsip_htype_Proxy_Authorization, + tsip_htype_Proxy_Require, + tsip_htype_RAck, + tsip_htype_Reason, + tsip_htype_Record_Route, + tsip_htype_Refer_Sub, + tsip_htype_Refer_To, + tsip_htype_Referred_By, + tsip_htype_Reject_Contact, + tsip_htype_Replaces, + tsip_htype_Reply_To, + tsip_htype_Request_Disposition, + tsip_htype_Require, + tsip_htype_Resource_Priority, + tsip_htype_Retry_After, + tsip_htype_Route, + tsip_htype_RSeq, + tsip_htype_Security_Client, + tsip_htype_Security_Server, + tsip_htype_Security_Verify, + tsip_htype_Server, + tsip_htype_Service_Route, + tsip_htype_Session_Expires, + tsip_htype_SIP_ETag, + tsip_htype_SIP_If_Match, + tsip_htype_Subject, + tsip_htype_Subscription_State, + tsip_htype_Supported, + tsip_htype_Target_Dialog, + tsip_htype_Timestamp, + tsip_htype_To, + tsip_htype_Unsupported, + tsip_htype_User_Agent, + tsip_htype_Via, + tsip_htype_Warning, + tsip_htype_WWW_Authenticate, + tsip_htype_P_Access_Network_Info, + tsip_htype_P_Answer_State, + tsip_htype_P_Asserted_Identity, + tsip_htype_P_Associated_URI, + tsip_htype_P_Called_Party_ID, + tsip_htype_P_Charging_Function_Addresses, + tsip_htype_P_Charging_Vector, + tsip_htype_P_DCS_Billing_Info, + tsip_htype_P_DCS_LAES, + tsip_htype_P_DCS_OSPS, + tsip_htype_P_DCS_Redirect, + tsip_htype_P_DCS_Trace_Party_ID, + tsip_htype_P_Early_Media, + tsip_htype_P_Media_Authorization, + tsip_htype_P_Preferred_Identity, + tsip_htype_P_Profile_Key, + tsip_htype_P_User_Database, + tsip_htype_P_Visited_Network_ID } tsip_header_type_t; /*================================ */ -typedef struct tsip_header_s -{ - TSK_DECLARE_OBJECT; - tsip_header_type_t type; - tsip_header_value_serialize_f serialize; - tsip_header_get_special_param_value_f get_special_param_value; - tsk_params_L_t *params; +typedef struct tsip_header_s { + TSK_DECLARE_OBJECT; + tsip_header_type_t type; + tsip_header_value_serialize_f serialize; + tsip_header_get_special_param_value_f get_special_param_value; + tsk_params_L_t *params; } tsip_header_t; diff --git a/tinySIP/include/tinysip/headers/tsip_header_Accept_Contact.h b/tinySIP/include/tinysip/headers/tsip_header_Accept_Contact.h index 19aaa1b..f053afe 100755 --- a/tinySIP/include/tinysip/headers/tsip_header_Accept_Contact.h +++ b/tinySIP/include/tinysip/headers/tsip_header_Accept_Contact.h @@ -2,19 +2,19 @@ * Copyright (C) 2010-2011 Mamadou Diop. * * Contact: Mamadou Diop <diopmamadou(at)doubango[dot]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. * @@ -42,11 +42,10 @@ TSIP_BEGIN_DECLS /// @date 12/3/2009 /// /// @par ABNF -/// +/// //////////////////////////////////////////////////////////////////////////////////////////////////// -typedef struct tsip_header_Accept_Contact_s -{ - TSIP_DECLARE_HEADER; +typedef struct tsip_header_Accept_Contact_s { + TSIP_DECLARE_HEADER; } tsip_header_Accept_Contact_t; diff --git a/tinySIP/include/tinysip/headers/tsip_header_Accept_Encoding.h b/tinySIP/include/tinysip/headers/tsip_header_Accept_Encoding.h index efff6cd..937718a 100755 --- a/tinySIP/include/tinysip/headers/tsip_header_Accept_Encoding.h +++ b/tinySIP/include/tinysip/headers/tsip_header_Accept_Encoding.h @@ -2,19 +2,19 @@ * Copyright (C) 2010-2011 Mamadou Diop. * * Contact: Mamadou Diop <diopmamadou(at)doubango[dot]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. * @@ -42,11 +42,10 @@ TSIP_BEGIN_DECLS /// @date 12/3/2009 /// /// @par ABNF -/// +/// //////////////////////////////////////////////////////////////////////////////////////////////////// -typedef struct tsip_header_Accept_Encoding_s -{ - TSIP_DECLARE_HEADER; +typedef struct tsip_header_Accept_Encoding_s { + TSIP_DECLARE_HEADER; } tsip_header_Accept_Encoding_t; diff --git a/tinySIP/include/tinysip/headers/tsip_header_Accept_Language.h b/tinySIP/include/tinysip/headers/tsip_header_Accept_Language.h index fcb631b..db8843f 100755 --- a/tinySIP/include/tinysip/headers/tsip_header_Accept_Language.h +++ b/tinySIP/include/tinysip/headers/tsip_header_Accept_Language.h @@ -2,19 +2,19 @@ * Copyright (C) 2010-2011 Mamadou Diop. * * Contact: Mamadou Diop <diopmamadou(at)doubango[dot]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. * @@ -42,11 +42,10 @@ TSIP_BEGIN_DECLS /// @date 12/3/2009 /// /// @par ABNF -/// +/// //////////////////////////////////////////////////////////////////////////////////////////////////// -typedef struct tsip_header_Accept_Language_s -{ - TSIP_DECLARE_HEADER; +typedef struct tsip_header_Accept_Language_s { + TSIP_DECLARE_HEADER; } tsip_header_Accept_Language_t; diff --git a/tinySIP/include/tinysip/headers/tsip_header_Accept_Resource_Priority.h b/tinySIP/include/tinysip/headers/tsip_header_Accept_Resource_Priority.h index 09143a5..d1464b8 100755 --- a/tinySIP/include/tinysip/headers/tsip_header_Accept_Resource_Priority.h +++ b/tinySIP/include/tinysip/headers/tsip_header_Accept_Resource_Priority.h @@ -2,19 +2,19 @@ * Copyright (C) 2010-2011 Mamadou Diop. * * Contact: Mamadou Diop <diopmamadou(at)doubango[dot]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. * @@ -42,11 +42,10 @@ TSIP_BEGIN_DECLS /// @date 12/3/2009 /// /// @par ABNF -/// +/// //////////////////////////////////////////////////////////////////////////////////////////////////// -typedef struct tsip_header_Accept_Resource_Priority_s -{ - TSIP_DECLARE_HEADER; +typedef struct tsip_header_Accept_Resource_Priority_s { + TSIP_DECLARE_HEADER; } tsip_header_Accept_Resource_Priority_t; diff --git a/tinySIP/include/tinysip/headers/tsip_header_Alert_Info.h b/tinySIP/include/tinysip/headers/tsip_header_Alert_Info.h index 77a26be..dca2613 100755 --- a/tinySIP/include/tinysip/headers/tsip_header_Alert_Info.h +++ b/tinySIP/include/tinysip/headers/tsip_header_Alert_Info.h @@ -2,19 +2,19 @@ * Copyright (C) 2010-2011 Mamadou Diop. * * Contact: Mamadou Diop <diopmamadou(at)doubango[dot]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. * @@ -40,11 +40,10 @@ TSIP_BEGIN_DECLS /// @brief SIP header 'Alert-Info' as per RFC 3261 subclause . /// /// @par ABNF -/// +/// //////////////////////////////////////////////////////////////////////////////////////////////////// -typedef struct tsip_header_Alert_Info_s -{ - TSIP_DECLARE_HEADER; +typedef struct tsip_header_Alert_Info_s { + TSIP_DECLARE_HEADER; } tsip_header_Alert_Info_t; diff --git a/tinySIP/include/tinysip/headers/tsip_header_Allow.h b/tinySIP/include/tinysip/headers/tsip_header_Allow.h index a43b9ba..f6a0832 100755 --- a/tinySIP/include/tinysip/headers/tsip_header_Allow.h +++ b/tinySIP/include/tinysip/headers/tsip_header_Allow.h @@ -2,19 +2,19 @@ * Copyright (C) 2010-2011 Mamadou Diop. * * Contact: Mamadou Diop <diopmamadou(at)doubango[dot]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. * @@ -43,13 +43,12 @@ TSIP_BEGIN_DECLS /// @brief SIP header 'Allow'. /// /// @par ABNF -/// +/// //////////////////////////////////////////////////////////////////////////////////////////////////// -typedef struct tsip_header_Allow_s -{ - TSIP_DECLARE_HEADER; +typedef struct tsip_header_Allow_s { + TSIP_DECLARE_HEADER; - tsk_strings_L_t *methods; + tsk_strings_L_t *methods; } tsip_header_Allow_t; diff --git a/tinySIP/include/tinysip/headers/tsip_header_Allow_Events.h b/tinySIP/include/tinysip/headers/tsip_header_Allow_Events.h index d97b6b3..6f7c942 100755 --- a/tinySIP/include/tinysip/headers/tsip_header_Allow_Events.h +++ b/tinySIP/include/tinysip/headers/tsip_header_Allow_Events.h @@ -2,19 +2,19 @@ * Copyright (C) 2010-2011 Mamadou Diop. * * Contact: Mamadou Diop <diopmamadou(at)doubango[dot]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. * @@ -41,13 +41,12 @@ TSIP_BEGIN_DECLS /// @brief SIP header 'Allow-Events'. /// /// @par ABNF : Allow-Events = ( "Allow-Events" / "u" ) HCOLON event-type *(COMMA event-type) -/// +/// //////////////////////////////////////////////////////////////////////////////////////////////////// -typedef struct tsip_header_Allow_Events_s -{ - TSIP_DECLARE_HEADER; +typedef struct tsip_header_Allow_Events_s { + TSIP_DECLARE_HEADER; - tsk_strings_L_t *events; + tsk_strings_L_t *events; } tsip_header_Allow_Events_t; diff --git a/tinySIP/include/tinysip/headers/tsip_header_Authentication_Info.h b/tinySIP/include/tinysip/headers/tsip_header_Authentication_Info.h index 0736dbc..02a7e08 100755 --- a/tinySIP/include/tinysip/headers/tsip_header_Authentication_Info.h +++ b/tinySIP/include/tinysip/headers/tsip_header_Authentication_Info.h @@ -2,19 +2,19 @@ * Copyright (C) 2010-2011 Mamadou Diop. * * Contact: Mamadou Diop <diopmamadou(at)doubango[dot]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. * @@ -41,11 +41,10 @@ TSIP_BEGIN_DECLS /// @brief SIP header 'Authentication-Info'. /// /// @par ABNF -/// +/// //////////////////////////////////////////////////////////////////////////////////////////////////// -typedef struct tsip_header_Authentication_Info_s -{ - TSIP_DECLARE_HEADER; +typedef struct tsip_header_Authentication_Info_s { + TSIP_DECLARE_HEADER; } tsip_header_Authentication_Info_t; diff --git a/tinySIP/include/tinysip/headers/tsip_header_Authorization.h b/tinySIP/include/tinysip/headers/tsip_header_Authorization.h index 910fdc5..ad71883 100755 --- a/tinySIP/include/tinysip/headers/tsip_header_Authorization.h +++ b/tinySIP/include/tinysip/headers/tsip_header_Authorization.h @@ -2,19 +2,19 @@ * Copyright (C) 2010-2011 Mamadou Diop. * * Contact: Mamadou Diop <diopmamadou(at)doubango[dot]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. * @@ -55,32 +55,31 @@ TSIP_BEGIN_DECLS /// dresponse = "response" EQUAL request-digest /// request-digest = LDQUOT 32LHEX RDQUOT /// auth-request-uri = not-defined -/// +/// /// auth-param = auth-param-name EQUAL ( token / quoted-string ) /// auth-param-name = token -/// +/// /// other-response = auth-scheme LWS auth-param *(COMMA auth-param) /// auth-scheme = token /// auts = "auts" EQUAL auts-param /// auts-param = LDQUOT auts-value RDQUOT /// auts-value = [base64 encoding of AUTS] -/// +/// //////////////////////////////////////////////////////////////////////////////////////////////////// -typedef struct tsip_header_Authorization_s -{ - TSIP_DECLARE_HEADER; +typedef struct tsip_header_Authorization_s { + TSIP_DECLARE_HEADER; - char* scheme; - char* username; - char* realm; - char* nonce; - char* uri; - char* response; - char* algorithm; - char* cnonce; - char* opaque; - char* qop; - char* nc; + char* scheme; + char* username; + char* realm; + char* nonce; + char* uri; + char* response; + char* algorithm; + char* cnonce; + char* opaque; + char* qop; + char* nc; } tsip_header_Authorization_t; diff --git a/tinySIP/include/tinysip/headers/tsip_header_CSeq.h b/tinySIP/include/tinysip/headers/tsip_header_CSeq.h index 98cd864..a225823 100755 --- a/tinySIP/include/tinysip/headers/tsip_header_CSeq.h +++ b/tinySIP/include/tinysip/headers/tsip_header_CSeq.h @@ -2,19 +2,19 @@ * Copyright (C) 2010-2011 Mamadou Diop. * * Contact: Mamadou Diop <diopmamadou(at)doubango[dot]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. * @@ -47,15 +47,14 @@ TSIP_BEGIN_DECLS /// @brief SIP header 'CSeq'. /// /// @par ABNF: CSeq = "CSeq" HCOLON 1*DIGIT LWS Method -/// +/// //////////////////////////////////////////////////////////////////////////////////////////////////// -typedef struct tsip_header_CSeq_s -{ - TSIP_DECLARE_HEADER; +typedef struct tsip_header_CSeq_s { + TSIP_DECLARE_HEADER; - char *method; - uint32_t seq; - tsip_request_type_t type; + char *method; + uint32_t seq; + tsip_request_type_t type; } tsip_header_CSeq_t; diff --git a/tinySIP/include/tinysip/headers/tsip_header_Call_ID.h b/tinySIP/include/tinysip/headers/tsip_header_Call_ID.h index 41a7f73..a0830b3 100755 --- a/tinySIP/include/tinysip/headers/tsip_header_Call_ID.h +++ b/tinySIP/include/tinysip/headers/tsip_header_Call_ID.h @@ -2,19 +2,19 @@ * Copyright (C) 2010-2011 Mamadou Diop. * * Contact: Mamadou Diop <diopmamadou(at)doubango[dot]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. * @@ -44,14 +44,13 @@ TSIP_BEGIN_DECLS /// @brief SIP header 'Call-ID'. /// /// @par ABNF: Call-ID / i -/// callid = word [ "@" word ] +/// callid = word [ "@" word ] /// Call-ID = ( "Call-ID" / "i" ) HCOLON callid -/// +/// //////////////////////////////////////////////////////////////////////////////////////////////////// -typedef struct tsip_header_Call_ID_s -{ - TSIP_DECLARE_HEADER; - char *value; +typedef struct tsip_header_Call_ID_s { + TSIP_DECLARE_HEADER; + char *value; } tsip_header_Call_ID_t; diff --git a/tinySIP/include/tinysip/headers/tsip_header_Call_Info.h b/tinySIP/include/tinysip/headers/tsip_header_Call_Info.h index 72f0d1a..d15a00d 100755 --- a/tinySIP/include/tinysip/headers/tsip_header_Call_Info.h +++ b/tinySIP/include/tinysip/headers/tsip_header_Call_Info.h @@ -2,19 +2,19 @@ * Copyright (C) 2010-2011 Mamadou Diop. * * Contact: Mamadou Diop <diopmamadou(at)doubango[dot]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. * @@ -40,11 +40,10 @@ TSIP_BEGIN_DECLS /// @brief SIP header 'Call-Info'. /// /// @par ABNF -/// +/// //////////////////////////////////////////////////////////////////////////////////////////////////// -typedef struct tsip_header_Call_Info_s -{ - TSIP_DECLARE_HEADER; +typedef struct tsip_header_Call_Info_s { + TSIP_DECLARE_HEADER; } tsip_header_Call_Info_t; diff --git a/tinySIP/include/tinysip/headers/tsip_header_Contact.h b/tinySIP/include/tinysip/headers/tsip_header_Contact.h index 7fb200e..1d1900b 100755 --- a/tinySIP/include/tinysip/headers/tsip_header_Contact.h +++ b/tinySIP/include/tinysip/headers/tsip_header_Contact.h @@ -2,19 +2,19 @@ * Copyright (C) 2010-2011 Mamadou Diop. * * Contact: Mamadou Diop <diopmamadou(at)doubango[dot]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. * @@ -65,15 +65,14 @@ TSIP_BEGIN_DECLS /// c-p-instance = "+sip.instance" EQUAL LDQUOT "<" instance-val ">" RDQUOT /// instance-val = *uric /// contact-extension = generic-param -/// +/// //////////////////////////////////////////////////////////////////////////////////////////////////// -typedef struct tsip_header_Contact_s -{ - TSIP_DECLARE_HEADER; - - char *display_name; - tsip_uri_t *uri; - int64_t expires; +typedef struct tsip_header_Contact_s { + TSIP_DECLARE_HEADER; + + char *display_name; + tsip_uri_t *uri; + int64_t expires; } tsip_header_Contact_t; typedef tsk_list_t tsip_header_Contacts_L_t; diff --git a/tinySIP/include/tinysip/headers/tsip_header_Content_Disposition.h b/tinySIP/include/tinysip/headers/tsip_header_Content_Disposition.h index 3ec3cef..6395c4b 100755 --- a/tinySIP/include/tinysip/headers/tsip_header_Content_Disposition.h +++ b/tinySIP/include/tinysip/headers/tsip_header_Content_Disposition.h @@ -2,19 +2,19 @@ * Copyright (C) 2010-2011 Mamadou Diop. * * Contact: Mamadou Diop <diopmamadou(at)doubango[dot]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. * @@ -40,11 +40,10 @@ TSIP_BEGIN_DECLS /// @brief SIP header 'Content-Disposition'. /// /// @par ABNF -/// +/// //////////////////////////////////////////////////////////////////////////////////////////////////// -typedef struct tsip_header_Content_Disposition_s -{ - TSIP_DECLARE_HEADER; +typedef struct tsip_header_Content_Disposition_s { + TSIP_DECLARE_HEADER; } tsip_header_Content_Disposition_t; diff --git a/tinySIP/include/tinysip/headers/tsip_header_Content_Encoding.h b/tinySIP/include/tinysip/headers/tsip_header_Content_Encoding.h index 995abbb..d76828d 100755 --- a/tinySIP/include/tinysip/headers/tsip_header_Content_Encoding.h +++ b/tinySIP/include/tinysip/headers/tsip_header_Content_Encoding.h @@ -2,19 +2,19 @@ * Copyright (C) 2010-2011 Mamadou Diop. * * Contact: Mamadou Diop <diopmamadou(at)doubango[dot]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. * @@ -40,11 +40,10 @@ TSIP_BEGIN_DECLS /// @brief SIP header 'Content-Encoding'. /// /// @par ABNF -/// +/// //////////////////////////////////////////////////////////////////////////////////////////////////// -typedef struct tsip_header_Content_Encoding_s -{ - TSIP_DECLARE_HEADER; +typedef struct tsip_header_Content_Encoding_s { + TSIP_DECLARE_HEADER; } tsip_header_Content_Encoding_t; diff --git a/tinySIP/include/tinysip/headers/tsip_header_Content_Language.h b/tinySIP/include/tinysip/headers/tsip_header_Content_Language.h index 86899b1..85c3c66 100755 --- a/tinySIP/include/tinysip/headers/tsip_header_Content_Language.h +++ b/tinySIP/include/tinysip/headers/tsip_header_Content_Language.h @@ -2,19 +2,19 @@ * Copyright (C) 2010-2011 Mamadou Diop. * * Contact: Mamadou Diop <diopmamadou(at)doubango[dot]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. * @@ -38,11 +38,10 @@ /// @brief SIP header 'Content-Language'. /// /// @par ABNF -/// +/// //////////////////////////////////////////////////////////////////////////////////////////////////// -typedef struct tsip_header_Content_Language_s -{ - TSIP_DECLARE_HEADER; +typedef struct tsip_header_Content_Language_s { + TSIP_DECLARE_HEADER; } tsip_header_Content_Language_t; diff --git a/tinySIP/include/tinysip/headers/tsip_header_Content_Length.h b/tinySIP/include/tinysip/headers/tsip_header_Content_Length.h index 7f2ec61..9c4dca5 100755 --- a/tinySIP/include/tinysip/headers/tsip_header_Content_Length.h +++ b/tinySIP/include/tinysip/headers/tsip_header_Content_Length.h @@ -2,19 +2,19 @@ * Copyright (C) 2010-2011 Mamadou Diop. * * Contact: Mamadou Diop <diopmamadou(at)doubango[dot]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. * @@ -43,13 +43,12 @@ TSIP_BEGIN_DECLS /// /// @par ABNF: Content-Length / l /// Content-Length = ( "Content-Length" / "l" ) HCOLON 1*DIGIT -/// +/// //////////////////////////////////////////////////////////////////////////////////////////////////// -typedef struct tsip_header_Content_Length_s -{ - TSIP_DECLARE_HEADER; +typedef struct tsip_header_Content_Length_s { + TSIP_DECLARE_HEADER; - uint32_t length; + uint32_t length; } tsip_header_Content_Length_t; diff --git a/tinySIP/include/tinysip/headers/tsip_header_Content_Type.h b/tinySIP/include/tinysip/headers/tsip_header_Content_Type.h index 48c32b6..2557e08 100755 --- a/tinySIP/include/tinysip/headers/tsip_header_Content_Type.h +++ b/tinySIP/include/tinysip/headers/tsip_header_Content_Type.h @@ -2,19 +2,19 @@ * Copyright (C) 2010-2011 Mamadou Diop. * * Contact: Mamadou Diop <diopmamadou(at)doubango[dot]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. * @@ -55,13 +55,12 @@ TSIP_BEGIN_DECLS /// m-parameter = m-attribute EQUAL m-value /// m-attribute = token /// m-value = token / quoted-string -/// +/// //////////////////////////////////////////////////////////////////////////////////////////////////// -typedef struct tsip_header_Content_Type_s -{ - TSIP_DECLARE_HEADER; +typedef struct tsip_header_Content_Type_s { + TSIP_DECLARE_HEADER; - char* type; + char* type; } tsip_header_Content_Type_t; diff --git a/tinySIP/include/tinysip/headers/tsip_header_Date.h b/tinySIP/include/tinysip/headers/tsip_header_Date.h index f16ee7a..a4a3063 100755 --- a/tinySIP/include/tinysip/headers/tsip_header_Date.h +++ b/tinySIP/include/tinysip/headers/tsip_header_Date.h @@ -2,19 +2,19 @@ * Copyright (C) 2010-2011 Mamadou Diop. * * Contact: Mamadou Diop <diopmamadou(at)doubango[dot]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. * @@ -48,21 +48,20 @@ TSIP_BEGIN_DECLS /// time = 2DIGIT ":" 2DIGIT ":" 2DIGIT /// wkday = "Mon" / "Tue" / "Wed" / "Thu" / "Fri" / "Sat" / "Sun" /// month = "Jan" / "Feb" / "Mar" / "Apr" / "May" / "Jun" / "Jul" / "Aug" / "Sep" / "Oct" / "Nov" / "Dec" -/// +/// //////////////////////////////////////////////////////////////////////////////////////////////////// -typedef struct tsip_header_Date_s -{ - TSIP_DECLARE_HEADER; +typedef struct tsip_header_Date_s { + TSIP_DECLARE_HEADER; - char *wkday; - char *month; - int8_t day; - int16_t year; - struct{ - int8_t h; - int8_t m; - int8_t s; - } time; + char *wkday; + char *month; + int8_t day; + int16_t year; + struct { + int8_t h; + int8_t m; + int8_t s; + } time; } tsip_header_Date_t; diff --git a/tinySIP/include/tinysip/headers/tsip_header_Dummy.h b/tinySIP/include/tinysip/headers/tsip_header_Dummy.h index f1c5bb1..d54ba13 100755 --- a/tinySIP/include/tinysip/headers/tsip_header_Dummy.h +++ b/tinySIP/include/tinysip/headers/tsip_header_Dummy.h @@ -2,19 +2,19 @@ * Copyright (C) 2010-2011 Mamadou Diop. * * Contact: Mamadou Diop <diopmamadou(at)doubango[dot]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. * @@ -42,14 +42,13 @@ TSIP_BEGIN_DECLS /// @brief SIP Dummy header. /// /// @par ABNF : token SP* HCOLON SP*<: any* -/// +/// //////////////////////////////////////////////////////////////////////////////////////////////////// -typedef struct tsip_header_Dummy_s -{ - TSIP_DECLARE_HEADER; +typedef struct tsip_header_Dummy_s { + TSIP_DECLARE_HEADER; - char *name; - char *value; + char *name; + char *value; } tsip_header_Dummy_t; diff --git a/tinySIP/include/tinysip/headers/tsip_header_Error_Info.h b/tinySIP/include/tinysip/headers/tsip_header_Error_Info.h index 53dc98f..55cd9ff 100755 --- a/tinySIP/include/tinysip/headers/tsip_header_Error_Info.h +++ b/tinySIP/include/tinysip/headers/tsip_header_Error_Info.h @@ -2,19 +2,19 @@ * Copyright (C) 2010-2011 Mamadou Diop. * * Contact: Mamadou Diop <diopmamadou(at)doubango[dot]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. * @@ -40,11 +40,10 @@ TSIP_BEGIN_DECLS /// @brief SIP header 'Error-Info'. /// /// @par ABNF -/// +/// //////////////////////////////////////////////////////////////////////////////////////////////////// -typedef struct tsip_header_Error_Info_s -{ - TSIP_DECLARE_HEADER; +typedef struct tsip_header_Error_Info_s { + TSIP_DECLARE_HEADER; } tsip_header_Error_Info_t; diff --git a/tinySIP/include/tinysip/headers/tsip_header_Event.h b/tinySIP/include/tinysip/headers/tsip_header_Event.h index 35eb8ea..97e6158 100755 --- a/tinySIP/include/tinysip/headers/tsip_header_Event.h +++ b/tinySIP/include/tinysip/headers/tsip_header_Event.h @@ -2,19 +2,19 @@ * Copyright (C) 2010-2011 Mamadou Diop. * * Contact: Mamadou Diop <diopmamadou(at)doubango[dot]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. * @@ -50,13 +50,12 @@ TSIP_BEGIN_DECLS /// event-param = generic-param / ( "id" EQUAL token ) / call-ident / from-tag / to-tag / with-sessd /// call-ident = "call-id" EQUAL ( token / DQUOTE callid DQUOTE ) /// with-sessd = "include-session-description" -/// +/// //////////////////////////////////////////////////////////////////////////////////////////////////// -typedef struct tsip_header_Event_s -{ - TSIP_DECLARE_HEADER; +typedef struct tsip_header_Event_s { + TSIP_DECLARE_HEADER; - char *package; + char *package; } tsip_header_Event_t; diff --git a/tinySIP/include/tinysip/headers/tsip_header_Expires.h b/tinySIP/include/tinysip/headers/tsip_header_Expires.h index 2242b9f..ee9491d 100755 --- a/tinySIP/include/tinysip/headers/tsip_header_Expires.h +++ b/tinySIP/include/tinysip/headers/tsip_header_Expires.h @@ -2,19 +2,19 @@ * Copyright (C) 2010-2011 Mamadou Diop. * * Contact: Mamadou Diop <diopmamadou(at)doubango[dot]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. * @@ -45,13 +45,12 @@ TSIP_BEGIN_DECLS /// @brief SIP header 'Expires'. /// /// @par ABNF: Expires = "Expires" HCOLON delta-seconds -/// +/// //////////////////////////////////////////////////////////////////////////////////////////////////// -typedef struct tsip_header_Expires_s -{ - TSIP_DECLARE_HEADER; +typedef struct tsip_header_Expires_s { + TSIP_DECLARE_HEADER; - int64_t delta_seconds; + int64_t delta_seconds; } tsip_header_Expires_t; diff --git a/tinySIP/include/tinysip/headers/tsip_header_From.h b/tinySIP/include/tinysip/headers/tsip_header_From.h index a799efd..8144fcb 100755 --- a/tinySIP/include/tinysip/headers/tsip_header_From.h +++ b/tinySIP/include/tinysip/headers/tsip_header_From.h @@ -2,19 +2,19 @@ * Copyright (C) 2010-2011 Mamadou Diop. * * Contact: Mamadou Diop <diopmamadou(at)doubango[dot]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. * @@ -46,15 +46,14 @@ TSIP_BEGIN_DECLS /// from-spec = ( name-addr / addr-spec ) *( SEMI from-param ) /// from-param = tag-param / generic-param /// tag-param = "tag" EQUAL token -/// +/// //////////////////////////////////////////////////////////////////////////////////////////////////// -typedef struct tsip_header_From_s -{ - TSIP_DECLARE_HEADER; - - char *display_name; - tsip_uri_t *uri; - char *tag; +typedef struct tsip_header_From_s { + TSIP_DECLARE_HEADER; + + char *display_name; + tsip_uri_t *uri; + char *tag; } tsip_header_From_t; diff --git a/tinySIP/include/tinysip/headers/tsip_header_History_Info.h b/tinySIP/include/tinysip/headers/tsip_header_History_Info.h index 6638f14..c900310 100755 --- a/tinySIP/include/tinysip/headers/tsip_header_History_Info.h +++ b/tinySIP/include/tinysip/headers/tsip_header_History_Info.h @@ -2,19 +2,19 @@ * Copyright (C) 2010-2011 Mamadou Diop. * * Contact: Mamadou Diop <diopmamadou(at)doubango[dot]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. * @@ -42,11 +42,10 @@ TSIP_BEGIN_DECLS /// @date 12/3/2009 /// /// @par ABNF -/// +/// //////////////////////////////////////////////////////////////////////////////////////////////////// -typedef struct tsip_header_History_Info_s -{ - TSIP_DECLARE_HEADER; +typedef struct tsip_header_History_Info_s { + TSIP_DECLARE_HEADER; } tsip_header_History_Info_t; diff --git a/tinySIP/include/tinysip/headers/tsip_header_Identity.h b/tinySIP/include/tinysip/headers/tsip_header_Identity.h index 8382d39..6ecdf45 100755 --- a/tinySIP/include/tinysip/headers/tsip_header_Identity.h +++ b/tinySIP/include/tinysip/headers/tsip_header_Identity.h @@ -2,19 +2,19 @@ * Copyright (C) 2010-2011 Mamadou Diop. * * Contact: Mamadou Diop <diopmamadou(at)doubango[dot]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. * @@ -40,11 +40,10 @@ TSIP_BEGIN_DECLS /// @brief SIP header 'Identity' . /// /// @par ABNF -/// +/// //////////////////////////////////////////////////////////////////////////////////////////////////// -typedef struct tsip_header_Identity_s -{ - TSIP_DECLARE_HEADER; +typedef struct tsip_header_Identity_s { + TSIP_DECLARE_HEADER; } tsip_header_Identity_t; diff --git a/tinySIP/include/tinysip/headers/tsip_header_Identity_Info.h b/tinySIP/include/tinysip/headers/tsip_header_Identity_Info.h index 1aa790b..fb57ad4 100755 --- a/tinySIP/include/tinysip/headers/tsip_header_Identity_Info.h +++ b/tinySIP/include/tinysip/headers/tsip_header_Identity_Info.h @@ -2,19 +2,19 @@ * Copyright (C) 2010-2011 Mamadou Diop. * * Contact: Mamadou Diop <diopmamadou(at)doubango[dot]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. * @@ -40,11 +40,10 @@ TSIP_BEGIN_DECLS /// @brief SIP header 'Identity-Info'. /// /// @par ABNF -/// +/// //////////////////////////////////////////////////////////////////////////////////////////////////// -typedef struct tsip_header_Identity_Info_s -{ - TSIP_DECLARE_HEADER; +typedef struct tsip_header_Identity_Info_s { + TSIP_DECLARE_HEADER; } tsip_header_Identity_Info_t; diff --git a/tinySIP/include/tinysip/headers/tsip_header_In_Reply_To.h b/tinySIP/include/tinysip/headers/tsip_header_In_Reply_To.h index 90477c6..b405d30 100755 --- a/tinySIP/include/tinysip/headers/tsip_header_In_Reply_To.h +++ b/tinySIP/include/tinysip/headers/tsip_header_In_Reply_To.h @@ -2,19 +2,19 @@ * Copyright (C) 2010-2011 Mamadou Diop. * * Contact: Mamadou Diop <diopmamadou(at)doubango[dot]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. * @@ -40,11 +40,10 @@ TSIP_BEGIN_DECLS /// @brief SIP header 'In-Reply-To'. /// /// @par ABNF -/// +/// //////////////////////////////////////////////////////////////////////////////////////////////////// -typedef struct tsip_header_In_Reply_To_s -{ - TSIP_DECLARE_HEADER; +typedef struct tsip_header_In_Reply_To_s { + TSIP_DECLARE_HEADER; } tsip_header_In_Reply_To_t; diff --git a/tinySIP/include/tinysip/headers/tsip_header_Join.h b/tinySIP/include/tinysip/headers/tsip_header_Join.h index ef4c042..25361f1 100755 --- a/tinySIP/include/tinysip/headers/tsip_header_Join.h +++ b/tinySIP/include/tinysip/headers/tsip_header_Join.h @@ -2,19 +2,19 @@ * Copyright (C) 2010-2011 Mamadou Diop. * * Contact: Mamadou Diop <diopmamadou(at)doubango[dot]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. * @@ -40,11 +40,10 @@ TSIP_BEGIN_DECLS /// @brief SIP header 'Join'. /// /// @par ABNF -/// +/// //////////////////////////////////////////////////////////////////////////////////////////////////// -typedef struct tsip_header_Join_s -{ - TSIP_DECLARE_HEADER; +typedef struct tsip_header_Join_s { + TSIP_DECLARE_HEADER; } tsip_header_Join_t; diff --git a/tinySIP/include/tinysip/headers/tsip_header_MIME_Version.h b/tinySIP/include/tinysip/headers/tsip_header_MIME_Version.h index 439f98c..a756165 100755 --- a/tinySIP/include/tinysip/headers/tsip_header_MIME_Version.h +++ b/tinySIP/include/tinysip/headers/tsip_header_MIME_Version.h @@ -2,19 +2,19 @@ * Copyright (C) 2010-2011 Mamadou Diop. * * Contact: Mamadou Diop <diopmamadou(at)doubango[dot]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. * @@ -40,11 +40,10 @@ TSIP_BEGIN_DECLS /// @brief SIP header 'MIME-Version'. /// /// @par ABNF -/// +/// //////////////////////////////////////////////////////////////////////////////////////////////////// -typedef struct tsip_header_MIME_Version_s -{ - TSIP_DECLARE_HEADER; +typedef struct tsip_header_MIME_Version_s { + TSIP_DECLARE_HEADER; } tsip_header_MIME_Version_t; diff --git a/tinySIP/include/tinysip/headers/tsip_header_Max_Forwards.h b/tinySIP/include/tinysip/headers/tsip_header_Max_Forwards.h index 17d9856..606e4b4 100755 --- a/tinySIP/include/tinysip/headers/tsip_header_Max_Forwards.h +++ b/tinySIP/include/tinysip/headers/tsip_header_Max_Forwards.h @@ -2,19 +2,19 @@ * Copyright (C) 2010-2011 Mamadou Diop. * * Contact: Mamadou Diop <diopmamadou(at)doubango[dot]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. * @@ -46,13 +46,12 @@ TSIP_BEGIN_DECLS /// @brief SIP header 'Max-Forwards'. /// /// @par ABNF: Max-Forwards = "Max-Forwards" HCOLON 1*DIGIT -/// +/// //////////////////////////////////////////////////////////////////////////////////////////////////// -typedef struct tsip_header_Max_Forwards_s -{ - TSIP_DECLARE_HEADER; +typedef struct tsip_header_Max_Forwards_s { + TSIP_DECLARE_HEADER; - int32_t value; + int32_t value; } tsip_header_Max_Forwards_t; diff --git a/tinySIP/include/tinysip/headers/tsip_header_Min_Expires.h b/tinySIP/include/tinysip/headers/tsip_header_Min_Expires.h index 042a190..4f60359 100755 --- a/tinySIP/include/tinysip/headers/tsip_header_Min_Expires.h +++ b/tinySIP/include/tinysip/headers/tsip_header_Min_Expires.h @@ -2,19 +2,19 @@ * Copyright (C) 2010-2011 Mamadou Diop. * * Contact: Mamadou Diop <diopmamadou(at)doubango[dot]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. * @@ -45,13 +45,12 @@ TSIP_BEGIN_DECLS /// @brief SIP header 'Min-Expires' as per RFC 3261. /// /// @par ABNF: Min-Expires = "Min-Expires" HCOLON delta-seconds -/// +/// //////////////////////////////////////////////////////////////////////////////////////////////////// -typedef struct tsip_header_Min_Expires_s -{ - TSIP_DECLARE_HEADER; +typedef struct tsip_header_Min_Expires_s { + TSIP_DECLARE_HEADER; - int32_t value; + int32_t value; } tsip_header_Min_Expires_t; diff --git a/tinySIP/include/tinysip/headers/tsip_header_Min_SE.h b/tinySIP/include/tinysip/headers/tsip_header_Min_SE.h index de05338..ee5a48e 100755 --- a/tinySIP/include/tinysip/headers/tsip_header_Min_SE.h +++ b/tinySIP/include/tinysip/headers/tsip_header_Min_SE.h @@ -2,19 +2,19 @@ * Copyright (C) 2010-2011 Mamadou Diop. * * Contact: Mamadou Diop <diopmamadou(at)doubango[dot]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. * @@ -44,14 +44,13 @@ TSIP_BEGIN_DECLS /// @brief SIP header 'Min-SE'. /// /// @par ABNF : Min-SE = "Min-SE" HCOLON delta-seconds *(SEMI generic-param) -/// -/// +/// +/// //////////////////////////////////////////////////////////////////////////////////////////////////// -typedef struct tsip_header_Min_SE_s -{ - TSIP_DECLARE_HEADER; +typedef struct tsip_header_Min_SE_s { + TSIP_DECLARE_HEADER; - int64_t delta_seconds; + int64_t delta_seconds; } tsip_header_Min_SE_t; diff --git a/tinySIP/include/tinysip/headers/tsip_header_Organization.h b/tinySIP/include/tinysip/headers/tsip_header_Organization.h index 8351afb..96f58b8 100755 --- a/tinySIP/include/tinysip/headers/tsip_header_Organization.h +++ b/tinySIP/include/tinysip/headers/tsip_header_Organization.h @@ -2,19 +2,19 @@ * Copyright (C) 2010-2011 Mamadou Diop. * * Contact: Mamadou Diop <diopmamadou(at)doubango[dot]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. * @@ -40,11 +40,10 @@ TSIP_BEGIN_DECLS /// @brief SIP header 'Organization'. /// /// @par ABNF -/// +/// //////////////////////////////////////////////////////////////////////////////////////////////////// -typedef struct tsip_header_Organization_s -{ - TSIP_DECLARE_HEADER; +typedef struct tsip_header_Organization_s { + TSIP_DECLARE_HEADER; } tsip_header_Organization_t; diff --git a/tinySIP/include/tinysip/headers/tsip_header_P_Access_Network_Info.h b/tinySIP/include/tinysip/headers/tsip_header_P_Access_Network_Info.h index 9508424..09fa888 100755 --- a/tinySIP/include/tinysip/headers/tsip_header_P_Access_Network_Info.h +++ b/tinySIP/include/tinysip/headers/tsip_header_P_Access_Network_Info.h @@ -2,19 +2,19 @@ * Copyright (C) 2010-2011 Mamadou Diop. * * Contact: Mamadou Diop <diopmamadou(at)doubango[dot]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. * @@ -48,13 +48,12 @@ TSIP_BEGIN_DECLS /// extension-access-info = gen-value /// cgi-3gpp = "cgi-3gpp" EQUAL (token / quoted-string) /// utran-cell-id-3gpp = "utran-cell-id-3gpp" EQUAL (token / quoted-string) -/// +/// //////////////////////////////////////////////////////////////////////////////////////////////////// -typedef struct tsip_header_P_Access_Network_Info_s -{ - TSIP_DECLARE_HEADER; +typedef struct tsip_header_P_Access_Network_Info_s { + TSIP_DECLARE_HEADER; - char *value; + char *value; } tsip_header_P_Access_Network_Info_t; diff --git a/tinySIP/include/tinysip/headers/tsip_header_P_Answer_State.h b/tinySIP/include/tinysip/headers/tsip_header_P_Answer_State.h index e378ef7..78fdbc0 100755 --- a/tinySIP/include/tinysip/headers/tsip_header_P_Answer_State.h +++ b/tinySIP/include/tinysip/headers/tsip_header_P_Answer_State.h @@ -2,19 +2,19 @@ * Copyright (C) 2010-2011 Mamadou Diop. * * Contact: Mamadou Diop <diopmamadou(at)doubango[dot]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. * @@ -40,11 +40,10 @@ TSIP_BEGIN_DECLS /// @brief SIP header 'P-Answer-State'. /// /// @par ABNF -/// +/// //////////////////////////////////////////////////////////////////////////////////////////////////// -typedef struct tsip_header_P_Answer_State_s -{ - TSIP_DECLARE_HEADER; +typedef struct tsip_header_P_Answer_State_s { + TSIP_DECLARE_HEADER; } tsip_header_P_Answer_State_t; diff --git a/tinySIP/include/tinysip/headers/tsip_header_P_Asserted_Identity.h b/tinySIP/include/tinysip/headers/tsip_header_P_Asserted_Identity.h index 3e2118a..33f2daf 100755 --- a/tinySIP/include/tinysip/headers/tsip_header_P_Asserted_Identity.h +++ b/tinySIP/include/tinysip/headers/tsip_header_P_Asserted_Identity.h @@ -2,19 +2,19 @@ * Copyright (C) 2010-2011 Mamadou Diop. * * Contact: Mamadou Diop <diopmamadou(at)doubango[dot]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. * @@ -45,14 +45,13 @@ TSIP_BEGIN_DECLS /// @par ABNF: P-Asserted-Identity = PAssertedID /// PAssertedID = "P-Asserted-Identity" HCOLON PAssertedID-value *(COMMA PAssertedID-value) /// PAssertedID-value = name-addr / addr-spec -/// +/// //////////////////////////////////////////////////////////////////////////////////////////////////// -typedef struct tsip_header_P_Asserted_Identity_s -{ - TSIP_DECLARE_HEADER; +typedef struct tsip_header_P_Asserted_Identity_s { + TSIP_DECLARE_HEADER; - char *display_name; - tsip_uri_t *uri; + char *display_name; + tsip_uri_t *uri; } tsip_header_P_Asserted_Identity_t; diff --git a/tinySIP/include/tinysip/headers/tsip_header_P_Associated_URI.h b/tinySIP/include/tinysip/headers/tsip_header_P_Associated_URI.h index 8c28f41..0e63ef8 100755 --- a/tinySIP/include/tinysip/headers/tsip_header_P_Associated_URI.h +++ b/tinySIP/include/tinysip/headers/tsip_header_P_Associated_URI.h @@ -2,19 +2,19 @@ * Copyright (C) 2010-2011 Mamadou Diop. * * Contact: Mamadou Diop <diopmamadou(at)doubango[dot]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. * @@ -46,14 +46,13 @@ TSIP_BEGIN_DECLS /// @par ABNF: P-Associated-URI = "P-Associated-URI" HCOLON p-aso-uri-spec *(COMMA p-aso-uri-spec) /// p-aso-uri-spec = name-addr *( SEMI ai-param ) /// ai-param = generic-param -/// +/// //////////////////////////////////////////////////////////////////////////////////////////////////// -typedef struct tsip_header_P_Associated_URI_s -{ - TSIP_DECLARE_HEADER; +typedef struct tsip_header_P_Associated_URI_s { + TSIP_DECLARE_HEADER; - char *display_name; - tsip_uri_t *uri; + char *display_name; + tsip_uri_t *uri; } tsip_header_P_Associated_URI_t; diff --git a/tinySIP/include/tinysip/headers/tsip_header_P_Called_Party_ID.h b/tinySIP/include/tinysip/headers/tsip_header_P_Called_Party_ID.h index 324b61a..a4485f3 100755 --- a/tinySIP/include/tinysip/headers/tsip_header_P_Called_Party_ID.h +++ b/tinySIP/include/tinysip/headers/tsip_header_P_Called_Party_ID.h @@ -2,19 +2,19 @@ * Copyright (C) 2010-2011 Mamadou Diop. * * Contact: Mamadou Diop <diopmamadou(at)doubango[dot]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. * @@ -40,11 +40,10 @@ TSIP_BEGIN_DECLS /// @brief SIP header 'P-Called-Party-ID'. /// /// @par ABNF -/// +/// //////////////////////////////////////////////////////////////////////////////////////////////////// -typedef struct tsip_header_P_Called_Party_ID_s -{ - TSIP_DECLARE_HEADER; +typedef struct tsip_header_P_Called_Party_ID_s { + TSIP_DECLARE_HEADER; } tsip_header_P_Called_Party_ID_t; diff --git a/tinySIP/include/tinysip/headers/tsip_header_P_Charging_Function_Addresses.h b/tinySIP/include/tinysip/headers/tsip_header_P_Charging_Function_Addresses.h index 82e5e71..e5319c8 100755 --- a/tinySIP/include/tinysip/headers/tsip_header_P_Charging_Function_Addresses.h +++ b/tinySIP/include/tinysip/headers/tsip_header_P_Charging_Function_Addresses.h @@ -2,19 +2,19 @@ * Copyright (C) 2010-2011 Mamadou Diop. * * Contact: Mamadou Diop <diopmamadou(at)doubango[dot]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. * @@ -44,13 +44,12 @@ TSIP_BEGIN_DECLS /// charge-addr-params = ccf / ecf / generic-param /// ccf = "ccf" EQUAL gen-value /// ecf = "ecf" EQUAL gen-value -/// +/// //////////////////////////////////////////////////////////////////////////////////////////////////// -typedef struct tsip_header_P_Charging_Function_Addresses_s -{ - TSIP_DECLARE_HEADER; - char* ccf; - char* ecf; +typedef struct tsip_header_P_Charging_Function_Addresses_s { + TSIP_DECLARE_HEADER; + char* ccf; + char* ecf; } tsip_header_P_Charging_Function_Addresses_t; diff --git a/tinySIP/include/tinysip/headers/tsip_header_P_Charging_Vector.h b/tinySIP/include/tinysip/headers/tsip_header_P_Charging_Vector.h index 45ba24d..cdb69f4 100755 --- a/tinySIP/include/tinysip/headers/tsip_header_P_Charging_Vector.h +++ b/tinySIP/include/tinysip/headers/tsip_header_P_Charging_Vector.h @@ -2,19 +2,19 @@ * Copyright (C) 2010-2011 Mamadou Diop. * * Contact: Mamadou Diop <diopmamadou(at)doubango[dot]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. * @@ -40,11 +40,10 @@ TSIP_BEGIN_DECLS /// @brief SIP header 'P-Charging-Vector'. /// /// @par ABNF -/// +/// //////////////////////////////////////////////////////////////////////////////////////////////////// -typedef struct tsip_header_P_Charging_Vector_s -{ - TSIP_DECLARE_HEADER; +typedef struct tsip_header_P_Charging_Vector_s { + TSIP_DECLARE_HEADER; } tsip_header_P_Charging_Vector_t; diff --git a/tinySIP/include/tinysip/headers/tsip_header_P_DCS_Billing_Info.h b/tinySIP/include/tinysip/headers/tsip_header_P_DCS_Billing_Info.h index ca518b9..b195833 100755 --- a/tinySIP/include/tinysip/headers/tsip_header_P_DCS_Billing_Info.h +++ b/tinySIP/include/tinysip/headers/tsip_header_P_DCS_Billing_Info.h @@ -2,19 +2,19 @@ * Copyright (C) 2010-2011 Mamadou Diop. * * Contact: Mamadou Diop <diopmamadou(at)doubango[dot]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. * @@ -40,11 +40,10 @@ TSIP_BEGIN_DECLS /// @brief SIP header 'P-DCS-Billing-Info'. /// /// @par ABNF -/// +/// //////////////////////////////////////////////////////////////////////////////////////////////////// -typedef struct tsip_header_P_DCS_Billing_Info_s -{ - TSIP_DECLARE_HEADER; +typedef struct tsip_header_P_DCS_Billing_Info_s { + TSIP_DECLARE_HEADER; } tsip_header_P_DCS_Billing_Info_t; diff --git a/tinySIP/include/tinysip/headers/tsip_header_P_DCS_LAES.h b/tinySIP/include/tinysip/headers/tsip_header_P_DCS_LAES.h index ed2ce31..37bfd21 100755 --- a/tinySIP/include/tinysip/headers/tsip_header_P_DCS_LAES.h +++ b/tinySIP/include/tinysip/headers/tsip_header_P_DCS_LAES.h @@ -2,19 +2,19 @@ * Copyright (C) 2010-2011 Mamadou Diop. * * Contact: Mamadou Diop <diopmamadou(at)doubango[dot]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. * @@ -40,11 +40,10 @@ TSIP_BEGIN_DECLS /// @brief SIP header 'P-DCS-_LAES'. /// /// @par ABNF -/// +/// //////////////////////////////////////////////////////////////////////////////////////////////////// -typedef struct tsip_header_P_DCS_LAES_s -{ - TSIP_DECLARE_HEADER; +typedef struct tsip_header_P_DCS_LAES_s { + TSIP_DECLARE_HEADER; } tsip_header_P_DCS_LAES_t; diff --git a/tinySIP/include/tinysip/headers/tsip_header_P_DCS_OSPS.h b/tinySIP/include/tinysip/headers/tsip_header_P_DCS_OSPS.h index 1d98390..11f7e42 100755 --- a/tinySIP/include/tinysip/headers/tsip_header_P_DCS_OSPS.h +++ b/tinySIP/include/tinysip/headers/tsip_header_P_DCS_OSPS.h @@ -2,19 +2,19 @@ * Copyright (C) 2010-2011 Mamadou Diop. * * Contact: Mamadou Diop <diopmamadou(at)doubango[dot]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. * @@ -40,11 +40,10 @@ TSIP_BEGIN_DECLS /// @brief SIP header 'P-DCS-OSPS'. /// /// @par ABNF -/// +/// //////////////////////////////////////////////////////////////////////////////////////////////////// -typedef struct tsip_header_P_DCS_OSPS_s -{ - TSIP_DECLARE_HEADER; +typedef struct tsip_header_P_DCS_OSPS_s { + TSIP_DECLARE_HEADER; } tsip_header_P_DCS_OSPS_t; diff --git a/tinySIP/include/tinysip/headers/tsip_header_P_DCS_Redirect.h b/tinySIP/include/tinysip/headers/tsip_header_P_DCS_Redirect.h index 103e396..4873bfb 100755 --- a/tinySIP/include/tinysip/headers/tsip_header_P_DCS_Redirect.h +++ b/tinySIP/include/tinysip/headers/tsip_header_P_DCS_Redirect.h @@ -2,19 +2,19 @@ * Copyright (C) 2010-2011 Mamadou Diop. * * Contact: Mamadou Diop <diopmamadou(at)doubango[dot]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. * @@ -40,11 +40,10 @@ TSIP_BEGIN_DECLS /// @brief SIP header 'P-DCS-Redirect'. /// /// @par ABNF -/// +/// //////////////////////////////////////////////////////////////////////////////////////////////////// -typedef struct tsip_header_P_DCS_Redirect_s -{ - TSIP_DECLARE_HEADER; +typedef struct tsip_header_P_DCS_Redirect_s { + TSIP_DECLARE_HEADER; } tsip_header_P_DCS_Redirect_t; diff --git a/tinySIP/include/tinysip/headers/tsip_header_P_DCS_Trace_Party_ID.h b/tinySIP/include/tinysip/headers/tsip_header_P_DCS_Trace_Party_ID.h index 3a11086..226b527 100755 --- a/tinySIP/include/tinysip/headers/tsip_header_P_DCS_Trace_Party_ID.h +++ b/tinySIP/include/tinysip/headers/tsip_header_P_DCS_Trace_Party_ID.h @@ -2,19 +2,19 @@ * Copyright (C) 2010-2011 Mamadou Diop. * * Contact: Mamadou Diop <diopmamadou(at)doubango[dot]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. * @@ -40,11 +40,10 @@ TSIP_BEGIN_DECLS /// @brief SIP header 'P-DCS-Trace-Party-ID'. /// /// @par ABNF -/// +/// //////////////////////////////////////////////////////////////////////////////////////////////////// -typedef struct tsip_header_P_DCS_Trace_Party_ID_s -{ - TSIP_DECLARE_HEADER; +typedef struct tsip_header_P_DCS_Trace_Party_ID_s { + TSIP_DECLARE_HEADER; } tsip_header_P_DCS_Trace_Party_ID_t; diff --git a/tinySIP/include/tinysip/headers/tsip_header_P_Early_Media.h b/tinySIP/include/tinysip/headers/tsip_header_P_Early_Media.h index 54890f0..71e05d9 100755 --- a/tinySIP/include/tinysip/headers/tsip_header_P_Early_Media.h +++ b/tinySIP/include/tinysip/headers/tsip_header_P_Early_Media.h @@ -2,19 +2,19 @@ * Copyright (C) 2010-2011 Mamadou Diop. * * Contact: Mamadou Diop <diopmamadou(at)doubango[dot]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. * @@ -40,11 +40,10 @@ TSIP_BEGIN_DECLS /// @brief SIP header 'P-Early-Media'. /// /// @par ABNF -/// +/// //////////////////////////////////////////////////////////////////////////////////////////////////// -typedef struct tsip_header_P_Early_Media_s -{ - TSIP_DECLARE_HEADER; +typedef struct tsip_header_P_Early_Media_s { + TSIP_DECLARE_HEADER; } tsip_header_P_Early_Media_t; diff --git a/tinySIP/include/tinysip/headers/tsip_header_P_Media_Authorization.h b/tinySIP/include/tinysip/headers/tsip_header_P_Media_Authorization.h index c161c34..5024a3a 100755 --- a/tinySIP/include/tinysip/headers/tsip_header_P_Media_Authorization.h +++ b/tinySIP/include/tinysip/headers/tsip_header_P_Media_Authorization.h @@ -2,19 +2,19 @@ * Copyright (C) 2010-2011 Mamadou Diop. * * Contact: Mamadou Diop <diopmamadou(at)doubango[dot]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. * @@ -40,11 +40,10 @@ TSIP_BEGIN_DECLS /// @brief SIP header 'P-Media-Authorization'. /// /// @par ABNF -/// +/// //////////////////////////////////////////////////////////////////////////////////////////////////// -typedef struct tsip_header_P_Media_Authorization_s -{ - TSIP_DECLARE_HEADER; +typedef struct tsip_header_P_Media_Authorization_s { + TSIP_DECLARE_HEADER; } tsip_header_P_Media_Authorization_t; diff --git a/tinySIP/include/tinysip/headers/tsip_header_P_Preferred_Identity.h b/tinySIP/include/tinysip/headers/tsip_header_P_Preferred_Identity.h index 9272932..e89d60e 100755 --- a/tinySIP/include/tinysip/headers/tsip_header_P_Preferred_Identity.h +++ b/tinySIP/include/tinysip/headers/tsip_header_P_Preferred_Identity.h @@ -2,19 +2,19 @@ * Copyright (C) 2010-2011 Mamadou Diop. * * Contact: Mamadou Diop <diopmamadou(at)doubango[dot]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. * @@ -45,14 +45,13 @@ TSIP_BEGIN_DECLS /// /// @par ABNF: PPreferredID = "P-Preferred-Identity" HCOLON PPreferredID-value *(COMMA PPreferredID-value) /// PPreferredID-value = name-addr / addr-spec -/// +/// //////////////////////////////////////////////////////////////////////////////////////////////////// -typedef struct tsip_header_P_Preferred_Identity_s -{ - TSIP_DECLARE_HEADER; +typedef struct tsip_header_P_Preferred_Identity_s { + TSIP_DECLARE_HEADER; - tsip_uri_t *uri; - char *display_name; + tsip_uri_t *uri; + char *display_name; } tsip_header_P_Preferred_Identity_t; diff --git a/tinySIP/include/tinysip/headers/tsip_header_P_Profile_Key.h b/tinySIP/include/tinysip/headers/tsip_header_P_Profile_Key.h index 0f33a2a..e024afe 100755 --- a/tinySIP/include/tinysip/headers/tsip_header_P_Profile_Key.h +++ b/tinySIP/include/tinysip/headers/tsip_header_P_Profile_Key.h @@ -2,19 +2,19 @@ * Copyright (C) 2010-2011 Mamadou Diop. * * Contact: Mamadou Diop <diopmamadou(at)doubango[dot]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. * @@ -40,11 +40,10 @@ TSIP_BEGIN_DECLS /// @brief SIP header 'P-Profile-Key'. /// /// @par ABNF -/// +/// //////////////////////////////////////////////////////////////////////////////////////////////////// -typedef struct tsip_header_P_Profile_Key_s -{ - TSIP_DECLARE_HEADER; +typedef struct tsip_header_P_Profile_Key_s { + TSIP_DECLARE_HEADER; } tsip_header_P_Profile_Key_t; diff --git a/tinySIP/include/tinysip/headers/tsip_header_P_User_Database.h b/tinySIP/include/tinysip/headers/tsip_header_P_User_Database.h index 75915b5..c6154ad 100755 --- a/tinySIP/include/tinysip/headers/tsip_header_P_User_Database.h +++ b/tinySIP/include/tinysip/headers/tsip_header_P_User_Database.h @@ -2,19 +2,19 @@ * Copyright (C) 2010-2011 Mamadou Diop. * * Contact: Mamadou Diop <diopmamadou(at)doubango[dot]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. * @@ -40,11 +40,10 @@ TSIP_BEGIN_DECLS /// @brief SIP header 'P-User-Database'. /// /// @par ABNF -/// +/// //////////////////////////////////////////////////////////////////////////////////////////////////// -typedef struct tsip_header_P_User_Database_s -{ - TSIP_DECLARE_HEADER; +typedef struct tsip_header_P_User_Database_s { + TSIP_DECLARE_HEADER; } tsip_header_P_User_Database_t; diff --git a/tinySIP/include/tinysip/headers/tsip_header_P_Visited_Network_ID.h b/tinySIP/include/tinysip/headers/tsip_header_P_Visited_Network_ID.h index 121783f..6144da0 100755 --- a/tinySIP/include/tinysip/headers/tsip_header_P_Visited_Network_ID.h +++ b/tinySIP/include/tinysip/headers/tsip_header_P_Visited_Network_ID.h @@ -2,19 +2,19 @@ * Copyright (C) 2010-2011 Mamadou Diop. * * Contact: Mamadou Diop <diopmamadou(at)doubango[dot]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. * @@ -40,11 +40,10 @@ TSIP_BEGIN_DECLS /// @brief SIP header 'P-Visited-Network-ID'. /// /// @par ABNF -/// +/// //////////////////////////////////////////////////////////////////////////////////////////////////// -typedef struct tsip_header_P_Visited_Network_ID_s -{ - TSIP_DECLARE_HEADER; +typedef struct tsip_header_P_Visited_Network_ID_s { + TSIP_DECLARE_HEADER; } tsip_header_P_Visited_Network_ID_t; diff --git a/tinySIP/include/tinysip/headers/tsip_header_Path.h b/tinySIP/include/tinysip/headers/tsip_header_Path.h index d0fa6ed..f943b2a 100755 --- a/tinySIP/include/tinysip/headers/tsip_header_Path.h +++ b/tinySIP/include/tinysip/headers/tsip_header_Path.h @@ -2,19 +2,19 @@ * Copyright (C) 2010-2011 Mamadou Diop. * * Contact: Mamadou Diop <diopmamadou(at)doubango[dot]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. * @@ -46,14 +46,13 @@ TSIP_BEGIN_DECLS /// /// @par ABNF : Path = "Path" HCOLON path-value *(COMMA path-value) /// path-value = name-addr *( SEMI rr-param ) -/// +/// //////////////////////////////////////////////////////////////////////////////////////////////////// -typedef struct tsip_header_Path_s -{ - TSIP_DECLARE_HEADER; +typedef struct tsip_header_Path_s { + TSIP_DECLARE_HEADER; - char *display_name; - tsip_uri_t *uri; + char *display_name; + tsip_uri_t *uri; } tsip_header_Path_t; diff --git a/tinySIP/include/tinysip/headers/tsip_header_Priority.h b/tinySIP/include/tinysip/headers/tsip_header_Priority.h index eb1cbbf..bbcf2d9 100755 --- a/tinySIP/include/tinysip/headers/tsip_header_Priority.h +++ b/tinySIP/include/tinysip/headers/tsip_header_Priority.h @@ -2,19 +2,19 @@ * Copyright (C) 2010-2011 Mamadou Diop. * * Contact: Mamadou Diop <diopmamadou(at)doubango[dot]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. * @@ -40,11 +40,10 @@ TSIP_BEGIN_DECLS /// @brief SIP header 'Priority'. /// /// @par ABNF -/// +/// //////////////////////////////////////////////////////////////////////////////////////////////////// -typedef struct tsip_header_Priority_s -{ - TSIP_DECLARE_HEADER; +typedef struct tsip_header_Priority_s { + TSIP_DECLARE_HEADER; } tsip_header_Priority_t; diff --git a/tinySIP/include/tinysip/headers/tsip_header_Privacy.h b/tinySIP/include/tinysip/headers/tsip_header_Privacy.h index 421e18f..a054cbd 100755 --- a/tinySIP/include/tinysip/headers/tsip_header_Privacy.h +++ b/tinySIP/include/tinysip/headers/tsip_header_Privacy.h @@ -2,19 +2,19 @@ * Copyright (C) 2010-2011 Mamadou Diop. * * Contact: Mamadou Diop <diopmamadou(at)doubango[dot]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. * @@ -43,13 +43,12 @@ TSIP_BEGIN_DECLS /// @par ABNF: Privacy = Privacy-hdr /// Privacy-hdr = "Privacy" HCOLON priv-value *(";" priv-value) /// priv-value = "header" / "session" / "user" / "none" / "critical" / "id" / "history" / token -/// +/// //////////////////////////////////////////////////////////////////////////////////////////////////// -typedef struct tsip_header_Privacy_s -{ - TSIP_DECLARE_HEADER; +typedef struct tsip_header_Privacy_s { + TSIP_DECLARE_HEADER; - tsk_strings_L_t *values; + tsk_strings_L_t *values; } tsip_header_Privacy_t; diff --git a/tinySIP/include/tinysip/headers/tsip_header_Proxy_Authenticate.h b/tinySIP/include/tinysip/headers/tsip_header_Proxy_Authenticate.h index 01c4681..be82015 100755 --- a/tinySIP/include/tinysip/headers/tsip_header_Proxy_Authenticate.h +++ b/tinySIP/include/tinysip/headers/tsip_header_Proxy_Authenticate.h @@ -2,19 +2,19 @@ * Copyright (C) 2010-2011 Mamadou Diop. * * Contact: Mamadou Diop <diopmamadou(at)doubango[dot]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. * @@ -51,20 +51,19 @@ TSIP_BEGIN_DECLS /// stale = "stale" EQUAL ( "true" / "false" ) /// qop-options = "qop" EQUAL LDQUOT qop-value *("," qop-value) RDQUOT /// qop-value = "auth" / "auth-int" / token -/// +/// //////////////////////////////////////////////////////////////////////////////////////////////////// -typedef struct tsip_header_Proxy_Authenticate_s -{ - TSIP_DECLARE_HEADER; - - char* scheme; - char* realm; - char* domain; - char* nonce; - char* opaque; - tsk_bool_t stale; - char* algorithm; - char* qop; +typedef struct tsip_header_Proxy_Authenticate_s { + TSIP_DECLARE_HEADER; + + char* scheme; + char* realm; + char* domain; + char* nonce; + char* opaque; + tsk_bool_t stale; + char* algorithm; + char* qop; } tsip_header_Proxy_Authenticate_t; diff --git a/tinySIP/include/tinysip/headers/tsip_header_Proxy_Authorization.h b/tinySIP/include/tinysip/headers/tsip_header_Proxy_Authorization.h index 6eb7136..5ed9366 100755 --- a/tinySIP/include/tinysip/headers/tsip_header_Proxy_Authorization.h +++ b/tinySIP/include/tinysip/headers/tsip_header_Proxy_Authorization.h @@ -2,19 +2,19 @@ * Copyright (C) 2010-2011 Mamadou Diop. * * Contact: Mamadou Diop <diopmamadou(at)doubango[dot]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. * @@ -55,32 +55,31 @@ TSIP_BEGIN_DECLS /// dresponse = "response" EQUAL request-digest /// request-digest = LDQUOT 32LHEX RDQUOT /// auth-request-uri = not-defined -/// +/// /// auth-param = auth-param-name EQUAL ( token / quoted-string ) /// auth-param-name = token -/// +/// /// other-response = auth-scheme LWS auth-param *(COMMA auth-param) /// auth-scheme = token /// auts = "auts" EQUAL auts-param /// auts-param = LDQUOT auts-value RDQUOT /// auts-value = [base64 encoding of AUTS] -/// +/// //////////////////////////////////////////////////////////////////////////////////////////////////// -typedef struct tsip_header_Proxy_Authorization_s -{ - TSIP_DECLARE_HEADER; +typedef struct tsip_header_Proxy_Authorization_s { + TSIP_DECLARE_HEADER; - char* scheme; - char* username; - char* realm; - char* nonce; - char* uri; - char* response; - char* algorithm; - char* cnonce; - char* opaque; - char* qop; - char* nc; + char* scheme; + char* username; + char* realm; + char* nonce; + char* uri; + char* response; + char* algorithm; + char* cnonce; + char* opaque; + char* qop; + char* nc; } tsip_header_Proxy_Authorization_t; diff --git a/tinySIP/include/tinysip/headers/tsip_header_Proxy_Require.h b/tinySIP/include/tinysip/headers/tsip_header_Proxy_Require.h index 63f74e4..96cafe8 100755 --- a/tinySIP/include/tinysip/headers/tsip_header_Proxy_Require.h +++ b/tinySIP/include/tinysip/headers/tsip_header_Proxy_Require.h @@ -2,19 +2,19 @@ * Copyright (C) 2010-2011 Mamadou Diop. * * Contact: Mamadou Diop <diopmamadou(at)doubango[dot]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. * @@ -43,13 +43,12 @@ TSIP_BEGIN_DECLS /// @brief SIP header 'Proxy-Proxy_Require'. /// /// @par ABNF: Proxy_Require = "Proxy_Require" HCOLON option-tag *(COMMA option-tag) -/// +/// //////////////////////////////////////////////////////////////////////////////////////////////////// -typedef struct tsip_header_Proxy_Require_s -{ - TSIP_DECLARE_HEADER; +typedef struct tsip_header_Proxy_Require_s { + TSIP_DECLARE_HEADER; - tsk_strings_L_t *options; + tsk_strings_L_t *options; } tsip_header_Proxy_Require_t; diff --git a/tinySIP/include/tinysip/headers/tsip_header_RAck.h b/tinySIP/include/tinysip/headers/tsip_header_RAck.h index 6a2bc13..55605e0 100755 --- a/tinySIP/include/tinysip/headers/tsip_header_RAck.h +++ b/tinySIP/include/tinysip/headers/tsip_header_RAck.h @@ -2,19 +2,19 @@ * Copyright (C) 2010-2011 Mamadou Diop. * * Contact: Mamadou Diop <diopmamadou(at)doubango[dot]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. * @@ -42,15 +42,14 @@ TSIP_BEGIN_DECLS /// @brief SIP header 'RAck' as per RFC 3262. /// /// @par ABNF : "RAck" HCOLON response-num LWS CSeq-num LWS Method -/// +/// //////////////////////////////////////////////////////////////////////////////////////////////////// -typedef struct tsip_header_RAck_s -{ - TSIP_DECLARE_HEADER; +typedef struct tsip_header_RAck_s { + TSIP_DECLARE_HEADER; - uint32_t seq; - uint32_t cseq; - char* method; + uint32_t seq; + uint32_t cseq; + char* method; } tsip_header_RAck_t; diff --git a/tinySIP/include/tinysip/headers/tsip_header_RSeq.h b/tinySIP/include/tinysip/headers/tsip_header_RSeq.h index 1b87ddd..6310dca 100755 --- a/tinySIP/include/tinysip/headers/tsip_header_RSeq.h +++ b/tinySIP/include/tinysip/headers/tsip_header_RSeq.h @@ -2,19 +2,19 @@ * Copyright (C) 2010-2011 Mamadou Diop. * * Contact: Mamadou Diop <diopmamadou(at)doubango[dot]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. * @@ -45,12 +45,11 @@ TSIP_BEGIN_DECLS /// @brief SIP header 'RSeq' as per RFC 3262. /// /// @par ABNF: "RSeq" HCOLON response-num -/// +/// //////////////////////////////////////////////////////////////////////////////////////////////////// -typedef struct tsip_header_RSeq_s -{ - TSIP_DECLARE_HEADER; - uint32_t seq; +typedef struct tsip_header_RSeq_s { + TSIP_DECLARE_HEADER; + uint32_t seq; } tsip_header_RSeq_t; diff --git a/tinySIP/include/tinysip/headers/tsip_header_Reason.h b/tinySIP/include/tinysip/headers/tsip_header_Reason.h index eb13b51..ba19369 100755 --- a/tinySIP/include/tinysip/headers/tsip_header_Reason.h +++ b/tinySIP/include/tinysip/headers/tsip_header_Reason.h @@ -2,19 +2,19 @@ * Copyright (C) 2010-2011 Mamadou Diop. * * Contact: Mamadou Diop <diopmamadou(at)doubango[dot]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. * @@ -40,11 +40,10 @@ TSIP_BEGIN_DECLS /// @brief SIP header 'Reason'. /// /// @par ABNF -/// +/// //////////////////////////////////////////////////////////////////////////////////////////////////// -typedef struct tsip_header_Reason_s -{ - TSIP_DECLARE_HEADER; +typedef struct tsip_header_Reason_s { + TSIP_DECLARE_HEADER; } tsip_header_Reason_t; diff --git a/tinySIP/include/tinysip/headers/tsip_header_Record_Route.h b/tinySIP/include/tinysip/headers/tsip_header_Record_Route.h index 7e8e187..1eeada6 100755 --- a/tinySIP/include/tinysip/headers/tsip_header_Record_Route.h +++ b/tinySIP/include/tinysip/headers/tsip_header_Record_Route.h @@ -2,19 +2,19 @@ * Copyright (C) 2010-2011 Mamadou Diop. * * Contact: Mamadou Diop <diopmamadou(at)doubango[dot]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. * @@ -47,14 +47,13 @@ TSIP_BEGIN_DECLS /// @par ABNF : Record-Route = "Record-Route" HCOLON rec-route *(COMMA rec-route) /// rec-route = name-addr *( SEMI rr-param ) /// rr-param = generic-param -/// +/// //////////////////////////////////////////////////////////////////////////////////////////////////// -typedef struct tsip_header_Record_Route_s -{ - TSIP_DECLARE_HEADER; - - char* display_name; - tsip_uri_t *uri; +typedef struct tsip_header_Record_Route_s { + TSIP_DECLARE_HEADER; + + char* display_name; + tsip_uri_t *uri; } tsip_header_Record_Route_t; diff --git a/tinySIP/include/tinysip/headers/tsip_header_Refer_Sub.h b/tinySIP/include/tinysip/headers/tsip_header_Refer_Sub.h index d436430..81db755 100755 --- a/tinySIP/include/tinysip/headers/tsip_header_Refer_Sub.h +++ b/tinySIP/include/tinysip/headers/tsip_header_Refer_Sub.h @@ -2,19 +2,19 @@ * Copyright (C) 2010-2011 Mamadou Diop. * * Contact: Mamadou Diop <diopmamadou(at)doubango[dot]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. * @@ -44,13 +44,12 @@ TSIP_BEGIN_DECLS /// @par ABNF : Refer-Sub = "Refer-Sub" HCOLON refer-sub-value *(SEMI exten) /// refer-sub-value = "true" / "false" /// exten = generic-param -/// +/// //////////////////////////////////////////////////////////////////////////////////////////////////// -typedef struct tsip_header_Refer_Sub_s -{ - TSIP_DECLARE_HEADER; +typedef struct tsip_header_Refer_Sub_s { + TSIP_DECLARE_HEADER; - tsk_bool_t sub; + tsk_bool_t sub; } tsip_header_Refer_Sub_t; diff --git a/tinySIP/include/tinysip/headers/tsip_header_Refer_To.h b/tinySIP/include/tinysip/headers/tsip_header_Refer_To.h index f68ecd9..240a38b 100755 --- a/tinySIP/include/tinysip/headers/tsip_header_Refer_To.h +++ b/tinySIP/include/tinysip/headers/tsip_header_Refer_To.h @@ -2,19 +2,19 @@ * Copyright (C) 2010-2011 Mamadou Diop. * * Contact: Mamadou Diop <diopmamadou(at)doubango[dot]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. * @@ -45,14 +45,13 @@ TSIP_BEGIN_DECLS /// /// @par ABNF: Refer-To = ( "Refer-To" / "r" ) HCOLON ( name-addr / addr-spec ) *(SEMI refer-param) /// refer-param = generic-param / feature-param -/// +/// //////////////////////////////////////////////////////////////////////////////////////////////////// -typedef struct tsip_header_Refer_To_s -{ - TSIP_DECLARE_HEADER; +typedef struct tsip_header_Refer_To_s { + TSIP_DECLARE_HEADER; - char *display_name; - tsip_uri_t *uri; + char *display_name; + tsip_uri_t *uri; } tsip_header_Refer_To_t; diff --git a/tinySIP/include/tinysip/headers/tsip_header_Referred_By.h b/tinySIP/include/tinysip/headers/tsip_header_Referred_By.h index 5870512..55c6e18 100755 --- a/tinySIP/include/tinysip/headers/tsip_header_Referred_By.h +++ b/tinySIP/include/tinysip/headers/tsip_header_Referred_By.h @@ -2,19 +2,19 @@ * Copyright (C) 2010-2011 Mamadou Diop. * * Contact: Mamadou Diop <diopmamadou(at)doubango[dot]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. * @@ -44,16 +44,15 @@ TSIP_BEGIN_DECLS /// @brief SIP header 'Referred-By'. /// /// @par ABNF: Referred-By = ( "Referred-By" / "b" ) HCOLON referrer-uri *( SEMI (referredby-id-param / generic-param) ) -/// +/// //////////////////////////////////////////////////////////////////////////////////////////////////// -typedef struct tsip_header_Referred_By_s -{ - TSIP_DECLARE_HEADER; +typedef struct tsip_header_Referred_By_s { + TSIP_DECLARE_HEADER; - char *display_name; - tsip_uri_t *uri; + char *display_name; + tsip_uri_t *uri; - char* cid; + char* cid; } tsip_header_Referred_By_t; diff --git a/tinySIP/include/tinysip/headers/tsip_header_Reject_Contact.h b/tinySIP/include/tinysip/headers/tsip_header_Reject_Contact.h index 01bcf4f..4dbec22 100755 --- a/tinySIP/include/tinysip/headers/tsip_header_Reject_Contact.h +++ b/tinySIP/include/tinysip/headers/tsip_header_Reject_Contact.h @@ -2,19 +2,19 @@ * Copyright (C) 2010-2011 Mamadou Diop. * * Contact: Mamadou Diop <diopmamadou(at)doubango[dot]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. * @@ -40,11 +40,10 @@ TSIP_BEGIN_DECLS /// @brief SIP header 'Reject-Contact'. /// /// @par ABNF -/// +/// //////////////////////////////////////////////////////////////////////////////////////////////////// -typedef struct tsip_header_Reject_Contact_s -{ - TSIP_DECLARE_HEADER; +typedef struct tsip_header_Reject_Contact_s { + TSIP_DECLARE_HEADER; } tsip_header_Reject_Contact_t; diff --git a/tinySIP/include/tinysip/headers/tsip_header_Replaces.h b/tinySIP/include/tinysip/headers/tsip_header_Replaces.h index 5889dd0..5c9a1cd 100755 --- a/tinySIP/include/tinysip/headers/tsip_header_Replaces.h +++ b/tinySIP/include/tinysip/headers/tsip_header_Replaces.h @@ -2,19 +2,19 @@ * Copyright (C) 2010-2011 Mamadou Diop. * * Contact: Mamadou Diop <diopmamadou(at)doubango[dot]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. * @@ -40,11 +40,10 @@ TSIP_BEGIN_DECLS /// @brief SIP header 'Replaces'. /// /// @par ABNF -/// +/// //////////////////////////////////////////////////////////////////////////////////////////////////// -typedef struct tsip_header_Replaces_s -{ - TSIP_DECLARE_HEADER; +typedef struct tsip_header_Replaces_s { + TSIP_DECLARE_HEADER; } tsip_header_Replaces_t; diff --git a/tinySIP/include/tinysip/headers/tsip_header_Reply_To.h b/tinySIP/include/tinysip/headers/tsip_header_Reply_To.h index e5b97f1..3bb1601 100755 --- a/tinySIP/include/tinysip/headers/tsip_header_Reply_To.h +++ b/tinySIP/include/tinysip/headers/tsip_header_Reply_To.h @@ -2,19 +2,19 @@ * Copyright (C) 2010-2011 Mamadou Diop. * * Contact: Mamadou Diop <diopmamadou(at)doubango[dot]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. * @@ -39,11 +39,10 @@ TSIP_BEGIN_DECLS /// @brief SIP header 'Reply_To'. /// /// @par ABNF -/// +/// //////////////////////////////////////////////////////////////////////////////////////////////////// -typedef struct tsip_header_Reply_To_s -{ - TSIP_DECLARE_HEADER; +typedef struct tsip_header_Reply_To_s { + TSIP_DECLARE_HEADER; } tsip_header_Reply_To_t; diff --git a/tinySIP/include/tinysip/headers/tsip_header_Request_Disposition.h b/tinySIP/include/tinysip/headers/tsip_header_Request_Disposition.h index 50d8615..ceb48e6 100755 --- a/tinySIP/include/tinysip/headers/tsip_header_Request_Disposition.h +++ b/tinySIP/include/tinysip/headers/tsip_header_Request_Disposition.h @@ -2,19 +2,19 @@ * Copyright (C) 2010-2011 Mamadou Diop. * * Contact: Mamadou Diop <diopmamadou(at)doubango[dot]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. * @@ -40,11 +40,10 @@ TSIP_BEGIN_DECLS /// @brief SIP header 'Request-Disposition'. /// /// @par ABNF -/// +/// //////////////////////////////////////////////////////////////////////////////////////////////////// -typedef struct tsip_header_Request_Disposition_s -{ - TSIP_DECLARE_HEADER; +typedef struct tsip_header_Request_Disposition_s { + TSIP_DECLARE_HEADER; } tsip_header_Request_Disposition_t; diff --git a/tinySIP/include/tinysip/headers/tsip_header_Require.h b/tinySIP/include/tinysip/headers/tsip_header_Require.h index 01de563..8c1768e 100755 --- a/tinySIP/include/tinysip/headers/tsip_header_Require.h +++ b/tinySIP/include/tinysip/headers/tsip_header_Require.h @@ -2,19 +2,19 @@ * Copyright (C) 2010-2011 Mamadou Diop. * * Contact: Mamadou Diop <diopmamadou(at)doubango[dot]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. * @@ -43,13 +43,12 @@ TSIP_BEGIN_DECLS /// @brief SIP header 'Require'. /// /// @par ABNF: Require = "Require" HCOLON option-tag *(COMMA option-tag) -/// +/// //////////////////////////////////////////////////////////////////////////////////////////////////// -typedef struct tsip_header_Require_s -{ - TSIP_DECLARE_HEADER; +typedef struct tsip_header_Require_s { + TSIP_DECLARE_HEADER; - tsk_strings_L_t *options; + tsk_strings_L_t *options; } tsip_header_Require_t; diff --git a/tinySIP/include/tinysip/headers/tsip_header_Resource_Priority.h b/tinySIP/include/tinysip/headers/tsip_header_Resource_Priority.h index 24e83df..305466a 100755 --- a/tinySIP/include/tinysip/headers/tsip_header_Resource_Priority.h +++ b/tinySIP/include/tinysip/headers/tsip_header_Resource_Priority.h @@ -2,19 +2,19 @@ * Copyright (C) 2010-2011 Mamadou Diop. * * Contact: Mamadou Diop <diopmamadou(at)doubango[dot]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. * @@ -40,11 +40,10 @@ TSIP_BEGIN_DECLS /// @brief SIP header 'Resource-Priority'. /// /// @par ABNF -/// +/// //////////////////////////////////////////////////////////////////////////////////////////////////// -typedef struct tsip_header_Resource_Priority_s -{ - TSIP_DECLARE_HEADER; +typedef struct tsip_header_Resource_Priority_s { + TSIP_DECLARE_HEADER; } tsip_header_Resource_Priority_t; diff --git a/tinySIP/include/tinysip/headers/tsip_header_Retry_After.h b/tinySIP/include/tinysip/headers/tsip_header_Retry_After.h index 4761b5c..92b2266 100755 --- a/tinySIP/include/tinysip/headers/tsip_header_Retry_After.h +++ b/tinySIP/include/tinysip/headers/tsip_header_Retry_After.h @@ -2,19 +2,19 @@ * Copyright (C) 2010-2011 Mamadou Diop. * * Contact: Mamadou Diop <diopmamadou(at)doubango[dot]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. * @@ -40,11 +40,10 @@ TSIP_BEGIN_DECLS /// @brief SIP header 'Retry-After'. /// /// @par ABNF -/// +/// //////////////////////////////////////////////////////////////////////////////////////////////////// -typedef struct tsip_header_Retry_After_s -{ - TSIP_DECLARE_HEADER; +typedef struct tsip_header_Retry_After_s { + TSIP_DECLARE_HEADER; } tsip_header_Retry_After_t; diff --git a/tinySIP/include/tinysip/headers/tsip_header_Route.h b/tinySIP/include/tinysip/headers/tsip_header_Route.h index 28e3c80..3e3e246 100755 --- a/tinySIP/include/tinysip/headers/tsip_header_Route.h +++ b/tinySIP/include/tinysip/headers/tsip_header_Route.h @@ -2,19 +2,19 @@ * Copyright (C) 2010-2011 Mamadou Diop. * * Contact: Mamadou Diop <diopmamadou(at)doubango[dot]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. * @@ -46,14 +46,13 @@ TSIP_BEGIN_DECLS /// /// @par ABNF : Route = "Route" HCOLON route-param *(COMMA route-param) /// route-param = name-addr *( SEMI rr-param ) -/// +/// //////////////////////////////////////////////////////////////////////////////////////////////////// -typedef struct tsip_header_Route_s -{ - TSIP_DECLARE_HEADER; +typedef struct tsip_header_Route_s { + TSIP_DECLARE_HEADER; - char *display_name; - tsip_uri_t *uri; + char *display_name; + tsip_uri_t *uri; } tsip_header_Route_t; diff --git a/tinySIP/include/tinysip/headers/tsip_header_SIP_ETag.h b/tinySIP/include/tinysip/headers/tsip_header_SIP_ETag.h index cf6ba6f..feee266 100755 --- a/tinySIP/include/tinysip/headers/tsip_header_SIP_ETag.h +++ b/tinySIP/include/tinysip/headers/tsip_header_SIP_ETag.h @@ -2,19 +2,19 @@ * Copyright (C) 2010-2011 Mamadou Diop. * * Contact: Mamadou Diop <diopmamadou(at)doubango[dot]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. * @@ -42,14 +42,13 @@ TSIP_BEGIN_DECLS * @struct tsip_header_SIP_ETag_s * * SIP header 'SIP-ETag' as per RFC 3903. - * @par ABNF + * @par ABNF * SIP-ETag = "SIP-ETag" HCOLON entity-tag - * entity-tag = token + * entity-tag = token **/ -typedef struct tsip_header_SIP_ETag_s -{ - TSIP_DECLARE_HEADER; - char *value; +typedef struct tsip_header_SIP_ETag_s { + TSIP_DECLARE_HEADER; + char *value; } tsip_header_SIP_ETag_t; diff --git a/tinySIP/include/tinysip/headers/tsip_header_SIP_If_Match.h b/tinySIP/include/tinysip/headers/tsip_header_SIP_If_Match.h index f918df4..25aee82 100755 --- a/tinySIP/include/tinysip/headers/tsip_header_SIP_If_Match.h +++ b/tinySIP/include/tinysip/headers/tsip_header_SIP_If_Match.h @@ -2,19 +2,19 @@ * Copyright (C) 2010-2011 Mamadou Diop. * * Contact: Mamadou Diop <diopmamadou(at)doubango[dot]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. * @@ -43,14 +43,13 @@ TSIP_BEGIN_DECLS * @struct tsip_header_SIP_If_Match_s * * SIP header 'SIP-If-Match' as per RFC 3903. - * @par ABNF + * @par ABNF * SIP-If-Match = "SIP-If-Match" HCOLON entity-tag - * entity-tag = token + * entity-tag = token **/ -typedef struct tsip_header_SIP_If_Match_s -{ - TSIP_DECLARE_HEADER; - char *value; +typedef struct tsip_header_SIP_If_Match_s { + TSIP_DECLARE_HEADER; + char *value; } tsip_header_SIP_If_Match_t; diff --git a/tinySIP/include/tinysip/headers/tsip_header_Security_Client.h b/tinySIP/include/tinysip/headers/tsip_header_Security_Client.h index d453832..431901a 100755 --- a/tinySIP/include/tinysip/headers/tsip_header_Security_Client.h +++ b/tinySIP/include/tinysip/headers/tsip_header_Security_Client.h @@ -2,19 +2,19 @@ * Copyright (C) 2010-2011 Mamadou Diop. * * Contact: Mamadou Diop <diopmamadou(at)doubango[dot]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. * @@ -66,33 +66,32 @@ TSIP_BEGIN_DECLS /// port1 = "port1" EQUAL port /// port2 = "port2" EQUAL port /// port = 1*DIGIT -/// -/// +/// +/// //////////////////////////////////////////////////////////////////////////////////////////////////// -typedef struct tsip_header_Security_Client_s -{ - TSIP_DECLARE_HEADER; - - //! sec-mechanism (e.g. "digest" / "tls" / "ipsec-3gpp") - char* mech; - //! algorithm (e.g. "hmac-md5-96" / "hmac-sha-1-96") - char* alg; - //! protocol (e.g. "ah" / "esp") - char* prot; - //! mode (e.g. "trans" / "tun") - char* mod; - //! encrypt-algorithm (e.g. "des-ede3-cbc" / "null") - char* ealg; - //! client port - tnet_port_t port_c; - //! server port - tnet_port_t port_s; - //! client spi - uint32_t spi_c; - //! server spi - uint32_t spi_s; - //! preference - double q; +typedef struct tsip_header_Security_Client_s { + TSIP_DECLARE_HEADER; + + //! sec-mechanism (e.g. "digest" / "tls" / "ipsec-3gpp") + char* mech; + //! algorithm (e.g. "hmac-md5-96" / "hmac-sha-1-96") + char* alg; + //! protocol (e.g. "ah" / "esp") + char* prot; + //! mode (e.g. "trans" / "tun") + char* mod; + //! encrypt-algorithm (e.g. "des-ede3-cbc" / "null") + char* ealg; + //! client port + tnet_port_t port_c; + //! server port + tnet_port_t port_s; + //! client spi + uint32_t spi_c; + //! server spi + uint32_t spi_s; + //! preference + double q; } tsip_header_Security_Client_t; diff --git a/tinySIP/include/tinysip/headers/tsip_header_Security_Server.h b/tinySIP/include/tinysip/headers/tsip_header_Security_Server.h index eb66c43..8cd87ec 100755 --- a/tinySIP/include/tinysip/headers/tsip_header_Security_Server.h +++ b/tinySIP/include/tinysip/headers/tsip_header_Security_Server.h @@ -2,19 +2,19 @@ * Copyright (C) 2010-2011 Mamadou Diop. * * Contact: Mamadou Diop <diopmamadou(at)doubango[dot]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. * @@ -66,33 +66,32 @@ TSIP_BEGIN_DECLS /// port1 = "port1" EQUAL port /// port2 = "port2" EQUAL port /// port = 1*DIGIT -/// -/// +/// +/// //////////////////////////////////////////////////////////////////////////////////////////////////// -typedef struct tsip_header_Security_Server_s -{ - TSIP_DECLARE_HEADER; - - //! sec-mechanism (e.g. "digest" / "tls" / "ipsec-3gpp") - char* mech; - //! algorithm (e.g. "hmac-md5-96" / "hmac-sha-1-96") - char* alg; - //! protocol (e.g. "ah" / "esp") - char* prot; - //! mode (e.g. "trans" / "tun") - char* mod; - //! encrypt-algorithm (e.g. "des-ede3-cbc" / "null") - char* ealg; - //! client port - tnet_port_t port_c; - //! server port - tnet_port_t port_s; - //! client spi - uint32_t spi_c; - //! server spi - uint32_t spi_s; - //! preference - double q; +typedef struct tsip_header_Security_Server_s { + TSIP_DECLARE_HEADER; + + //! sec-mechanism (e.g. "digest" / "tls" / "ipsec-3gpp") + char* mech; + //! algorithm (e.g. "hmac-md5-96" / "hmac-sha-1-96") + char* alg; + //! protocol (e.g. "ah" / "esp") + char* prot; + //! mode (e.g. "trans" / "tun") + char* mod; + //! encrypt-algorithm (e.g. "des-ede3-cbc" / "null") + char* ealg; + //! client port + tnet_port_t port_c; + //! server port + tnet_port_t port_s; + //! client spi + uint32_t spi_c; + //! server spi + uint32_t spi_s; + //! preference + double q; } tsip_header_Security_Server_t; diff --git a/tinySIP/include/tinysip/headers/tsip_header_Security_Verify.h b/tinySIP/include/tinysip/headers/tsip_header_Security_Verify.h index a9e59aa..98cd971 100755 --- a/tinySIP/include/tinysip/headers/tsip_header_Security_Verify.h +++ b/tinySIP/include/tinysip/headers/tsip_header_Security_Verify.h @@ -2,19 +2,19 @@ * Copyright (C) 2010-2011 Mamadou Diop. * * Contact: Mamadou Diop <diopmamadou(at)doubango[dot]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. * @@ -65,33 +65,32 @@ TSIP_BEGIN_DECLS /// port1 = "port1" EQUAL port /// port2 = "port2" EQUAL port /// port = 1*DIGIT -/// -/// +/// +/// //////////////////////////////////////////////////////////////////////////////////////////////////// -typedef struct tsip_header_Security_Verify_s -{ - TSIP_DECLARE_HEADER; +typedef struct tsip_header_Security_Verify_s { + TSIP_DECLARE_HEADER; - //! sec-mechanism (e.g. "digest" / "tls" / "ipsec-3gpp") - char* mech; - //! algorithm (e.g. "hmac-md5-96" / "hmac-sha-1-96") - char* alg; - //! protocol (e.g. "ah" / "esp") - char* prot; - //! mode (e.g. "trans" / "tun") - char* mod; - //! encrypt-algorithm (e.g. "des-ede3-cbc" / "null") - char* ealg; - //! client port - tnet_port_t port_c; - //! server port - tnet_port_t port_s; - //! client spi - uint32_t spi_c; - //! server spi - uint32_t spi_s; - //! preference - double q; + //! sec-mechanism (e.g. "digest" / "tls" / "ipsec-3gpp") + char* mech; + //! algorithm (e.g. "hmac-md5-96" / "hmac-sha-1-96") + char* alg; + //! protocol (e.g. "ah" / "esp") + char* prot; + //! mode (e.g. "trans" / "tun") + char* mod; + //! encrypt-algorithm (e.g. "des-ede3-cbc" / "null") + char* ealg; + //! client port + tnet_port_t port_c; + //! server port + tnet_port_t port_s; + //! client spi + uint32_t spi_c; + //! server spi + uint32_t spi_s; + //! preference + double q; } tsip_header_Security_Verify_t; diff --git a/tinySIP/include/tinysip/headers/tsip_header_Server.h b/tinySIP/include/tinysip/headers/tsip_header_Server.h index 1bdb3e5..5c3f3b9 100755 --- a/tinySIP/include/tinysip/headers/tsip_header_Server.h +++ b/tinySIP/include/tinysip/headers/tsip_header_Server.h @@ -2,19 +2,19 @@ * Copyright (C) 2010-2011 Mamadou Diop. * * Contact: Mamadou Diop <diopmamadou(at)doubango[dot]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. * @@ -47,12 +47,11 @@ TSIP_BEGIN_DECLS /// server-val = product / comment /// product = token [SLASH product-version] /// product-version = token -/// +/// //////////////////////////////////////////////////////////////////////////////////////////////////// -typedef struct tsip_header_Server_s -{ - TSIP_DECLARE_HEADER; - char* value; +typedef struct tsip_header_Server_s { + TSIP_DECLARE_HEADER; + char* value; } tsip_header_Server_t; diff --git a/tinySIP/include/tinysip/headers/tsip_header_Service_Route.h b/tinySIP/include/tinysip/headers/tsip_header_Service_Route.h index 307d644..328a9fd 100755 --- a/tinySIP/include/tinysip/headers/tsip_header_Service_Route.h +++ b/tinySIP/include/tinysip/headers/tsip_header_Service_Route.h @@ -2,19 +2,19 @@ * Copyright (C) 2010-2011 Mamadou Diop. * * Contact: Mamadou Diop <diopmamadou(at)doubango[dot]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. * @@ -45,14 +45,13 @@ TSIP_BEGIN_DECLS /// /// @par ABNF: Service-Route = "Service-Route" HCOLON sr-value *(COMMA sr-value) /// sr-value = name-addr *( SEMI rr-param ) -/// +/// //////////////////////////////////////////////////////////////////////////////////////////////////// -typedef struct tsip_header_Service_Route_s -{ - TSIP_DECLARE_HEADER; +typedef struct tsip_header_Service_Route_s { + TSIP_DECLARE_HEADER; - char *display_name; - tsip_uri_t *uri; + char *display_name; + tsip_uri_t *uri; } tsip_header_Service_Route_t; diff --git a/tinySIP/include/tinysip/headers/tsip_header_Session_Expires.h b/tinySIP/include/tinysip/headers/tsip_header_Session_Expires.h index 386d652..4b71d9b 100755 --- a/tinySIP/include/tinysip/headers/tsip_header_Session_Expires.h +++ b/tinySIP/include/tinysip/headers/tsip_header_Session_Expires.h @@ -2,19 +2,19 @@ * Copyright (C) 2010-2011 Mamadou Diop. * * Contact: Mamadou Diop <diopmamadou(at)doubango[dot]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. * @@ -45,15 +45,14 @@ TSIP_BEGIN_DECLS /// /// @par ABNF: Session-Expires = ( "Session-Expires" / "x" ) HCOLON delta-seconds *( SEMI (se-params ) /// se-params = refresher-param / generic-param -/// refresher-param = "refresher" EQUAL ("uas" / "uac") -/// +/// refresher-param = "refresher" EQUAL ("uas" / "uac") +/// //////////////////////////////////////////////////////////////////////////////////////////////////// -typedef struct tsip_header_Session_Expires_s -{ - TSIP_DECLARE_HEADER; +typedef struct tsip_header_Session_Expires_s { + TSIP_DECLARE_HEADER; - int64_t delta_seconds; - tsk_bool_t refresher_uas; + int64_t delta_seconds; + tsk_bool_t refresher_uas; } tsip_header_Session_Expires_t; diff --git a/tinySIP/include/tinysip/headers/tsip_header_Subject.h b/tinySIP/include/tinysip/headers/tsip_header_Subject.h index 69cbfec..ea195fa 100755 --- a/tinySIP/include/tinysip/headers/tsip_header_Subject.h +++ b/tinySIP/include/tinysip/headers/tsip_header_Subject.h @@ -2,19 +2,19 @@ * Copyright (C) 2010-2011 Mamadou Diop. * * Contact: Mamadou Diop <diopmamadou(at)doubango[dot]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. * @@ -40,11 +40,10 @@ TSIP_BEGIN_DECLS /// @brief SIP header 'Subject'. /// /// @par ABNF -/// +/// //////////////////////////////////////////////////////////////////////////////////////////////////// -typedef struct tsip_header_Subject_s -{ - TSIP_DECLARE_HEADER; +typedef struct tsip_header_Subject_s { + TSIP_DECLARE_HEADER; } tsip_header_Subject_t; diff --git a/tinySIP/include/tinysip/headers/tsip_header_Subscription_State.h b/tinySIP/include/tinysip/headers/tsip_header_Subscription_State.h index 5e4f90c..716a98c 100755 --- a/tinySIP/include/tinysip/headers/tsip_header_Subscription_State.h +++ b/tinySIP/include/tinysip/headers/tsip_header_Subscription_State.h @@ -2,19 +2,19 @@ * Copyright (C) 2010-2011 Mamadou Diop. * * Contact: Mamadou Diop <diopmamadou(at)doubango[dot]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. * @@ -46,16 +46,15 @@ TSIP_BEGIN_DECLS /// subexp-params = ("reason" EQUAL event-reason-value) / ("expires" EQUAL delta-seconds) / ("retry-after" EQUAL delta-seconds) / generic-param /// event-reason-value = "deactivated" / "probation" / "rejected" / "timeout" / "giveup" / "noresource" / event-reason-extension /// event-reason-extension = token -/// +/// //////////////////////////////////////////////////////////////////////////////////////////////////// -typedef struct tsip_header_Subscription_State_s -{ - TSIP_DECLARE_HEADER; +typedef struct tsip_header_Subscription_State_s { + TSIP_DECLARE_HEADER; - char* state; - char* reason; - int32_t expires; - int32_t retry_after; + char* state; + char* reason; + int32_t expires; + int32_t retry_after; } tsip_header_Subscription_State_t; diff --git a/tinySIP/include/tinysip/headers/tsip_header_Supported.h b/tinySIP/include/tinysip/headers/tsip_header_Supported.h index 6b0ecd4..c1d8c4f 100755 --- a/tinySIP/include/tinysip/headers/tsip_header_Supported.h +++ b/tinySIP/include/tinysip/headers/tsip_header_Supported.h @@ -2,19 +2,19 @@ * Copyright (C) 2010-2011 Mamadou Diop. * * Contact: Mamadou Diop <diopmamadou(at)doubango[dot]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. * @@ -44,13 +44,12 @@ TSIP_BEGIN_DECLS /// /// @par ABNF: Supported / k /// Supported = ( "Supported" / "k" ) HCOLON [option-tag *(COMMA option-tag)] -/// +/// //////////////////////////////////////////////////////////////////////////////////////////////////// -typedef struct tsip_header_Supported_s -{ - TSIP_DECLARE_HEADER; +typedef struct tsip_header_Supported_s { + TSIP_DECLARE_HEADER; - tsk_strings_L_t *options; + tsk_strings_L_t *options; } tsip_header_Supported_t; diff --git a/tinySIP/include/tinysip/headers/tsip_header_Target_Dialog.h b/tinySIP/include/tinysip/headers/tsip_header_Target_Dialog.h index 185fdf9..d4c77b6 100755 --- a/tinySIP/include/tinysip/headers/tsip_header_Target_Dialog.h +++ b/tinySIP/include/tinysip/headers/tsip_header_Target_Dialog.h @@ -2,19 +2,19 @@ * Copyright (C) 2010-2011 Mamadou Diop. * * Contact: Mamadou Diop <diopmamadou(at)doubango[dot]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. * @@ -40,11 +40,10 @@ TSIP_BEGIN_DECLS /// @brief SIP header 'Target-Dialog'. /// /// @par ABNF -/// +/// //////////////////////////////////////////////////////////////////////////////////////////////////// -typedef struct tsip_header_Target_Dialog_s -{ - TSIP_DECLARE_HEADER; +typedef struct tsip_header_Target_Dialog_s { + TSIP_DECLARE_HEADER; } tsip_header_Target_Dialog_t; diff --git a/tinySIP/include/tinysip/headers/tsip_header_Timestamp.h b/tinySIP/include/tinysip/headers/tsip_header_Timestamp.h index 6492824..3b61b85 100755 --- a/tinySIP/include/tinysip/headers/tsip_header_Timestamp.h +++ b/tinySIP/include/tinysip/headers/tsip_header_Timestamp.h @@ -2,19 +2,19 @@ * Copyright (C) 2010-2011 Mamadou Diop. * * Contact: Mamadou Diop <diopmamadou(at)doubango[dot]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. * @@ -40,11 +40,10 @@ TSIP_BEGIN_DECLS /// @brief SIP header 'Timestamp'. /// /// @par ABNF -/// +/// //////////////////////////////////////////////////////////////////////////////////////////////////// -typedef struct tsip_header_Timestamp_s -{ - TSIP_DECLARE_HEADER; +typedef struct tsip_header_Timestamp_s { + TSIP_DECLARE_HEADER; } tsip_header_Timestamp_t; diff --git a/tinySIP/include/tinysip/headers/tsip_header_To.h b/tinySIP/include/tinysip/headers/tsip_header_To.h index 92970f1..09a68ce 100755 --- a/tinySIP/include/tinysip/headers/tsip_header_To.h +++ b/tinySIP/include/tinysip/headers/tsip_header_To.h @@ -2,19 +2,19 @@ * Copyright (C) 2010-2011 Mamadou Diop. * * Contact: Mamadou Diop <diopmamadou(at)doubango[dot]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. * @@ -45,15 +45,14 @@ TSIP_BEGIN_DECLS /// /// @par ABNF: To = To = ( "To" / "t" ) HCOLON ( name-addr / addr-spec ) *( SEMI to-param ) /// to-param = tag-param / generic-param -/// +/// //////////////////////////////////////////////////////////////////////////////////////////////////// -typedef struct tsip_header_To_s -{ - TSIP_DECLARE_HEADER; - - char *display_name; - tsip_uri_t *uri; - char *tag; +typedef struct tsip_header_To_s { + TSIP_DECLARE_HEADER; + + char *display_name; + tsip_uri_t *uri; + char *tag; } tsip_header_To_t; diff --git a/tinySIP/include/tinysip/headers/tsip_header_Unsupported.h b/tinySIP/include/tinysip/headers/tsip_header_Unsupported.h index d58f8d4..57740e9 100755 --- a/tinySIP/include/tinysip/headers/tsip_header_Unsupported.h +++ b/tinySIP/include/tinysip/headers/tsip_header_Unsupported.h @@ -2,19 +2,19 @@ * Copyright (C) 2010-2011 Mamadou Diop. * * Contact: Mamadou Diop <diopmamadou(at)doubango[dot]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. * @@ -40,11 +40,10 @@ TSIP_BEGIN_DECLS /// @brief SIP header 'Unsupported'. /// /// @par ABNF -/// +/// //////////////////////////////////////////////////////////////////////////////////////////////////// -typedef struct tsip_header_Unsupported_s -{ - TSIP_DECLARE_HEADER; +typedef struct tsip_header_Unsupported_s { + TSIP_DECLARE_HEADER; } tsip_header_Unsupported_t; diff --git a/tinySIP/include/tinysip/headers/tsip_header_User_Agent.h b/tinySIP/include/tinysip/headers/tsip_header_User_Agent.h index a69c454..e8eaece 100755 --- a/tinySIP/include/tinysip/headers/tsip_header_User_Agent.h +++ b/tinySIP/include/tinysip/headers/tsip_header_User_Agent.h @@ -2,19 +2,19 @@ * Copyright (C) 2010-2011 Mamadou Diop. * * Contact: Mamadou Diop <diopmamadou(at)doubango[dot]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. * @@ -43,12 +43,11 @@ TSIP_BEGIN_DECLS /// @brief SIP header 'User-Agent'. /// /// @par ABNF : User-Agent = "User-Agent" HCOLON server-val *(LWS server-val) -/// +/// //////////////////////////////////////////////////////////////////////////////////////////////////// -typedef struct tsip_header_User_Agent_s -{ - TSIP_DECLARE_HEADER; - char *value; +typedef struct tsip_header_User_Agent_s { + TSIP_DECLARE_HEADER; + char *value; } tsip_header_User_Agent_t; diff --git a/tinySIP/include/tinysip/headers/tsip_header_Via.h b/tinySIP/include/tinysip/headers/tsip_header_Via.h index dca22a7..5bd76d8 100755 --- a/tinySIP/include/tinysip/headers/tsip_header_Via.h +++ b/tinySIP/include/tinysip/headers/tsip_header_Via.h @@ -2,19 +2,19 @@ * Copyright (C) 2010-2011 Mamadou Diop. * * Contact: Mamadou Diop <diopmamadou(at)doubango[dot]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. * @@ -72,23 +72,22 @@ TSIP_BEGIN_DECLS /// @author Mamadou /// @date 12/5/2009 //////////////////////////////////////////////////////////////////////////////////////////////////// -typedef struct tsip_header_Via_s -{ - TSIP_DECLARE_HEADER; - - char *branch; - char *host; - uint16_t port; - char *comp; - char *sigcomp_id; - char *received; - char *maddr; - char *proto_name; - char *proto_version; - char *transport; - - int32_t rport; - int32_t ttl; +typedef struct tsip_header_Via_s { + TSIP_DECLARE_HEADER; + + char *branch; + char *host; + uint16_t port; + char *comp; + char *sigcomp_id; + char *received; + char *maddr; + char *proto_name; + char *proto_version; + char *transport; + + int32_t rport; + int32_t ttl; } tsip_header_Via_t; diff --git a/tinySIP/include/tinysip/headers/tsip_header_WWW_Authenticate.h b/tinySIP/include/tinysip/headers/tsip_header_WWW_Authenticate.h index 5de99d9..0381b2d 100755 --- a/tinySIP/include/tinysip/headers/tsip_header_WWW_Authenticate.h +++ b/tinySIP/include/tinysip/headers/tsip_header_WWW_Authenticate.h @@ -2,19 +2,19 @@ * Copyright (C) 2010-2011 Mamadou Diop. * * Contact: Mamadou Diop <diopmamadou(at)doubango[dot]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. * @@ -52,20 +52,19 @@ TSIP_BEGIN_DECLS /// stale = "stale" EQUAL ( "true" / "false" ) /// qop-options = "qop" EQUAL LDQUOT qop-value *("," qop-value) RDQUOT /// qop-value = "auth" / "auth-int" / token -/// +/// //////////////////////////////////////////////////////////////////////////////////////////////////// -typedef struct tsip_header_WWW_Authenticate_s -{ - TSIP_DECLARE_HEADER; +typedef struct tsip_header_WWW_Authenticate_s { + TSIP_DECLARE_HEADER; - char* scheme; - char* realm; - char* domain; - char* nonce; - char* opaque; - tsk_bool_t stale; - char* algorithm; - char* qop; + char* scheme; + char* realm; + char* domain; + char* nonce; + char* opaque; + tsk_bool_t stale; + char* algorithm; + char* qop; } tsip_header_WWW_Authenticate_t; diff --git a/tinySIP/include/tinysip/headers/tsip_header_Warning.h b/tinySIP/include/tinysip/headers/tsip_header_Warning.h index 6c16112..8c143ef 100755 --- a/tinySIP/include/tinysip/headers/tsip_header_Warning.h +++ b/tinySIP/include/tinysip/headers/tsip_header_Warning.h @@ -2,19 +2,19 @@ * Copyright (C) 2010-2011 Mamadou Diop. * * Contact: Mamadou Diop <diopmamadou(at)doubango[dot]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. * @@ -46,15 +46,14 @@ TSIP_BEGIN_DECLS /// warn-agent = hostport / pseudonym /// warn-text = quoted-string /// pseudonym = token -/// +/// //////////////////////////////////////////////////////////////////////////////////////////////////// -typedef struct tsip_header_Warning_s -{ - TSIP_DECLARE_HEADER; +typedef struct tsip_header_Warning_s { + TSIP_DECLARE_HEADER; - int32_t code; - char* agent; - char* text; + int32_t code; + char* agent; + char* text; } tsip_header_Warning_t; diff --git a/tinySIP/include/tinysip/headers/tsip_header_accept.h b/tinySIP/include/tinysip/headers/tsip_header_accept.h index 1742051..012b345 100755 --- a/tinySIP/include/tinysip/headers/tsip_header_accept.h +++ b/tinySIP/include/tinysip/headers/tsip_header_accept.h @@ -2,19 +2,19 @@ * Copyright (C) 2010-2011 Mamadou Diop. * * Contact: Mamadou Diop <diopmamadou(at)doubango[dot]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. * @@ -41,13 +41,12 @@ TSIP_BEGIN_DECLS /// @brief SIP header 'Accept' as per RFC 3261 subclause 20.1. /// /// @par ABNF = Accept = "Accept" HCOLON [ accept-range *(COMMA accept-range) ] ; example: ; -/// Accept: application/dialog-info+xml +/// Accept: application/dialog-info+xml /// accept-range = media-range *(SEMI accept-param) -/// media-range = ( "*'/*" / ( m-type SLASH "*" ) / ( m-type SLASH m-subtype ) ) *( SEMI m-parameter ) +/// media-range = ( "*'/*" / ( m-type SLASH "*" ) / ( m-type SLASH m-subtype ) ) *( SEMI m-parameter ) //////////////////////////////////////////////////////////////////////////////////////////////////// -typedef struct tsip_header_Accept_s -{ - TSIP_DECLARE_HEADER; +typedef struct tsip_header_Accept_s { + TSIP_DECLARE_HEADER; } tsip_header_Accept_t; diff --git a/tinySIP/include/tinysip/headers/tsip_headers.h b/tinySIP/include/tinysip/headers/tsip_headers.h index b520cc4..2b60546 100755 --- a/tinySIP/include/tinysip/headers/tsip_headers.h +++ b/tinySIP/include/tinysip/headers/tsip_headers.h @@ -2,19 +2,19 @@ * Copyright (C) 2010-2011 Mamadou Diop. * * Contact: Mamadou Diop <diopmamadou(at)doubango[dot]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. * @@ -47,7 +47,7 @@ #include "tinysip/headers/tsip_header_Min_Expires.h" #include "tinysip/headers/tsip_header_Min_SE.h" #include "tinysip/headers/tsip_header_Path.h" -#include "tinysip/headers/tsip_header_P_Access_Network_Info.h" +#include "tinysip/headers/tsip_header_P_Access_Network_Info.h" #include "tinysip/headers/tsip_header_P_Asserted_Identity.h" #include "tinysip/headers/tsip_header_P_Associated_URI.h" #include "tinysip/headers/tsip_header_P_Charging_Function_Addresses.h" |