From 788da34e1d0c9df6232d71313b7e9a34d95df742 Mon Sep 17 00:00:00 2001 From: bossiel Date: Sun, 21 Feb 2010 19:40:59 +0000 Subject: [PATCH] Update Android support. --- .../include/tinyHTTP/headers/thttp_header.h | 3 + .../tinyHTTP/include/tinyHTTP/thttp_message.h | 70 +++++++------- trunk/tinyHTTP/src/auth/thttp_auth.c | 2 +- .../src/headers/thttp_header_Authorization.c | 2 +- .../headers/thttp_header_WWW_Authenticate.c | 2 +- trunk/tinyHTTP/src/makefile | 14 ++- .../src/parsers/thttp_parser_header.c | 2 +- .../src/parsers/thttp_parser_message.c | 2 +- trunk/tinyHTTP/src/parsers/thttp_parser_url.c | 2 +- trunk/tinyHTTP/src/thttp_message.c | 91 ++++++++++++++++++ trunk/tinyHTTP/tinyHTTP.vcproj | 3 +- trunk/tinyNET/src/tnet_poll.c | 3 - trunk/tinyNET/src/tnet_socket.c | 37 ++++---- trunk/tinyNET/src/tnet_transport_poll.c | 17 +++- trunk/tinyNET/src/tnet_utils.c | 94 ++++++++++++++++--- trunk/tinyNET/src/tnet_utils.h | 29 +++--- trunk/tinyNET/test/test.c | 4 +- trunk/tinyNET/test/test_ifaces.h | 20 ++++ trunk/tinySAK/src/makefile | 2 + trunk/tinySAK/src/tsk_fsm.c | 2 +- trunk/tinySAK/src/tsk_object.c | 6 +- trunk/tinySAK/src/tsk_ragel_state.h | 2 +- trunk/tinySAK/src/tsk_uuid.c | 2 +- .../tinySIP/include/tinysip/tsip_operation.h | 3 + trunk/tinySIP/ragel.sh | 70 +++++++------- trunk/tinySIP/ragel/tsip_machine_header.rl | 2 +- trunk/tinySIP/ragel/tsip_machine_message.rl | 2 +- trunk/tinySIP/ragel/tsip_machine_utils.rl | 2 +- trunk/tinySIP/ragel/tsip_parser_header.rl | 2 +- .../tsip_parser_header_Accept_Contact.rl | 1 + .../tsip_parser_header_Accept_Encoding.rl | 1 + .../tsip_parser_header_Accept_Language.rl | 1 + ..._parser_header_Accept_Resource_Priority.rl | 1 + .../ragel/tsip_parser_header_Alert_Info.rl | 1 + .../tinySIP/ragel/tsip_parser_header_Allow.rl | 2 +- .../ragel/tsip_parser_header_Allow_Events.rl | 2 +- .../tsip_parser_header_Authentication_Info.rl | 1 + .../ragel/tsip_parser_header_Authorization.rl | 2 +- .../tinySIP/ragel/tsip_parser_header_CSeq.rl | 3 +- .../ragel/tsip_parser_header_Call_ID.rl | 2 +- .../ragel/tsip_parser_header_Call_Info.rl | 1 + .../ragel/tsip_parser_header_Contact.rl | 2 +- .../tsip_parser_header_Content_Disposition.rl | 1 + .../tsip_parser_header_Content_Encoding.rl | 1 + .../tsip_parser_header_Content_Language.rl | 1 + .../tsip_parser_header_Content_Length.rl | 3 +- .../ragel/tsip_parser_header_Content_Type.rl | 3 +- .../tinySIP/ragel/tsip_parser_header_Date.rl | 1 + .../ragel/tsip_parser_header_Error_Info.rl | 1 + .../tinySIP/ragel/tsip_parser_header_Event.rl | 3 +- .../ragel/tsip_parser_header_Expires.rl | 3 +- .../tinySIP/ragel/tsip_parser_header_From.rl | 3 +- .../ragel/tsip_parser_header_History_Info.rl | 1 + .../ragel/tsip_parser_header_Identity.rl | 1 + .../ragel/tsip_parser_header_Identity_Info.rl | 1 + .../ragel/tsip_parser_header_In_Reply_To.rl | 1 + .../tinySIP/ragel/tsip_parser_header_Join.rl | 1 + .../ragel/tsip_parser_header_MIME_Version.rl | 1 + .../ragel/tsip_parser_header_Max_Forwards.rl | 2 +- .../ragel/tsip_parser_header_Min_Expires.rl | 2 +- .../ragel/tsip_parser_header_Min_SE.rl | 1 + .../ragel/tsip_parser_header_Organization.rl | 1 + ...sip_parser_header_P_Access_Network_Info.rl | 2 +- .../tsip_parser_header_P_Answer_State.rl | 1 + .../tsip_parser_header_P_Asserted_Identity.rl | 2 +- .../tsip_parser_header_P_Associated_URI.rl | 2 +- .../tsip_parser_header_P_Called_Party_ID.rl | 1 + ...er_header_P_Charging_Function_Addresses.rl | 2 +- .../tsip_parser_header_P_Charging_Vector.rl | 1 + .../tsip_parser_header_P_DCS_Billing_Info.rl | 1 + .../ragel/tsip_parser_header_P_DCS_LAES.rl | 1 + .../ragel/tsip_parser_header_P_DCS_OSPS.rl | 1 + .../tsip_parser_header_P_DCS_Redirect.rl | 1 + ...tsip_parser_header_P_DCS_Trace_Party_ID.rl | 1 + .../ragel/tsip_parser_header_P_Early_Media.rl | 1 + ...sip_parser_header_P_Media_Authorization.rl | 1 + ...tsip_parser_header_P_Preferred_Identity.rl | 2 +- .../ragel/tsip_parser_header_P_Profile_Key.rl | 1 + .../tsip_parser_header_P_User_Database.rl | 1 + ...tsip_parser_header_P_Visited_Network_ID.rl | 1 + .../tinySIP/ragel/tsip_parser_header_Path.rl | 2 +- .../ragel/tsip_parser_header_Priority.rl | 1 + .../ragel/tsip_parser_header_Privacy.rl | 2 +- .../tsip_parser_header_Proxy_Authenticate.rl | 2 +- .../tsip_parser_header_Proxy_Authorization.rl | 2 +- .../ragel/tsip_parser_header_Proxy_Require.rl | 1 + .../tinySIP/ragel/tsip_parser_header_RAck.rl | 1 + .../tinySIP/ragel/tsip_parser_header_RSeq.rl | 1 + .../ragel/tsip_parser_header_Reason.rl | 1 + .../ragel/tsip_parser_header_Record_Route.rl | 2 +- .../ragel/tsip_parser_header_Refer_Sub.rl | 1 + .../ragel/tsip_parser_header_Refer_To.rl | 1 + .../ragel/tsip_parser_header_Referred_By.rl | 1 + .../tsip_parser_header_Reject_Contact.rl | 1 + .../ragel/tsip_parser_header_Replaces.rl | 1 + .../ragel/tsip_parser_header_Reply_To.rl | 1 + .../tsip_parser_header_Request_Disposition.rl | 1 + .../ragel/tsip_parser_header_Require.rl | 2 +- .../tsip_parser_header_Resource_Priority.rl | 1 + .../ragel/tsip_parser_header_Retry_After.rl | 1 + .../tinySIP/ragel/tsip_parser_header_Route.rl | 2 +- .../ragel/tsip_parser_header_SIP_ETag.rl | 1 + .../ragel/tsip_parser_header_SIP_If_Match.rl | 1 + .../tsip_parser_header_Security_Client.rl | 2 +- .../tsip_parser_header_Security_Server.rl | 1 + .../tsip_parser_header_Security_Verify.rl | 1 + .../ragel/tsip_parser_header_Server.rl | 2 +- .../ragel/tsip_parser_header_Service_Route.rl | 2 +- .../tsip_parser_header_Session_Expires.rl | 1 + .../ragel/tsip_parser_header_Subject.rl | 1 + .../tsip_parser_header_Subscription_State.rl | 2 +- .../ragel/tsip_parser_header_Supported.rl | 2 +- .../ragel/tsip_parser_header_Target_Dialog.rl | 1 + .../ragel/tsip_parser_header_Timestamp.rl | 1 + trunk/tinySIP/ragel/tsip_parser_header_To.rl | 2 +- .../ragel/tsip_parser_header_Unsupported.rl | 1 + .../ragel/tsip_parser_header_User_Agent.rl | 2 +- trunk/tinySIP/ragel/tsip_parser_header_Via.rl | 2 +- .../tsip_parser_header_WWW_Authenticate.rl | 2 +- .../ragel/tsip_parser_header_Warning.rl | 2 +- trunk/tinySIP/ragel/tsip_parser_message.rl | 2 +- trunk/tinySIP/ragel/tsip_parser_uri.rl | 2 +- .../dialogs/tsip_dialog_subscribe.client.c | 2 +- trunk/tinySIP/src/headers/tsip_header_Allow.c | 2 +- .../src/headers/tsip_header_Allow_Events.c | 2 +- .../src/headers/tsip_header_Authorization.c | 2 +- trunk/tinySIP/src/headers/tsip_header_CSeq.c | 3 +- .../tinySIP/src/headers/tsip_header_Call_ID.c | 2 +- .../tinySIP/src/headers/tsip_header_Contact.c | 2 +- .../src/headers/tsip_header_Content_Length.c | 3 +- .../src/headers/tsip_header_Content_Type.c | 3 +- trunk/tinySIP/src/headers/tsip_header_Event.c | 3 +- .../tinySIP/src/headers/tsip_header_Expires.c | 3 +- trunk/tinySIP/src/headers/tsip_header_From.c | 3 +- .../src/headers/tsip_header_Max_Forwards.c | 2 +- .../src/headers/tsip_header_Min_Expires.c | 2 +- .../tsip_header_P_Access_Network_Info.c | 2 +- .../headers/tsip_header_P_Asserted_Identity.c | 2 +- .../headers/tsip_header_P_Associated_URI.c | 2 +- ...sip_header_P_Charging_Function_Addresses.c | 2 +- .../tsip_header_P_Preferred_Identity.c | 2 +- trunk/tinySIP/src/headers/tsip_header_Path.c | 2 +- .../tinySIP/src/headers/tsip_header_Privacy.c | 2 +- .../headers/tsip_header_Proxy_Authenticate.c | 2 +- .../headers/tsip_header_Proxy_Authorization.c | 2 +- .../src/headers/tsip_header_Record_Route.c | 2 +- .../tinySIP/src/headers/tsip_header_Require.c | 2 +- trunk/tinySIP/src/headers/tsip_header_Route.c | 2 +- .../src/headers/tsip_header_Security_Client.c | 2 +- .../tinySIP/src/headers/tsip_header_Server.c | 2 +- .../src/headers/tsip_header_Service_Route.c | 2 +- .../headers/tsip_header_Subscription_State.c | 2 +- .../src/headers/tsip_header_Supported.c | 2 +- trunk/tinySIP/src/headers/tsip_header_To.c | 2 +- .../src/headers/tsip_header_User_Agent.c | 2 +- trunk/tinySIP/src/headers/tsip_header_Via.c | 2 +- .../headers/tsip_header_WWW_Authenticate.c | 2 +- .../tinySIP/src/headers/tsip_header_Warning.c | 2 +- trunk/tinySIP/src/makefile | 22 ++--- .../tinySIP/src/parsers/tsip_parser_header.c | 2 +- .../tinySIP/src/parsers/tsip_parser_message.c | 2 +- trunk/tinySIP/src/parsers/tsip_parser_uri.c | 2 +- trunk/tinySIP/test/test/test.c | 4 +- trunk/tinySIP/test/test/test.vcproj | 4 +- trunk/tinySIP/test/test/test_stack.h | 16 ++-- trunk/tinySIP/tinySIP.vcproj | 4 +- 166 files changed, 510 insertions(+), 252 deletions(-) diff --git a/trunk/tinyHTTP/include/tinyHTTP/headers/thttp_header.h b/trunk/tinyHTTP/include/tinyHTTP/headers/thttp_header.h index 462d15ae..fdffaf46 100644 --- a/trunk/tinyHTTP/include/tinyHTTP/headers/thttp_header.h +++ b/trunk/tinyHTTP/include/tinyHTTP/headers/thttp_header.h @@ -47,6 +47,9 @@ THTTP_BEGIN_DECLS #define THTTP_HEADER(self) ((thttp_header_t*)(self)) #define THTTP_HEADER_PARAMS(self) (THTTP_HEADER(self)->params) +// FD +struct thttp_header_s; + typedef int (*thttp_header_value_tostring)(const struct thttp_header_s* header, tsk_buffer_t* output); /** diff --git a/trunk/tinyHTTP/include/tinyHTTP/thttp_message.h b/trunk/tinyHTTP/include/tinyHTTP/thttp_message.h index 7770ae2d..360c42c7 100644 --- a/trunk/tinyHTTP/include/tinyHTTP/thttp_message.h +++ b/trunk/tinyHTTP/include/tinyHTTP/thttp_message.h @@ -164,43 +164,43 @@ thttp_message_t; typedef thttp_message_t thttp_request_t; /**< HTTP request message. */ typedef thttp_message_t thttp_response_t; /**< HTTP response message. */ - +// TINYHTTP_API int thttp_message_add_header(thttp_message_t *self, const thttp_header_t *hdr); -TINYHTTP_API int thttp_message_add_headers(thttp_message_t *self, const thttp_headers_L_t *headers); - -#if !defined(_MSC_VER) || defined(__GNUC__) -static void THTTP_MESSAGE_ADD_HEADER(thttp_message_t *self, ...) - { - va_list ap; - thttp_header_t *header; - const tsk_object_def_t *objdef; - - va_start(ap, self); - objdef = va_arg(ap, const tsk_object_def_t*); - header = tsk_object_new2(objdef, &ap); - va_end(ap); - - thttp_message_add_header(self, header); - tsk_object_unref(header); - } -#else -#define THTTP_MESSAGE_ADD_HEADER(self, objdef, ...) \ - { \ - thttp_header_t *header = tsk_object_new(objdef, __VA_ARGS__); \ - thttp_message_add_header(self, header); \ - tsk_object_unref(header); \ - } -#endif - -TINYHTTP_API const thttp_header_t *thttp_message_get_headerAt(const thttp_message_t *self, thttp_header_type_t type, size_t index); -TINYHTTP_API const thttp_header_t *thttp_message_get_header(const thttp_message_t *self, thttp_header_type_t type); - +//TINYHTTP_API int thttp_message_add_headers(thttp_message_t *self, const thttp_headers_L_t *headers); +// +//#if !defined(_MSC_VER) || defined(__GNUC__) +//static void THTTP_MESSAGE_ADD_HEADER(thttp_message_t *self, ...) +// { +// va_list ap; +// thttp_header_t *header; +// const tsk_object_def_t *objdef; +// +// va_start(ap, self); +// objdef = va_arg(ap, const tsk_object_def_t*); +// header = tsk_object_new2(objdef, &ap); +// va_end(ap); +// +// thttp_message_add_header(self, header); +// tsk_object_unref(header); +// } +//#else +//#define THTTP_MESSAGE_ADD_HEADER(self, objdef, ...) \ +// { \ +// thttp_header_t *header = tsk_object_new(objdef, __VA_ARGS__); \ +// thttp_message_add_header(self, header); \ +// tsk_object_unref(header); \ +// } +//#endif +// +//TINYHTTP_API const thttp_header_t *thttp_message_get_headerAt(const thttp_message_t *self, thttp_header_type_t type, size_t index); +//TINYHTTP_API const thttp_header_t *thttp_message_get_header(const thttp_message_t *self, thttp_header_type_t type); +// TINYHTTP_API uint32_t thttp_message_getContent_length(const thttp_message_t *message); - -TINYHTTP_API int thttp_message_tostring(const thttp_message_t *self, tsk_buffer_t *output); - -TINYHTTP_API thttp_request_t *thttp_request_new(const char* method, const thttp_url_t *request_url, const thttp_url_t *from, const thttp_url_t *to, const char *call_id, int32_t cseq); -TINYHTTP_API thttp_response_t *thttp_response_new(short status_code, const char* reason_phrase, const thttp_request_t *request); +// +//TINYHTTP_API int thttp_message_tostring(const thttp_message_t *self, tsk_buffer_t *output); +// +//TINYHTTP_API thttp_request_t *thttp_request_new(const char* method, const thttp_url_t *request_url, const thttp_url_t *from, const thttp_url_t *to, const char *call_id, int32_t cseq); +//TINYHTTP_API thttp_response_t *thttp_response_new(short status_code, const char* reason_phrase, const thttp_request_t *request); TINYHTTP_GEXTERN const void *thttp_message_def_t; diff --git a/trunk/tinyHTTP/src/auth/thttp_auth.c b/trunk/tinyHTTP/src/auth/thttp_auth.c index 1683efde..02a850a6 100644 --- a/trunk/tinyHTTP/src/auth/thttp_auth.c +++ b/trunk/tinyHTTP/src/auth/thttp_auth.c @@ -258,4 +258,4 @@ int thttp_auth_digest_response(const tsk_md5string_t *ha1, const char* nonce, co TSK_FREE(res); return ret; -} \ No newline at end of file +} diff --git a/trunk/tinyHTTP/src/headers/thttp_header_Authorization.c b/trunk/tinyHTTP/src/headers/thttp_header_Authorization.c index 33f874c3..abe3bcfb 100644 --- a/trunk/tinyHTTP/src/headers/thttp_header_Authorization.c +++ b/trunk/tinyHTTP/src/headers/thttp_header_Authorization.c @@ -9765,4 +9765,4 @@ static const tsk_object_def_t thttp_header_Authorization_def_s = thttp_header_Authorization_destroy, 0 }; -const void *thttp_header_Authorization_def_t = &thttp_header_Authorization_def_s; \ No newline at end of file +const void *thttp_header_Authorization_def_t = &thttp_header_Authorization_def_s; diff --git a/trunk/tinyHTTP/src/headers/thttp_header_WWW_Authenticate.c b/trunk/tinyHTTP/src/headers/thttp_header_WWW_Authenticate.c index 26e2a5be..53e5047d 100644 --- a/trunk/tinyHTTP/src/headers/thttp_header_WWW_Authenticate.c +++ b/trunk/tinyHTTP/src/headers/thttp_header_WWW_Authenticate.c @@ -6494,4 +6494,4 @@ static const tsk_object_def_t thttp_header_WWW_Authenticate_def_s = thttp_header_WWW_Authenticate_destroy, 0 }; -const void *thttp_header_WWW_Authenticate_def_t = &thttp_header_WWW_Authenticate_def_s; \ No newline at end of file +const void *thttp_header_WWW_Authenticate_def_t = &thttp_header_WWW_Authenticate_def_s; diff --git a/trunk/tinyHTTP/src/makefile b/trunk/tinyHTTP/src/makefile index 76b00ad4..7287887d 100644 --- a/trunk/tinyHTTP/src/makefile +++ b/trunk/tinyHTTP/src/makefile @@ -10,7 +10,7 @@ all: $(APP) OBJS = \ thttp.o\ thttp_message.o\ - thttp_utl.o + thttp_url.o ################### ## auth ################### @@ -18,7 +18,17 @@ OBJS += auth/thttp_auth.o ################### ## headers ################### - +OBJS += headers/thttp_header.o\ + headers/thttp_header_Authorization.o\ + headers/thttp_header_Proxy_Authenticate.o\ + headers/thttp_header_WWW_Authenticate.o + ################### + ## parsers + ################### +OBJS += parsers/thttp_parser_header.o\ + parsers/thttp_parser_message.o\ + parsers/thttp_parser_url.o + $(APP): $(OBJS) $(CPP) $(LDFLAGS) -o $@ $^ diff --git a/trunk/tinyHTTP/src/parsers/thttp_parser_header.c b/trunk/tinyHTTP/src/parsers/thttp_parser_header.c index 1a2c8d91..a0085c28 100644 --- a/trunk/tinyHTTP/src/parsers/thttp_parser_header.c +++ b/trunk/tinyHTTP/src/parsers/thttp_parser_header.c @@ -2266,4 +2266,4 @@ _again: 533 /* #line 321 "thttp_parser_header.rl" */ ) ? 0 : -1; -} \ No newline at end of file +} diff --git a/trunk/tinyHTTP/src/parsers/thttp_parser_message.c b/trunk/tinyHTTP/src/parsers/thttp_parser_message.c index 48066b78..2f921377 100644 --- a/trunk/tinyHTTP/src/parsers/thttp_parser_message.c +++ b/trunk/tinyHTTP/src/parsers/thttp_parser_message.c @@ -485,4 +485,4 @@ static void thttp_message_parser_eoh(tsk_ragel_state_t *state, thttp_message_t * state->p = p; state->pe = pe; state->eof = eof; -} \ No newline at end of file +} diff --git a/trunk/tinyHTTP/src/parsers/thttp_parser_url.c b/trunk/tinyHTTP/src/parsers/thttp_parser_url.c index d3fda380..48ee22fc 100644 --- a/trunk/tinyHTTP/src/parsers/thttp_parser_url.c +++ b/trunk/tinyHTTP/src/parsers/thttp_parser_url.c @@ -274,4 +274,4 @@ _again: } return url; -} \ No newline at end of file +} diff --git a/trunk/tinyHTTP/src/thttp_message.c b/trunk/tinyHTTP/src/thttp_message.c index e69de29b..210de871 100644 --- a/trunk/tinyHTTP/src/thttp_message.c +++ b/trunk/tinyHTTP/src/thttp_message.c @@ -0,0 +1,91 @@ +/* +* Copyright (C) 2009 Mamadou Diop. +* +* Contact: Mamadou Diop +* +* 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. +* +*/ + +/**@file thttp_message.c + * @brief Represents a HTTP message. A HTTP message is either a request from a client to a server, or a + * response from a server to a client. + * + * @author Mamadou Diop + * + * @date Created: Sat Nov 8 16:54:58 2009 mdiop + */ +#include "tinyHTTP/thttp_message.h" + + +int thttp_message_add_header(thttp_message_t *self, const thttp_header_t *hdr) +{ + return -1; +} + +uint32_t thttp_message_getContent_length(const thttp_message_t *message) +{ + return 0; +} + + + + + + + + + + + + + + +//================================================================================================= +// THTTP mesage object definition +// +static void* thttp_message_create(void * self, va_list * app) +{ + thttp_message_t *message = self; + if(message) + { + } + return self; +} + +static void* thttp_message_destroy(void * self) +{ + thttp_message_t *message = self; + if(message) + { + } + + return self; +} + +static int thttp_message_cmp(const void *obj1, const void *obj2) +{ + return -1; +} + +static const tsk_object_def_t thttp_message_def_s = +{ + sizeof(thttp_message_t), + thttp_message_create, + thttp_message_destroy, + thttp_message_cmp, +}; +const void *thttp_message_def_t = &thttp_message_def_s; diff --git a/trunk/tinyHTTP/tinyHTTP.vcproj b/trunk/tinyHTTP/tinyHTTP.vcproj index ecf8ae77..c75dc9e5 100644 --- a/trunk/tinyHTTP/tinyHTTP.vcproj +++ b/trunk/tinyHTTP/tinyHTTP.vcproj @@ -51,6 +51,7 @@ RuntimeLibrary="3" UsePrecompiledHeader="0" WarningLevel="3" + WarnAsError="true" DebugInformationFormat="4" CompileAs="1" /> @@ -166,7 +167,7 @@ /> diff --git a/trunk/tinyNET/src/tnet_poll.c b/trunk/tinyNET/src/tnet_poll.c index ac8a677f..515d3de5 100644 --- a/trunk/tinyNET/src/tnet_poll.c +++ b/trunk/tinyNET/src/tnet_poll.c @@ -28,9 +28,6 @@ * * @brief poll() method implementation for multiplexing network sockets. * - * @author Mamadou Diop - * @date Created: Sat Nov 8 16:54:58 2009 mdiop / - * * @param fds An array of pollfd structures. * @param nfds The number of file descriptors set in fds[ ]. * @param timeout How long poll() should wait for an event to occur (in milliseconds). diff --git a/trunk/tinyNET/src/tnet_socket.c b/trunk/tinyNET/src/tnet_socket.c index fcfade43..a76d058b 100644 --- a/trunk/tinyNET/src/tnet_socket.c +++ b/trunk/tinyNET/src/tnet_socket.c @@ -162,7 +162,11 @@ static void* tnet_socket_create(void * self, va_list * app) hints.ai_family = TNET_SOCKET_TYPE_IS_IPV6(sock->type) ? AF_INET6 : AF_INET; hints.ai_socktype = TNET_SOCKET_TYPE_IS_STREAM(sock->type) ? SOCK_STREAM : SOCK_DGRAM; hints.ai_protocol = TNET_SOCKET_TYPE_IS_STREAM(sock->type) ? IPPROTO_TCP : IPPROTO_UDP; - hints.ai_flags = AI_PASSIVE /*| AI_ADDRCONFIG*/; /* Bind to the local machine. */ + hints.ai_flags = AI_PASSIVE +#if !TNET_UNDER_WINDOWS + | AI_ADDRCONFIG +#endif + ; /* Performs getaddrinfo */ if((status = tnet_getaddrinfo(local_hostname, port, &hints, &result))) @@ -177,31 +181,22 @@ static void* tnet_socket_create(void * self, va_list * app) //if(ptr->ai_family == hints.ai_family && ptr->ai_socktype == hints.ai_socktype && ptr->ai_protocol == hints.ai_protocol) { sock->fd = socket(ptr->ai_family, ptr->ai_socktype, ptr->ai_protocol); - /* Get local IP string. */ - if((status = tnet_getnameinfo(ptr->ai_addr, ptr->ai_addrlen, sock->ip, sizeof(sock->ip), 0, 0, NI_NUMERICHOST))) + + /* Bind the socket */ + if((status = bind(sock->fd, ptr->ai_addr, ptr->ai_addrlen))) { - TNET_PRINT_LAST_ERROR("getnameinfo have failed"); + TNET_PRINT_LAST_ERROR("bind have failed."); tnet_socket_close(sock); continue; } - else + + /* Get local IP string. */ + if(status = tnet_get_ip_n_port(sock->fd , &sock->ip, &sock->port)) /* % */ + //if((status = tnet_getnameinfo(ptr->ai_addr, ptr->ai_addrlen, sock->ip, sizeof(sock->ip), 0, 0, NI_NUMERICHOST))) { - if((status = bind(sock->fd, ptr->ai_addr, ptr->ai_addrlen))) - { - TNET_PRINT_LAST_ERROR("bind have failed."); - tnet_socket_close(sock); - continue; - } - else - { - if(sock->port == TNET_SOCKET_PORT_ANY && (status = tnet_get_port(sock->fd, &(sock->port)))) - { - TNET_PRINT_LAST_ERROR("Failed to retrieve IP and Port."); - tnet_socket_close(sock); - continue; - } - else break; - } + TNET_PRINT_LAST_ERROR("Failed to get local IP and port."); + tnet_socket_close(sock); + continue; } } } diff --git a/trunk/tinyNET/src/tnet_transport_poll.c b/trunk/tinyNET/src/tnet_transport_poll.c index 191f3983..6411050f 100644 --- a/trunk/tinyNET/src/tnet_transport_poll.c +++ b/trunk/tinyNET/src/tnet_transport_poll.c @@ -54,6 +54,7 @@ typedef struct transport_context_s size_t count; short events; tnet_fd_t pipeW; + tnet_fd_t pipeR; tnet_pollfd_t ufds[TNET_MAX_FDS]; transport_socket_t* sockets[TNET_MAX_FDS]; } @@ -108,7 +109,8 @@ int tnet_transport_add_socket(const tnet_transport_handle_t *handle, tnet_fd_t f transport_socket_add(fd, context); // signal - return (write(context->pipeW, &c, 1) > 0); + ret = write(context->pipeW, &c, 1); + return (ret > 0 ? 0 : ret); } // ... @@ -357,7 +359,7 @@ void *tnet_transport_mainthread(void *param) transport_socket_t* active_socket; context = (transport_context_t*)tsk_calloc(1, sizeof(transport_context_t)); - context->events = TNET_SOCKET_TYPE_IS_DGRAM(transport->master->type) ? TNET_POLLIN : TNET_POLLIN | TNET_POLLOUT | TNET_POLLPRI; + context->events = TNET_SOCKET_TYPE_IS_DGRAM(transport->master->type) ? TNET_POLLIN : TNET_POLLIN /*| TNET_POLLOUT*/ | TNET_POLLPRI; transport->context = context; /* Start listening */ @@ -376,9 +378,12 @@ void *tnet_transport_mainthread(void *param) TNET_PRINT_LAST_ERROR("Failed to create new pipes."); goto bail; } - transport_socket_add(pipes[0], context); // Add pipeR + + context->pipeR = pipes[0]; context->pipeW = pipes[1]; + transport_socket_add(context->pipeR, context); + /* Add the current transport socket to the context. */ transport_socket_add(transport->master->fd, context); @@ -406,7 +411,9 @@ void *tnet_transport_mainthread(void *param) */ for(i=0; icount; i++) { - if(!context->ufds[i].revents) continue; + if(!context->ufds[i].revents || context->ufds[i].fd == context->pipeR){ + continue; + } /* Get active event and socket */ active_socket = context->sockets[i]; @@ -436,7 +443,7 @@ void *tnet_transport_mainthread(void *param) } /* Receive the waiting data. */ - if(recv(active_socket->fd, buffer, len, 0) < 0) + if((ret = recv(active_socket->fd, buffer, len, 0)) < 0) { TSK_FREE(buffer); //if(tnet_geterrno() == TNET_ERROR_WOULDBLOCK) diff --git a/trunk/tinyNET/src/tnet_utils.c b/trunk/tinyNET/src/tnet_utils.c index 84a7e7ce..00ee7bea 100644 --- a/trunk/tinyNET/src/tnet_utils.c +++ b/trunk/tinyNET/src/tnet_utils.c @@ -70,8 +70,8 @@ void tnet_getlasterror(tnet_error_t *error) 0); } #else - //FIXME: use strerror(errno); - sprintf(*error, "Network error (%d).", err); + strerror_r(err, *error, sizeof(*error)); + //sprintf(*error, "Network error (%d).", err); #endif } @@ -117,8 +117,7 @@ tnet_interfaces_L_t* tnet_get_interfaces() TSK_DEBUG_ERROR("Error allocating memory needed to call GetAdaptersinfo."); goto bail; } - // Make an initial call to GetAdaptersInfo to get - // the necessary size into the ulOutBufLen variable + // Make an initial call to GetAdaptersInfo to get the necessary size into the ulOutBufLen variable if (GetAdaptersInfo(pAdapterInfo, &ulOutBufLen) == ERROR_BUFFER_OVERFLOW) { FREE(pAdapterInfo); @@ -135,7 +134,13 @@ tnet_interfaces_L_t* tnet_get_interfaces() pAdapter = pAdapterInfo; while(pAdapter) { - tnet_interface_t *iface = TNET_INTERFACE_CREATE(pAdapter->Description, pAdapter->Address, pAdapter->AddressLength); + tnet_interface_t *iface; + + if(pAdapter->Type == MIB_IF_TYPE_LOOPBACK){ + continue; + } + + iface = TNET_INTERFACE_CREATE(pAdapter->Description, pAdapter->Address, pAdapter->AddressLength); iface->index = pAdapter->Index; tsk_list_push_back_data(ifaces, &(iface)); @@ -264,7 +269,7 @@ bail: return ifaces; } -tnet_addresses_L_t* tnet_get_addresses(tnet_family_t family, unsigned unicast, unsigned anycast, unsigned multicast, unsigned dnsserver) +tnet_addresses_L_t* tnet_get_addresses(tnet_family_t family, unsigned unicast, unsigned anycast, unsigned multicast, unsigned dnsserver, long if_index) { tnet_addresses_L_t *addresses = TSK_LIST_CREATE(); tnet_ip_t ip; @@ -320,12 +325,16 @@ tnet_addresses_L_t* tnet_get_addresses(tnet_family_t family, unsigned unicast, u pCurrAddresses = pAddresses; while (pCurrAddresses) { + if((if_index != -1) && (pCurrAddresses->IfIndex != if_index && pCurrAddresses->Ipv6IfIndex != if_index)){ + goto next; + } + /* UNICAST addresses */ pUnicast = pCurrAddresses->FirstUnicastAddress; while(unicast && pUnicast) { - memset(ip, '\0', sizeof(ip)); + //memset(ip, '\0', sizeof(ip)); tnet_get_sockip(pUnicast->Address.lpSockaddr, &ip); { tnet_address_t *address = TNET_ADDRESS_CREATE(ip); @@ -342,7 +351,7 @@ tnet_addresses_L_t* tnet_get_addresses(tnet_family_t family, unsigned unicast, u pAnycast = pCurrAddresses->FirstAnycastAddress; while(anycast && pAnycast) { - memset(ip, '\0', sizeof(ip)); + //memset(ip, '\0', sizeof(ip)); tnet_get_sockip(pAnycast->Address.lpSockaddr, &ip); { tnet_address_t *address = TNET_ADDRESS_CREATE(ip); @@ -359,7 +368,7 @@ tnet_addresses_L_t* tnet_get_addresses(tnet_family_t family, unsigned unicast, u pMulticast = pCurrAddresses->FirstMulticastAddress; while(multicast && pMulticast) { - memset(ip, '\0', sizeof(ip)); + //memset(ip, '\0', sizeof(ip)); tnet_get_sockip(pMulticast->Address.lpSockaddr, &ip); { tnet_address_t *address = TNET_ADDRESS_CREATE(ip); @@ -376,7 +385,7 @@ tnet_addresses_L_t* tnet_get_addresses(tnet_family_t family, unsigned unicast, u pDnServer = pCurrAddresses->FirstDnsServerAddress; while(dnsserver && pDnServer) { - memset(ip, '\0', sizeof(ip)); + //memset(ip, '\0', sizeof(ip)); tnet_get_sockip(pDnServer->Address.lpSockaddr, &ip); { tnet_address_t *address = TNET_ADDRESS_CREATE(ip); @@ -387,7 +396,7 @@ tnet_addresses_L_t* tnet_get_addresses(tnet_family_t family, unsigned unicast, u pDnServer = pDnServer->Next; } - +next: pCurrAddresses = pCurrAddresses->Next; } } @@ -415,6 +424,56 @@ bail: return addresses; } + +int tnet_getbestsource(const char* destination, tnet_socket_type_t type, tnet_ip_t *source) +{ + int ret = -1; + struct sockaddr_storage destAddr; + tnet_addresses_L_t* addresses = 0; + const tsk_list_item_t* item; +#if TNET_UNDER_WINDOWS + DWORD dwBestIfIndex; +#endif + + if(!destination || !source){ + goto bail; + } + + if((ret = tnet_sockaddr_init(destination, 0, type, &destAddr))){ + goto bail; + } + +#if TNET_UNDER_WINDOWS + if(GetBestInterfaceEx((struct sockaddr*)&destAddr, &dwBestIfIndex) != NO_ERROR){ + ret = WSAGetLastError(); + TNET_PRINT_LAST_ERROR("GetBestInterfaceEx failed."); + goto bail; + } +#endif + + if(!(addresses = tnet_get_addresses(TNET_SOCKET_TYPE_IS_IPV6(type) ? AF_INET6 : AF_INET, 1, 0, 0, 0, dwBestIfIndex))){ + ret = -2; + TSK_DEBUG_ERROR("Failed to retrieve addresses."); + goto bail; + } + + tsk_list_foreach(item, addresses) + { + const tnet_address_t* address = item->data; + if(address && address->ip){ + memset(*source, '\0', sizeof(*source)); + memcpy(*source, address->ip, strlen(address->ip) > sizeof(*source) ? sizeof(*source) : strlen(address->ip)); + ret = 0; + goto bail; // First is good for us. + } + } + +bail: + TSK_OBJECT_SAFE_FREE(addresses); + return ret; +} + + /** * @fn int tnet_getaddrinfo(const char *node, const char *service, * const struct addrinfo *hints, struct addrinfo **res) @@ -512,6 +571,9 @@ int tnet_get_sockip_n_port(struct sockaddr *addr, tnet_ip_t *ip, tnet_port_t *po else if(addr->sa_family == AF_INET6) { struct sockaddr_in6 *sin6 = (struct sockaddr_in6 *)addr; +#if TNET_UNDER_WINDOWS + int index; +#endif if(port) { *port = ntohs(sin6->sin6_port); @@ -523,6 +585,12 @@ int tnet_get_sockip_n_port(struct sockaddr *addr, tnet_ip_t *ip, tnet_port_t *po { return status; } + +#if TNET_UNDER_WINDOWS + if((index = tsk_strindexOf(*ip, strlen(*ip), "%")) > 0){ + *(*ip + index) = '\0'; + } +#endif } } else @@ -536,7 +604,9 @@ int tnet_get_sockip_n_port(struct sockaddr *addr, tnet_ip_t *ip, tnet_port_t *po int tnet_get_ip_n_port(tnet_fd_t fd, tnet_ip_t *ip, tnet_port_t *port) { - *port = 0; + if(port){ + *port = 0; + } if(fd > 0) { diff --git a/trunk/tinyNET/src/tnet_utils.h b/trunk/tinyNET/src/tnet_utils.h index 6dcc72ac..010288eb 100644 --- a/trunk/tinyNET/src/tnet_utils.h +++ b/trunk/tinyNET/src/tnet_utils.h @@ -75,21 +75,22 @@ TINYNET_API void tnet_getlasterror(tnet_error_t *error); TINYNET_API int tnet_geterrno(); TINYNET_API tnet_interfaces_L_t* tnet_get_interfaces(); -TINYNET_API tnet_addresses_L_t* tnet_get_addresses(tnet_family_t family, unsigned unicast, unsigned anycast, unsigned multicast, unsigned dnsserver); -#define tnet_get_addresses_all() tnet_get_addresses(AF_UNSPEC, 1, 1, 1, 1) -#define tnet_get_addresses_all_unicast() tnet_get_addresses(AF_UNSPEC, 1, 0, 0, 0) -#define tnet_get_addresses_unicast4() tnet_get_addresses(AF_INET, 1, 0, 0, 0) -#define tnet_get_addresses_unicast6() tnet_get_addresses(AF_INET6, 1, 0, 0, 0) -#define tnet_get_addresses_all_anycast() tnet_get_addresses(AF_UNSPEC, 0, 1, 0, 0) -#define tnet_get_addresses_anycast4() tnet_get_addresses(AF_INET, 0, 1, 0, 0) -#define tnet_get_addresses_anycast6() tnet_get_addresses(AF_INET6, 0, 1, 0, 0) -#define tnet_get_addresses_all_multicast() tnet_get_addresses(AF_UNSPEC, 0, 0, 1, 0) -#define tnet_get_addresses_multicast4() tnet_get_addresses(AF_INET, 0, 0, 1, 0) -#define tnet_get_addresses_multicast6() tnet_get_addresses(AF_INET6, 0, 0, 1, 0) -#define tnet_get_addresses_all_dnsservers() tnet_get_addresses(AF_UNSPEC, 0, 0, 0, 1) -#define tnet_get_addresses_dnsservers4() tnet_get_addresses(AF_INET, 0, 0, 0, 1) -#define tnet_get_addresses_dnsservers6() tnet_get_addresses(AF_INET6, 0, 0, 0, 1) +TINYNET_API tnet_addresses_L_t* tnet_get_addresses(tnet_family_t family, unsigned unicast, unsigned anycast, unsigned multicast, unsigned dnsserver, long if_index); +#define tnet_get_addresses_all() tnet_get_addresses(AF_UNSPEC, 1, 1, 1, 1, -1) +#define tnet_get_addresses_all_unicast() tnet_get_addresses(AF_UNSPEC, 1, 0, 0, 0, -1) +#define tnet_get_addresses_unicast4() tnet_get_addresses(AF_INET, 1, 0, 0, 0, -1) +#define tnet_get_addresses_unicast6() tnet_get_addresses(AF_INET6, 1, 0, 0, 0, -1) +#define tnet_get_addresses_all_anycast() tnet_get_addresses(AF_UNSPEC, 0, 1, 0, 0, -1) +#define tnet_get_addresses_anycast4() tnet_get_addresses(AF_INET, 0, 1, 0, 0, -1) +#define tnet_get_addresses_anycast6() tnet_get_addresses(AF_INET6, 0, 1, 0, 0, -1) +#define tnet_get_addresses_all_multicast() tnet_get_addresses(AF_UNSPEC, 0, 0, 1, 0, -1) +#define tnet_get_addresses_multicast4() tnet_get_addresses(AF_INET, 0, 0, 1, 0, -1) +#define tnet_get_addresses_multicast6() tnet_get_addresses(AF_INET6, 0, 0, 1, 0, -1) +#define tnet_get_addresses_all_dnsservers() tnet_get_addresses(AF_UNSPEC, 0, 0, 0, 1, -1) +#define tnet_get_addresses_dnsservers4() tnet_get_addresses(AF_INET, 0, 0, 0, 1, -1) +#define tnet_get_addresses_dnsservers6() tnet_get_addresses(AF_INET6, 0, 0, 0, 1, -1) +TINYNET_API int tnet_getbestsource(const char* destination, tnet_socket_type_t type, tnet_ip_t *source); TINYNET_API int tnet_getaddrinfo(const char *node, const char *service, const struct addrinfo *hints, struct addrinfo **res); TINYNET_API void tnet_freeaddrinfo(struct addrinfo *ai); TINYNET_API int tnet_get_sockaddr(tnet_fd_t fd, struct sockaddr_storage *result); diff --git a/trunk/tinyNET/test/test.c b/trunk/tinyNET/test/test.c index 703ad88b..78fe8e00 100644 --- a/trunk/tinyNET/test/test.c +++ b/trunk/tinyNET/test/test.c @@ -50,9 +50,9 @@ #define RUN_TEST_AUTH 0 #define RUN_TEST_STUN 0 #define RUN_TEST_NAT 0 -#define RUN_TEST_IFACES 0 +#define RUN_TEST_IFACES 1 #define RUN_TEST_DNS 0 -#define RUN_TEST_DHCP 1 +#define RUN_TEST_DHCP 0 #define RUN_TEST_DHCP6 0 #ifdef _WIN32_WCE diff --git a/trunk/tinyNET/test/test_ifaces.h b/trunk/tinyNET/test/test_ifaces.h index c22b7959..e4917d9f 100644 --- a/trunk/tinyNET/test/test_ifaces.h +++ b/trunk/tinyNET/test/test_ifaces.h @@ -22,6 +22,25 @@ #ifndef TNET_TEST_IFACES_H #define TNET_TEST_IFACES_H +void test_faces_bestsource() +{ + tnet_ip_t source; + // IPv6 + if(!tnet_getbestsource("2a01:e35:8b32:7050:212:f0ff:fe4c:3ea1", tnet_socket_type_udp_ipv6, &source)){ + TSK_DEBUG_INFO("Best IPv6 source is [%s]", source); + } + else{ + TSK_DEBUG_ERROR("Failed to get best IPv6 source."); + } + // IPv4 + if(!tnet_getbestsource("192.168.0.11", tnet_socket_type_udp_ipv4, &source)){ + TSK_DEBUG_INFO("Best IPv4 source is [%s]", source); + } + else{ + TSK_DEBUG_ERROR("Failed to get best IPv4 source."); + } +} + void test_ifaces_dump_ifaces() { tnet_interfaces_L_t* ifaces = tnet_get_interfaces(); @@ -67,6 +86,7 @@ void test_ifaces_dump_addresses() void test_ifaces() { + test_faces_bestsource(); test_ifaces_dump_ifaces(); test_ifaces_dump_addresses(); } diff --git a/trunk/tinySAK/src/makefile b/trunk/tinySAK/src/makefile index b31f6c92..2ba8fd11 100644 --- a/trunk/tinySAK/src/makefile +++ b/trunk/tinySAK/src/makefile @@ -13,6 +13,7 @@ OBJS = tsk.o\ tsk_buffer.o\ tsk_condwait.o\ tsk_debug.o\ + tsk_fsm.o\ tsk_heap.o\ tsk_hmac.o\ tsk_list.o\ @@ -23,6 +24,7 @@ OBJS = tsk.o\ tsk_params.o\ tsk_ppfcs16.o\ tsk_ppfcs32.o\ + tsk_ragel_state.o\ tsk_runnable.o\ tsk_safeobj.o\ tsk_semaphore.o\ diff --git a/trunk/tinySAK/src/tsk_fsm.c b/trunk/tinySAK/src/tsk_fsm.c index cc90123e..5e68bbaf 100644 --- a/trunk/tinySAK/src/tsk_fsm.c +++ b/trunk/tinySAK/src/tsk_fsm.c @@ -245,4 +245,4 @@ static const tsk_object_def_t tsk_fsm_entry_def_s = tsk_fsm_entry_destroy, tsk_fsm_entry_cmp, }; -const void *tsk_fsm_entry_def_t = &tsk_fsm_entry_def_s; \ No newline at end of file +const void *tsk_fsm_entry_def_t = &tsk_fsm_entry_def_s; diff --git a/trunk/tinySAK/src/tsk_object.c b/trunk/tinySAK/src/tsk_object.c index 74308f50..2e1987da 100644 --- a/trunk/tinySAK/src/tsk_object.c +++ b/trunk/tinySAK/src/tsk_object.c @@ -99,19 +99,19 @@ void* tsk_object_new2(const tsk_object_def_t *objdef, va_list* ap) size_t tsk_object_sizeof(const void *self) { - const tsk_object_def_t **objdef = self; + const tsk_object_def_t **objdef = (const tsk_object_def_t **)self; if(objdef && *objdef){ return (*objdef)->size; } else{ - TSK_DEBUG_ERROR("NULL tsk obkect."); + TSK_DEBUG_ERROR("NULL object definition."); return 0; } } int tsk_object_cmp(const void *self, const void *object) { - const tsk_object_def_t **objdef = self; + const tsk_object_def_t **objdef = (const tsk_object_def_t **)self; if(objdef && *objdef && (*objdef)->objcmp){ return (*objdef)->objcmp(self, object); diff --git a/trunk/tinySAK/src/tsk_ragel_state.h b/trunk/tinySAK/src/tsk_ragel_state.h index 12ed8228..2b993a9d 100644 --- a/trunk/tinySAK/src/tsk_ragel_state.h +++ b/trunk/tinySAK/src/tsk_ragel_state.h @@ -80,7 +80,7 @@ TSK_BEGIN_DECLS { \ char* tmp = tsk_calloc(len+1, sizeof(char)); \ memcpy(tmp, tag_start, len); \ - retval = (##type)##func(tmp); \ + retval = (type) func(tmp); \ free(tmp); \ } \ } diff --git a/trunk/tinySAK/src/tsk_uuid.c b/trunk/tinySAK/src/tsk_uuid.c index e7a6b271..456a5c60 100644 --- a/trunk/tinySAK/src/tsk_uuid.c +++ b/trunk/tinySAK/src/tsk_uuid.c @@ -78,4 +78,4 @@ int tsk_uuidgenerate(tsk_uuidstring_t *result) (*result)[36] = '\0'; return 0; -} \ No newline at end of file +} diff --git a/trunk/tinySIP/include/tinysip/tsip_operation.h b/trunk/tinySIP/include/tinysip/tsip_operation.h index 5577dfce..7ae3b74f 100644 --- a/trunk/tinySIP/include/tinysip/tsip_operation.h +++ b/trunk/tinySIP/include/tinysip/tsip_operation.h @@ -38,6 +38,9 @@ TSIP_BEGIN_DECLS +//FD +struct tsip_message_s; + #define TSIP_OPERATION_CREATE(stack, ...) tsk_object_new(tsip_operation_def_t, stack, __VA_ARGS__) typedef uint64_t tsip_operation_id_t; diff --git a/trunk/tinySIP/ragel.sh b/trunk/tinySIP/ragel.sh index f8c6369f..1527ec4b 100644 --- a/trunk/tinySIP/ragel.sh +++ b/trunk/tinySIP/ragel.sh @@ -5,7 +5,7 @@ export OPTIONS="-C -L -T0" #export OPTIONS="-C -L -G2" # SIP/SIPS/TEL URI parser -#ragel.exe $OPTIONS -o ../src/parsers/tsip_parser_uri.c tsip_parser_uri.rl +ragel.exe $OPTIONS -o ../src/parsers/tsip_parser_uri.c tsip_parser_uri.rl # SIP message (both requests an responses) parser. ragel.exe $OPTIONS -o ../src/parsers/tsip_parser_message.c tsip_parser_message.rl @@ -15,106 +15,106 @@ ragel.exe $OPTIONS -o ../src/parsers/tsip_parser_header.c tsip_parser_header.rl # ==Allow -##ragel.exe $OPTIONS -o ../src/headers/tsip_header_Allow.c tsip_parser_header_Allow.rl +#ragel.exe $OPTIONS -o ../src/headers/tsip_header_Allow.c tsip_parser_header_Allow.rl # ==Allow-Events -#ragel.exe $OPTIONS -o ../src/headers/tsip_header_Allow_Events.c tsip_parser_header_Allow_Events.rl +ragel.exe $OPTIONS -o ../src/headers/tsip_header_Allow_Events.c tsip_parser_header_Allow_Events.rl # ==Authorization -#######ragel.exe $OPTIONS -o ../src/headers/tsip_header_Authorization.c tsip_parser_header_Authorization.rl +######ragel.exe $OPTIONS -o ../src/headers/tsip_header_Authorization.c tsip_parser_header_Authorization.rl # ==Call-ID -#ragel.exe $OPTIONS -o ../src/headers/tsip_header_Call_ID.c tsip_parser_header_Call_ID.rl +ragel.exe $OPTIONS -o ../src/headers/tsip_header_Call_ID.c tsip_parser_header_Call_ID.rl # ==Content-Length -#ragel.exe $OPTIONS -o ../src/headers/tsip_header_Content_Length.c tsip_parser_header_Content_Length.rl +ragel.exe $OPTIONS -o ../src/headers/tsip_header_Content_Length.c tsip_parser_header_Content_Length.rl # ==Content-Type -#ragel.exe $OPTIONS -o ../src/headers/tsip_header_Content_Type.c tsip_parser_header_Content_Type.rl +ragel.exe $OPTIONS -o ../src/headers/tsip_header_Content_Type.c tsip_parser_header_Content_Type.rl # ==Contact -#ragel.exe $OPTIONS -o ../src/headers/tsip_header_Contact.c tsip_parser_header_Contact.rl +ragel.exe $OPTIONS -o ../src/headers/tsip_header_Contact.c tsip_parser_header_Contact.rl # ==CSeq -#ragel.exe $OPTIONS -o ../src/headers/tsip_header_CSeq.c tsip_parser_header_CSeq.rl +ragel.exe $OPTIONS -o ../src/headers/tsip_header_CSeq.c tsip_parser_header_CSeq.rl # ==Event -#ragel.exe $OPTIONS -o ../src/headers/tsip_header_Event.c tsip_parser_header_Event.rl +ragel.exe $OPTIONS -o ../src/headers/tsip_header_Event.c tsip_parser_header_Event.rl # ==Expires -#ragel.exe $OPTIONS -o ../src/headers/tsip_header_Expires.c tsip_parser_header_Expires.rl +ragel.exe $OPTIONS -o ../src/headers/tsip_header_Expires.c tsip_parser_header_Expires.rl # ==From -#ragel.exe $OPTIONS -o ../src/headers/tsip_header_From.c tsip_parser_header_From.rl +ragel.exe $OPTIONS -o ../src/headers/tsip_header_From.c tsip_parser_header_From.rl # ==Max-Forwards -#ragel.exe $OPTIONS -o ../src/headers/tsip_header_Max_Forwards.c tsip_parser_header_Max_Forwards.rl +ragel.exe $OPTIONS -o ../src/headers/tsip_header_Max_Forwards.c tsip_parser_header_Max_Forwards.rl # ==Min-Expires -#ragel.exe $OPTIONS -o ../src/headers/tsip_header_Min_Expires.c tsip_parser_header_Min_Expires.rl +ragel.exe $OPTIONS -o ../src/headers/tsip_header_Min_Expires.c tsip_parser_header_Min_Expires.rl # ==Path -#ragel.exe $OPTIONS -o ../src/headers/tsip_header_Path.c tsip_parser_header_Path.rl +ragel.exe $OPTIONS -o ../src/headers/tsip_header_Path.c tsip_parser_header_Path.rl # ==P-Access-Network-Info -#ragel.exe $OPTIONS -o ../src/headers/tsip_header_P_Access_Network_Info.c tsip_parser_header_P_Access_Network_Info.rl +ragel.exe $OPTIONS -o ../src/headers/tsip_header_P_Access_Network_Info.c tsip_parser_header_P_Access_Network_Info.rl # ==P-Asserted-Identity -#ragel.exe $OPTIONS -o ../src/headers/tsip_header_P_Asserted_Identity.c tsip_parser_header_P_Asserted_Identity.rl +ragel.exe $OPTIONS -o ../src/headers/tsip_header_P_Asserted_Identity.c tsip_parser_header_P_Asserted_Identity.rl # ==P-Associated-URI -#ragel.exe $OPTIONS -o ../src/headers/tsip_header_P_Associated_URI.c tsip_parser_header_P_Associated_URI.rl +ragel.exe $OPTIONS -o ../src/headers/tsip_header_P_Associated_URI.c tsip_parser_header_P_Associated_URI.rl # ==P-Charging-Function-Addresses -#ragel.exe $OPTIONS -o ../src/headers/tsip_header_P_Charging_Function_Addresses.c tsip_parser_header_P_Charging_Function_Addresses.rl +ragel.exe $OPTIONS -o ../src/headers/tsip_header_P_Charging_Function_Addresses.c tsip_parser_header_P_Charging_Function_Addresses.rl # ==P-Preferred-Identity -#ragel.exe $OPTIONS -o ../src/headers/tsip_header_P_Preferred_Identity.c tsip_parser_header_P_Preferred_Identity.rl +ragel.exe $OPTIONS -o ../src/headers/tsip_header_P_Preferred_Identity.c tsip_parser_header_P_Preferred_Identity.rl # ==Privacy -#ragel.exe $OPTIONS -o ../src/headers/tsip_header_Privacy.c tsip_parser_header_Privacy.rl +ragel.exe $OPTIONS -o ../src/headers/tsip_header_Privacy.c tsip_parser_header_Privacy.rl # ==Proxy-Authenticate -#########ragel.exe $OPTIONS -o ../src/headers/tsip_header_Proxy_Authenticate.c tsip_parser_header_Proxy_Authenticate.rl +########ragel.exe $OPTIONS -o ../src/headers/tsip_header_Proxy_Authenticate.c tsip_parser_header_Proxy_Authenticate.rl # ==Proxy-Authorization -##########ragel.exe $OPTIONS -o ../src/headers/tsip_header_Proxy_Authorization.c tsip_parser_header_Proxy_Authorization.rl +#########ragel.exe $OPTIONS -o ../src/headers/tsip_header_Proxy_Authorization.c tsip_parser_header_Proxy_Authorization.rl # ==Record-Route -#ragel.exe $OPTIONS -o ../src/headers/tsip_header_Record_Route.c tsip_parser_header_Record_Route.rl +ragel.exe $OPTIONS -o ../src/headers/tsip_header_Record_Route.c tsip_parser_header_Record_Route.rl # ==Require -#ragel.exe $OPTIONS -o ../src/headers/tsip_header_Require.c tsip_parser_header_Require.rl +ragel.exe $OPTIONS -o ../src/headers/tsip_header_Require.c tsip_parser_header_Require.rl # == Server -#ragel.exe $OPTIONS -o ../src/headers/tsip_header_Server.c tsip_parser_header_Server.rl +ragel.exe $OPTIONS -o ../src/headers/tsip_header_Server.c tsip_parser_header_Server.rl # == Route -#ragel.exe $OPTIONS -o ../src/headers/tsip_header_Route.c tsip_parser_header_Route.rl +ragel.exe $OPTIONS -o ../src/headers/tsip_header_Route.c tsip_parser_header_Route.rl # == Security-Client ragel.exe $OPTIONS -o ../src/headers/tsip_header_Security_Client.c tsip_parser_header_Security_Client.rl # == Service-Route -#ragel.exe $OPTIONS -o ../src/headers/tsip_header_Service_Route.c tsip_parser_header_Service_Route.rl +ragel.exe $OPTIONS -o ../src/headers/tsip_header_Service_Route.c tsip_parser_header_Service_Route.rl # ==Subscription-State -#ragel.exe $OPTIONS -o ../src/headers/tsip_header_Subscription_State.c tsip_parser_header_Subscription_State.rl +ragel.exe $OPTIONS -o ../src/headers/tsip_header_Subscription_State.c tsip_parser_header_Subscription_State.rl # ==Supported -#ragel.exe $OPTIONS -o ../src/headers/tsip_header_Supported.c tsip_parser_header_Supported.rl +ragel.exe $OPTIONS -o ../src/headers/tsip_header_Supported.c tsip_parser_header_Supported.rl # ==To -#ragel.exe $OPTIONS -o ../src/headers/tsip_header_To.c tsip_parser_header_To.rl +ragel.exe $OPTIONS -o ../src/headers/tsip_header_To.c tsip_parser_header_To.rl # ==User-Agent -#ragel.exe $OPTIONS -o ../src/headers/tsip_header_User_Agent.c tsip_parser_header_User_Agent.rl +ragel.exe $OPTIONS -o ../src/headers/tsip_header_User_Agent.c tsip_parser_header_User_Agent.rl # ==Via -#ragel.exe $OPTIONS -o ../src/headers/tsip_header_Via.c tsip_parser_header_Via.rl +ragel.exe $OPTIONS -o ../src/headers/tsip_header_Via.c tsip_parser_header_Via.rl # ==Warning -#ragel.exe $OPTIONS -o ../src/headers/tsip_header_Warning.c tsip_parser_header_Warning.rl +ragel.exe $OPTIONS -o ../src/headers/tsip_header_Warning.c tsip_parser_header_Warning.rl # ==WWW-Authenticate -##########ragel.exe $OPTIONS -o ../src/headers/tsip_header_WWW_Authenticate.c tsip_parser_header_WWW_Authenticate.rl +#########ragel.exe $OPTIONS -o ../src/headers/tsip_header_WWW_Authenticate.c tsip_parser_header_WWW_Authenticate.rl diff --git a/trunk/tinySIP/ragel/tsip_machine_header.rl b/trunk/tinySIP/ragel/tsip_machine_header.rl index d8117e50..00971642 100644 --- a/trunk/tinySIP/ragel/tsip_machine_header.rl +++ b/trunk/tinySIP/ragel/tsip_machine_header.rl @@ -130,4 +130,4 @@ HEADER = ( Accept | Accept_Contact | Accept_Encoding | Accept_Language | Accept_Resource_Priority | Alert_Info | Allow | Allow_Events | Authentication_Info | Authorization | Call_ID | Call_Info | Contact | Content_Disposition | Content_Encoding | Content_Language | Content_Length | Content_Type | CSeq | Date | Error_Info | Event | Expires | From | History_Info | Identity | Identity_Info | In_Reply_To | Join | Max_Forwards | MIME_Version | Min_Expires | Min_SE | Organization | Path | Priority | Privacy | Proxy_Authenticate | Proxy_Authorization | Proxy_Require | RAck | Reason | Record_Route | Refer_Sub | Refer_To | Referred_By | Reject_Contact | Replaces | Reply_To | Request_Disposition | Require | Resource_Priority | Retry_After | Route | RSeq | Security_Client | Security_Server | Security_Verify | Server | Service_Route | Session_Expires | SIP_ETag | SIP_If_Match | Subject | Subscription_State | Supported | Target_Dialog | Timestamp | To | Unsupported | User_Agent | Via | Warning | WWW_Authenticate | P_Access_Network_Info | P_Answer_State | P_Asserted_Identity | P_Associated_URI | P_Called_Party_ID | P_Charging_Function_Addresses | P_Charging_Vector | P_DCS_Billing_Info | P_DCS_LAES | P_DCS_OSPS | P_DCS_Redirect | P_DCS_Trace_Party_ID | P_Early_Media | P_Media_Authorization | P_Preferred_Identity | P_Profile_Key | P_User_Database | P_Visited_Network_ID); -}%% \ No newline at end of file +}%% diff --git a/trunk/tinySIP/ragel/tsip_machine_message.rl b/trunk/tinySIP/ragel/tsip_machine_message.rl index deaad8ce..fb248c18 100644 --- a/trunk/tinySIP/ragel/tsip_machine_message.rl +++ b/trunk/tinySIP/ragel/tsip_machine_message.rl @@ -50,4 +50,4 @@ # SIP MESSAGE SIP_message = (Response | Request)>1 @eoh message_body?>0; -}%% \ No newline at end of file +}%% diff --git a/trunk/tinySIP/ragel/tsip_machine_utils.rl b/trunk/tinySIP/ragel/tsip_machine_utils.rl index 1fc961e8..b8c41523 100644 --- a/trunk/tinySIP/ragel/tsip_machine_utils.rl +++ b/trunk/tinySIP/ragel/tsip_machine_utils.rl @@ -193,4 +193,4 @@ Method = INVITEm | ACKm | OPTIONSm | BYEm | CANCELm | REGISTERm | INFOm | PRACKm | SUBSCRIBEm | NOTIFYm | UPDATEm | MESSAGEm | REFERm | PUBLISHm | extension_method; method_param = "method="i Method; -}%% \ No newline at end of file +}%% diff --git a/trunk/tinySIP/ragel/tsip_parser_header.rl b/trunk/tinySIP/ragel/tsip_parser_header.rl index 7a238124..ed059c78 100644 --- a/trunk/tinySIP/ragel/tsip_parser_header.rl +++ b/trunk/tinySIP/ragel/tsip_parser_header.rl @@ -751,4 +751,4 @@ TSIP_BOOLEAN tsip_header_parse(tsk_ragel_state_t *state, tsip_message_t *message return ( cs >= %%{ write first_final; }%% ); //return (cs == tsip_machine_parser_headers_first_final); -} \ No newline at end of file +} diff --git a/trunk/tinySIP/ragel/tsip_parser_header_Accept_Contact.rl b/trunk/tinySIP/ragel/tsip_parser_header_Accept_Contact.rl index e69de29b..d3f5a12f 100644 --- a/trunk/tinySIP/ragel/tsip_parser_header_Accept_Contact.rl +++ b/trunk/tinySIP/ragel/tsip_parser_header_Accept_Contact.rl @@ -0,0 +1 @@ + diff --git a/trunk/tinySIP/ragel/tsip_parser_header_Accept_Encoding.rl b/trunk/tinySIP/ragel/tsip_parser_header_Accept_Encoding.rl index e69de29b..d3f5a12f 100644 --- a/trunk/tinySIP/ragel/tsip_parser_header_Accept_Encoding.rl +++ b/trunk/tinySIP/ragel/tsip_parser_header_Accept_Encoding.rl @@ -0,0 +1 @@ + diff --git a/trunk/tinySIP/ragel/tsip_parser_header_Accept_Language.rl b/trunk/tinySIP/ragel/tsip_parser_header_Accept_Language.rl index e69de29b..d3f5a12f 100644 --- a/trunk/tinySIP/ragel/tsip_parser_header_Accept_Language.rl +++ b/trunk/tinySIP/ragel/tsip_parser_header_Accept_Language.rl @@ -0,0 +1 @@ + diff --git a/trunk/tinySIP/ragel/tsip_parser_header_Accept_Resource_Priority.rl b/trunk/tinySIP/ragel/tsip_parser_header_Accept_Resource_Priority.rl index e69de29b..d3f5a12f 100644 --- a/trunk/tinySIP/ragel/tsip_parser_header_Accept_Resource_Priority.rl +++ b/trunk/tinySIP/ragel/tsip_parser_header_Accept_Resource_Priority.rl @@ -0,0 +1 @@ + diff --git a/trunk/tinySIP/ragel/tsip_parser_header_Alert_Info.rl b/trunk/tinySIP/ragel/tsip_parser_header_Alert_Info.rl index e69de29b..d3f5a12f 100644 --- a/trunk/tinySIP/ragel/tsip_parser_header_Alert_Info.rl +++ b/trunk/tinySIP/ragel/tsip_parser_header_Alert_Info.rl @@ -0,0 +1 @@ + diff --git a/trunk/tinySIP/ragel/tsip_parser_header_Allow.rl b/trunk/tinySIP/ragel/tsip_parser_header_Allow.rl index 2d01c7d5..5dae9a9e 100644 --- a/trunk/tinySIP/ragel/tsip_parser_header_Allow.rl +++ b/trunk/tinySIP/ragel/tsip_parser_header_Allow.rl @@ -171,4 +171,4 @@ static const tsk_object_def_t tsip_header_Allow_def_s = tsip_header_Allow_destroy, 0 }; -const void *tsip_header_Allow_def_t = &tsip_header_Allow_def_s; \ No newline at end of file +const void *tsip_header_Allow_def_t = &tsip_header_Allow_def_s; diff --git a/trunk/tinySIP/ragel/tsip_parser_header_Allow_Events.rl b/trunk/tinySIP/ragel/tsip_parser_header_Allow_Events.rl index 1633cddd..20fffa70 100644 --- a/trunk/tinySIP/ragel/tsip_parser_header_Allow_Events.rl +++ b/trunk/tinySIP/ragel/tsip_parser_header_Allow_Events.rl @@ -172,4 +172,4 @@ static const tsk_object_def_t tsip_header_Allow_Events_def_s = tsip_header_Allow_Events_destroy, 0 }; -const void *tsip_header_Allow_Events_def_t = &tsip_header_Allow_Events_def_s; \ No newline at end of file +const void *tsip_header_Allow_Events_def_t = &tsip_header_Allow_Events_def_s; diff --git a/trunk/tinySIP/ragel/tsip_parser_header_Authentication_Info.rl b/trunk/tinySIP/ragel/tsip_parser_header_Authentication_Info.rl index e69de29b..d3f5a12f 100644 --- a/trunk/tinySIP/ragel/tsip_parser_header_Authentication_Info.rl +++ b/trunk/tinySIP/ragel/tsip_parser_header_Authentication_Info.rl @@ -0,0 +1 @@ + diff --git a/trunk/tinySIP/ragel/tsip_parser_header_Authorization.rl b/trunk/tinySIP/ragel/tsip_parser_header_Authorization.rl index 4ad76053..e4ba6991 100644 --- a/trunk/tinySIP/ragel/tsip_parser_header_Authorization.rl +++ b/trunk/tinySIP/ragel/tsip_parser_header_Authorization.rl @@ -287,4 +287,4 @@ // tsip_header_Authorization_destroy, // 0 //}; -//const void *tsip_header_Authorization_def_t = &tsip_header_Authorization_def_s; \ No newline at end of file +//const void *tsip_header_Authorization_def_t = &tsip_header_Authorization_def_s; diff --git a/trunk/tinySIP/ragel/tsip_parser_header_CSeq.rl b/trunk/tinySIP/ragel/tsip_parser_header_CSeq.rl index 9b176eed..a9bfc566 100644 --- a/trunk/tinySIP/ragel/tsip_parser_header_CSeq.rl +++ b/trunk/tinySIP/ragel/tsip_parser_header_CSeq.rl @@ -155,4 +155,5 @@ static const tsk_object_def_t tsip_header_CSeq_def_s = tsip_header_CSeq_destroy, 0 }; -const void *tsip_header_CSeq_def_t = &tsip_header_CSeq_def_s; \ No newline at end of file +const void *tsip_header_CSeq_def_t = &tsip_header_CSeq_def_s; + diff --git a/trunk/tinySIP/ragel/tsip_parser_header_Call_ID.rl b/trunk/tinySIP/ragel/tsip_parser_header_Call_ID.rl index 95f933c4..1d2531ca 100644 --- a/trunk/tinySIP/ragel/tsip_parser_header_Call_ID.rl +++ b/trunk/tinySIP/ragel/tsip_parser_header_Call_ID.rl @@ -161,4 +161,4 @@ static const tsk_object_def_t tsip_header_Call_ID_def_s = tsip_header_Call_ID_destroy, 0 }; -const void *tsip_header_Call_ID_def_t = &tsip_header_Call_ID_def_s; \ No newline at end of file +const void *tsip_header_Call_ID_def_t = &tsip_header_Call_ID_def_s; diff --git a/trunk/tinySIP/ragel/tsip_parser_header_Call_Info.rl b/trunk/tinySIP/ragel/tsip_parser_header_Call_Info.rl index e69de29b..d3f5a12f 100644 --- a/trunk/tinySIP/ragel/tsip_parser_header_Call_Info.rl +++ b/trunk/tinySIP/ragel/tsip_parser_header_Call_Info.rl @@ -0,0 +1 @@ + diff --git a/trunk/tinySIP/ragel/tsip_parser_header_Contact.rl b/trunk/tinySIP/ragel/tsip_parser_header_Contact.rl index 5fa1720d..2f380cc7 100644 --- a/trunk/tinySIP/ragel/tsip_parser_header_Contact.rl +++ b/trunk/tinySIP/ragel/tsip_parser_header_Contact.rl @@ -274,4 +274,4 @@ const void *tsip_header_Contact_def_t = &tsip_header_Contact_def_s; // tsip_contact_destroy, // 0 //}; -//const void *tsip_contact_def_t = &tsip_contact_def_s; \ No newline at end of file +//const void *tsip_contact_def_t = &tsip_contact_def_s; diff --git a/trunk/tinySIP/ragel/tsip_parser_header_Content_Disposition.rl b/trunk/tinySIP/ragel/tsip_parser_header_Content_Disposition.rl index e69de29b..d3f5a12f 100644 --- a/trunk/tinySIP/ragel/tsip_parser_header_Content_Disposition.rl +++ b/trunk/tinySIP/ragel/tsip_parser_header_Content_Disposition.rl @@ -0,0 +1 @@ + diff --git a/trunk/tinySIP/ragel/tsip_parser_header_Content_Encoding.rl b/trunk/tinySIP/ragel/tsip_parser_header_Content_Encoding.rl index e69de29b..d3f5a12f 100644 --- a/trunk/tinySIP/ragel/tsip_parser_header_Content_Encoding.rl +++ b/trunk/tinySIP/ragel/tsip_parser_header_Content_Encoding.rl @@ -0,0 +1 @@ + diff --git a/trunk/tinySIP/ragel/tsip_parser_header_Content_Language.rl b/trunk/tinySIP/ragel/tsip_parser_header_Content_Language.rl index e69de29b..d3f5a12f 100644 --- a/trunk/tinySIP/ragel/tsip_parser_header_Content_Language.rl +++ b/trunk/tinySIP/ragel/tsip_parser_header_Content_Language.rl @@ -0,0 +1 @@ + diff --git a/trunk/tinySIP/ragel/tsip_parser_header_Content_Length.rl b/trunk/tinySIP/ragel/tsip_parser_header_Content_Length.rl index 4b89845a..559e1ebc 100644 --- a/trunk/tinySIP/ragel/tsip_parser_header_Content_Length.rl +++ b/trunk/tinySIP/ragel/tsip_parser_header_Content_Length.rl @@ -148,4 +148,5 @@ static const tsk_object_def_t tsip_header_Content_Length_def_s = tsip_header_Content_Length_destroy, 0 }; -const void *tsip_header_Content_Length_def_t = &tsip_header_Content_Length_def_s; \ No newline at end of file +const void *tsip_header_Content_Length_def_t = &tsip_header_Content_Length_def_s; + diff --git a/trunk/tinySIP/ragel/tsip_parser_header_Content_Type.rl b/trunk/tinySIP/ragel/tsip_parser_header_Content_Type.rl index 809ccc62..da61a07f 100644 --- a/trunk/tinySIP/ragel/tsip_parser_header_Content_Type.rl +++ b/trunk/tinySIP/ragel/tsip_parser_header_Content_Type.rl @@ -174,4 +174,5 @@ static const tsk_object_def_t tsip_header_Content_Type_def_s = tsip_header_Content_Type_destroy, 0 }; -const void *tsip_header_Content_Type_def_t = &tsip_header_Content_Type_def_s; \ No newline at end of file +const void *tsip_header_Content_Type_def_t = &tsip_header_Content_Type_def_s; + diff --git a/trunk/tinySIP/ragel/tsip_parser_header_Date.rl b/trunk/tinySIP/ragel/tsip_parser_header_Date.rl index e69de29b..d3f5a12f 100644 --- a/trunk/tinySIP/ragel/tsip_parser_header_Date.rl +++ b/trunk/tinySIP/ragel/tsip_parser_header_Date.rl @@ -0,0 +1 @@ + diff --git a/trunk/tinySIP/ragel/tsip_parser_header_Error_Info.rl b/trunk/tinySIP/ragel/tsip_parser_header_Error_Info.rl index e69de29b..d3f5a12f 100644 --- a/trunk/tinySIP/ragel/tsip_parser_header_Error_Info.rl +++ b/trunk/tinySIP/ragel/tsip_parser_header_Error_Info.rl @@ -0,0 +1 @@ + diff --git a/trunk/tinySIP/ragel/tsip_parser_header_Event.rl b/trunk/tinySIP/ragel/tsip_parser_header_Event.rl index 2c349188..ef21b7fd 100644 --- a/trunk/tinySIP/ragel/tsip_parser_header_Event.rl +++ b/trunk/tinySIP/ragel/tsip_parser_header_Event.rl @@ -166,4 +166,5 @@ static const tsk_object_def_t tsip_header_Event_def_s = tsip_header_Event_destroy, 0 }; -const void *tsip_header_Event_def_t = &tsip_header_Event_def_s; \ No newline at end of file +const void *tsip_header_Event_def_t = &tsip_header_Event_def_s; + diff --git a/trunk/tinySIP/ragel/tsip_parser_header_Expires.rl b/trunk/tinySIP/ragel/tsip_parser_header_Expires.rl index 2ec9a767..b791bc26 100644 --- a/trunk/tinySIP/ragel/tsip_parser_header_Expires.rl +++ b/trunk/tinySIP/ragel/tsip_parser_header_Expires.rl @@ -151,4 +151,5 @@ static const tsk_object_def_t tsip_header_Expires_def_s = tsip_header_Expires_destroy, 0 }; -const void *tsip_header_Expires_def_t = &tsip_header_Expires_def_s; \ No newline at end of file +const void *tsip_header_Expires_def_t = &tsip_header_Expires_def_s; + diff --git a/trunk/tinySIP/ragel/tsip_parser_header_From.rl b/trunk/tinySIP/ragel/tsip_parser_header_From.rl index a65838a3..6dcd6237 100644 --- a/trunk/tinySIP/ragel/tsip_parser_header_From.rl +++ b/trunk/tinySIP/ragel/tsip_parser_header_From.rl @@ -190,4 +190,5 @@ static const tsk_object_def_t tsip_header_From_def_s = tsip_header_From_destroy, 0 }; -const void *tsip_header_From_def_t = &tsip_header_From_def_s; \ No newline at end of file +const void *tsip_header_From_def_t = &tsip_header_From_def_s; + diff --git a/trunk/tinySIP/ragel/tsip_parser_header_History_Info.rl b/trunk/tinySIP/ragel/tsip_parser_header_History_Info.rl index e69de29b..d3f5a12f 100644 --- a/trunk/tinySIP/ragel/tsip_parser_header_History_Info.rl +++ b/trunk/tinySIP/ragel/tsip_parser_header_History_Info.rl @@ -0,0 +1 @@ + diff --git a/trunk/tinySIP/ragel/tsip_parser_header_Identity.rl b/trunk/tinySIP/ragel/tsip_parser_header_Identity.rl index e69de29b..d3f5a12f 100644 --- a/trunk/tinySIP/ragel/tsip_parser_header_Identity.rl +++ b/trunk/tinySIP/ragel/tsip_parser_header_Identity.rl @@ -0,0 +1 @@ + diff --git a/trunk/tinySIP/ragel/tsip_parser_header_Identity_Info.rl b/trunk/tinySIP/ragel/tsip_parser_header_Identity_Info.rl index e69de29b..d3f5a12f 100644 --- a/trunk/tinySIP/ragel/tsip_parser_header_Identity_Info.rl +++ b/trunk/tinySIP/ragel/tsip_parser_header_Identity_Info.rl @@ -0,0 +1 @@ + diff --git a/trunk/tinySIP/ragel/tsip_parser_header_In_Reply_To.rl b/trunk/tinySIP/ragel/tsip_parser_header_In_Reply_To.rl index e69de29b..d3f5a12f 100644 --- a/trunk/tinySIP/ragel/tsip_parser_header_In_Reply_To.rl +++ b/trunk/tinySIP/ragel/tsip_parser_header_In_Reply_To.rl @@ -0,0 +1 @@ + diff --git a/trunk/tinySIP/ragel/tsip_parser_header_Join.rl b/trunk/tinySIP/ragel/tsip_parser_header_Join.rl index e69de29b..d3f5a12f 100644 --- a/trunk/tinySIP/ragel/tsip_parser_header_Join.rl +++ b/trunk/tinySIP/ragel/tsip_parser_header_Join.rl @@ -0,0 +1 @@ + diff --git a/trunk/tinySIP/ragel/tsip_parser_header_MIME_Version.rl b/trunk/tinySIP/ragel/tsip_parser_header_MIME_Version.rl index e69de29b..d3f5a12f 100644 --- a/trunk/tinySIP/ragel/tsip_parser_header_MIME_Version.rl +++ b/trunk/tinySIP/ragel/tsip_parser_header_MIME_Version.rl @@ -0,0 +1 @@ + diff --git a/trunk/tinySIP/ragel/tsip_parser_header_Max_Forwards.rl b/trunk/tinySIP/ragel/tsip_parser_header_Max_Forwards.rl index ed0683f2..16720736 100644 --- a/trunk/tinySIP/ragel/tsip_parser_header_Max_Forwards.rl +++ b/trunk/tinySIP/ragel/tsip_parser_header_Max_Forwards.rl @@ -151,4 +151,4 @@ static const tsk_object_def_t tsip_header_Max_Forwards_def_s = tsip_header_Max_Forwards_destroy, 0 }; -const void *tsip_header_Max_Forwards_def_t = &tsip_header_Max_Forwards_def_s; \ No newline at end of file +const void *tsip_header_Max_Forwards_def_t = &tsip_header_Max_Forwards_def_s; diff --git a/trunk/tinySIP/ragel/tsip_parser_header_Min_Expires.rl b/trunk/tinySIP/ragel/tsip_parser_header_Min_Expires.rl index 8bc28e08..2b126574 100644 --- a/trunk/tinySIP/ragel/tsip_parser_header_Min_Expires.rl +++ b/trunk/tinySIP/ragel/tsip_parser_header_Min_Expires.rl @@ -152,4 +152,4 @@ static const tsk_object_def_t tsip_header_Min_Expires_def_s = tsip_header_Min_Expires_destroy, 0 }; -const void *tsip_header_Min_Expires_def_t = &tsip_header_Min_Expires_def_s; \ No newline at end of file +const void *tsip_header_Min_Expires_def_t = &tsip_header_Min_Expires_def_s; diff --git a/trunk/tinySIP/ragel/tsip_parser_header_Min_SE.rl b/trunk/tinySIP/ragel/tsip_parser_header_Min_SE.rl index e69de29b..d3f5a12f 100644 --- a/trunk/tinySIP/ragel/tsip_parser_header_Min_SE.rl +++ b/trunk/tinySIP/ragel/tsip_parser_header_Min_SE.rl @@ -0,0 +1 @@ + diff --git a/trunk/tinySIP/ragel/tsip_parser_header_Organization.rl b/trunk/tinySIP/ragel/tsip_parser_header_Organization.rl index e69de29b..d3f5a12f 100644 --- a/trunk/tinySIP/ragel/tsip_parser_header_Organization.rl +++ b/trunk/tinySIP/ragel/tsip_parser_header_Organization.rl @@ -0,0 +1 @@ + diff --git a/trunk/tinySIP/ragel/tsip_parser_header_P_Access_Network_Info.rl b/trunk/tinySIP/ragel/tsip_parser_header_P_Access_Network_Info.rl index a129ec4f..9acf8bf2 100644 --- a/trunk/tinySIP/ragel/tsip_parser_header_P_Access_Network_Info.rl +++ b/trunk/tinySIP/ragel/tsip_parser_header_P_Access_Network_Info.rl @@ -163,4 +163,4 @@ static const tsk_object_def_t tsip_header_P_Access_Network_Info_def_s = tsip_header_P_Access_Network_Info_destroy, 0 }; -const void *tsip_header_P_Access_Network_Info_def_t = &tsip_header_P_Access_Network_Info_def_s; \ No newline at end of file +const void *tsip_header_P_Access_Network_Info_def_t = &tsip_header_P_Access_Network_Info_def_s; diff --git a/trunk/tinySIP/ragel/tsip_parser_header_P_Answer_State.rl b/trunk/tinySIP/ragel/tsip_parser_header_P_Answer_State.rl index e69de29b..d3f5a12f 100644 --- a/trunk/tinySIP/ragel/tsip_parser_header_P_Answer_State.rl +++ b/trunk/tinySIP/ragel/tsip_parser_header_P_Answer_State.rl @@ -0,0 +1 @@ + diff --git a/trunk/tinySIP/ragel/tsip_parser_header_P_Asserted_Identity.rl b/trunk/tinySIP/ragel/tsip_parser_header_P_Asserted_Identity.rl index 5913ddcc..59b0b6a5 100644 --- a/trunk/tinySIP/ragel/tsip_parser_header_P_Asserted_Identity.rl +++ b/trunk/tinySIP/ragel/tsip_parser_header_P_Asserted_Identity.rl @@ -199,4 +199,4 @@ static const tsk_object_def_t tsip_header_P_Asserted_Identity_def_s = tsip_header_P_Asserted_Identity_destroy, 0 }; -const void *tsip_header_P_Asserted_Identity_def_t = &tsip_header_P_Asserted_Identity_def_s; \ No newline at end of file +const void *tsip_header_P_Asserted_Identity_def_t = &tsip_header_P_Asserted_Identity_def_s; diff --git a/trunk/tinySIP/ragel/tsip_parser_header_P_Associated_URI.rl b/trunk/tinySIP/ragel/tsip_parser_header_P_Associated_URI.rl index 1b3b3ec6..cc914dfd 100644 --- a/trunk/tinySIP/ragel/tsip_parser_header_P_Associated_URI.rl +++ b/trunk/tinySIP/ragel/tsip_parser_header_P_Associated_URI.rl @@ -212,4 +212,4 @@ static const tsk_object_def_t tsip_header_P_Associated_URI_def_s = tsip_header_P_Associated_URI_destroy, 0 }; -const void *tsip_header_P_Associated_URI_def_t = &tsip_header_P_Associated_URI_def_s; \ No newline at end of file +const void *tsip_header_P_Associated_URI_def_t = &tsip_header_P_Associated_URI_def_s; diff --git a/trunk/tinySIP/ragel/tsip_parser_header_P_Called_Party_ID.rl b/trunk/tinySIP/ragel/tsip_parser_header_P_Called_Party_ID.rl index e69de29b..d3f5a12f 100644 --- a/trunk/tinySIP/ragel/tsip_parser_header_P_Called_Party_ID.rl +++ b/trunk/tinySIP/ragel/tsip_parser_header_P_Called_Party_ID.rl @@ -0,0 +1 @@ + diff --git a/trunk/tinySIP/ragel/tsip_parser_header_P_Charging_Function_Addresses.rl b/trunk/tinySIP/ragel/tsip_parser_header_P_Charging_Function_Addresses.rl index 292c8a57..36d91377 100644 --- a/trunk/tinySIP/ragel/tsip_parser_header_P_Charging_Function_Addresses.rl +++ b/trunk/tinySIP/ragel/tsip_parser_header_P_Charging_Function_Addresses.rl @@ -201,4 +201,4 @@ static const tsk_object_def_t tsip_header_P_Charging_Function_Addresses_def_s = tsip_header_P_Charging_Function_Addresses_destroy, 0 }; -const void *tsip_header_P_Charging_Function_Addresses_def_t = &tsip_header_P_Charging_Function_Addresses_def_s; \ No newline at end of file +const void *tsip_header_P_Charging_Function_Addresses_def_t = &tsip_header_P_Charging_Function_Addresses_def_s; diff --git a/trunk/tinySIP/ragel/tsip_parser_header_P_Charging_Vector.rl b/trunk/tinySIP/ragel/tsip_parser_header_P_Charging_Vector.rl index e69de29b..d3f5a12f 100644 --- a/trunk/tinySIP/ragel/tsip_parser_header_P_Charging_Vector.rl +++ b/trunk/tinySIP/ragel/tsip_parser_header_P_Charging_Vector.rl @@ -0,0 +1 @@ + diff --git a/trunk/tinySIP/ragel/tsip_parser_header_P_DCS_Billing_Info.rl b/trunk/tinySIP/ragel/tsip_parser_header_P_DCS_Billing_Info.rl index e69de29b..d3f5a12f 100644 --- a/trunk/tinySIP/ragel/tsip_parser_header_P_DCS_Billing_Info.rl +++ b/trunk/tinySIP/ragel/tsip_parser_header_P_DCS_Billing_Info.rl @@ -0,0 +1 @@ + diff --git a/trunk/tinySIP/ragel/tsip_parser_header_P_DCS_LAES.rl b/trunk/tinySIP/ragel/tsip_parser_header_P_DCS_LAES.rl index e69de29b..d3f5a12f 100644 --- a/trunk/tinySIP/ragel/tsip_parser_header_P_DCS_LAES.rl +++ b/trunk/tinySIP/ragel/tsip_parser_header_P_DCS_LAES.rl @@ -0,0 +1 @@ + diff --git a/trunk/tinySIP/ragel/tsip_parser_header_P_DCS_OSPS.rl b/trunk/tinySIP/ragel/tsip_parser_header_P_DCS_OSPS.rl index e69de29b..d3f5a12f 100644 --- a/trunk/tinySIP/ragel/tsip_parser_header_P_DCS_OSPS.rl +++ b/trunk/tinySIP/ragel/tsip_parser_header_P_DCS_OSPS.rl @@ -0,0 +1 @@ + diff --git a/trunk/tinySIP/ragel/tsip_parser_header_P_DCS_Redirect.rl b/trunk/tinySIP/ragel/tsip_parser_header_P_DCS_Redirect.rl index e69de29b..d3f5a12f 100644 --- a/trunk/tinySIP/ragel/tsip_parser_header_P_DCS_Redirect.rl +++ b/trunk/tinySIP/ragel/tsip_parser_header_P_DCS_Redirect.rl @@ -0,0 +1 @@ + diff --git a/trunk/tinySIP/ragel/tsip_parser_header_P_DCS_Trace_Party_ID.rl b/trunk/tinySIP/ragel/tsip_parser_header_P_DCS_Trace_Party_ID.rl index e69de29b..d3f5a12f 100644 --- a/trunk/tinySIP/ragel/tsip_parser_header_P_DCS_Trace_Party_ID.rl +++ b/trunk/tinySIP/ragel/tsip_parser_header_P_DCS_Trace_Party_ID.rl @@ -0,0 +1 @@ + diff --git a/trunk/tinySIP/ragel/tsip_parser_header_P_Early_Media.rl b/trunk/tinySIP/ragel/tsip_parser_header_P_Early_Media.rl index e69de29b..d3f5a12f 100644 --- a/trunk/tinySIP/ragel/tsip_parser_header_P_Early_Media.rl +++ b/trunk/tinySIP/ragel/tsip_parser_header_P_Early_Media.rl @@ -0,0 +1 @@ + diff --git a/trunk/tinySIP/ragel/tsip_parser_header_P_Media_Authorization.rl b/trunk/tinySIP/ragel/tsip_parser_header_P_Media_Authorization.rl index e69de29b..d3f5a12f 100644 --- a/trunk/tinySIP/ragel/tsip_parser_header_P_Media_Authorization.rl +++ b/trunk/tinySIP/ragel/tsip_parser_header_P_Media_Authorization.rl @@ -0,0 +1 @@ + diff --git a/trunk/tinySIP/ragel/tsip_parser_header_P_Preferred_Identity.rl b/trunk/tinySIP/ragel/tsip_parser_header_P_Preferred_Identity.rl index cb646fd3..708fd8e3 100644 --- a/trunk/tinySIP/ragel/tsip_parser_header_P_Preferred_Identity.rl +++ b/trunk/tinySIP/ragel/tsip_parser_header_P_Preferred_Identity.rl @@ -181,4 +181,4 @@ static const tsk_object_def_t tsip_header_P_Preferred_Identity_def_s = tsip_header_P_Preferred_Identity_destroy, 0 }; -const void *tsip_header_P_Preferred_Identity_def_t = &tsip_header_P_Preferred_Identity_def_s; \ No newline at end of file +const void *tsip_header_P_Preferred_Identity_def_t = &tsip_header_P_Preferred_Identity_def_s; diff --git a/trunk/tinySIP/ragel/tsip_parser_header_P_Profile_Key.rl b/trunk/tinySIP/ragel/tsip_parser_header_P_Profile_Key.rl index e69de29b..d3f5a12f 100644 --- a/trunk/tinySIP/ragel/tsip_parser_header_P_Profile_Key.rl +++ b/trunk/tinySIP/ragel/tsip_parser_header_P_Profile_Key.rl @@ -0,0 +1 @@ + diff --git a/trunk/tinySIP/ragel/tsip_parser_header_P_User_Database.rl b/trunk/tinySIP/ragel/tsip_parser_header_P_User_Database.rl index e69de29b..d3f5a12f 100644 --- a/trunk/tinySIP/ragel/tsip_parser_header_P_User_Database.rl +++ b/trunk/tinySIP/ragel/tsip_parser_header_P_User_Database.rl @@ -0,0 +1 @@ + diff --git a/trunk/tinySIP/ragel/tsip_parser_header_P_Visited_Network_ID.rl b/trunk/tinySIP/ragel/tsip_parser_header_P_Visited_Network_ID.rl index e69de29b..d3f5a12f 100644 --- a/trunk/tinySIP/ragel/tsip_parser_header_P_Visited_Network_ID.rl +++ b/trunk/tinySIP/ragel/tsip_parser_header_P_Visited_Network_ID.rl @@ -0,0 +1 @@ + diff --git a/trunk/tinySIP/ragel/tsip_parser_header_Path.rl b/trunk/tinySIP/ragel/tsip_parser_header_Path.rl index a3b5b5fb..e25689ff 100644 --- a/trunk/tinySIP/ragel/tsip_parser_header_Path.rl +++ b/trunk/tinySIP/ragel/tsip_parser_header_Path.rl @@ -213,4 +213,4 @@ static const tsk_object_def_t tsip_header_Path_def_s = tsip_header_Path_destroy, 0 }; -const void *tsip_header_Path_def_t = &tsip_header_Path_def_s; \ No newline at end of file +const void *tsip_header_Path_def_t = &tsip_header_Path_def_s; diff --git a/trunk/tinySIP/ragel/tsip_parser_header_Priority.rl b/trunk/tinySIP/ragel/tsip_parser_header_Priority.rl index e69de29b..d3f5a12f 100644 --- a/trunk/tinySIP/ragel/tsip_parser_header_Priority.rl +++ b/trunk/tinySIP/ragel/tsip_parser_header_Priority.rl @@ -0,0 +1 @@ + diff --git a/trunk/tinySIP/ragel/tsip_parser_header_Privacy.rl b/trunk/tinySIP/ragel/tsip_parser_header_Privacy.rl index 3226c846..95a22467 100644 --- a/trunk/tinySIP/ragel/tsip_parser_header_Privacy.rl +++ b/trunk/tinySIP/ragel/tsip_parser_header_Privacy.rl @@ -178,4 +178,4 @@ static const tsk_object_def_t tsip_header_Privacy_def_s = tsip_header_Privacy_destroy, 0 }; -const void *tsip_header_Privacy_def_t = &tsip_header_Privacy_def_s; \ No newline at end of file +const void *tsip_header_Privacy_def_t = &tsip_header_Privacy_def_s; diff --git a/trunk/tinySIP/ragel/tsip_parser_header_Proxy_Authenticate.rl b/trunk/tinySIP/ragel/tsip_parser_header_Proxy_Authenticate.rl index da690813..cadd26a1 100644 --- a/trunk/tinySIP/ragel/tsip_parser_header_Proxy_Authenticate.rl +++ b/trunk/tinySIP/ragel/tsip_parser_header_Proxy_Authenticate.rl @@ -247,4 +247,4 @@ // tsip_header_Proxy_Authenticate_destroy, // 0 //}; -//const void *tsip_header_Proxy_Authenticate_def_t = &tsip_header_Proxy_Authenticate_def_s; \ No newline at end of file +//const void *tsip_header_Proxy_Authenticate_def_t = &tsip_header_Proxy_Authenticate_def_s; diff --git a/trunk/tinySIP/ragel/tsip_parser_header_Proxy_Authorization.rl b/trunk/tinySIP/ragel/tsip_parser_header_Proxy_Authorization.rl index 2cdbc3fd..e5321c90 100644 --- a/trunk/tinySIP/ragel/tsip_parser_header_Proxy_Authorization.rl +++ b/trunk/tinySIP/ragel/tsip_parser_header_Proxy_Authorization.rl @@ -288,4 +288,4 @@ // tsip_header_Proxy_Authorization_destroy, // 0 //}; -//const void *tsip_header_Proxy_Authorization_def_t = &tsip_header_Proxy_Authorization_def_s; \ No newline at end of file +//const void *tsip_header_Proxy_Authorization_def_t = &tsip_header_Proxy_Authorization_def_s; diff --git a/trunk/tinySIP/ragel/tsip_parser_header_Proxy_Require.rl b/trunk/tinySIP/ragel/tsip_parser_header_Proxy_Require.rl index e69de29b..d3f5a12f 100644 --- a/trunk/tinySIP/ragel/tsip_parser_header_Proxy_Require.rl +++ b/trunk/tinySIP/ragel/tsip_parser_header_Proxy_Require.rl @@ -0,0 +1 @@ + diff --git a/trunk/tinySIP/ragel/tsip_parser_header_RAck.rl b/trunk/tinySIP/ragel/tsip_parser_header_RAck.rl index e69de29b..d3f5a12f 100644 --- a/trunk/tinySIP/ragel/tsip_parser_header_RAck.rl +++ b/trunk/tinySIP/ragel/tsip_parser_header_RAck.rl @@ -0,0 +1 @@ + diff --git a/trunk/tinySIP/ragel/tsip_parser_header_RSeq.rl b/trunk/tinySIP/ragel/tsip_parser_header_RSeq.rl index e69de29b..d3f5a12f 100644 --- a/trunk/tinySIP/ragel/tsip_parser_header_RSeq.rl +++ b/trunk/tinySIP/ragel/tsip_parser_header_RSeq.rl @@ -0,0 +1 @@ + diff --git a/trunk/tinySIP/ragel/tsip_parser_header_Reason.rl b/trunk/tinySIP/ragel/tsip_parser_header_Reason.rl index e69de29b..d3f5a12f 100644 --- a/trunk/tinySIP/ragel/tsip_parser_header_Reason.rl +++ b/trunk/tinySIP/ragel/tsip_parser_header_Reason.rl @@ -0,0 +1 @@ + diff --git a/trunk/tinySIP/ragel/tsip_parser_header_Record_Route.rl b/trunk/tinySIP/ragel/tsip_parser_header_Record_Route.rl index 19a93a2f..c0d643c9 100644 --- a/trunk/tinySIP/ragel/tsip_parser_header_Record_Route.rl +++ b/trunk/tinySIP/ragel/tsip_parser_header_Record_Route.rl @@ -155,4 +155,4 @@ static const tsk_object_def_t tsip_header_Record_Route_def_s = tsip_header_Record_Route_destroy, 0 }; -const void *tsip_header_Record_Route_def_t = &tsip_header_Record_Route_def_s; \ No newline at end of file +const void *tsip_header_Record_Route_def_t = &tsip_header_Record_Route_def_s; diff --git a/trunk/tinySIP/ragel/tsip_parser_header_Refer_Sub.rl b/trunk/tinySIP/ragel/tsip_parser_header_Refer_Sub.rl index e69de29b..d3f5a12f 100644 --- a/trunk/tinySIP/ragel/tsip_parser_header_Refer_Sub.rl +++ b/trunk/tinySIP/ragel/tsip_parser_header_Refer_Sub.rl @@ -0,0 +1 @@ + diff --git a/trunk/tinySIP/ragel/tsip_parser_header_Refer_To.rl b/trunk/tinySIP/ragel/tsip_parser_header_Refer_To.rl index e69de29b..d3f5a12f 100644 --- a/trunk/tinySIP/ragel/tsip_parser_header_Refer_To.rl +++ b/trunk/tinySIP/ragel/tsip_parser_header_Refer_To.rl @@ -0,0 +1 @@ + diff --git a/trunk/tinySIP/ragel/tsip_parser_header_Referred_By.rl b/trunk/tinySIP/ragel/tsip_parser_header_Referred_By.rl index e69de29b..d3f5a12f 100644 --- a/trunk/tinySIP/ragel/tsip_parser_header_Referred_By.rl +++ b/trunk/tinySIP/ragel/tsip_parser_header_Referred_By.rl @@ -0,0 +1 @@ + diff --git a/trunk/tinySIP/ragel/tsip_parser_header_Reject_Contact.rl b/trunk/tinySIP/ragel/tsip_parser_header_Reject_Contact.rl index e69de29b..d3f5a12f 100644 --- a/trunk/tinySIP/ragel/tsip_parser_header_Reject_Contact.rl +++ b/trunk/tinySIP/ragel/tsip_parser_header_Reject_Contact.rl @@ -0,0 +1 @@ + diff --git a/trunk/tinySIP/ragel/tsip_parser_header_Replaces.rl b/trunk/tinySIP/ragel/tsip_parser_header_Replaces.rl index e69de29b..d3f5a12f 100644 --- a/trunk/tinySIP/ragel/tsip_parser_header_Replaces.rl +++ b/trunk/tinySIP/ragel/tsip_parser_header_Replaces.rl @@ -0,0 +1 @@ + diff --git a/trunk/tinySIP/ragel/tsip_parser_header_Reply_To.rl b/trunk/tinySIP/ragel/tsip_parser_header_Reply_To.rl index e69de29b..d3f5a12f 100644 --- a/trunk/tinySIP/ragel/tsip_parser_header_Reply_To.rl +++ b/trunk/tinySIP/ragel/tsip_parser_header_Reply_To.rl @@ -0,0 +1 @@ + diff --git a/trunk/tinySIP/ragel/tsip_parser_header_Request_Disposition.rl b/trunk/tinySIP/ragel/tsip_parser_header_Request_Disposition.rl index e69de29b..d3f5a12f 100644 --- a/trunk/tinySIP/ragel/tsip_parser_header_Request_Disposition.rl +++ b/trunk/tinySIP/ragel/tsip_parser_header_Request_Disposition.rl @@ -0,0 +1 @@ + diff --git a/trunk/tinySIP/ragel/tsip_parser_header_Require.rl b/trunk/tinySIP/ragel/tsip_parser_header_Require.rl index 91ea3d49..44eae53b 100644 --- a/trunk/tinySIP/ragel/tsip_parser_header_Require.rl +++ b/trunk/tinySIP/ragel/tsip_parser_header_Require.rl @@ -167,4 +167,4 @@ static const tsk_object_def_t tsip_header_Require_def_s = tsip_header_Require_destroy, 0 }; -const void *tsip_header_Require_def_t = &tsip_header_Require_def_s; \ No newline at end of file +const void *tsip_header_Require_def_t = &tsip_header_Require_def_s; diff --git a/trunk/tinySIP/ragel/tsip_parser_header_Resource_Priority.rl b/trunk/tinySIP/ragel/tsip_parser_header_Resource_Priority.rl index e69de29b..d3f5a12f 100644 --- a/trunk/tinySIP/ragel/tsip_parser_header_Resource_Priority.rl +++ b/trunk/tinySIP/ragel/tsip_parser_header_Resource_Priority.rl @@ -0,0 +1 @@ + diff --git a/trunk/tinySIP/ragel/tsip_parser_header_Retry_After.rl b/trunk/tinySIP/ragel/tsip_parser_header_Retry_After.rl index e69de29b..d3f5a12f 100644 --- a/trunk/tinySIP/ragel/tsip_parser_header_Retry_After.rl +++ b/trunk/tinySIP/ragel/tsip_parser_header_Retry_After.rl @@ -0,0 +1 @@ + diff --git a/trunk/tinySIP/ragel/tsip_parser_header_Route.rl b/trunk/tinySIP/ragel/tsip_parser_header_Route.rl index 6cfa996d..47debec1 100644 --- a/trunk/tinySIP/ragel/tsip_parser_header_Route.rl +++ b/trunk/tinySIP/ragel/tsip_parser_header_Route.rl @@ -217,4 +217,4 @@ static const tsk_object_def_t tsip_header_Route_def_s = tsip_header_Route_destroy, 0 }; -const void *tsip_header_Route_def_t = &tsip_header_Route_def_s; \ No newline at end of file +const void *tsip_header_Route_def_t = &tsip_header_Route_def_s; diff --git a/trunk/tinySIP/ragel/tsip_parser_header_SIP_ETag.rl b/trunk/tinySIP/ragel/tsip_parser_header_SIP_ETag.rl index e69de29b..d3f5a12f 100644 --- a/trunk/tinySIP/ragel/tsip_parser_header_SIP_ETag.rl +++ b/trunk/tinySIP/ragel/tsip_parser_header_SIP_ETag.rl @@ -0,0 +1 @@ + diff --git a/trunk/tinySIP/ragel/tsip_parser_header_SIP_If_Match.rl b/trunk/tinySIP/ragel/tsip_parser_header_SIP_If_Match.rl index e69de29b..d3f5a12f 100644 --- a/trunk/tinySIP/ragel/tsip_parser_header_SIP_If_Match.rl +++ b/trunk/tinySIP/ragel/tsip_parser_header_SIP_If_Match.rl @@ -0,0 +1 @@ + diff --git a/trunk/tinySIP/ragel/tsip_parser_header_Security_Client.rl b/trunk/tinySIP/ragel/tsip_parser_header_Security_Client.rl index 651ea929..dbc2d4c2 100644 --- a/trunk/tinySIP/ragel/tsip_parser_header_Security_Client.rl +++ b/trunk/tinySIP/ragel/tsip_parser_header_Security_Client.rl @@ -285,4 +285,4 @@ static const tsk_object_def_t tsip_header_Security_Client_def_s = tsip_header_Security_Client_destroy, 0 }; -const void *tsip_header_Security_Client_def_t = &tsip_header_Security_Client_def_s; \ No newline at end of file +const void *tsip_header_Security_Client_def_t = &tsip_header_Security_Client_def_s; diff --git a/trunk/tinySIP/ragel/tsip_parser_header_Security_Server.rl b/trunk/tinySIP/ragel/tsip_parser_header_Security_Server.rl index e69de29b..d3f5a12f 100644 --- a/trunk/tinySIP/ragel/tsip_parser_header_Security_Server.rl +++ b/trunk/tinySIP/ragel/tsip_parser_header_Security_Server.rl @@ -0,0 +1 @@ + diff --git a/trunk/tinySIP/ragel/tsip_parser_header_Security_Verify.rl b/trunk/tinySIP/ragel/tsip_parser_header_Security_Verify.rl index e69de29b..d3f5a12f 100644 --- a/trunk/tinySIP/ragel/tsip_parser_header_Security_Verify.rl +++ b/trunk/tinySIP/ragel/tsip_parser_header_Security_Verify.rl @@ -0,0 +1 @@ + diff --git a/trunk/tinySIP/ragel/tsip_parser_header_Server.rl b/trunk/tinySIP/ragel/tsip_parser_header_Server.rl index d50de261..21489bfa 100644 --- a/trunk/tinySIP/ragel/tsip_parser_header_Server.rl +++ b/trunk/tinySIP/ragel/tsip_parser_header_Server.rl @@ -161,4 +161,4 @@ static const tsk_object_def_t tsip_header_Server_def_s = tsip_header_Server_destroy, 0 }; -const void *tsip_header_Server_def_t = &tsip_header_Server_def_s; \ No newline at end of file +const void *tsip_header_Server_def_t = &tsip_header_Server_def_s; diff --git a/trunk/tinySIP/ragel/tsip_parser_header_Service_Route.rl b/trunk/tinySIP/ragel/tsip_parser_header_Service_Route.rl index dcd58bf9..4722ced8 100644 --- a/trunk/tinySIP/ragel/tsip_parser_header_Service_Route.rl +++ b/trunk/tinySIP/ragel/tsip_parser_header_Service_Route.rl @@ -213,4 +213,4 @@ static const tsk_object_def_t tsip_header_Service_Route_def_s = tsip_header_Service_Route_destroy, 0 }; -const void *tsip_header_Service_Route_def_t = &tsip_header_Service_Route_def_s; \ No newline at end of file +const void *tsip_header_Service_Route_def_t = &tsip_header_Service_Route_def_s; diff --git a/trunk/tinySIP/ragel/tsip_parser_header_Session_Expires.rl b/trunk/tinySIP/ragel/tsip_parser_header_Session_Expires.rl index e69de29b..d3f5a12f 100644 --- a/trunk/tinySIP/ragel/tsip_parser_header_Session_Expires.rl +++ b/trunk/tinySIP/ragel/tsip_parser_header_Session_Expires.rl @@ -0,0 +1 @@ + diff --git a/trunk/tinySIP/ragel/tsip_parser_header_Subject.rl b/trunk/tinySIP/ragel/tsip_parser_header_Subject.rl index e69de29b..d3f5a12f 100644 --- a/trunk/tinySIP/ragel/tsip_parser_header_Subject.rl +++ b/trunk/tinySIP/ragel/tsip_parser_header_Subject.rl @@ -0,0 +1 @@ + diff --git a/trunk/tinySIP/ragel/tsip_parser_header_Subscription_State.rl b/trunk/tinySIP/ragel/tsip_parser_header_Subscription_State.rl index e99eb2b4..71ef7fce 100644 --- a/trunk/tinySIP/ragel/tsip_parser_header_Subscription_State.rl +++ b/trunk/tinySIP/ragel/tsip_parser_header_Subscription_State.rl @@ -190,4 +190,4 @@ static const tsk_object_def_t tsip_header_Subscription_State_def_s = tsip_header_Subscription_State_destroy, 0 }; -const void *tsip_header_Subscription_State_def_t = &tsip_header_Subscription_State_def_s; \ No newline at end of file +const void *tsip_header_Subscription_State_def_t = &tsip_header_Subscription_State_def_s; diff --git a/trunk/tinySIP/ragel/tsip_parser_header_Supported.rl b/trunk/tinySIP/ragel/tsip_parser_header_Supported.rl index d36119f7..7ac3984a 100644 --- a/trunk/tinySIP/ragel/tsip_parser_header_Supported.rl +++ b/trunk/tinySIP/ragel/tsip_parser_header_Supported.rl @@ -176,4 +176,4 @@ static const tsk_object_def_t tsip_header_Supported_def_s = tsip_header_Supported_destroy, 0 }; -const void *tsip_header_Supported_def_t = &tsip_header_Supported_def_s; \ No newline at end of file +const void *tsip_header_Supported_def_t = &tsip_header_Supported_def_s; diff --git a/trunk/tinySIP/ragel/tsip_parser_header_Target_Dialog.rl b/trunk/tinySIP/ragel/tsip_parser_header_Target_Dialog.rl index e69de29b..d3f5a12f 100644 --- a/trunk/tinySIP/ragel/tsip_parser_header_Target_Dialog.rl +++ b/trunk/tinySIP/ragel/tsip_parser_header_Target_Dialog.rl @@ -0,0 +1 @@ + diff --git a/trunk/tinySIP/ragel/tsip_parser_header_Timestamp.rl b/trunk/tinySIP/ragel/tsip_parser_header_Timestamp.rl index e69de29b..d3f5a12f 100644 --- a/trunk/tinySIP/ragel/tsip_parser_header_Timestamp.rl +++ b/trunk/tinySIP/ragel/tsip_parser_header_Timestamp.rl @@ -0,0 +1 @@ + diff --git a/trunk/tinySIP/ragel/tsip_parser_header_To.rl b/trunk/tinySIP/ragel/tsip_parser_header_To.rl index 58d8ec0c..3c29ef95 100644 --- a/trunk/tinySIP/ragel/tsip_parser_header_To.rl +++ b/trunk/tinySIP/ragel/tsip_parser_header_To.rl @@ -190,4 +190,4 @@ static const tsk_object_def_t tsip_header_To_def_s = tsip_header_To_destroy, 0 }; -const void *tsip_header_To_def_t = &tsip_header_To_def_s; \ No newline at end of file +const void *tsip_header_To_def_t = &tsip_header_To_def_s; diff --git a/trunk/tinySIP/ragel/tsip_parser_header_Unsupported.rl b/trunk/tinySIP/ragel/tsip_parser_header_Unsupported.rl index e69de29b..d3f5a12f 100644 --- a/trunk/tinySIP/ragel/tsip_parser_header_Unsupported.rl +++ b/trunk/tinySIP/ragel/tsip_parser_header_Unsupported.rl @@ -0,0 +1 @@ + diff --git a/trunk/tinySIP/ragel/tsip_parser_header_User_Agent.rl b/trunk/tinySIP/ragel/tsip_parser_header_User_Agent.rl index cbde0f60..d2862fda 100644 --- a/trunk/tinySIP/ragel/tsip_parser_header_User_Agent.rl +++ b/trunk/tinySIP/ragel/tsip_parser_header_User_Agent.rl @@ -156,4 +156,4 @@ static const tsk_object_def_t tsip_header_User_Agent_def_s = tsip_header_User_Agent_destroy, 0 }; -const void *tsip_header_User_Agent_def_t = &tsip_header_User_Agent_def_s; \ No newline at end of file +const void *tsip_header_User_Agent_def_t = &tsip_header_User_Agent_def_s; diff --git a/trunk/tinySIP/ragel/tsip_parser_header_Via.rl b/trunk/tinySIP/ragel/tsip_parser_header_Via.rl index 541526eb..bfb8cfae 100644 --- a/trunk/tinySIP/ragel/tsip_parser_header_Via.rl +++ b/trunk/tinySIP/ragel/tsip_parser_header_Via.rl @@ -296,4 +296,4 @@ static const tsk_object_def_t tsip_header_Via_def_s = tsip_header_Via_destroy, 0 }; -const void *tsip_header_Via_def_t = &tsip_header_Via_def_s; \ No newline at end of file +const void *tsip_header_Via_def_t = &tsip_header_Via_def_s; diff --git a/trunk/tinySIP/ragel/tsip_parser_header_WWW_Authenticate.rl b/trunk/tinySIP/ragel/tsip_parser_header_WWW_Authenticate.rl index 34a2fee4..89ef0c65 100644 --- a/trunk/tinySIP/ragel/tsip_parser_header_WWW_Authenticate.rl +++ b/trunk/tinySIP/ragel/tsip_parser_header_WWW_Authenticate.rl @@ -247,4 +247,4 @@ // tsip_header_WWW_Authenticate_destroy, // 0 //}; -//const void *tsip_header_WWW_Authenticate_def_t = &tsip_header_WWW_Authenticate_def_s; \ No newline at end of file +//const void *tsip_header_WWW_Authenticate_def_t = &tsip_header_WWW_Authenticate_def_s; diff --git a/trunk/tinySIP/ragel/tsip_parser_header_Warning.rl b/trunk/tinySIP/ragel/tsip_parser_header_Warning.rl index 25557f94..9875a72b 100644 --- a/trunk/tinySIP/ragel/tsip_parser_header_Warning.rl +++ b/trunk/tinySIP/ragel/tsip_parser_header_Warning.rl @@ -197,4 +197,4 @@ static const tsk_object_def_t tsip_header_Warning_def_s = tsip_header_Warning_destroy, 0 }; -const void *tsip_header_Warning_def_t = &tsip_header_Warning_def_s; \ No newline at end of file +const void *tsip_header_Warning_def_t = &tsip_header_Warning_def_s; diff --git a/trunk/tinySIP/ragel/tsip_parser_message.rl b/trunk/tinySIP/ragel/tsip_parser_message.rl index 9c0f9b48..783b27ee 100644 --- a/trunk/tinySIP/ragel/tsip_parser_message.rl +++ b/trunk/tinySIP/ragel/tsip_parser_message.rl @@ -269,4 +269,4 @@ static void tsip_message_parser_eoh(tsk_ragel_state_t *state, tsip_message_t *me state->p = p; state->pe = pe; state->eof = eof; -} \ No newline at end of file +} diff --git a/trunk/tinySIP/ragel/tsip_parser_uri.rl b/trunk/tinySIP/ragel/tsip_parser_uri.rl index a10d20af..8e8d4fce 100644 --- a/trunk/tinySIP/ragel/tsip_parser_uri.rl +++ b/trunk/tinySIP/ragel/tsip_parser_uri.rl @@ -175,4 +175,4 @@ tsip_uri_t *tsip_uri_parse(const char *data, size_t size) } return uri; -} \ No newline at end of file +} diff --git a/trunk/tinySIP/src/dialogs/tsip_dialog_subscribe.client.c b/trunk/tinySIP/src/dialogs/tsip_dialog_subscribe.client.c index bd8f46c6..73e6e911 100644 --- a/trunk/tinySIP/src/dialogs/tsip_dialog_subscribe.client.c +++ b/trunk/tinySIP/src/dialogs/tsip_dialog_subscribe.client.c @@ -699,4 +699,4 @@ static const tsk_object_def_t tsip_dialog_subscribe_def_s = tsip_dialog_subscribe_destroy, tsip_dialog_subscribe_cmp, }; -const void *tsip_dialog_subscribe_def_t = &tsip_dialog_subscribe_def_s; \ No newline at end of file +const void *tsip_dialog_subscribe_def_t = &tsip_dialog_subscribe_def_s; diff --git a/trunk/tinySIP/src/headers/tsip_header_Allow.c b/trunk/tinySIP/src/headers/tsip_header_Allow.c index b818d96d..e3c26c61 100644 --- a/trunk/tinySIP/src/headers/tsip_header_Allow.c +++ b/trunk/tinySIP/src/headers/tsip_header_Allow.c @@ -344,4 +344,4 @@ static const tsk_object_def_t tsip_header_Allow_def_s = tsip_header_Allow_destroy, 0 }; -const void *tsip_header_Allow_def_t = &tsip_header_Allow_def_s; \ No newline at end of file +const void *tsip_header_Allow_def_t = &tsip_header_Allow_def_s; diff --git a/trunk/tinySIP/src/headers/tsip_header_Allow_Events.c b/trunk/tinySIP/src/headers/tsip_header_Allow_Events.c index 27d44075..766f7c84 100644 --- a/trunk/tinySIP/src/headers/tsip_header_Allow_Events.c +++ b/trunk/tinySIP/src/headers/tsip_header_Allow_Events.c @@ -351,4 +351,4 @@ static const tsk_object_def_t tsip_header_Allow_Events_def_s = tsip_header_Allow_Events_destroy, 0 }; -const void *tsip_header_Allow_Events_def_t = &tsip_header_Allow_Events_def_s; \ No newline at end of file +const void *tsip_header_Allow_Events_def_t = &tsip_header_Allow_Events_def_s; diff --git a/trunk/tinySIP/src/headers/tsip_header_Authorization.c b/trunk/tinySIP/src/headers/tsip_header_Authorization.c index 46e390aa..f75c6b89 100644 --- a/trunk/tinySIP/src/headers/tsip_header_Authorization.c +++ b/trunk/tinySIP/src/headers/tsip_header_Authorization.c @@ -179,4 +179,4 @@ static const tsk_object_def_t tsip_header_Authorization_def_s = tsip_header_Authorization_destroy, 0 }; -const void *tsip_header_Authorization_def_t = &tsip_header_Authorization_def_s; \ No newline at end of file +const void *tsip_header_Authorization_def_t = &tsip_header_Authorization_def_s; diff --git a/trunk/tinySIP/src/headers/tsip_header_CSeq.c b/trunk/tinySIP/src/headers/tsip_header_CSeq.c index 0035e6ad..335489ca 100644 --- a/trunk/tinySIP/src/headers/tsip_header_CSeq.c +++ b/trunk/tinySIP/src/headers/tsip_header_CSeq.c @@ -327,4 +327,5 @@ static const tsk_object_def_t tsip_header_CSeq_def_s = tsip_header_CSeq_destroy, 0 }; -const void *tsip_header_CSeq_def_t = &tsip_header_CSeq_def_s; \ No newline at end of file +const void *tsip_header_CSeq_def_t = &tsip_header_CSeq_def_s; + diff --git a/trunk/tinySIP/src/headers/tsip_header_Call_ID.c b/trunk/tinySIP/src/headers/tsip_header_Call_ID.c index 06ad6b2b..fa9a200d 100644 --- a/trunk/tinySIP/src/headers/tsip_header_Call_ID.c +++ b/trunk/tinySIP/src/headers/tsip_header_Call_ID.c @@ -335,4 +335,4 @@ static const tsk_object_def_t tsip_header_Call_ID_def_s = tsip_header_Call_ID_destroy, 0 }; -const void *tsip_header_Call_ID_def_t = &tsip_header_Call_ID_def_s; \ No newline at end of file +const void *tsip_header_Call_ID_def_t = &tsip_header_Call_ID_def_s; diff --git a/trunk/tinySIP/src/headers/tsip_header_Contact.c b/trunk/tinySIP/src/headers/tsip_header_Contact.c index e9cbefc1..9286f9f2 100644 --- a/trunk/tinySIP/src/headers/tsip_header_Contact.c +++ b/trunk/tinySIP/src/headers/tsip_header_Contact.c @@ -731,4 +731,4 @@ const void *tsip_header_Contact_def_t = &tsip_header_Contact_def_s; // tsip_contact_destroy, // 0 //}; -//const void *tsip_contact_def_t = &tsip_contact_def_s; \ No newline at end of file +//const void *tsip_contact_def_t = &tsip_contact_def_s; diff --git a/trunk/tinySIP/src/headers/tsip_header_Content_Length.c b/trunk/tinySIP/src/headers/tsip_header_Content_Length.c index 4888357b..172118a4 100644 --- a/trunk/tinySIP/src/headers/tsip_header_Content_Length.c +++ b/trunk/tinySIP/src/headers/tsip_header_Content_Length.c @@ -313,4 +313,5 @@ static const tsk_object_def_t tsip_header_Content_Length_def_s = tsip_header_Content_Length_destroy, 0 }; -const void *tsip_header_Content_Length_def_t = &tsip_header_Content_Length_def_s; \ No newline at end of file +const void *tsip_header_Content_Length_def_t = &tsip_header_Content_Length_def_s; + diff --git a/trunk/tinySIP/src/headers/tsip_header_Content_Type.c b/trunk/tinySIP/src/headers/tsip_header_Content_Type.c index 36e1e21d..6e15e39d 100644 --- a/trunk/tinySIP/src/headers/tsip_header_Content_Type.c +++ b/trunk/tinySIP/src/headers/tsip_header_Content_Type.c @@ -424,4 +424,5 @@ static const tsk_object_def_t tsip_header_Content_Type_def_s = tsip_header_Content_Type_destroy, 0 }; -const void *tsip_header_Content_Type_def_t = &tsip_header_Content_Type_def_s; \ No newline at end of file +const void *tsip_header_Content_Type_def_t = &tsip_header_Content_Type_def_s; + diff --git a/trunk/tinySIP/src/headers/tsip_header_Event.c b/trunk/tinySIP/src/headers/tsip_header_Event.c index b4a76ff9..569141dd 100644 --- a/trunk/tinySIP/src/headers/tsip_header_Event.c +++ b/trunk/tinySIP/src/headers/tsip_header_Event.c @@ -465,4 +465,5 @@ static const tsk_object_def_t tsip_header_Event_def_s = tsip_header_Event_destroy, 0 }; -const void *tsip_header_Event_def_t = &tsip_header_Event_def_s; \ No newline at end of file +const void *tsip_header_Event_def_t = &tsip_header_Event_def_s; + diff --git a/trunk/tinySIP/src/headers/tsip_header_Expires.c b/trunk/tinySIP/src/headers/tsip_header_Expires.c index b37d55c1..6d91eb16 100644 --- a/trunk/tinySIP/src/headers/tsip_header_Expires.c +++ b/trunk/tinySIP/src/headers/tsip_header_Expires.c @@ -305,4 +305,5 @@ static const tsk_object_def_t tsip_header_Expires_def_s = tsip_header_Expires_destroy, 0 }; -const void *tsip_header_Expires_def_t = &tsip_header_Expires_def_s; \ No newline at end of file +const void *tsip_header_Expires_def_t = &tsip_header_Expires_def_s; + diff --git a/trunk/tinySIP/src/headers/tsip_header_From.c b/trunk/tinySIP/src/headers/tsip_header_From.c index d5af3b7f..c439b474 100644 --- a/trunk/tinySIP/src/headers/tsip_header_From.c +++ b/trunk/tinySIP/src/headers/tsip_header_From.c @@ -583,4 +583,5 @@ static const tsk_object_def_t tsip_header_From_def_s = tsip_header_From_destroy, 0 }; -const void *tsip_header_From_def_t = &tsip_header_From_def_s; \ No newline at end of file +const void *tsip_header_From_def_t = &tsip_header_From_def_s; + diff --git a/trunk/tinySIP/src/headers/tsip_header_Max_Forwards.c b/trunk/tinySIP/src/headers/tsip_header_Max_Forwards.c index 949a98b8..0e667347 100644 --- a/trunk/tinySIP/src/headers/tsip_header_Max_Forwards.c +++ b/trunk/tinySIP/src/headers/tsip_header_Max_Forwards.c @@ -314,4 +314,4 @@ static const tsk_object_def_t tsip_header_Max_Forwards_def_s = tsip_header_Max_Forwards_destroy, 0 }; -const void *tsip_header_Max_Forwards_def_t = &tsip_header_Max_Forwards_def_s; \ No newline at end of file +const void *tsip_header_Max_Forwards_def_t = &tsip_header_Max_Forwards_def_s; diff --git a/trunk/tinySIP/src/headers/tsip_header_Min_Expires.c b/trunk/tinySIP/src/headers/tsip_header_Min_Expires.c index d3359420..ad132566 100644 --- a/trunk/tinySIP/src/headers/tsip_header_Min_Expires.c +++ b/trunk/tinySIP/src/headers/tsip_header_Min_Expires.c @@ -315,4 +315,4 @@ static const tsk_object_def_t tsip_header_Min_Expires_def_s = tsip_header_Min_Expires_destroy, 0 }; -const void *tsip_header_Min_Expires_def_t = &tsip_header_Min_Expires_def_s; \ No newline at end of file +const void *tsip_header_Min_Expires_def_t = &tsip_header_Min_Expires_def_s; diff --git a/trunk/tinySIP/src/headers/tsip_header_P_Access_Network_Info.c b/trunk/tinySIP/src/headers/tsip_header_P_Access_Network_Info.c index 293dfb29..7c5fe65f 100644 --- a/trunk/tinySIP/src/headers/tsip_header_P_Access_Network_Info.c +++ b/trunk/tinySIP/src/headers/tsip_header_P_Access_Network_Info.c @@ -335,4 +335,4 @@ static const tsk_object_def_t tsip_header_P_Access_Network_Info_def_s = tsip_header_P_Access_Network_Info_destroy, 0 }; -const void *tsip_header_P_Access_Network_Info_def_t = &tsip_header_P_Access_Network_Info_def_s; \ No newline at end of file +const void *tsip_header_P_Access_Network_Info_def_t = &tsip_header_P_Access_Network_Info_def_s; diff --git a/trunk/tinySIP/src/headers/tsip_header_P_Asserted_Identity.c b/trunk/tinySIP/src/headers/tsip_header_P_Asserted_Identity.c index 06e1f210..dfb3095b 100644 --- a/trunk/tinySIP/src/headers/tsip_header_P_Asserted_Identity.c +++ b/trunk/tinySIP/src/headers/tsip_header_P_Asserted_Identity.c @@ -1520,4 +1520,4 @@ static const tsk_object_def_t tsip_header_P_Asserted_Identity_def_s = tsip_header_P_Asserted_Identity_destroy, 0 }; -const void *tsip_header_P_Asserted_Identity_def_t = &tsip_header_P_Asserted_Identity_def_s; \ No newline at end of file +const void *tsip_header_P_Asserted_Identity_def_t = &tsip_header_P_Asserted_Identity_def_s; diff --git a/trunk/tinySIP/src/headers/tsip_header_P_Associated_URI.c b/trunk/tinySIP/src/headers/tsip_header_P_Associated_URI.c index 9903b39a..02972992 100644 --- a/trunk/tinySIP/src/headers/tsip_header_P_Associated_URI.c +++ b/trunk/tinySIP/src/headers/tsip_header_P_Associated_URI.c @@ -569,4 +569,4 @@ static const tsk_object_def_t tsip_header_P_Associated_URI_def_s = tsip_header_P_Associated_URI_destroy, 0 }; -const void *tsip_header_P_Associated_URI_def_t = &tsip_header_P_Associated_URI_def_s; \ No newline at end of file +const void *tsip_header_P_Associated_URI_def_t = &tsip_header_P_Associated_URI_def_s; diff --git a/trunk/tinySIP/src/headers/tsip_header_P_Charging_Function_Addresses.c b/trunk/tinySIP/src/headers/tsip_header_P_Charging_Function_Addresses.c index d3349c06..0d48a5cc 100644 --- a/trunk/tinySIP/src/headers/tsip_header_P_Charging_Function_Addresses.c +++ b/trunk/tinySIP/src/headers/tsip_header_P_Charging_Function_Addresses.c @@ -772,4 +772,4 @@ static const tsk_object_def_t tsip_header_P_Charging_Function_Addresses_def_s = tsip_header_P_Charging_Function_Addresses_destroy, 0 }; -const void *tsip_header_P_Charging_Function_Addresses_def_t = &tsip_header_P_Charging_Function_Addresses_def_s; \ No newline at end of file +const void *tsip_header_P_Charging_Function_Addresses_def_t = &tsip_header_P_Charging_Function_Addresses_def_s; diff --git a/trunk/tinySIP/src/headers/tsip_header_P_Preferred_Identity.c b/trunk/tinySIP/src/headers/tsip_header_P_Preferred_Identity.c index 037816e8..006a1f8b 100644 --- a/trunk/tinySIP/src/headers/tsip_header_P_Preferred_Identity.c +++ b/trunk/tinySIP/src/headers/tsip_header_P_Preferred_Identity.c @@ -2014,4 +2014,4 @@ static const tsk_object_def_t tsip_header_P_Preferred_Identity_def_s = tsip_header_P_Preferred_Identity_destroy, 0 }; -const void *tsip_header_P_Preferred_Identity_def_t = &tsip_header_P_Preferred_Identity_def_s; \ No newline at end of file +const void *tsip_header_P_Preferred_Identity_def_t = &tsip_header_P_Preferred_Identity_def_s; diff --git a/trunk/tinySIP/src/headers/tsip_header_Path.c b/trunk/tinySIP/src/headers/tsip_header_Path.c index 5b8bbf0d..c05bc844 100644 --- a/trunk/tinySIP/src/headers/tsip_header_Path.c +++ b/trunk/tinySIP/src/headers/tsip_header_Path.c @@ -549,4 +549,4 @@ static const tsk_object_def_t tsip_header_Path_def_s = tsip_header_Path_destroy, 0 }; -const void *tsip_header_Path_def_t = &tsip_header_Path_def_s; \ No newline at end of file +const void *tsip_header_Path_def_t = &tsip_header_Path_def_s; diff --git a/trunk/tinySIP/src/headers/tsip_header_Privacy.c b/trunk/tinySIP/src/headers/tsip_header_Privacy.c index f5acbeac..1a4e9190 100644 --- a/trunk/tinySIP/src/headers/tsip_header_Privacy.c +++ b/trunk/tinySIP/src/headers/tsip_header_Privacy.c @@ -488,4 +488,4 @@ static const tsk_object_def_t tsip_header_Privacy_def_s = tsip_header_Privacy_destroy, 0 }; -const void *tsip_header_Privacy_def_t = &tsip_header_Privacy_def_s; \ No newline at end of file +const void *tsip_header_Privacy_def_t = &tsip_header_Privacy_def_s; diff --git a/trunk/tinySIP/src/headers/tsip_header_Proxy_Authenticate.c b/trunk/tinySIP/src/headers/tsip_header_Proxy_Authenticate.c index 3f1fc743..b6059eba 100644 --- a/trunk/tinySIP/src/headers/tsip_header_Proxy_Authenticate.c +++ b/trunk/tinySIP/src/headers/tsip_header_Proxy_Authenticate.c @@ -157,4 +157,4 @@ static const tsk_object_def_t tsip_header_Proxy_Authenticate_def_s = tsip_header_Proxy_Authenticate_destroy, 0 }; -const void *tsip_header_Proxy_Authenticate_def_t = &tsip_header_Proxy_Authenticate_def_s; \ No newline at end of file +const void *tsip_header_Proxy_Authenticate_def_t = &tsip_header_Proxy_Authenticate_def_s; diff --git a/trunk/tinySIP/src/headers/tsip_header_Proxy_Authorization.c b/trunk/tinySIP/src/headers/tsip_header_Proxy_Authorization.c index c5c82e34..f29ad9f2 100644 --- a/trunk/tinySIP/src/headers/tsip_header_Proxy_Authorization.c +++ b/trunk/tinySIP/src/headers/tsip_header_Proxy_Authorization.c @@ -180,4 +180,4 @@ static const tsk_object_def_t tsip_header_Proxy_Authorization_def_s = tsip_header_Proxy_Authorization_destroy, 0 }; -const void *tsip_header_Proxy_Authorization_def_t = &tsip_header_Proxy_Authorization_def_s; \ No newline at end of file +const void *tsip_header_Proxy_Authorization_def_t = &tsip_header_Proxy_Authorization_def_s; diff --git a/trunk/tinySIP/src/headers/tsip_header_Record_Route.c b/trunk/tinySIP/src/headers/tsip_header_Record_Route.c index 2ed9927d..6e92ff3b 100644 --- a/trunk/tinySIP/src/headers/tsip_header_Record_Route.c +++ b/trunk/tinySIP/src/headers/tsip_header_Record_Route.c @@ -316,4 +316,4 @@ static const tsk_object_def_t tsip_header_Record_Route_def_s = tsip_header_Record_Route_destroy, 0 }; -const void *tsip_header_Record_Route_def_t = &tsip_header_Record_Route_def_s; \ No newline at end of file +const void *tsip_header_Record_Route_def_t = &tsip_header_Record_Route_def_s; diff --git a/trunk/tinySIP/src/headers/tsip_header_Require.c b/trunk/tinySIP/src/headers/tsip_header_Require.c index 5ddfbdf4..85dcbbd6 100644 --- a/trunk/tinySIP/src/headers/tsip_header_Require.c +++ b/trunk/tinySIP/src/headers/tsip_header_Require.c @@ -338,4 +338,4 @@ static const tsk_object_def_t tsip_header_Require_def_s = tsip_header_Require_destroy, 0 }; -const void *tsip_header_Require_def_t = &tsip_header_Require_def_s; \ No newline at end of file +const void *tsip_header_Require_def_t = &tsip_header_Require_def_s; diff --git a/trunk/tinySIP/src/headers/tsip_header_Route.c b/trunk/tinySIP/src/headers/tsip_header_Route.c index 8b49feb1..2aaa1282 100644 --- a/trunk/tinySIP/src/headers/tsip_header_Route.c +++ b/trunk/tinySIP/src/headers/tsip_header_Route.c @@ -550,4 +550,4 @@ static const tsk_object_def_t tsip_header_Route_def_s = tsip_header_Route_destroy, 0 }; -const void *tsip_header_Route_def_t = &tsip_header_Route_def_s; \ No newline at end of file +const void *tsip_header_Route_def_t = &tsip_header_Route_def_s; diff --git a/trunk/tinySIP/src/headers/tsip_header_Security_Client.c b/trunk/tinySIP/src/headers/tsip_header_Security_Client.c index 238e867a..32a45e1c 100644 --- a/trunk/tinySIP/src/headers/tsip_header_Security_Client.c +++ b/trunk/tinySIP/src/headers/tsip_header_Security_Client.c @@ -902,4 +902,4 @@ static const tsk_object_def_t tsip_header_Security_Client_def_s = tsip_header_Security_Client_destroy, 0 }; -const void *tsip_header_Security_Client_def_t = &tsip_header_Security_Client_def_s; \ No newline at end of file +const void *tsip_header_Security_Client_def_t = &tsip_header_Security_Client_def_s; diff --git a/trunk/tinySIP/src/headers/tsip_header_Server.c b/trunk/tinySIP/src/headers/tsip_header_Server.c index da66235e..ae79e631 100644 --- a/trunk/tinySIP/src/headers/tsip_header_Server.c +++ b/trunk/tinySIP/src/headers/tsip_header_Server.c @@ -307,4 +307,4 @@ static const tsk_object_def_t tsip_header_Server_def_s = tsip_header_Server_destroy, 0 }; -const void *tsip_header_Server_def_t = &tsip_header_Server_def_s; \ No newline at end of file +const void *tsip_header_Server_def_t = &tsip_header_Server_def_s; diff --git a/trunk/tinySIP/src/headers/tsip_header_Service_Route.c b/trunk/tinySIP/src/headers/tsip_header_Service_Route.c index 739d518a..f8edffa8 100644 --- a/trunk/tinySIP/src/headers/tsip_header_Service_Route.c +++ b/trunk/tinySIP/src/headers/tsip_header_Service_Route.c @@ -558,4 +558,4 @@ static const tsk_object_def_t tsip_header_Service_Route_def_s = tsip_header_Service_Route_destroy, 0 }; -const void *tsip_header_Service_Route_def_t = &tsip_header_Service_Route_def_s; \ No newline at end of file +const void *tsip_header_Service_Route_def_t = &tsip_header_Service_Route_def_s; diff --git a/trunk/tinySIP/src/headers/tsip_header_Subscription_State.c b/trunk/tinySIP/src/headers/tsip_header_Subscription_State.c index aecd6746..e54eddc6 100644 --- a/trunk/tinySIP/src/headers/tsip_header_Subscription_State.c +++ b/trunk/tinySIP/src/headers/tsip_header_Subscription_State.c @@ -699,4 +699,4 @@ static const tsk_object_def_t tsip_header_Subscription_State_def_s = tsip_header_Subscription_State_destroy, 0 }; -const void *tsip_header_Subscription_State_def_t = &tsip_header_Subscription_State_def_s; \ No newline at end of file +const void *tsip_header_Subscription_State_def_t = &tsip_header_Subscription_State_def_s; diff --git a/trunk/tinySIP/src/headers/tsip_header_Supported.c b/trunk/tinySIP/src/headers/tsip_header_Supported.c index d62d943c..406d4670 100644 --- a/trunk/tinySIP/src/headers/tsip_header_Supported.c +++ b/trunk/tinySIP/src/headers/tsip_header_Supported.c @@ -354,4 +354,4 @@ static const tsk_object_def_t tsip_header_Supported_def_s = tsip_header_Supported_destroy, 0 }; -const void *tsip_header_Supported_def_t = &tsip_header_Supported_def_s; \ No newline at end of file +const void *tsip_header_Supported_def_t = &tsip_header_Supported_def_s; diff --git a/trunk/tinySIP/src/headers/tsip_header_To.c b/trunk/tinySIP/src/headers/tsip_header_To.c index 3bbe69c4..73f73973 100644 --- a/trunk/tinySIP/src/headers/tsip_header_To.c +++ b/trunk/tinySIP/src/headers/tsip_header_To.c @@ -1257,4 +1257,4 @@ static const tsk_object_def_t tsip_header_To_def_s = tsip_header_To_destroy, 0 }; -const void *tsip_header_To_def_t = &tsip_header_To_def_s; \ No newline at end of file +const void *tsip_header_To_def_t = &tsip_header_To_def_s; diff --git a/trunk/tinySIP/src/headers/tsip_header_User_Agent.c b/trunk/tinySIP/src/headers/tsip_header_User_Agent.c index a794a44a..63df3838 100644 --- a/trunk/tinySIP/src/headers/tsip_header_User_Agent.c +++ b/trunk/tinySIP/src/headers/tsip_header_User_Agent.c @@ -312,4 +312,4 @@ static const tsk_object_def_t tsip_header_User_Agent_def_s = tsip_header_User_Agent_destroy, 0 }; -const void *tsip_header_User_Agent_def_t = &tsip_header_User_Agent_def_s; \ No newline at end of file +const void *tsip_header_User_Agent_def_t = &tsip_header_User_Agent_def_s; diff --git a/trunk/tinySIP/src/headers/tsip_header_Via.c b/trunk/tinySIP/src/headers/tsip_header_Via.c index 4161780d..92ba81e3 100644 --- a/trunk/tinySIP/src/headers/tsip_header_Via.c +++ b/trunk/tinySIP/src/headers/tsip_header_Via.c @@ -1351,4 +1351,4 @@ static const tsk_object_def_t tsip_header_Via_def_s = tsip_header_Via_destroy, 0 }; -const void *tsip_header_Via_def_t = &tsip_header_Via_def_s; \ No newline at end of file +const void *tsip_header_Via_def_t = &tsip_header_Via_def_s; diff --git a/trunk/tinySIP/src/headers/tsip_header_WWW_Authenticate.c b/trunk/tinySIP/src/headers/tsip_header_WWW_Authenticate.c index b46b9ace..dcb2cc64 100644 --- a/trunk/tinySIP/src/headers/tsip_header_WWW_Authenticate.c +++ b/trunk/tinySIP/src/headers/tsip_header_WWW_Authenticate.c @@ -170,4 +170,4 @@ static const tsk_object_def_t tsip_header_WWW_Authenticate_def_s = tsip_header_WWW_Authenticate_destroy, 0 }; -const void *tsip_header_WWW_Authenticate_def_t = &tsip_header_WWW_Authenticate_def_s; \ No newline at end of file +const void *tsip_header_WWW_Authenticate_def_t = &tsip_header_WWW_Authenticate_def_s; diff --git a/trunk/tinySIP/src/headers/tsip_header_Warning.c b/trunk/tinySIP/src/headers/tsip_header_Warning.c index 84ddf433..95ca6061 100644 --- a/trunk/tinySIP/src/headers/tsip_header_Warning.c +++ b/trunk/tinySIP/src/headers/tsip_header_Warning.c @@ -561,4 +561,4 @@ static const tsk_object_def_t tsip_header_Warning_def_s = tsip_header_Warning_destroy, 0 }; -const void *tsip_header_Warning_def_t = &tsip_header_Warning_def_s; \ No newline at end of file +const void *tsip_header_Warning_def_t = &tsip_header_Warning_def_s; diff --git a/trunk/tinySIP/src/makefile b/trunk/tinySIP/src/makefile index 3d4e5c79..8a171fbe 100644 --- a/trunk/tinySIP/src/makefile +++ b/trunk/tinySIP/src/makefile @@ -23,11 +23,11 @@ OBJS = \ ################### ## api ################### -OBJS += api/tsip_invite.o\ - api/tsip_message.o\ - api/tsip_publish.o\ - api/tsip_register.o\ - api/tsip_subscribe.o +OBJS += api/tsip_api_invite.o\ + api/tsip_api_message.o\ + api/tsip_api_publish.o\ + api/tsip_api_register.o\ + api/tsip_api_subscribe.o ################### ## authentication ################### @@ -147,17 +147,7 @@ OBJS += headers/tsip_header.o\ ################### OBJS += parsers/tsip_parser_header.o\ parsers/tsip_parser_message.o\ - parsers/tsip_parser_uri.o\ - parsers/tsip_ragel_state.o - ################### - ## smc - ################### -OBJS += smc/tsip_dialog_register_sm.o\ - smc/tsip_dialog_message_sm.o\ - smc/tsip_transac_ict_sm.o\ - smc/tsip_transac_ist_sm.o\ - smc/tsip_transac_nict_sm.o\ - smc/tsip_transac_nist_sm.o + parsers/tsip_parser_uri.o ################### ## transactions ################### diff --git a/trunk/tinySIP/src/parsers/tsip_parser_header.c b/trunk/tinySIP/src/parsers/tsip_parser_header.c index 100fb6a8..54907cee 100644 --- a/trunk/tinySIP/src/parsers/tsip_parser_header.c +++ b/trunk/tinySIP/src/parsers/tsip_parser_header.c @@ -2887,4 +2887,4 @@ _again: /* #line 752 "tsip_parser_header.rl" */ ); //return (cs == tsip_machine_parser_headers_first_final); -} \ No newline at end of file +} diff --git a/trunk/tinySIP/src/parsers/tsip_parser_message.c b/trunk/tinySIP/src/parsers/tsip_parser_message.c index 082d7156..46a6152d 100644 --- a/trunk/tinySIP/src/parsers/tsip_parser_message.c +++ b/trunk/tinySIP/src/parsers/tsip_parser_message.c @@ -482,4 +482,4 @@ static void tsip_message_parser_eoh(tsk_ragel_state_t *state, tsip_message_t *me state->p = p; state->pe = pe; state->eof = eof; -} \ No newline at end of file +} diff --git a/trunk/tinySIP/src/parsers/tsip_parser_uri.c b/trunk/tinySIP/src/parsers/tsip_parser_uri.c index 06d907e4..6c2f8c50 100644 --- a/trunk/tinySIP/src/parsers/tsip_parser_uri.c +++ b/trunk/tinySIP/src/parsers/tsip_parser_uri.c @@ -653,4 +653,4 @@ _again: } return uri; -} \ No newline at end of file +} diff --git a/trunk/tinySIP/test/test/test.c b/trunk/tinySIP/test/test/test.c index 8aa2f73b..42d07d51 100644 --- a/trunk/tinySIP/test/test/test.c +++ b/trunk/tinySIP/test/test/test.c @@ -42,10 +42,10 @@ #define RUN_TEST_LOOP 1 #define RUN_TEST_ALL 0 -#define RUN_TEST_MESSAGES 1 +#define RUN_TEST_MESSAGES 0 #define RUN_TEST_URI 0 #define RUN_TEST_TRANSAC 0 -#define RUN_TEST_STACK 0 +#define RUN_TEST_STACK 1 #ifdef _WIN32_WCE int _tmain(int argc, _TCHAR* argv[]) diff --git a/trunk/tinySIP/test/test/test.vcproj b/trunk/tinySIP/test/test/test.vcproj index 0b98bc40..fe516932 100644 --- a/trunk/tinySIP/test/test/test.vcproj +++ b/trunk/tinySIP/test/test/test.vcproj @@ -44,7 +44,7 @@