diff --git a/trunk/tinyHTTP/include/tinyHTTP/headers/thttp_header.h b/trunk/tinyHTTP/include/tinyHTTP/headers/thttp_header.h index ce40a073..9fdae346 100644 --- a/trunk/tinyHTTP/include/tinyHTTP/headers/thttp_header.h +++ b/trunk/tinyHTTP/include/tinyHTTP/headers/thttp_header.h @@ -57,6 +57,8 @@ typedef int (*thttp_header_value_tostring)(const struct thttp_header_s* header, typedef enum thttp_header_type_e { thttp_htype_Authorization, + thttp_htype_Content_Length, + thttp_htype_Content_Type, thttp_htype_Proxy_Authenticate, thttp_htype_Proxy_Authorization, thttp_htype_WWW_Authenticate, diff --git a/trunk/tinyNET/src/tnet_types.h b/trunk/tinyNET/src/tnet_types.h index f015678a..a368b2a1 100644 --- a/trunk/tinyNET/src/tnet_types.h +++ b/trunk/tinyNET/src/tnet_types.h @@ -75,7 +75,11 @@ typedef char tnet_ip_t[INET6_ADDRSTRLEN]; # define TNET_ERROR_WOULDBLOCK WSAEWOULDBLOCK # define TNET_ERROR_INPROGRESS WSAEINPROGRESS # define TNET_ERROR_CONNRESET WSAECONNRESET -# define tnet_gai_strerror gai_strerrorA +# if defined(_WIN32_WCE) +# define tnet_gai_strerror(...) "FIXME" +# else +# define tnet_gai_strerror gai_strerrorA +# endif #else # define TNET_INVALID_SOCKET -1 # define TNET_ERROR_WOULDBLOCK EWOULDBLOCK diff --git a/trunk/tinySAK/src/tsk_time.c b/trunk/tinySAK/src/tsk_time.c index 56cfa9bc..96eb22b8 100644 --- a/trunk/tinySAK/src/tsk_time.c +++ b/trunk/tinySAK/src/tsk_time.c @@ -97,7 +97,7 @@ int gettimeofday(struct timeval *tv, struct timezone *tz) } tz->tz_minuteswest = _timezone / 60; tz->tz_dsttime = _daylight; - } + } return 0; } diff --git a/trunk/tinySIP/abnf/core.abnf b/trunk/tinySIP/abnf/core.abnf index 29c43b37..b4ebba30 100644 --- a/trunk/tinySIP/abnf/core.abnf +++ b/trunk/tinySIP/abnf/core.abnf @@ -1013,7 +1013,7 @@ transport = "UDP" / "TCP" / "TLS" / "SCTP" / "TLS-SCTP" / other-transport sent-by = host [ COLON port ] ttl = 1*3DIGIT -;;;; Warning RFC 3261 Up +;;;; Warning Warning = "Warning" HCOLON warning-value *(COMMA warning-value) warning-value = warn-code SP warn-agent SP warn-text warn-code = 3DIGIT diff --git a/trunk/tinySIP/include/tinysip/api/tsip_subscribe.h b/trunk/tinySIP/include/tinysip/api/tsip_subscribe.h index e69de29b..d103cc78 100644 --- a/trunk/tinySIP/include/tinysip/api/tsip_subscribe.h +++ b/trunk/tinySIP/include/tinysip/api/tsip_subscribe.h @@ -0,0 +1,74 @@ +/* +* 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 Lesser General Public License for more details. +* +* You should have received a copy of the GNU General Public License +* along with DOUBANGO. +* +*/ + +/**@file tsip_subscribe.h + * @brief Public registration (SUBSCRIBE) functions. + * + * @author Mamadou Diop + * + * @date Created: Sat Nov 8 16:54:58 2009 mdiop + */ +#ifndef TINYSIP_TSIP_SUBSCRIBE_H +#define TINYSIP_TSIP_SUBSCRIBE_H + +#include "tinysip_config.h" + +#include "tinysip/tsip_event.h" + +TSIP_BEGIN_DECLS + +#define TSIP_SUBSCRIBE_EVENT(self) ((tsip_subscribe_event_t*)(self)) + +typedef enum tsip_subscribe_event_type_e +{ + tsip_subscribe_ok, + tsip_subscribe_nok, + tsip_unsubscribe_ok, + tsip_unsubscribe_nok, + tsip_subscribeing, + tsip_unsubscribeing, + tsip_subscribe_sent, + tsip_subscribe_cancelled, + tsip_subscribe_auth_nok, + tsip_subscribe_secagree_nok, + tsip_subscribe_transporterr, + tsip_subscribe_terminated, +} +tsip_subscribe_event_type_t; + +typedef struct tsip_subscribe_event_e +{ + TSIP_DECLARE_EVENT; + + tsip_subscribe_event_type_t type; +} +tsip_subscribe_event_t; + +int tsip_subscribe_event_signal(tsip_subscribe_event_type_t type, struct tsip_stack_s *stack, tsip_operation_id_t opid, short status_code, const char *phrase, unsigned incoming); + +typedef int (*tsip_subscribe_callback)(const tsip_subscribe_event_t *sipevent); + +TINYSIP_GEXTERN const void *tsip_subscribe_event_def_t; + +TSIP_END_DECLS + +#endif /* TINYSIP_TSIP_SUBSCRIBE_H */ diff --git a/trunk/tinySIP/include/tinysip/dialogs/tsip_dialog.h b/trunk/tinySIP/include/tinysip/dialogs/tsip_dialog.h index 97733133..8c3e69ae 100644 --- a/trunk/tinySIP/include/tinysip/dialogs/tsip_dialog.h +++ b/trunk/tinySIP/include/tinysip/dialogs/tsip_dialog.h @@ -69,7 +69,7 @@ TSIP_BEGIN_DECLS typedef enum tsip_dialog_state_e { - tsip_none, + tsip_initial, tsip_early, tsip_established, tsip_terminated @@ -85,7 +85,8 @@ typedef enum tsip_dialog_type_e tsip_dialog_prack, tsip_dialog_publish, tsip_dialog_refer, - tsip_dialog_register + tsip_dialog_register, + tsip_dialog_subscribe, } tsip_dialog_type_t; diff --git a/trunk/tinySIP/include/tinysip/dialogs/tsip_dialog_subscribe.h b/trunk/tinySIP/include/tinysip/dialogs/tsip_dialog_subscribe.h index e69de29b..6fc4ca17 100644 --- a/trunk/tinySIP/include/tinysip/dialogs/tsip_dialog_subscribe.h +++ b/trunk/tinySIP/include/tinysip/dialogs/tsip_dialog_subscribe.h @@ -0,0 +1,81 @@ +/* +* 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 Lesser General Public License for more details. +* +* You should have received a copy of the GNU General Public License +* along with DOUBANGO. +* +*/ + +/**@file tsip_dialog_subscribe.h + * @brief SIP dialog SUBSCRIBE. + * + * @author Mamadou Diop + * + * @date Created: Sat Nov 8 16:54:58 2009 mdiop + */ +#ifndef TINYSIP_DIALOG_SUBSCRIBE_H +#define TINYSIP_DIALOG_SUBSCRIBE_H + +#include "tinysip_config.h" +#include "tinysip/dialogs/tsip_dialog.h" +#include "tinysip/smc/tsip_dialog_subscribe_sm.h" + +TSIP_BEGIN_DECLS + +#define TSIP_DIALOG_SUBSCRIBE_CREATE(stack, operation) tsk_object_new(tsip_dialog_subscribe_def_t, (tsip_stack_handle_t *)stack, (tsip_operation_handle_t*) operation) + +#define TSIP_DIALOG_SUBSCRIBE(self) ((tsip_dialog_subscribe_t*)(self)) + +typedef struct tsip_dialog_subscribe +{ + TSIP_DECLARE_DIALOG; + + struct tsip_dialog_subscribeContext _fsm; + + tsip_timer_t timerrefresh; + + unsigned unsubscribeing:1; + + char* package; +} +tsip_dialog_subscribe_t; + +int tsip_dialog_subscribe_start(tsip_dialog_subscribe_t *self); + +void tsip_dialog_subscribe_Started_2_Trying_X_send(tsip_dialog_subscribe_t *self); +void tsip_dialog_subscribe_Trying_2_Trying_X_1xx(tsip_dialog_subscribe_t *self, const tsip_response_t* response); +void tsip_dialog_subscribe_Trying_2_Terminated_X_2xx(tsip_dialog_subscribe_t *self, const tsip_response_t* response); +void tsip_dialog_subscribe_Trying_2_Connected_X_2xx(tsip_dialog_subscribe_t *self, const tsip_response_t* response); +void tsip_dialog_subscribe_Trying_2_Trying_X_401_407_421_494(tsip_dialog_subscribe_t *self, const tsip_response_t* response); +void tsip_dialog_subscribe_Trying_2_Trying_X_423(tsip_dialog_subscribe_t *self, const tsip_response_t* response); +void tsip_dialog_subscribe_Trying_2_Terminated_X_300_to_699(tsip_dialog_subscribe_t *self, const tsip_response_t* response); +void tsip_dialog_subscribe_Trying_2_Terminated_X_cancel(tsip_dialog_subscribe_t *self); +void tsip_dialog_subscribe_Trying_2_Trying_X_NOTIFY(tsip_dialog_subscribe_t *self, const tsip_request_t* request); +void tsip_dialog_subscribe_Connected_2_Trying_X_unsubscribe(tsip_dialog_subscribe_t *self); +void tsip_dialog_subscribe_Connected_2_Trying_X_refresh(tsip_dialog_subscribe_t *self); +void tsip_dialog_subscribe_Connected_2_Connected_X_NOTIFY(tsip_dialog_subscribe_t *self, const tsip_request_t* request); +void tsip_dialog_subscribe_Connected_2_Terminated_X_NOTIFY(tsip_dialog_subscribe_t *self, const tsip_request_t* request); +void tsip_dialog_subscribe_Any_2_Trying_X_hangup(tsip_dialog_subscribe_t *self); +void tsip_dialog_subscribe_Any_2_Terminated_X_transportError(tsip_dialog_subscribe_t *self); +void tsip_dialog_subscribe_OnTerminated(tsip_dialog_subscribe_t *self); +void tsip_dialog_subscribe_OnTerminated(tsip_dialog_subscribe_t *self); + +TINYSIP_GEXTERN const void *tsip_dialog_subscribe_def_t; + +TSIP_END_DECLS + +#endif /* TINYSIP_DIALOG_SUBSCRIBE_H */ diff --git a/trunk/tinySIP/include/tinysip/headers/tsip_header_Event.h b/trunk/tinySIP/include/tinysip/headers/tsip_header_Event.h index 5ce05891..16abed85 100644 --- a/trunk/tinySIP/include/tinysip/headers/tsip_header_Event.h +++ b/trunk/tinySIP/include/tinysip/headers/tsip_header_Event.h @@ -21,7 +21,7 @@ */ /**@file tsip_header_Event.h - * @brief SIP header 'Event'. + * @brief SIP header 'Event/o'as per RFC 3265. * * @author Mamadou Diop * @@ -35,22 +35,43 @@ TSIP_BEGIN_DECLS +/**@def TSIP_HEADER_EVENT_CREATE +* Creates new sip 'Event' header. You must call @ref TSK_OBJECT_SAFE_FREE to free the header. +* @sa TSK_OBJECT_SAFE_FREE. +*/ +#define TSIP_HEADER_EVENT_VA_ARGS(package) tsip_header_Event_def_t, (const char*)package +#define TSIP_HEADER_EVENT_CREATE(package) tsk_object_new(TSIP_HEADER_EVENT_VA_ARGS(package)) + //////////////////////////////////////////////////////////////////////////////////////////////////// /// @struct /// -/// @brief SIP header 'Accept-Contact' . +/// @brief SIP header 'Event/o' . /// @author Mamadou /// @date 12/3/2009 /// -/// @par ABNF +/// @par ABNF: Event / o +/// Event = ( "Event" / "o" ) HCOLON event-type *( SEMI event-param ) +/// event-type = event-package *( "." event-template ) +/// event-package = token-nodot +/// event-template = token-nodot +/// token-nodot = 1*( alphanum / "-" / "!" / "%" / "*" / "_" / "+" / "`" / "'" / "~" ) +/// event-param = generic-param / ( "id" EQUAL token ) / call-ident / from-tag / to-tag / with-sessd +/// call-ident = "call-id" EQUAL ( token / DQUOTE callid DQUOTE ) +/// with-sessd = "include-session-description" /// //////////////////////////////////////////////////////////////////////////////////////////////////// typedef struct tsip_header_Event_s { TSIP_DECLARE_HEADER; + + char *package; } tsip_header_Event_t; +tsip_header_Event_t *tsip_header_Event_parse(const char *data, size_t size); + +TINYSIP_GEXTERN const void *tsip_header_Event_def_t; + TSIP_END_DECLS #endif /* _TSIP_HEADER_EVENT_H_ */ diff --git a/trunk/tinySIP/include/tinysip/headers/tsip_header_P_Asserted_Identity.h b/trunk/tinySIP/include/tinysip/headers/tsip_header_P_Asserted_Identity.h index 5bf11987..586a2e41 100644 --- a/trunk/tinySIP/include/tinysip/headers/tsip_header_P_Asserted_Identity.h +++ b/trunk/tinySIP/include/tinysip/headers/tsip_header_P_Asserted_Identity.h @@ -21,7 +21,7 @@ */ /**@file tsip_header_P_Asserted_Identity.h - * @brief SIP header 'P-Asserted-Identity'. + * @brief SIP header 'P-Asserted-Identity' as per RFC 3325. * * @author Mamadou Diop * @@ -33,24 +33,43 @@ #include "tinysip_config.h" #include "tinysip/headers/tsip_header.h" +#include "tinysip/tsip_uri.h" + TSIP_BEGIN_DECLS +/**@def TSIP_HEADER_P_ASSERTED_IDENTITY_CREATE +* Creates new sip 'P_Asserted_Identity' header. You must call @ref TSK_OBJECT_SAFE_FREE to free the header. +* @sa TSK_OBJECT_SAFE_FREE. +*/ +#define TSIP_HEADER_P_ASSERTED_IDENTITY_CREATE() tsk_object_new(tsip_header_P_Asserted_Identity_def_t) + //////////////////////////////////////////////////////////////////////////////////////////////////// /// @struct /// -/// @brief SIP header 'P-Asserted-Identity'. +/// @brief SIP header 'P-Asserted-Identity' as per RFC 3325. /// @author Mamadou /// @date 12/3/2009 /// -/// @par ABNF +/// @par ABNF: P-Asserted-Identity = PAssertedID +/// PAssertedID = "P-Asserted-Identity" HCOLON PAssertedID-value *(COMMA PAssertedID-value) +/// PAssertedID-value = name-addr / addr-spec /// //////////////////////////////////////////////////////////////////////////////////////////////////// typedef struct tsip_header_P_Asserted_Identity_s { TSIP_DECLARE_HEADER; + + char *display_name; + tsip_uri_t *uri; } tsip_header_P_Asserted_Identity_t; +typedef tsk_list_t tsip_header_P_Asserted_Identities_L_t; + +tsip_header_P_Asserted_Identities_L_t *tsip_header_P_Asserted_Identity_parse(const char *data, size_t size); + +TINYSIP_GEXTERN const void *tsip_header_P_Asserted_Identity_def_t; + TSIP_END_DECLS #endif /* _TSIP_HEADER_P_ASSERTED_IDENTITY_H_ */ diff --git a/trunk/tinySIP/include/tinysip/headers/tsip_header_P_Associated_URI.h b/trunk/tinySIP/include/tinysip/headers/tsip_header_P_Associated_URI.h index a3acaa3c..bc1c2d70 100644 --- a/trunk/tinySIP/include/tinysip/headers/tsip_header_P_Associated_URI.h +++ b/trunk/tinySIP/include/tinysip/headers/tsip_header_P_Associated_URI.h @@ -33,24 +33,45 @@ #include "tinysip_config.h" #include "tinysip/headers/tsip_header.h" +#include "tinysip/tsip_uri.h" + TSIP_BEGIN_DECLS +/**@def TSIP_HEADER_P_ASSOCIATED_URI_CREATE +* Creates new sip 'P-Associated-URI' header. You must call @ref TSK_OBJECT_SAFE_FREE to free the header. +* @sa TSK_OBJECT_SAFE_FREE. +*/ +#define TSIP_HEADER_P_ASSOCIATED_URI_VA_ARGS(uri) tsip_header_P_Associated_URI_def_t, (const tsip_uri_t*)uri +#define TSIP_HEADER_P_ASSOCIATED_URI_CREATE(uri) tsk_object_new(TSIP_HEADER_P_ASSOCIATED_URI_VA_ARGS(uri)) +#define TSIP_HEADER_P_ASSOCIATED_URI_CREATE_NULL() TSIP_HEADER_P_ASSOCIATED_URI_CREATE(0) + //////////////////////////////////////////////////////////////////////////////////////////////////// /// @struct /// -/// @brief SIP header 'P-Associated-URI'. +/// @brief SIP header 'P-Associated-URI' as per RFC 3455. /// @author Mamadou /// @date 12/3/2009 /// -/// @par ABNF +/// @par ABNF: P-Associated-URI = "P-Associated-URI" HCOLON p-aso-uri-spec *(COMMA p-aso-uri-spec) +/// p-aso-uri-spec = name-addr *( SEMI ai-param ) +/// ai-param = generic-param /// //////////////////////////////////////////////////////////////////////////////////////////////////// typedef struct tsip_header_P_Associated_URI_s { TSIP_DECLARE_HEADER; + + char *display_name; + tsip_uri_t *uri; } tsip_header_P_Associated_URI_t; +typedef tsk_list_t tsip_header_P_Associated_URIs_L_t; + +tsip_header_P_Associated_URIs_L_t *tsip_header_P_Associated_URI_parse(const char *data, size_t size); + +TINYSIP_GEXTERN const void *tsip_header_P_Associated_URI_def_t; + TSIP_END_DECLS #endif /* _TSIP_HEADER_P_ASSOCIATED_URI_H_ */ diff --git a/trunk/tinySIP/include/tinysip/headers/tsip_header_P_Charging_Function_Addresses.h b/trunk/tinySIP/include/tinysip/headers/tsip_header_P_Charging_Function_Addresses.h index 0b75b0ed..62d39064 100644 --- a/trunk/tinySIP/include/tinysip/headers/tsip_header_P_Charging_Function_Addresses.h +++ b/trunk/tinySIP/include/tinysip/headers/tsip_header_P_Charging_Function_Addresses.h @@ -35,22 +35,40 @@ TSIP_BEGIN_DECLS +/**@def TSIP_HEADER_P_ASSOCIATED_URI_CREATE +* Creates new sip 'P-Associated-URI' header. You must call @ref TSK_OBJECT_SAFE_FREE to free the header. +* @sa TSK_OBJECT_SAFE_FREE. +*/ +#define TSIP_HEADER_P_CHARGING_FUNCTION_ADDRESSES_CREATE() tsk_object_new(tsip_header_P_Charging_Function_Addresses_def_t) + //////////////////////////////////////////////////////////////////////////////////////////////////// /// @struct /// -/// @brief SIP header 'P-Charging-Function-Addresses'. +/// @brief SIP header 'P-Charging-Function-Addresses' as per RFC 3455. /// @author Mamadou /// @date 12/3/2009 /// -/// @par ABNF +/// @par ABNF: P-Charging-Function-Addresses = P-Charging-Addr +/// P-Charging-Addr = "P-Charging-Function-Addresses" HCOLON charge-addr-params *( SEMI charge-addr-params ) +/// charge-addr-params = ccf / ecf / generic-param +/// ccf = "ccf" EQUAL gen-value +/// ecf = "ecf" EQUAL gen-value /// //////////////////////////////////////////////////////////////////////////////////////////////////// typedef struct tsip_header_P_Charging_Function_Addresses_s { TSIP_DECLARE_HEADER; + char* ccf; + char* ecf; } tsip_header_P_Charging_Function_Addresses_t; +typedef tsk_list_t tsip_header_P_Charging_Function_Addressess_L_t; + +tsip_header_P_Charging_Function_Addressess_L_t *tsip_header_P_Charging_Function_Addresses_parse(const char *data, size_t size); + +TINYSIP_GEXTERN const void *tsip_header_P_Charging_Function_Addresses_def_t; + TSIP_END_DECLS #endif /* _TSIP_HEADER_P_CHARGING_FUNCTION_ADDRESSES_H_ */ diff --git a/trunk/tinySIP/include/tinysip/headers/tsip_header_Path.h b/trunk/tinySIP/include/tinysip/headers/tsip_header_Path.h index 5301be7a..865e626c 100644 --- a/trunk/tinySIP/include/tinysip/headers/tsip_header_Path.h +++ b/trunk/tinySIP/include/tinysip/headers/tsip_header_Path.h @@ -41,7 +41,9 @@ TSIP_BEGIN_DECLS * Creates new sip 'Path' header. You must call @ref TSK_OBJECT_SAFE_FREE to free the header. * @sa TSK_OBJECT_SAFE_FREE. */ -#define TSIP_HEADER_PATH_CREATE() tsk_object_new(tsip_header_Path_def_t) +#define TSIP_HEADER_PATH_VA_ARGS(uri) tsip_header_Path_def_t, (const tsip_uri_t*)uri +#define TSIP_HEADER_PATH_CREATE(uri) tsk_object_new(TSIP_HEADER_PATH_VA_ARGS(uri)) +#define TSIP_HEADER_PATH_CREATE_NULL() TSIP_HEADER_PATH_CREATE(0) //////////////////////////////////////////////////////////////////////////////////////////////////// /// @struct diff --git a/trunk/tinySIP/include/tinysip/headers/tsip_header_Route.h b/trunk/tinySIP/include/tinysip/headers/tsip_header_Route.h index f71133f1..54af4027 100644 --- a/trunk/tinySIP/include/tinysip/headers/tsip_header_Route.h +++ b/trunk/tinySIP/include/tinysip/headers/tsip_header_Route.h @@ -41,7 +41,9 @@ TSIP_BEGIN_DECLS * Creates new sip 'Route' header. You must call @ref TSK_OBJECT_SAFE_FREE to free the header. * @sa TSK_OBJECT_SAFE_FREE. */ -#define TSIP_HEADER_ROUTE_CREATE() tsk_object_new(tsip_header_Route_def_t) +#define TSIP_HEADER_ROUTE_VA_ARGS(uri) tsip_header_Route_def_t, (const tsip_uri_t*)uri +#define TSIP_HEADER_ROUTE_CREATE(uri) tsk_object_new(TSIP_HEADER_ROUTE_VA_ARGS(uri)) +#define TSIP_HEADER_ROUTE_CREATE_NULL() TSIP_HEADER_ROUTE_CREATE(0) //////////////////////////////////////////////////////////////////////////////////////////////////// /// @struct diff --git a/trunk/tinySIP/include/tinysip/headers/tsip_header_Server.h b/trunk/tinySIP/include/tinysip/headers/tsip_header_Server.h index eb20a23e..813be402 100644 --- a/trunk/tinySIP/include/tinysip/headers/tsip_header_Server.h +++ b/trunk/tinySIP/include/tinysip/headers/tsip_header_Server.h @@ -35,6 +35,13 @@ TSIP_BEGIN_DECLS +/**@def TSIP_HEADER_SERVER_CREATE +* Creates new sip 'Server' header. You must call @ref TSK_OBJECT_SAFE_FREE to free the header. +* @sa TSK_OBJECT_SAFE_FREE. +*/ +#define TSIP_HEADER_SERVER_VA_ARGS(server) tsip_header_Server_def_t, (const char*)server +#define TSIP_HEADER_SERVER_CREATE(server) tsk_object_new(TSIP_HEADER_SERVER_VA_ARGS(server)) + //////////////////////////////////////////////////////////////////////////////////////////////////// /// @struct /// @@ -42,15 +49,23 @@ TSIP_BEGIN_DECLS /// @author Mamadou /// @date 12/3/2009 /// -/// @par ABNF +/// @par ABNF: Server = "Server" HCOLON server-val *(LWS server-val) +/// server-val = product / comment +/// product = token [SLASH product-version] +/// product-version = token /// //////////////////////////////////////////////////////////////////////////////////////////////////// typedef struct tsip_header_Server_s { TSIP_DECLARE_HEADER; + char* value; } tsip_header_Server_t; +tsip_header_Server_t *tsip_header_Server_parse(const char *data, size_t size); + +TINYSIP_GEXTERN const void *tsip_header_Server_def_t; + TSIP_END_DECLS #endif /* _TSIP_HEADER_SERVER_H_ */ diff --git a/trunk/tinySIP/include/tinysip/headers/tsip_header_Service_Route.h b/trunk/tinySIP/include/tinysip/headers/tsip_header_Service_Route.h index 45b8abee..a65b36fa 100644 --- a/trunk/tinySIP/include/tinysip/headers/tsip_header_Service_Route.h +++ b/trunk/tinySIP/include/tinysip/headers/tsip_header_Service_Route.h @@ -41,7 +41,9 @@ TSIP_BEGIN_DECLS * Creates new sip 'Service-Route' header. You must call @ref TSK_OBJECT_SAFE_FREE to free the header. * @sa TSK_OBJECT_SAFE_FREE. */ -#define TSIP_HEADER_SERVICE_ROUTE_CREATE() tsk_object_new(tsip_header_Service_Route_def_t) +#define TSIP_HEADER_SERVICE_ROUTE_VA_ARGS(uri) tsip_header_Service_Route_def_t, (const tsip_uri_t*)uri +#define TSIP_HEADER_SERVICE_ROUTE_CREATE(uri) tsk_object_new(TSIP_HEADER_SERVICE_ROUTE_VA_ARGS(uri)) +#define TSIP_HEADER_SERVICE_ROUTE_CREATE_NULL() TSIP_HEADER_SERVICE_ROUTE_CREATE(0) //////////////////////////////////////////////////////////////////////////////////////////////////// /// @struct diff --git a/trunk/tinySIP/include/tinysip/headers/tsip_header_Warning.h b/trunk/tinySIP/include/tinysip/headers/tsip_header_Warning.h index 9bb3ce9c..bbc7805c 100644 --- a/trunk/tinySIP/include/tinysip/headers/tsip_header_Warning.h +++ b/trunk/tinySIP/include/tinysip/headers/tsip_header_Warning.h @@ -35,6 +35,12 @@ TSIP_BEGIN_DECLS +/**@def TSIP_HEADER_WARNING_CREATE +* Creates new sip 'Warning' header. You must call @ref TSK_OBJECT_SAFE_FREE to free the header. +* @sa TSK_OBJECT_SAFE_FREE. +*/ +#define TSIP_HEADER_WARNING_CREATE() tsk_object_new(tsip_header_Warning_def_t) + //////////////////////////////////////////////////////////////////////////////////////////////////// /// @struct /// @@ -42,15 +48,30 @@ TSIP_BEGIN_DECLS /// @author Mamadou /// @date 12/3/2009 /// -/// @par ABNF +/// @par ABNF: Warning = "Warning" HCOLON warning-value *(COMMA warning-value) +/// warning-value = warn-code SP warn-agent SP warn-text +/// warn-code = 3DIGIT +/// warn-agent = hostport / pseudonym +/// warn-text = quoted-string +/// pseudonym = token /// //////////////////////////////////////////////////////////////////////////////////////////////////// typedef struct tsip_header_Warning_s { TSIP_DECLARE_HEADER; + + int32_t code; + char* agent; + char* text; } tsip_header_Warning_t; +typedef tsk_list_t tsip_header_Warnings_L_t; + +tsip_header_Warnings_L_t *tsip_header_Warning_parse(const char *data, size_t size); + +TINYSIP_GEXTERN const void *tsip_header_Warning_def_t; + TSIP_END_DECLS #endif /* _TSIP_HEADER_WARNING_H_ */ diff --git a/trunk/tinySIP/include/tinysip/smc/tsip_dialog_subscribe_sm.h b/trunk/tinySIP/include/tinysip/smc/tsip_dialog_subscribe_sm.h new file mode 100644 index 00000000..442cd1ef --- /dev/null +++ b/trunk/tinySIP/include/tinysip/smc/tsip_dialog_subscribe_sm.h @@ -0,0 +1,73 @@ +/* + * ex: set ro: + * DO NOT EDIT. + * generated by smc (http://smc.sourceforge.net/) + * from file : tsip_dialog_subscribe.sm + */ + +#ifndef _H_TSIP_DIALOG_SUBSCRIBE_SM +#define _H_TSIP_DIALOG_SUBSCRIBE_SM + +#include + + +struct tsip_dialog_subscribe; +struct tsip_dialog_subscribeContext; + +struct tsip_dialog_subscribeState +{ + void(*Entry)(struct tsip_dialog_subscribeContext*); + + void(*sm_1xx)(struct tsip_dialog_subscribeContext*, const tsip_message_t*); + void(*sm_2xx)(struct tsip_dialog_subscribeContext*, int, const tsip_response_t*); + void(*sm_300_to_699)(struct tsip_dialog_subscribeContext*, const tsip_response_t*); + void(*sm_401_407_421_494)(struct tsip_dialog_subscribeContext*, const tsip_response_t*); + void(*sm_423)(struct tsip_dialog_subscribeContext*, const tsip_response_t*); + void(*sm_NOTIFY)(struct tsip_dialog_subscribeContext*, int, const tsip_request_t*); + void(*sm_cancel)(struct tsip_dialog_subscribeContext*); + void(*sm_error)(struct tsip_dialog_subscribeContext*); + void(*sm_hangup)(struct tsip_dialog_subscribeContext*); + void(*sm_refresh)(struct tsip_dialog_subscribeContext*); + void(*sm_send)(struct tsip_dialog_subscribeContext*); + void(*sm_transportError)(struct tsip_dialog_subscribeContext*); + void(*sm_unsubscribe)(struct tsip_dialog_subscribeContext*); + + void(*Default)(struct tsip_dialog_subscribeContext*); + + STATE_MEMBERS +}; + +extern const struct tsip_dialog_subscribeState tsip_dialog_subscribe_Started; +extern const struct tsip_dialog_subscribeState tsip_dialog_subscribe_Trying; +extern const struct tsip_dialog_subscribeState tsip_dialog_subscribe_Connected; +extern const struct tsip_dialog_subscribeState tsip_dialog_subscribe_Terminated; + +struct tsip_dialog_subscribeContext +{ + FSM_MEMBERS(tsip_dialog_subscribe) + struct tsip_dialog_subscribe *_owner; +}; + +extern void tsip_dialog_subscribeContext_Init(struct tsip_dialog_subscribeContext*, struct tsip_dialog_subscribe*); +extern void tsip_dialog_subscribeContext_EnterStartState(struct tsip_dialog_subscribeContext*); +extern void tsip_dialog_subscribeContext_sm_1xx(struct tsip_dialog_subscribeContext*, const tsip_message_t*); +extern void tsip_dialog_subscribeContext_sm_2xx(struct tsip_dialog_subscribeContext*, int, const tsip_response_t*); +extern void tsip_dialog_subscribeContext_sm_300_to_699(struct tsip_dialog_subscribeContext*, const tsip_response_t*); +extern void tsip_dialog_subscribeContext_sm_401_407_421_494(struct tsip_dialog_subscribeContext*, const tsip_response_t*); +extern void tsip_dialog_subscribeContext_sm_423(struct tsip_dialog_subscribeContext*, const tsip_response_t*); +extern void tsip_dialog_subscribeContext_sm_NOTIFY(struct tsip_dialog_subscribeContext*, int, const tsip_request_t*); +extern void tsip_dialog_subscribeContext_sm_cancel(struct tsip_dialog_subscribeContext*); +extern void tsip_dialog_subscribeContext_sm_error(struct tsip_dialog_subscribeContext*); +extern void tsip_dialog_subscribeContext_sm_hangup(struct tsip_dialog_subscribeContext*); +extern void tsip_dialog_subscribeContext_sm_refresh(struct tsip_dialog_subscribeContext*); +extern void tsip_dialog_subscribeContext_sm_send(struct tsip_dialog_subscribeContext*); +extern void tsip_dialog_subscribeContext_sm_transportError(struct tsip_dialog_subscribeContext*); +extern void tsip_dialog_subscribeContext_sm_unsubscribe(struct tsip_dialog_subscribeContext*); + +#endif + +/* + * Local variables: + * buffer-read-only: t + * End: + */ diff --git a/trunk/tinySIP/include/tinysip/tsip_operation.h b/trunk/tinySIP/include/tinysip/tsip_operation.h index ddfc8761..1336298e 100644 --- a/trunk/tinySIP/include/tinysip/tsip_operation.h +++ b/trunk/tinySIP/include/tinysip/tsip_operation.h @@ -58,6 +58,7 @@ typedef void tsip_operation_handle_t; tsip_operation_handle_t *tsip_operation_clone(const tsip_operation_handle_t *self); TINYSIP_API tsip_operation_id_t tsip_operation_get_id(const tsip_operation_handle_t *self); +const tsk_param_t* tsip_operation_get_param(const tsip_operation_handle_t *self, const char* pname); typedef tsk_list_t tsip_operations_L_t; /**< List of @ref tsip_operation_handle_t elements. */ TINYSIP_GEXTERN const void *tsip_operation_def_t; diff --git a/trunk/tinySIP/include/tsip.h b/trunk/tinySIP/include/tsip.h index 735486a3..af322535 100644 --- a/trunk/tinySIP/include/tsip.h +++ b/trunk/tinySIP/include/tsip.h @@ -37,9 +37,9 @@ #include "tinysip/tsip_event.h" #include "tinysip/api/tsip_register.h" +#include "tinysip/api/tsip_subscribe.h" -#include "tinysip/headers/tsip_header_Service_Route.h" -#include "tinysip/headers/tsip_header_Path.h" +#include "tinysip/tsip_uri.h" #include "tnet_socket.h" #include "dns/tnet_dns.h" @@ -128,11 +128,12 @@ typedef struct tsip_stack_s tsip_stack_callback callback; tsip_register_callback callback_register; + tsip_subscribe_callback callback_subscribe; /* Identity */ char* display_name; - struct tsip_uri_s *public_identity; - struct tsip_uri_s *preferred_identity; + tsip_uri_t *public_identity; + tsip_uri_t *preferred_identity; //struct tsip_uri_s *associated_identity; char *private_identity; char *password; @@ -153,8 +154,9 @@ typedef struct tsip_stack_s char* device_id; char* mobility; char* sec_agree_mech; - tsip_header_Paths_L_t* paths; - tsip_header_Service_Routes_L_t* service_routes; + tsip_uris_L_t* paths; + tsip_uris_L_t* service_routes; + tsip_uris_L_t* associated_uris; /* DNS */ tnet_dns_ctx_t *dns_ctx; @@ -200,10 +202,12 @@ TINYSIP_API tsip_stack_handle_t *tsip_stack_create(tsip_stack_callback callback, TINYSIP_API int tsip_stack_start(tsip_stack_handle_t *self); TINYSIP_API int tsip_stack_set(tsip_stack_handle_t *self, ...); TINYSIP_API int tsip_stack_set_callback_register(tsip_stack_handle_t *self, tsip_register_callback callback); +TINYSIP_API int tsip_stack_set_callback_subscribe(tsip_stack_handle_t *self, tsip_subscribe_callback callback); int tsip_stack_alert(const tsip_stack_handle_t *self, tsip_operation_id_t opid, short status_code, char *reason_phrase, int incoming, tsip_event_type_t type); TINYSIP_API int tsip_stack_stop(tsip_stack_handle_t *self); TINYSIP_API int tsip_stack_destroy(tsip_stack_handle_t *self); +tsip_uri_t* tsip_stack_get_contacturi(const tsip_stack_handle_t *self, const char* protocol); const tsk_timer_manager_handle_t* tsip_stack_get_timer_mgr(const tsip_stack_handle_t *self); struct tsip_dialog_layer_s* tsip_stack_get_dialog_layer(const tsip_stack_handle_t *self); struct tsip_transac_layer_s* tsip_stack_get_transac_layer(const tsip_stack_handle_t *self); @@ -212,6 +216,9 @@ struct tsip_transport_layer_s* tsip_stack_get_transport_layer(const tsip_stack_h TINYSIP_API int tsip_register(tsip_stack_handle_t *stack, const tsip_operation_handle_t *operation); int tsip_unregister(tsip_stack_handle_t *stack, const tsip_operation_handle_t *operation); +TINYSIP_API int tsip_subscribe(tsip_stack_handle_t *stack, const tsip_operation_handle_t *operation); +int tsip_unsubscribe(tsip_stack_handle_t *stack, const tsip_operation_handle_t *operation); + #define TSIP_STACK_EVENT_RAISE(stack, status_code, reason_phrase, incoming, type) \ TSK_RUNNABLE_ENQUEUE(TSK_RUNNABLE(stack), (const tsip_stack_handle_t*)stack, (short)status_code, (const char*)reason_phrase, (unsigned)incoming, (tsip_event_type_t)type); diff --git a/trunk/tinySIP/ragel.sh b/trunk/tinySIP/ragel.sh index 2386a04a..bec6e913 100644 --- a/trunk/tinySIP/ragel.sh +++ b/trunk/tinySIP/ragel.sh @@ -38,6 +38,9 @@ ragel.exe $OPTIONS -o ../src/headers/tsip_header_Contact.c tsip_parser_header_Co # ==CSeq 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 + # ==Expires ragel.exe $OPTIONS -o ../src/headers/tsip_header_Expires.c tsip_parser_header_Expires.rl @@ -56,6 +59,15 @@ ragel.exe $OPTIONS -o ../src/headers/tsip_header_Path.c tsip_parser_header_Path. # ==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 +# ==P-Asserted-Identity +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 + +# ==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 + # ==P-Preferred-Identity ragel.exe $OPTIONS -o ../src/headers/tsip_header_P_Preferred_Identity.c tsip_parser_header_P_Preferred_Identity.rl @@ -74,7 +86,10 @@ ragel.exe $OPTIONS -o ../src/headers/tsip_header_Record_Route.c tsip_parser_head # ==Require ragel.exe $OPTIONS -o ../src/headers/tsip_header_Require.c tsip_parser_header_Require.rl -# == Service-Route +# == Server +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 # == Service-Route @@ -92,5 +107,8 @@ ragel.exe $OPTIONS -o ../src/headers/tsip_header_User_Agent.c tsip_parser_header # ==Via 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 + # ==WWW-Authenticate #########ragel.exe $OPTIONS -o ../src/headers/tsip_header_WWW_Authenticate.c tsip_parser_header_WWW_Authenticate.rl diff --git a/trunk/tinySIP/ragel/tsip_parser_header.rl b/trunk/tinySIP/ragel/tsip_parser_header.rl index 93b742f9..1174e6c8 100644 --- a/trunk/tinySIP/ragel/tsip_parser_header.rl +++ b/trunk/tinySIP/ragel/tsip_parser_header.rl @@ -35,12 +35,16 @@ #include "tinysip/headers/tsip_header_Call_ID.h" #include "tinysip/headers/tsip_header_Contact.h" #include "tinysip/headers/tsip_header_CSeq.h" +#include "tinysip/headers/tsip_header_Event.h" #include "tinysip/headers/tsip_header_Expires.h" #include "tinysip/headers/tsip_header_From.h" #include "tinysip/headers/tsip_header_Max_Forwards.h" #include "tinysip/headers/tsip_header_Min_Expires.h" #include "tinysip/headers/tsip_header_Path.h" #include "tinysip/headers/tsip_header_P_Access_Network_Info.h" +#include "tinysip/headers/tsip_header_P_Asserted_Identity.h" +#include "tinysip/headers/tsip_header_P_Associated_URI.h" +#include "tinysip/headers/tsip_header_P_Charging_Function_Addresses.h" #include "tinysip/headers/tsip_header_P_Preferred_Identity.h" #include "tinysip/headers/tsip_header_Privacy.h" #include "tinysip/headers/tsip_header_Proxy_Authenticate.h" @@ -48,15 +52,39 @@ #include "tinysip/headers/tsip_header_Record_Route.h" #include "tinysip/headers/tsip_header_Require.h" #include "tinysip/headers/tsip_header_Route.h" +#include "tinysip/headers/tsip_header_Server.h" #include "tinysip/headers/tsip_header_Service_Route.h" #include "tinysip/headers/tsip_header_Supported.h" #include "tinysip/headers/tsip_header_To.h" #include "tinysip/headers/tsip_header_User_Agent.h" #include "tinysip/headers/tsip_header_Via.h" +#include "tinysip/headers/tsip_header_Warning.h" #include "tinysip/headers/tsip_header_WWW_Authenticate.h" #include "tsk_debug.h" +#undef ADD_HEADERS +#undef ADD_HEADER + +#define ADD_HEADERS(headers)\ + if(headers)\ + {\ + tsk_list_item_t *item;\ + tsk_list_foreach(item, headers)\ + {\ + tsip_header_t *hdr = tsk_object_ref(item->data);\ + tsk_list_push_back_data(message->headers, ((void**) &hdr));\ + }\ + \ + TSK_OBJECT_SAFE_FREE(headers);\ + } +#define ADD_HEADER(header)\ + if(header)\ + {\ + tsk_list_push_back_data(message->headers, ((void**) &header));\ + } + + /*********************************** * Ragel state machine. */ @@ -104,20 +132,14 @@ action parse_header_Allow { tsip_header_Allow_t *header = tsip_header_Allow_parse(state->tag_start, (state->tag_end-state->tag_start)); - if(header) - { - tsk_list_push_back_data(message->headers, ((void**) &header)); - } + ADD_HEADER(header); } # /*== Allow-Events: ==*/ action parse_header_Allow_Events { tsip_header_Allow_Events_t *header = tsip_header_Allow_Events_parse(state->tag_start, (state->tag_end-state->tag_start)); - if(header) - { - tsk_list_push_back_data(message->headers, ((void**) &header)); - } + ADD_HEADER(header); } # /*== Authentication-Info: ==*/ @@ -130,10 +152,7 @@ action parse_header_Authorization { tsip_header_Authorization_t *header = tsip_header_Authorization_parse(state->tag_start, (state->tag_end-state->tag_start)); - if(header) - { - tsk_list_push_back_data(message->headers, ((void**) &header)); - } + ADD_HEADER(header); } # /*== Call-ID: ==*/ @@ -155,24 +174,7 @@ action parse_header_Contact { tsip_header_Contacts_L_t* headers = tsip_header_Contact_parse(state->tag_start, (state->tag_end-state->tag_start)); - if(headers) - { - tsk_list_item_t *item; - tsk_list_foreach(item, headers) - { - tsip_header_Contact_t *hdr = tsk_object_ref(item->data); - if(!message->Contact) - { - message->Contact = hdr; - } - else - { - tsk_list_push_back_data(message->headers, ((void**) &hdr)); - } - } - - TSK_OBJECT_SAFE_FREE(headers); - } + ADD_HEADERS(headers); } # /*== Content-Disposition: ==*/ @@ -235,7 +237,8 @@ # /*== Event: ==*/ action parse_header_Event { - TSK_DEBUG_ERROR("parse_header_Event NOT IMPLEMENTED"); + tsip_header_Event_t *header = tsip_header_Event_parse(state->tag_start, (state->tag_end-state->tag_start)); + ADD_HEADER(header); } # /*== Expires: ==*/ @@ -290,10 +293,7 @@ action parse_header_Max_Forwards { tsip_header_Max_Forwards_t *header = tsip_header_Max_Forwards_parse(state->tag_start, (state->tag_end-state->tag_start)); - if(header) - { - tsk_list_push_back_data(message->headers, ((void**) &header)); - } + ADD_HEADER(header); } # /*== MIME-Version: ==*/ @@ -306,10 +306,7 @@ action parse_header_Min_Expires { tsip_header_Min_Expires_t *header = tsip_header_Min_Expires_parse(state->tag_start, (state->tag_end-state->tag_start)); - if(header) - { - tsk_list_push_back_data(message->headers, ((void**) &header)); - } + ADD_HEADER(header); } # /*== Min-SE: ==*/ @@ -328,10 +325,7 @@ action parse_header_P_Access_Network_Info { tsip_header_P_Access_Network_Info_t *header = tsip_header_P_Access_Network_Info_parse(state->tag_start, (state->tag_end-state->tag_start)); - if(header) - { - tsk_list_push_back_data(message->headers, ((void**) &header)); - } + ADD_HEADER(header); } # /*== P-Answer-State: ==*/ @@ -343,13 +337,15 @@ # /*== P-Asserted-Identity: ==*/ action parse_header_P_Asserted_Identity { - TSK_DEBUG_ERROR("parse_header_P_Asserted_Identity NOT IMPLEMENTED"); + tsip_header_P_Asserted_Identities_L_t* headers = tsip_header_P_Asserted_Identity_parse(state->tag_start, (state->tag_end-state->tag_start)); + ADD_HEADERS(headers); } # /*== P-Associated-URI: ==*/ - action parse_header_P_Associated_URI + action parse_header_P_Associated_URI { - TSK_DEBUG_ERROR("parse_header_P_Associated_URI NOT IMPLEMENTED"); + tsip_header_P_Associated_URIs_L_t* headers = tsip_header_P_Associated_URI_parse(state->tag_start, (state->tag_end-state->tag_start)); + ADD_HEADERS(headers); } # /*== P-Called-Party-ID: ==*/ @@ -361,7 +357,8 @@ # /*== P-Charging-Function-Addresses : ==*/ action parse_header_P_Charging_Function_Addresses { - TSK_DEBUG_ERROR("parse_header_P_Charging_Function_Addresses NOT IMPLEMENTED"); + tsip_header_P_Charging_Function_Addressess_L_t* headers = tsip_header_P_Charging_Function_Addresses_parse(state->tag_start, (state->tag_end-state->tag_start)); + ADD_HEADERS(headers); } # /*== P_Charging_Vector: ==*/ @@ -416,10 +413,7 @@ action parse_header_P_Preferred_Identity { tsip_header_P_Preferred_Identity_t *header = tsip_header_P_Preferred_Identity_parse(state->tag_start, (state->tag_end-state->tag_start)); - if(header) - { - tsk_list_push_back_data(message->headers, ((void**) &header)); - } + ADD_HEADER(header); } # /*== P-Profile-Key: ==*/ @@ -444,17 +438,7 @@ action parse_header_Path { tsip_header_Paths_L_t* headers = tsip_header_Path_parse(state->tag_start, (state->tag_end-state->tag_start)); - if(headers) - { - tsk_list_item_t *item; - tsk_list_foreach(item, headers) - { - tsip_header_Route_t *hdr = tsk_object_ref(item->data); - tsk_list_push_back_data(message->headers, ((void**) &hdr)); - } - - TSK_OBJECT_SAFE_FREE(headers); - } + ADD_HEADERS(headers); } # /* == Priority: ==*/ @@ -467,30 +451,21 @@ action parse_header_Privacy { tsip_header_Privacy_t *header = tsip_header_Privacy_parse(state->tag_start, (state->tag_end-state->tag_start)); - if(header) - { - tsk_list_push_back_data(message->headers, ((void**) &header)); - } + ADD_HEADER(header); } # /*== Authenticate: ==*/ action parse_header_Proxy_Authenticate { tsip_header_Proxy_Authenticate_t *header = tsip_header_Proxy_Authenticate_parse(state->tag_start, (state->tag_end-state->tag_start)); - if(header) - { - tsk_list_push_back_data(message->headers, ((void**) &header)); - } + ADD_HEADER(header); } # /*== Proxy-Authorization: ==*/ action parse_header_Proxy_Authorization { tsip_header_Proxy_Authorization_t *header = tsip_header_Proxy_Authorization_parse(state->tag_start, (state->tag_end-state->tag_start)); - if(header) - { - tsk_list_push_back_data(message->headers, ((void**) &header)); - } + ADD_HEADER(header); } # /*== Proxy-Require: ==*/ @@ -515,10 +490,7 @@ action parse_header_Record_Route { tsip_header_Record_Route_t *header = tsip_header_Record_Route_parse(state->tag_start, (state->tag_end-state->tag_start)); - if(header) - { - tsk_list_push_back_data(message->headers, ((void**) &header)); - } + ADD_HEADER(header); } # /*== Refer-Sub: ==*/ @@ -589,17 +561,7 @@ action parse_header_Route { tsip_header_Routes_L_t* headers = tsip_header_Route_parse(state->tag_start, (state->tag_end-state->tag_start)); - if(headers) - { - tsk_list_item_t *item; - tsk_list_foreach(item, headers) - { - tsip_header_Route_t *hdr = tsk_object_ref(item->data); - tsk_list_push_back_data(message->headers, ((void**) &hdr)); - } - - TSK_OBJECT_SAFE_FREE(headers); - } + ADD_HEADERS(headers); } # /*== RSeq: ==*/ @@ -629,24 +591,15 @@ # /*== Server: ==*/ action parse_header_Server { - TSK_DEBUG_ERROR("parse_header_Server NOT IMPLEMENTED"); + tsip_header_Server_t *header = tsip_header_Server_parse(state->tag_start, (state->tag_end-state->tag_start)); + ADD_HEADER(header); } # /*== Service-Route: ==*/ action parse_header_Service_Route { tsip_header_Service_Routes_L_t* headers = tsip_header_Service_Route_parse(state->tag_start, (state->tag_end-state->tag_start)); - if(headers) - { - tsk_list_item_t *item; - tsk_list_foreach(item, headers) - { - tsip_header_Service_Route_t *hdr = tsk_object_ref(item->data); - tsk_list_push_back_data(message->headers, ((void**) &hdr)); - } - - TSK_OBJECT_SAFE_FREE(headers); - } + ADD_HEADERS(headers); } # /*== Session-Expires: ==*/ @@ -683,10 +636,7 @@ action parse_header_Supported { tsip_header_Supported_t *header = tsip_header_Supported_parse(state->tag_start, (state->tag_end-state->tag_start)); - if(header) - { - tsk_list_push_back_data(message->headers, ((void**) &header)); - } + ADD_HEADER(header); } # /*== Target-Dialog: ==*/ @@ -720,10 +670,7 @@ action parse_header_User_Agent { tsip_header_User_Agent_t *header = tsip_header_User_Agent_parse(state->tag_start, (state->tag_end-state->tag_start)); - if(header) - { - tsk_list_push_back_data(message->headers, ((void**) &header)); - } + ADD_HEADER(header); } # /*== Via: ==*/ @@ -746,17 +693,15 @@ # /*== Warning: ==*/ action parse_header_Warning { - TSK_DEBUG_ERROR("parse_header_Warning NOT IMPLEMENTED"); + tsip_header_Warnings_L_t* headers = tsip_header_Warning_parse(state->tag_start, (state->tag_end-state->tag_start)); + ADD_HEADERS(headers); } # /*== WWW-Authenticate: ==*/ action parse_header_WWW_Authenticate { tsip_header_WWW_Authenticate_t *header = tsip_header_WWW_Authenticate_parse(state->tag_start, (state->tag_end-state->tag_start)); - if(header) - { - tsk_list_push_back_data(message->headers, ((void**) &header)); - } + ADD_HEADER(header); } # /*== extension_header: ==*/ diff --git a/trunk/tinySIP/ragel/tsip_parser_header_Event.rl b/trunk/tinySIP/ragel/tsip_parser_header_Event.rl index e69de29b..565d3e95 100644 --- a/trunk/tinySIP/ragel/tsip_parser_header_Event.rl +++ b/trunk/tinySIP/ragel/tsip_parser_header_Event.rl @@ -0,0 +1,169 @@ +/* +* 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 Lesser General Public License for more details. +* +* You should have received a copy of the GNU General Public License +* along with DOUBANGO. +* +*/ + +/**@file tsip_header_Event.c + * @brief SIP Event/o header as per RFC 3265.. + * + * @author Mamadou Diop + * + * @date Created: Sat Nov 8 16:54:58 2009 mdiop + */ +#include "tinysip/headers/tsip_header_Event.h" + +#include "tinysip/parsers/tsip_parser_uri.h" + +#include "tsk_debug.h" +#include "tsk_memory.h" + +#include + +/**@defgroup tsip_header_Event_group SIP Event header as per RFC 3265. +*/ + +/*********************************** +* Ragel state machine. +*/ +%%{ + machine tsip_machine_parser_header_Event; + + # Includes + include tsip_machine_utils "./tsip_machine_utils.rl"; + + action tag + { + tag_start = p; + } + + action parse_package + { + TSK_PARSER_SET_STRING(hdr_event->package); + } + + action parse_param + { + TSK_PARSER_ADD_PARAM(TSIP_HEADER_PARAMS(hdr_event)); + } + + action eob + { + } + + event_param = generic_param>tag %parse_param; + event_package = token_nodot; + event_template = token_nodot; + event_type = (event_package ( "." event_template )*)>tag %parse_package; + + Event = ( "Event"i | "o"i ) HCOLON event_type ( SEMI event_param )*; + + # Entry point + main := Event :>CRLF @eob; + +}%% + +int tsip_header_Event_tostring(const void* header, tsk_buffer_t* output) +{ + if(header) + { + const tsip_header_Event_t *Event = header; + if(Event->package) + { + tsk_buffer_append(output, Event->package, strlen(Event->package)); + } + return 0; + } + + return -1; +} + +tsip_header_Event_t *tsip_header_Event_parse(const char *data, size_t size) +{ + int cs = 0; + const char *p = data; + const char *pe = p + size; + const char *eof = pe; + tsip_header_Event_t *hdr_event = TSIP_HEADER_EVENT_CREATE(0); + + const char *tag_start; + + %%write data; + %%write init; + %%write exec; + + if( cs < %%{ write first_final; }%% ) + { + TSK_OBJECT_SAFE_FREE(hdr_event); + } + + return hdr_event; +} + + + + + + + +//======================================================== +// Event header object definition +// + +/**@ingroup tsip_header_Event_group +*/ +static void* tsip_header_Event_create(void *self, va_list * app) +{ + tsip_header_Event_t *Event = self; + if(Event) + { + TSIP_HEADER(Event)->type = tsip_htype_Event; + TSIP_HEADER(Event)->tostring = tsip_header_Event_tostring; + Event->package = tsk_strdup(va_arg(*app, const char*)); + } + else + { + TSK_DEBUG_ERROR("Failed to create new Event header."); + } + return self; +} + +/**@ingroup tsip_header_Event_group +*/ +static void* tsip_header_Event_destroy(void *self) +{ + tsip_header_Event_t *Event = self; + if(Event) + { + TSK_FREE(Event->package); + TSK_OBJECT_SAFE_FREE(TSIP_HEADER_PARAMS(Event)); + } + else TSK_DEBUG_ERROR("Null Event header."); + + return self; +} + +static const tsk_object_def_t tsip_header_Event_def_s = +{ + sizeof(tsip_header_Event_t), + tsip_header_Event_create, + tsip_header_Event_destroy, + 0 +}; +const void *tsip_header_Event_def_t = &tsip_header_Event_def_s; \ No newline at end of file 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 e69de29b..7ad49491 100644 --- a/trunk/tinySIP/ragel/tsip_parser_header_P_Asserted_Identity.rl +++ b/trunk/tinySIP/ragel/tsip_parser_header_P_Asserted_Identity.rl @@ -0,0 +1,202 @@ +/* +* 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 Lesser General Public License for more details. +* +* You should have received a copy of the GNU General Public License +* along with DOUBANGO. +* +*/ + +/**@file tsip_header_P_Asserted_Identity.c + * @brief SIP P-Asserted-Identity header as per RFC 3325. + * + * @author Mamadou Diop + * + * @date Created: Sat Nov 8 16:54:58 2009 mdiop + */ +#include "tinysip/headers/tsip_header_P_Asserted_Identity.h" + +#include "tinysip/parsers/tsip_parser_uri.h" + +#include "tsk_debug.h" +#include "tsk_memory.h" +#include "tsk_time.h" + +#include + +/**@defgroup tsip_header_P_Asserted_Identity_group SIP P_Asserted_Identity header. +*/ + +/*********************************** +* Ragel state machine. +*/ +%%{ + machine tsip_machine_parser_header_P_Asserted_Identity; + + # Includes + include tsip_machine_utils "./tsip_machine_utils.rl"; + + action tag + { + tag_start = p; + } + + action create_p_asserted_identity + { + if(!curr_p_asserted_identity) + { + curr_p_asserted_identity = TSIP_HEADER_P_ASSERTED_IDENTITY_CREATE(); + } + } + + action parse_display_name + { + if(curr_p_asserted_identity) + { + TSK_PARSER_SET_STRING(curr_p_asserted_identity->display_name); + } + } + + action parse_uri + { + if(curr_p_asserted_identity && !curr_p_asserted_identity->uri) + { + int len = (int)(p - tag_start); + curr_p_asserted_identity->uri = tsip_uri_parse(tag_start, (size_t)len); + } + } + + action add_p_asserted_identity + { + if(curr_p_asserted_identity) + { + tsk_list_push_back_data(hdr_p_asserted_identities, ((void**) &curr_p_asserted_identity)); + } + } + + action eob + { + } + + + URI = (scheme HCOLON any+)>tag %parse_uri; + display_name = (( token LWS )+ | quoted_string)>tag %parse_display_name; + my_name_addr = display_name? :>LAQUOT<: URI :>RAQUOT; + + PAssertedID_value = (my_name_addr | URI) >create_p_asserted_identity %add_p_asserted_identity; + PAssertedID = "P-Asserted-Identity"i HCOLON PAssertedID_value ( COMMA PAssertedID_value )*; + P_Asserted_Identity = PAssertedID; + + # Entry point + main := P_Asserted_Identity :>CRLF @eob; + +}%% + +int tsip_header_P_Asserted_Identity_tostring(const void* header, tsk_buffer_t* output) +{ + if(header) + { + const tsip_header_P_Asserted_Identity_t *P_Asserted_Identity = header; + int ret = 0; + + if(P_Asserted_Identity->display_name){ /* Display Name */ + tsk_buffer_appendEx(output, "\"%s\"", P_Asserted_Identity->display_name); + } + + if(ret=tsip_uri_serialize(P_Asserted_Identity->uri, 1, 1, output)){ /* P_Asserted_Identity */ + return ret; + } + + return ret; + } + + return -1; +} + +tsip_header_P_Asserted_Identities_L_t *tsip_header_P_Asserted_Identity_parse(const char *data, size_t size) +{ + int cs = 0; + const char *p = data; + const char *pe = p + size; + const char *eof = pe; + tsip_header_P_Asserted_Identities_L_t *hdr_p_asserted_identities = TSK_LIST_CREATE(); + + const char *tag_start; + tsip_header_P_Asserted_Identity_t *curr_p_asserted_identity = 0; + + %%write data; + %%write init; + %%write exec; + + if( cs < %%{ write first_final; }%% ) + { + TSK_OBJECT_SAFE_FREE(curr_p_asserted_identity); + TSK_OBJECT_SAFE_FREE(hdr_p_asserted_identities); + } + + return hdr_p_asserted_identities; +} + + + + + +//======================================================== +// P_Asserted_Identity header object definition +// + +/**@ingroup tsip_header_P_Asserted_Identity_group +*/ +static void* tsip_header_P_Asserted_Identity_create(void *self, va_list * app) +{ + tsip_header_P_Asserted_Identity_t *P_Asserted_Identity = self; + if(P_Asserted_Identity) + { + TSIP_HEADER(P_Asserted_Identity)->type = tsip_htype_P_Asserted_Identity; + TSIP_HEADER(P_Asserted_Identity)->tostring = tsip_header_P_Asserted_Identity_tostring; + } + else + { + TSK_DEBUG_ERROR("Failed to create new P_Asserted_Identity header."); + } + return self; +} + +/**@ingroup tsip_header_P_Asserted_Identity_group +*/ +static void* tsip_header_P_Asserted_Identity_destroy(void *self) +{ + tsip_header_P_Asserted_Identity_t *P_Asserted_Identity = self; + if(P_Asserted_Identity) + { + TSK_FREE(P_Asserted_Identity->display_name); + TSK_OBJECT_SAFE_FREE(P_Asserted_Identity->uri); + + TSK_OBJECT_SAFE_FREE(TSIP_HEADER_PARAMS(P_Asserted_Identity)); + } + else TSK_DEBUG_ERROR("Null P_Asserted_Identity header."); + + return self; +} + +static const tsk_object_def_t tsip_header_P_Asserted_Identity_def_s = +{ + sizeof(tsip_header_P_Asserted_Identity_t), + tsip_header_P_Asserted_Identity_create, + 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 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 e69de29b..431aed9a 100644 --- a/trunk/tinySIP/ragel/tsip_parser_header_P_Associated_URI.rl +++ b/trunk/tinySIP/ragel/tsip_parser_header_P_Associated_URI.rl @@ -0,0 +1,215 @@ +/* +* 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 Lesser General Public License for more details. +* +* You should have received a copy of the GNU General Public License +* along with DOUBANGO. +* +*/ + +/**@file tsip_header_P_Associated_URI.c + * @brief SIP P-Associated-URI header as per RFC 3455. + * + * @author Mamadou Diop + * + * @date Created: Sat Nov 8 16:54:58 2009 mdiop + */ +#include "tinysip/headers/tsip_header_P_Associated_URI.h" + +#include "tinysip/parsers/tsip_parser_uri.h" + +#include "tsk_debug.h" +#include "tsk_memory.h" +#include "tsk_time.h" + +#include + +/**@defgroup tsip_header_P_Associated_URI_group SIP P_Associated_URI header. +*/ + +/*********************************** +* Ragel state machine. +*/ +%%{ + machine tsip_machine_parser_header_P_Associated_URI; + + # Includes + include tsip_machine_utils "./tsip_machine_utils.rl"; + + action tag + { + tag_start = p; + } + + action create_p_associated_uri + { + if(!curr_p_associated_uri) + { + curr_p_associated_uri = TSIP_HEADER_P_ASSOCIATED_URI_CREATE_NULL(); + } + } + + action parse_display_name + { + if(curr_p_associated_uri) + { + TSK_PARSER_SET_STRING(curr_p_associated_uri->display_name); + } + } + + action parse_uri + { + if(curr_p_associated_uri && !curr_p_associated_uri->uri) + { + int len = (int)(p - tag_start); + curr_p_associated_uri->uri = tsip_uri_parse(tag_start, (size_t)len); + } + } + + action parse_param + { + if(curr_p_associated_uri) + { + TSK_PARSER_ADD_PARAM(TSIP_HEADER_PARAMS(curr_p_associated_uri)); + } + } + + action add_p_associated_uri + { + if(curr_p_associated_uri) + { + tsk_list_push_back_data(hdr_p_associated_uris, ((void**) &curr_p_associated_uri)); + } + } + + action eob + { + } + + + URI = (scheme HCOLON any+)>tag %parse_uri; + display_name = (( token LWS )+ | quoted_string)>tag %parse_display_name; + my_name_addr = display_name? :>LAQUOT<: URI :>RAQUOT; + + ai_param = (generic_param)>tag %parse_param; + p_aso_uri_spec = (my_name_addr ( SEMI ai_param )*) >create_p_associated_uri %add_p_associated_uri; + P_Associated_URI = "P-Associated-URI"i HCOLON p_aso_uri_spec ( COMMA p_aso_uri_spec )*; + + # Entry point + main := P_Associated_URI :>CRLF @eob; + +}%% + +int tsip_header_P_Associated_URI_tostring(const void* header, tsk_buffer_t* output) +{ + if(header) + { + const tsip_header_P_Associated_URI_t *P_Associated_URI = header; + int ret = 0; + + if(P_Associated_URI->display_name){ /* Display Name */ + tsk_buffer_appendEx(output, "\"%s\"", P_Associated_URI->display_name); + } + + if(ret=tsip_uri_serialize(P_Associated_URI->uri, 1, 1, output)){ /* P_Associated_URI */ + return ret; + } + + return ret; + } + + return -1; +} + +tsip_header_P_Associated_URIs_L_t *tsip_header_P_Associated_URI_parse(const char *data, size_t size) +{ + int cs = 0; + const char *p = data; + const char *pe = p + size; + const char *eof = pe; + tsip_header_P_Associated_URIs_L_t *hdr_p_associated_uris = TSK_LIST_CREATE(); + + const char *tag_start; + tsip_header_P_Associated_URI_t *curr_p_associated_uri = 0; + + %%write data; + %%write init; + %%write exec; + + if( cs < %%{ write first_final; }%% ) + { + TSK_OBJECT_SAFE_FREE(curr_p_associated_uri); + TSK_OBJECT_SAFE_FREE(hdr_p_associated_uris); + } + + return hdr_p_associated_uris; +} + + + + + +//======================================================== +// P_Associated_URI header object definition +// + +/**@ingroup tsip_header_P_Associated_URI_group +*/ +static void* tsip_header_P_Associated_URI_create(void *self, va_list * app) +{ + tsip_header_P_Associated_URI_t *P_Associated_URI = self; + if(P_Associated_URI) + { + const tsip_uri_t* uri = va_arg(*app, const tsip_uri_t*); + + TSIP_HEADER(P_Associated_URI)->type = tsip_htype_P_Associated_URI; + TSIP_HEADER(P_Associated_URI)->tostring = tsip_header_P_Associated_URI_tostring; + if(uri){ + P_Associated_URI->uri = tsk_object_ref((void*)uri); + } + } + else + { + TSK_DEBUG_ERROR("Failed to create new P_Associated_URI header."); + } + return self; +} + +/**@ingroup tsip_header_P_Associated_URI_group +*/ +static void* tsip_header_P_Associated_URI_destroy(void *self) +{ + tsip_header_P_Associated_URI_t *P_Associated_URI = self; + if(P_Associated_URI) + { + TSK_FREE(P_Associated_URI->display_name); + TSK_OBJECT_SAFE_FREE(P_Associated_URI->uri); + + TSK_OBJECT_SAFE_FREE(TSIP_HEADER_PARAMS(P_Associated_URI)); + } + else TSK_DEBUG_ERROR("Null P_Associated_URI header."); + + return self; +} + +static const tsk_object_def_t tsip_header_P_Associated_URI_def_s = +{ + sizeof(tsip_header_P_Associated_URI_t), + tsip_header_P_Associated_URI_create, + 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 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 e69de29b..d3e6f110 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 @@ -0,0 +1,204 @@ +/* +* 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 Lesser General Public License for more details. +* +* You should have received a copy of the GNU General Public License +* along with DOUBANGO. +* +*/ + +/**@file tsip_header_P_Charging_Function_Addresses.c + * @brief SIP P-Charging-Function-Addresses header as per RFC 3455. + * + * @author Mamadou Diop + * + * @date Created: Sat Nov 8 16:54:58 2009 mdiop + */ +#include "tinysip/headers/tsip_header_P_Charging_Function_Addresses.h" + +#include "tinysip/parsers/tsip_parser_uri.h" + +#include "tsk_debug.h" +#include "tsk_memory.h" +#include "tsk_time.h" + +#include + +/**@defgroup tsip_header_P_Charging_Function_Addresses_group SIP P_Charging_Function_Addresses header. +*/ + +/*********************************** +* Ragel state machine. +*/ +%%{ + machine tsip_machine_parser_header_P_Charging_Function_Addresses; + + # Includes + include tsip_machine_utils "./tsip_machine_utils.rl"; + + action tag + { + tag_start = p; + } + + action create_p_charging_function_addresses + { + if(!curr_p_charging_function_addresses) + { + curr_p_charging_function_addresses = TSIP_HEADER_P_CHARGING_FUNCTION_ADDRESSES_CREATE(); + } + } + + action parse_ccf + { + if(!curr_p_charging_function_addresses->ccf) + { + TSK_PARSER_SET_STRING(curr_p_charging_function_addresses->ccf); + } + } + + action parse_ecf + { + if(!curr_p_charging_function_addresses->ecf) + { + TSK_PARSER_SET_STRING(curr_p_charging_function_addresses->ecf); + } + } + + action parse_param + { + if(curr_p_charging_function_addresses) + { + TSK_PARSER_ADD_PARAM(TSIP_HEADER_PARAMS(curr_p_charging_function_addresses)); + } + } + + action add_p_charging_function_addresses + { + if(curr_p_charging_function_addresses) + { + tsk_list_push_back_data(hdr_p_charging_function_addressess, ((void**) &curr_p_charging_function_addresses)); + } + } + + action eob + { + } + + ccf = "ccf"i EQUAL gen_value; + ecf = "ecf"i EQUAL gen_value; + charge_addr_params = (ccf>tag %parse_ccf | ecf>tag %parse_ecf | generic_param>tag %parse_param) >create_p_charging_function_addresses %add_p_charging_function_addresses; + P_Charging_Addr = "P-Charging-Function-Addresses"i HCOLON charge_addr_params ( SEMI charge_addr_params )*; + P_Charging_Function_Addresses = P_Charging_Addr; + + # Entry point + main := P_Charging_Function_Addresses :>CRLF @eob; + +}%% + +int tsip_header_P_Charging_Function_Addresses_tostring(const void* header, tsk_buffer_t* output) +{ + if(header) + { + const tsip_header_P_Charging_Function_Addresses_t *P_Charging_Function_Addresses = header; + return tsk_buffer_appendEx(output, "%s%s%s%s%s", + P_Charging_Function_Addresses->ecf ? "ecf=" : "", + P_Charging_Function_Addresses->ecf ? P_Charging_Function_Addresses->ecf : "", + + (P_Charging_Function_Addresses->ecf && P_Charging_Function_Addresses->ccf) ? ";" : "", + + P_Charging_Function_Addresses->ccf ? "ccf=" : "", + P_Charging_Function_Addresses->ccf ? P_Charging_Function_Addresses->ccf : "" + ); + } + + return -1; +} + +tsip_header_P_Charging_Function_Addressess_L_t *tsip_header_P_Charging_Function_Addresses_parse(const char *data, size_t size) +{ + int cs = 0; + const char *p = data; + const char *pe = p + size; + const char *eof = pe; + tsip_header_P_Charging_Function_Addressess_L_t *hdr_p_charging_function_addressess = TSK_LIST_CREATE(); + + const char *tag_start; + tsip_header_P_Charging_Function_Addresses_t *curr_p_charging_function_addresses = 0; + + %%write data; + %%write init; + %%write exec; + + if( cs < %%{ write first_final; }%% ) + { + TSK_OBJECT_SAFE_FREE(curr_p_charging_function_addresses); + TSK_OBJECT_SAFE_FREE(hdr_p_charging_function_addressess); + } + + return hdr_p_charging_function_addressess; +} + + + + + +//======================================================== +// P_Charging_Function_Addresses header object definition +// + +/**@ingroup tsip_header_P_Charging_Function_Addresses_group +*/ +static void* tsip_header_P_Charging_Function_Addresses_create(void *self, va_list * app) +{ + tsip_header_P_Charging_Function_Addresses_t *P_Charging_Function_Addresses = self; + if(P_Charging_Function_Addresses) + { + TSIP_HEADER(P_Charging_Function_Addresses)->type = tsip_htype_P_Charging_Function_Addresses; + TSIP_HEADER(P_Charging_Function_Addresses)->tostring = tsip_header_P_Charging_Function_Addresses_tostring; + } + else + { + TSK_DEBUG_ERROR("Failed to create new P_Charging_Function_Addresses header."); + } + return self; +} + +/**@ingroup tsip_header_P_Charging_Function_Addresses_group +*/ +static void* tsip_header_P_Charging_Function_Addresses_destroy(void *self) +{ + tsip_header_P_Charging_Function_Addresses_t *P_Charging_Function_Addresses = self; + if(P_Charging_Function_Addresses) + { + TSK_FREE(P_Charging_Function_Addresses->ecf); + TSK_FREE(P_Charging_Function_Addresses->ccf); + + TSK_OBJECT_SAFE_FREE(TSIP_HEADER_PARAMS(P_Charging_Function_Addresses)); + } + else TSK_DEBUG_ERROR("Null P_Charging_Function_Addresses header."); + + return self; +} + +static const tsk_object_def_t tsip_header_P_Charging_Function_Addresses_def_s = +{ + sizeof(tsip_header_P_Charging_Function_Addresses_t), + tsip_header_P_Charging_Function_Addresses_create, + 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 diff --git a/trunk/tinySIP/ragel/tsip_parser_header_Path.rl b/trunk/tinySIP/ragel/tsip_parser_header_Path.rl index 4023b9ac..f9d11b6f 100644 --- a/trunk/tinySIP/ragel/tsip_parser_header_Path.rl +++ b/trunk/tinySIP/ragel/tsip_parser_header_Path.rl @@ -58,7 +58,7 @@ { if(!curr_path) { - curr_path = TSIP_HEADER_PATH_CREATE(); + curr_path = TSIP_HEADER_PATH_CREATE_NULL(); } } @@ -174,8 +174,13 @@ static void* tsip_header_Path_create(void *self, va_list * app) tsip_header_Path_t *Path = self; if(Path) { + const tsip_uri_t* uri = va_arg(*app, const tsip_uri_t*); + TSIP_HEADER(Path)->type = tsip_htype_Path; TSIP_HEADER(Path)->tostring = tsip_header_Path_tostring; + if(uri){ + Path->uri = tsk_object_ref((void*)uri); + } } else { diff --git a/trunk/tinySIP/ragel/tsip_parser_header_Route.rl b/trunk/tinySIP/ragel/tsip_parser_header_Route.rl index 20fb39b5..4c111321 100644 --- a/trunk/tinySIP/ragel/tsip_parser_header_Route.rl +++ b/trunk/tinySIP/ragel/tsip_parser_header_Route.rl @@ -21,7 +21,7 @@ */ /**@file tsip_header_Route.c - * @brief SIP Service-Route header as per RFC 3608. + * @brief SIP Route header. * * @author Mamadou Diop * @@ -37,7 +37,7 @@ #include -/**@defgroup tsip_header_Route_group SIP Service-Route header. +/**@defgroup tsip_header_Route_group SIP Route header. */ /*********************************** @@ -58,7 +58,7 @@ { if(!curr_route) { - curr_route = TSIP_HEADER_ROUTE_CREATE(); + curr_route = TSIP_HEADER_ROUTE_CREATE_NULL(); } } @@ -177,8 +177,14 @@ static void* tsip_header_Route_create(void *self, va_list * app) tsip_header_Route_t *Route = self; if(Route) { + const tsip_uri_t* uri = va_arg(*app, const tsip_uri_t*); + TSIP_HEADER(Route)->type = tsip_htype_Route; TSIP_HEADER(Route)->tostring = tsip_header_Route_tostring; + + if(uri){ + Route->uri = tsk_object_ref((void*)uri); + } } else { diff --git a/trunk/tinySIP/ragel/tsip_parser_header_Server.rl b/trunk/tinySIP/ragel/tsip_parser_header_Server.rl index e69de29b..2c680be5 100644 --- a/trunk/tinySIP/ragel/tsip_parser_header_Server.rl +++ b/trunk/tinySIP/ragel/tsip_parser_header_Server.rl @@ -0,0 +1,164 @@ +/* +* 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 Lesser General Public License for more details. +* +* You should have received a copy of the GNU General Public License +* along with DOUBANGO. +* +*/ + +/**@file tsip_header_Server.c + * @brief SIP Server header. + * + * @author Mamadou Diop + * + * @date Created: Sat Nov 8 16:54:58 2009 mdiop + */ +#include "tinysip/headers/tsip_header_Server.h" + +#include "tinysip/parsers/tsip_parser_uri.h" + +#include "tsk_debug.h" +#include "tsk_memory.h" + +#include + +/**@defgroup tsip_header_Server_group SIP Server header. +*/ + +/*********************************** +* Ragel state machine. +*/ +%%{ + machine tsip_machine_parser_header_Server; + + # Includes + include tsip_machine_utils "./tsip_machine_utils.rl"; + + action tag + { + tag_start = p; + } + + action parse_server + { + TSK_PARSER_SET_STRING(hdr_server->value); + } + + action eob + { + } + + # product_version = token; + # product = token ( SLASH product_version )?; + # server_val = product | comment; + # Server = "Server"i HCOLON (server_val ( LWS server_val )*)>tag %parse_server; + + Server = "Server"i HCOLON (any*)>tag %parse_server; + + # Entry point + main := Server :>CRLF @eob; + +}%% + +int tsip_header_Server_tostring(const void* header, tsk_buffer_t* output) +{ + if(header) + { + const tsip_header_Server_t *Server = header; + if(Server->value) + { + return tsk_buffer_append(output, Server->value, strlen(Server->value)); + } + return 0; + } + + return -1; +} + +tsip_header_Server_t *tsip_header_Server_parse(const char *data, size_t size) +{ + int cs = 0; + const char *p = data; + const char *pe = p + size; + const char *eof = pe; + tsip_header_Server_t *hdr_server = TSIP_HEADER_SERVER_CREATE(0); + + const char *tag_start; + + %%write data; + %%write init; + %%write exec; + + if( cs < %%{ write first_final; }%% ) + { + TSK_OBJECT_SAFE_FREE(hdr_server); + } + + return hdr_server; +} + + + + + + + +//======================================================== +// Server header object definition +// + +/**@ingroup tsip_header_Server_group +*/ +static void* tsip_header_Server_create(void *self, va_list * app) +{ + tsip_header_Server_t *Server = self; + if(Server) + { + TSIP_HEADER(Server)->type = tsip_htype_Server; + TSIP_HEADER(Server)->tostring = tsip_header_Server_tostring; + Server->value = tsk_strdup(va_arg(*app, const char*)); + } + else + { + TSK_DEBUG_ERROR("Failed to create new Server header."); + } + return self; +} + +/**@ingroup tsip_header_Server_group +*/ +static void* tsip_header_Server_destroy(void *self) +{ + tsip_header_Server_t *Server = self; + if(Server) + { + TSK_FREE(Server->value); + TSK_OBJECT_SAFE_FREE(TSIP_HEADER_PARAMS(Server)); + } + else TSK_DEBUG_ERROR("Null Server header."); + + return self; +} + +static const tsk_object_def_t tsip_header_Server_def_s = +{ + sizeof(tsip_header_Server_t), + tsip_header_Server_create, + tsip_header_Server_destroy, + 0 +}; +const void *tsip_header_Server_def_t = &tsip_header_Server_def_s; \ No newline at end of file diff --git a/trunk/tinySIP/ragel/tsip_parser_header_Service_Route.rl b/trunk/tinySIP/ragel/tsip_parser_header_Service_Route.rl index 88b0cf78..7462250e 100644 --- a/trunk/tinySIP/ragel/tsip_parser_header_Service_Route.rl +++ b/trunk/tinySIP/ragel/tsip_parser_header_Service_Route.rl @@ -58,7 +58,7 @@ { if(!curr_service) { - curr_service = TSIP_HEADER_SERVICE_ROUTE_CREATE(); + curr_service = TSIP_HEADER_SERVICE_ROUTE_CREATE_NULL(); } } @@ -174,8 +174,13 @@ static void* tsip_header_Service_Route_create(void *self, va_list * app) tsip_header_Service_Route_t *Service_Route = self; if(Service_Route) { + const tsip_uri_t* uri = va_arg(*app, const tsip_uri_t*); + TSIP_HEADER(Service_Route)->type = tsip_htype_Service_Route; TSIP_HEADER(Service_Route)->tostring = tsip_header_Service_Route_tostring; + if(uri){ + Service_Route->uri = tsk_object_ref((void*)uri); + } } else { diff --git a/trunk/tinySIP/ragel/tsip_parser_header_User_Agent.rl b/trunk/tinySIP/ragel/tsip_parser_header_User_Agent.rl index b5f70390..faa60337 100644 --- a/trunk/tinySIP/ragel/tsip_parser_header_User_Agent.rl +++ b/trunk/tinySIP/ragel/tsip_parser_header_User_Agent.rl @@ -142,6 +142,7 @@ static void* tsip_header_User_Agent_destroy(void *self) if(User_Agent) { TSK_FREE(User_Agent->value); + TSK_OBJECT_SAFE_FREE(TSIP_HEADER_PARAMS(User_Agent)); } else TSK_DEBUG_ERROR("Null User_Agent header."); diff --git a/trunk/tinySIP/ragel/tsip_parser_header_Warning.rl b/trunk/tinySIP/ragel/tsip_parser_header_Warning.rl index e69de29b..53463227 100644 --- a/trunk/tinySIP/ragel/tsip_parser_header_Warning.rl +++ b/trunk/tinySIP/ragel/tsip_parser_header_Warning.rl @@ -0,0 +1,200 @@ +/* +* 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 Lesser General Public License for more details. +* +* You should have received a copy of the GNU General Public License +* along with DOUBANGO. +* +*/ + +/**@file tsip_header_Warning.c + * @brief SIP Warning header. + * + * @author Mamadou Diop + * + * @date Created: Sat Nov 8 16:54:58 2009 mdiop + */ +#include "tinysip/headers/tsip_header_Warning.h" + +#include "tinysip/parsers/tsip_parser_uri.h" + +#include "tsk_debug.h" +#include "tsk_memory.h" +#include "tsk_time.h" + +#include + +/**@defgroup tsip_header_Warning_group SIP Warning header. +*/ + +/*********************************** +* Ragel state machine. +*/ +%%{ + machine tsip_machine_parser_header_Warning; + + # Includes + include tsip_machine_utils "./tsip_machine_utils.rl"; + + action tag + { + tag_start = p; + } + + action create_warning + { + if(!curr_warning) + { + curr_warning = TSIP_HEADER_WARNING_CREATE(); + } + } + + action parse_agent + { + if(curr_warning) + { + TSK_PARSER_SET_STRING(curr_warning->agent); + } + } + + action parse_text + { + if(curr_warning) + { + TSK_PARSER_SET_STRING(curr_warning->text); + } + } + + action parse_code + { + if(curr_warning) + { + TSK_PARSER_SET_INTEGER(curr_warning->code); + } + } + + action add_warning + { + if(curr_warning) + { + tsk_list_push_back_data(hdr_warnings, ((void**) &curr_warning)); + } + } + + action eob + { + } + + warn_code = DIGIT{3}; + pseudonym = token; + warn_agent = hostport | pseudonym; + warn_text = quoted_string; + warning_value = (warn_code>tag %parse_code :>SP warn_agent>tag %parse_agent :>SP warn_text>tag %parse_text) >create_warning %add_warning; + Warning = "Warning"i HCOLON warning_value ( COMMA warning_value )*; + + # Entry point + main := Warning :>CRLF @eob; + +}%% + +int tsip_header_Warning_tostring(const void* header, tsk_buffer_t* output) +{ + if(header) + { + const tsip_header_Warning_t *Warning = header; + return tsk_buffer_appendEx(output, "%d %s %s", + Warning->code, Warning->agent, Warning->text); /* warn-code SP warn-agent SP warn-text */ + } + + return -1; +} + +tsip_header_Warnings_L_t *tsip_header_Warning_parse(const char *data, size_t size) +{ + int cs = 0; + const char *p = data; + const char *pe = p + size; + const char *eof = pe; + tsip_header_Warnings_L_t *hdr_warnings = TSK_LIST_CREATE(); + + const char *tag_start; + tsip_header_Warning_t *curr_warning = 0; + + %%write data; + %%write init; + %%write exec; + + if( cs < %%{ write first_final; }%% ) + { + TSK_OBJECT_SAFE_FREE(curr_warning); + TSK_OBJECT_SAFE_FREE(hdr_warnings); + } + + return hdr_warnings; +} + + + + + +//======================================================== +// Warning header object definition +// + +/**@ingroup tsip_header_Warning_group +*/ +static void* tsip_header_Warning_create(void *self, va_list * app) +{ + tsip_header_Warning_t *Warning = self; + if(Warning) + { + TSIP_HEADER(Warning)->type = tsip_htype_Warning; + TSIP_HEADER(Warning)->tostring = tsip_header_Warning_tostring; + + Warning->code = -1; + } + else + { + TSK_DEBUG_ERROR("Failed to create new Warning header."); + } + return self; +} + +/**@ingroup tsip_header_Warning_group +*/ +static void* tsip_header_Warning_destroy(void *self) +{ + tsip_header_Warning_t *Warning = self; + if(Warning) + { + TSK_FREE(Warning->agent); + TSK_FREE(Warning->text); + + TSK_OBJECT_SAFE_FREE(TSIP_HEADER_PARAMS(Warning)); + } + else TSK_DEBUG_ERROR("Null Warning header."); + + return self; +} + +static const tsk_object_def_t tsip_header_Warning_def_s = +{ + sizeof(tsip_header_Warning_t), + tsip_header_Warning_create, + tsip_header_Warning_destroy, + 0 +}; +const void *tsip_header_Warning_def_t = &tsip_header_Warning_def_s; \ No newline at end of file diff --git a/trunk/tinySIP/smc/tsip_dialog_subscribe.sm b/trunk/tinySIP/smc/tsip_dialog_subscribe.sm new file mode 100644 index 00000000..c2446a7c --- /dev/null +++ b/trunk/tinySIP/smc/tsip_dialog_subscribe.sm @@ -0,0 +1,219 @@ +%{ +/* +* 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 Lesser General Public License for more details. +* +* You should have received a copy of the GNU General Public License +* along with DOUBANGO. +* +*/ + +/**@file tsip_dialog_subscribe.sm. + * @brief SIP dialog SUBSCRIBE (RFC 2543). + * + * @author Mamadou Diop + * + * @date Created: Sat Nov 8 16:54:58 2009 mdiop + */ + +%} + + +%class tsip_dialog_subscribe +%header "tinysip/dialogs/tsip_dialog_subscribe.h" +%header "tinysip/tsip_message.h" +%start tsip_dialog_subscribe::Started +%include "tsk_debug.h" + +%map tsip_dialog_subscribe +%% + +//------------------------ +//------------------------ +Started + Entry + { + } + Exit + { + } +{ + sm_send() + Trying + { + Started_2_Trying_X_send(); + } + + Default + nil + { + } +} + +//------------------------ +//------------------------ +Trying + Entry + { + } + Exit + { + } +{ + sm_1xx(msg: const tsip_message_t*) + nil + { + Trying_2_Trying_X_1xx(msg); + } + + sm_2xx(unsubscribeing: int, response: const tsip_response_t*) [unsubscribeing] + Terminated + { + Trying_2_Terminated_X_2xx(response); + } + + sm_2xx(unsubscribeing: int, response: const tsip_response_t*) [!unsubscribeing] + Connected + { + Trying_2_Connected_X_2xx(response); + } + + sm_401_407_421_494(response: const tsip_response_t*) + nil + { + Trying_2_Trying_X_401_407_421_494(response); + } + + sm_423(response: const tsip_response_t*) + nil + { + Trying_2_Trying_X_423(response); + } + + sm_300_to_699(response: const tsip_response_t*) + Terminated + { + Trying_2_Terminated_X_300_to_699(response); + } + + sm_cancel() + Terminated + { + Trying_2_Terminated_X_cancel(); + } + sm_NOTIFY(sterminated: int, request: const tsip_request_t*) + nil + { + Trying_2_Trying_X_NOTIFY(request); + } + + Default + nil + { + } +} + +//------------------------ +//------------------------ +Connected + Entry + { + } + Exit + { + } +{ + sm_unsubscribe() + Trying + { + Connected_2_Trying_X_unsubscribe(); + } + + sm_refresh() + Trying + { + Connected_2_Trying_X_refresh(); + } + + sm_NOTIFY(sterminated: int, request: const tsip_request_t*)[!sterminated] + nil + { + Connected_2_Connected_X_NOTIFY(request); + } + + sm_NOTIFY(sterminated: int, request: const tsip_request_t*)[sterminated] + Terminated + { + Connected_2_Terminated_X_NOTIFY(request); + } + + Default + nil + { + } +} + +//------------------------ +//------------------------ +Terminated + Entry + { + OnTerminated(); + } + + Exit + { + } +{ + Default + nil + { + } +} + +//------------------------ +//------------------------ +Default + Entry + { + } + Exit + { + } +{ + sm_hangup() + Trying + { + Any_2_Trying_X_hangup(); + } + + sm_transportError() + Terminated + { + Any_2_Terminated_X_transportError(); + } + + sm_error() + Terminated + { + } + + Default + nil + { + } +} +%% \ No newline at end of file diff --git a/trunk/tinySIP/src/api/tsip_subscribe.c b/trunk/tinySIP/src/api/tsip_subscribe.c index e69de29b..7fc44a75 100644 --- a/trunk/tinySIP/src/api/tsip_subscribe.c +++ b/trunk/tinySIP/src/api/tsip_subscribe.c @@ -0,0 +1,139 @@ +/* +* 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 Lesser General Public License for more details. +* +* You should have received a copy of the GNU General Public License +* along with DOUBANGO. +* +*/ + +/**@file tsip_subscribe.c + * @brief Public registration (SUBSCRIBE) functions. + * + * @author Mamadou Diop + * + * @date Created: Sat Nov 8 16:54:58 2009 mdiop + */ +#include "tinysip/api/tsip_subscribe.h" + +#include "tinysip/dialogs/tsip_dialog_layer.h" +#include "tinysip/dialogs/tsip_dialog_subscribe.h" + +#include "tsip.h" + +#include "tsk_runnable.h" +#include "tsk_debug.h" + +#define TSIP_SUBSCRIBE_EVENT_CREATE( type) tsk_object_new(tsip_subscribe_event_def_t, type) + +int tsip_subscribe_event_signal(tsip_subscribe_event_type_t type, struct tsip_stack_s *stack, tsip_operation_id_t opid, short status_code, const char *phrase, unsigned incoming) +{ + tsip_subscribe_event_t* sipevent = TSIP_SUBSCRIBE_EVENT_CREATE(type); + tsip_event_init(TSIP_EVENT(sipevent), stack, opid, status_code, phrase, incoming, tsip_event_subscribe); + + TSK_RUNNABLE_ENQUEUE_OBJECT(TSK_RUNNABLE(stack), sipevent); + + return 0; +} + +int tsip_subscribe(tsip_stack_handle_t *_stack, const tsip_operation_handle_t *operation) +{ + int ret = -1; + + if(_stack && operation) + { + tsip_stack_t *stack = _stack; + tsip_dialog_subscribe_t *dialog; + + dialog = (tsip_dialog_subscribe_t*)tsip_dialog_layer_find_by_op(stack->layer_dialog, tsip_dialog_subscribe, operation); + if(dialog) + { + TSK_DEBUG_WARN("Already subscribeed."); + ret = -2; + goto bail; + } + else + { + dialog = TSIP_DIALOG_SUBSCRIBE_CREATE(stack, operation); + ret = tsip_dialog_subscribe_start(dialog); + tsk_list_push_back_data(stack->layer_dialog->dialogs, (void**)&dialog); + } + } + +bail: + return ret; +} + +int tsip_unsubscribe(tsip_stack_handle_t *_stack, const tsip_operation_handle_t *operation) +{ + if(_stack && operation) + { + //const tsip_stack_t *stack = self; + //tsip_operation_handle_t *op = tsip_operation_clone(operation); + + //tsk_list_push_back_data(stack->operations, (void**)&op); + } + return -1; +} + + + + + + + + + + + + + +//======================================================== +// SIP SUBSCRIBE event object definition +// +static void* tsip_subscribe_event_create(void * self, va_list * app) +{ + tsip_subscribe_event_t *sipevent = self; + if(sipevent) + { + sipevent->type = va_arg(*app, tsip_subscribe_event_type_t); + } + return self; +} + +static void* tsip_subscribe_event_destroy(void * self) +{ + tsip_subscribe_event_t *sipevent = self; + if(sipevent) + { + tsip_event_deinit(TSIP_EVENT(sipevent)); + } + return self; +} + +static int tsip_subscribe_event_cmp(const void *obj1, const void *obj2) +{ + return -1; +} + +static const tsk_object_def_t tsip_subscribe_event_def_s = +{ + sizeof(tsip_subscribe_event_t), + tsip_subscribe_event_create, + tsip_subscribe_event_destroy, + tsip_subscribe_event_cmp, +}; +const void *tsip_subscribe_event_def_t = &tsip_subscribe_event_def_s; diff --git a/trunk/tinySIP/src/dialogs/tsip_dialog.c b/trunk/tinySIP/src/dialogs/tsip_dialog.c index bd110602..2682083f 100644 --- a/trunk/tinySIP/src/dialogs/tsip_dialog.c +++ b/trunk/tinySIP/src/dialogs/tsip_dialog.c @@ -35,9 +35,12 @@ #include "tinysip/transactions/tsip_transac_nict.h" #include "tinysip/headers/tsip_header_Authorization.h" -#include "tinysip/headers/tsip_header_Proxy_Authorization.h" -#include "tinysip/headers/tsip_header_WWW_Authenticate.h" +#include "tinysip/headers/tsip_header_Contact.h" +#include "tinysip/headers/tsip_header_Expires.h" #include "tinysip/headers/tsip_header_Proxy_Authenticate.h" +#include "tinysip/headers/tsip_header_Proxy_Authorization.h" +#include "tinysip/headers/tsip_header_Route.h" +#include "tinysip/headers/tsip_header_WWW_Authenticate.h" #include "tsk_debug.h" @@ -99,7 +102,7 @@ tsip_request_t *tsip_dialog_request_new(const tsip_dialog_t *self, const char* m into the Request-URI. The UAC MUST NOT add a Route header field to the request. */ - if(TSK_LIST_IS_EMPTY(self->routes)) + if(!self->routes || TSK_LIST_IS_EMPTY(self->routes)) { request_uri = tsk_object_ref((void*)self->uri_remote_target); } @@ -173,12 +176,19 @@ tsip_request_t *tsip_dialog_request_new(const tsip_dialog_t *self, const char* m TSK_FREE(contact); } - - - + /* Dialog Routes */ if(copy_routes_start !=-1) { - // FIXME: + tsk_list_item_t *item; + int32_t index = -1; + tsk_list_foreach(item, self->routes) + { + const tsip_uri_t* uri = item->data; + if(++index < copy_routes_start || !uri){ + continue; + } + TSIP_MESSAGE_ADD_HEADER(request, TSIP_HEADER_ROUTE_VA_ARGS(uri)); + } } @@ -191,7 +201,7 @@ tsip_request_t *tsip_dialog_request_new(const tsip_dialog_t *self, const char* m /* Update authorizations */ if(TSK_LIST_IS_EMPTY(self->challenges)) { - if(tsk_strequals("REGISTER", method) && !TSIP_STACK(self->stack)->enable_earlyIMS) + if(tsk_striequals("REGISTER", method) && !TSIP_STACK(self->stack)->enable_earlyIMS) { /* 3GPP TS 34.229 - 5.1.1.1A === 3GPP TS 33.978 - 6.2.3.1 On sending a REGISTER request, the UE shall populate the header fields as follows: @@ -225,11 +235,20 @@ tsip_request_t *tsip_dialog_request_new(const tsip_dialog_t *self, const char* m } /* Update CSeq */ - if(!tsk_striequals(request->method, "ACK") && !tsk_striequals(request->method, "CANCEL")) + if(!tsk_striequals(method, "ACK") && !tsk_striequals(method, "CANCEL")) { request->CSeq->seq = ++(TSIP_DIALOG(self)->cseq_value); } + /* Route generation + * ==> http://betelco.blogspot.com/2008/11/proxy-and-service-route-discovery-in.html + * The dialog Routes have been copied above. + */ + if(!tsk_striequals("REGISTER", method)) + { // According to the above link ==> Initial/Re/De registration do not have routes. + + } + TSK_OBJECT_SAFE_FREE(request_uri); TSK_OBJECT_SAFE_FREE(from_uri); @@ -347,25 +366,49 @@ int tsip_dialog_get_newdelay(tsip_dialog_t *self, const tsip_response_t* respons { int expires = self->expires; int newdelay = expires; /* default value */ + const tsip_header_t* hdr; + size_t i; - /* - * NOTIFY with subscription-state header with expires parameter. + /*== NOTIFY with subscription-state header with expires parameter. */ - if(response->CSeq && tsk_striequals(response->CSeq->method, "NOTIFY")) - { + if(response->CSeq && tsk_striequals(response->CSeq->method, "NOTIFY")){ // FIXME: //expires = tsk_params_get_asint("expires"); goto compute; } - /* - * Exipires header or contact header with expires param? + /*== Expires header. */ - if((expires = tsip_message_getExpires(response)) >0) - { + if((hdr = tsip_message_get_header(response, tsip_htype_Event))){ + expires = ((const tsip_header_Expires_t*)hdr)->delta_seconds; goto compute; } + /*== Contact header. + */ + for(i=0; (hdr = tsip_message_get_headerAt(response, tsip_htype_Contact, i)); i++){ + const tsip_header_Contact_t* contact = (const tsip_header_Contact_t*)hdr; + if(contact && contact->uri) + { + tsip_uri_t* contactUri = tsip_stack_get_contacturi(self->stack, tsk_params_get_param_value(contact->uri->params, "transport")); + if(contactUri) + { + if(tsk_strequals(contact->uri->user_name, contactUri->user_name) + && tsk_strequals(contact->uri->host, contactUri->host) + && contact->uri->port == contactUri->port) + { + if(contact->expires>=0){ /* No expires parameter ==> -1*/ + expires = contact->expires; + + TSK_OBJECT_SAFE_FREE(contactUri); + goto compute; + } + } + TSK_OBJECT_SAFE_FREE(contactUri); + } + } + } + /* * 3GPP TS 24.229 - * @@ -421,7 +464,7 @@ int tsip_dialog_update(tsip_dialog_t *self, const tsip_response_t* response) acceptNewVector = (isRegister && self->state == tsip_established); return tsip_dialog_update_challenges(self, response, acceptNewVector); } - else if(100 <= code || code >= 300) + else if(100 < code && code < 300) { tsip_dialog_state_t state = self->state; @@ -447,16 +490,30 @@ int tsip_dialog_update(tsip_dialog_t *self, const tsip_response_t* response) } } - /* Route sets + cseq + tags + ... */ - if(self->state == tsip_established && tsk_striequals(self->tag_remote, tag)) + /* Route sets + */ { + size_t index; + const tsip_header_t *hdr; + + TSK_OBJECT_SAFE_FREE(self->routes); + + for(index = 0; (hdr = tsip_message_get_headerAt(response, tsip_htype_Record_Route, index)); index++){ + if(!self->routes){ + self->routes = TSK_LIST_CREATE(); + } + hdr = tsk_object_ref((void*)hdr); + tsk_list_push_front_data(self->routes, (void**)&hdr); /* Copy reversed. */ + } + } + + + /* cseq + tags + ... */ + if(self->state == tsip_established && tsk_striequals(self->tag_remote, tag)){ return 0; } - else - { - // FIXME: copy routes (reversed) - if(!isRegister) - { + else{ + if(!isRegister){ } @@ -601,6 +658,8 @@ int tsip_dialog_init(tsip_dialog_t *self, tsip_dialog_type_t type, tsip_stack_ha { if(self) { + const tsk_param_t* param; + if(self->initialized) { TSK_DEBUG_WARN("Dialog already initialized."); @@ -609,6 +668,7 @@ int tsip_dialog_init(tsip_dialog_t *self, tsip_dialog_type_t type, tsip_stack_ha tsk_safeobj_init(self); + self->state = tsip_initial; self->type = type; self->stack = tsk_object_ref(stack); if(!self->routes){ @@ -640,6 +700,14 @@ int tsip_dialog_init(tsip_dialog_t *self, tsip_dialog_type_t type, tsip_stack_ha /* CSeq */ self->cseq_value = rand(); + /* Expires */ + if((param = tsip_operation_get_param(TSIP_DIALOG(self)->operation, "expires"))){ + TSIP_DIALOG(self)->expires = atoi(param->value); + } + else{ + TSIP_DIALOG(self)->expires = TSIP_DIALOG_EXPIRES_DEFAULT; + } + self->initialized = 1; return 0; } diff --git a/trunk/tinySIP/src/dialogs/tsip_dialog_register.client.c b/trunk/tinySIP/src/dialogs/tsip_dialog_register.client.c index cc8c003d..3bde95c2 100644 --- a/trunk/tinySIP/src/dialogs/tsip_dialog_register.client.c +++ b/trunk/tinySIP/src/dialogs/tsip_dialog_register.client.c @@ -30,7 +30,10 @@ #include "tinysip/dialogs/tsip_dialog_register.h" #include "tinysip/parsers/tsip_parser_uri.h" +#include "tinysip/headers/tsip_header_Path.h" +#include "tinysip/headers/tsip_header_P_Associated_URI.h" #include "tinysip/headers/tsip_header_Min_Expires.h" +#include "tinysip/headers/tsip_header_Service_Route.h" #include "tinysip/api/tsip_register.h" @@ -76,6 +79,9 @@ int tsip_dialog_register_event_callback(const tsip_dialog_register_t *self, tsip { if(msg && TSIP_MESSAGE_IS_RESPONSE(msg)) { + // + // RESPONSE + // if(TSIP_RESPONSE_IS_1XX(msg)) { tsip_dialog_registerContext_sm_1xx(&TSIP_DIALOG_REGISTER(self)->_fsm, msg); @@ -99,6 +105,12 @@ int tsip_dialog_register_event_callback(const tsip_dialog_register_t *self, tsip TSK_DEBUG_WARN("Not supported status code: %d", TSIP_RESPONSE_CODE(msg)); } } + else + { + // + // REQUEST + // + } break; } @@ -178,7 +190,6 @@ void tsip_dialog_register_init(tsip_dialog_register_t *self) */ tsip_dialog_registerContext_Init(&self->_fsm, self); - TSIP_DIALOG(self)->expires = 30; TSIP_DIALOG(self)->callback = TSIP_DIALOG_EVENT_CALLBACK(tsip_dialog_register_event_callback); TSIP_DIALOG(self)->uri_local = tsk_object_ref((void*)TSIP_DIALOG_GET_STACK(self)->public_identity); @@ -255,32 +266,42 @@ void tsip_dialog_register_Trying_2_Connected_X_2xx(tsip_dialog_register_t *self, if(TSIP_DIALOG(self)->state != tsip_established) /* Must be called before "tsip_dialog_update" update the state. */ { size_t index; - tsip_header_t* hdr; + const tsip_header_Path_t *hdr_Path; + const tsip_header_Service_Route_t *hdr_Service_Route; + const tsip_header_P_Associated_URI_t *hdr_P_Associated_URI_t; + tsip_uri_t *uri; /* To avoid memory leaks ==> delete all concerned objects (it worth nothing) */ - //TSK_OBJECT_SAFE_FREE(TSIP_DIALOG_GET_STACK(self)->associated_uri); + TSK_OBJECT_SAFE_FREE(TSIP_DIALOG_GET_STACK(self)->associated_uris); TSK_OBJECT_SAFE_FREE(TSIP_DIALOG_GET_STACK(self)->service_routes); TSK_OBJECT_SAFE_FREE(TSIP_DIALOG_GET_STACK(self)->paths); + /* Associated URIs */ + for(index = 0; (hdr_P_Associated_URI_t = (const tsip_header_P_Associated_URI_t*)tsip_message_get_headerAt(msg, tsip_htype_P_Associated_URI, index)); index++){ + if(!TSIP_DIALOG_GET_STACK(self)->associated_uris){ + TSIP_DIALOG_GET_STACK(self)->associated_uris = TSK_LIST_CREATE(); + } + uri = tsk_object_ref(hdr_P_Associated_URI_t->uri); + tsk_list_push_back_data(TSIP_DIALOG_GET_STACK(self)->associated_uris, (void**)&uri); + } + /* Service-Route */ - for(index = 0; (hdr = (tsip_header_t*)tsip_message_get_headerAt(msg, tsip_htype_Service_Route, index)); index++){ - if(index == 0){ + for(index = 0; (hdr_Service_Route = (const tsip_header_Service_Route_t*)tsip_message_get_headerAt(msg, tsip_htype_Service_Route, index)); index++){ + if(!TSIP_DIALOG_GET_STACK(self)->service_routes){ TSIP_DIALOG_GET_STACK(self)->service_routes = TSK_LIST_CREATE(); } - hdr = tsk_object_ref(hdr); - tsk_list_push_back_data(TSIP_DIALOG_GET_STACK(self)->service_routes, (void**)&hdr); + uri = tsk_object_ref(hdr_Service_Route->uri); + tsk_list_push_back_data(TSIP_DIALOG_GET_STACK(self)->service_routes, (void**)&uri); } /* Paths */ - for(index = 0; (hdr = (tsip_header_t*)tsip_message_get_headerAt(msg, tsip_htype_Path, index)); index++){ - if(index == 0){ + for(index = 0; (hdr_Path = (const tsip_header_Path_t*)tsip_message_get_headerAt(msg, tsip_htype_Path, index)); index++){ + if(TSIP_DIALOG_GET_STACK(self)->paths == 0){ TSIP_DIALOG_GET_STACK(self)->paths = TSK_LIST_CREATE(); } - hdr = tsk_object_ref(hdr); - tsk_list_push_back_data(TSIP_DIALOG_GET_STACK(self)->paths, (void**)&hdr); + uri = tsk_object_ref(hdr_Path->uri); + tsk_list_push_back_data(TSIP_DIALOG_GET_STACK(self)->paths, (void**)&uri); } - /* Associated Uris */ - // FIXME } /* Update the dialog state. */ diff --git a/trunk/tinySIP/src/dialogs/tsip_dialog_subscribe.client.c b/trunk/tinySIP/src/dialogs/tsip_dialog_subscribe.client.c index d3f5a12f..07832c04 100644 --- a/trunk/tinySIP/src/dialogs/tsip_dialog_subscribe.client.c +++ b/trunk/tinySIP/src/dialogs/tsip_dialog_subscribe.client.c @@ -1 +1,429 @@ +/* +* 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 Lesser General Public License for more details. +* +* You should have received a copy of the GNU General Public License +* along with DOUBANGO. +* +*/ +/**@file tsip_dialog_subscribe.client.c + * @brief SIP dialog subscribe (Client side). + * + * @author Mamadou Diop + * + * @date Created: Sat Nov 8 16:54:58 2009 mdiop + */ +#include "tinysip/dialogs/tsip_dialog_subscribe.h" + +#include "tinysip/headers/tsip_header_Event.h" + +#include "tsk_debug.h" + +#define DEBUG_STATE_MACHINE 1 +#define TSIP_DIALOG_SUBSCRIBE_TIMER_SCHEDULE(TX) TSIP_DIALOG_TIMER_SCHEDULE(subscribe, TX) +#define TSIP_DIALOG_SUBSCRIBE_SIGNAL_ERROR(self) \ + TSIP_DIALOG_SYNC_BEGIN(self); \ + tsip_dialog_subscribeContext_sm_error(&TSIP_DIALOG_SUBSCRIBE(self)->_fsm); \ + TSIP_DIALOG_SYNC_END(self); +#define TSIP_DIALOG_SUBSCRIBE_SIGNAL(self, type, code, phrase, incoming) \ + tsip_subscribe_event_signal(type, TSIP_DIALOG_GET_STACK(self),/*tsip_operation_get_id(TSIP_DIALOG(self)->operation)*/0, code, phrase, incoming) +#define TSIP_DIALOG_SUBSCRIBE_SIGNAL_INCOMING(self, type, code, phrase) TSIP_DIALOG_SUBSCRIBE_SIGNAL(self, type, code, phrase, 1) +#define TSIP_DIALOG_SUBSCRIBE_SIGNAL_OUTGOING(self, type, code, phrase) TSIP_DIALOG_SUBSCRIBE_SIGNAL(self, type, code, phrase, 0) + +int send_subscribe(tsip_dialog_subscribe_t *self); + +/** + * @fn int tsip_dialog_subscribe_event_callback(const tsip_dialog_subscribe_t *self, tsip_dialog_event_type_t type, + * const tsip_message_t *msg) + * + * @brief Callback function called to alert the dialog for new events from the transaction/transport layers. + * + * @author Mamadou + * @date 1/4/2010 + * + * @param [in,out] self A reference to the dialog. + * @param type The event type. + * @param [in,out] msg The incoming SIP/IMS message. + * + * @return Zero if succeed and non-zero error code otherwise. +**/ +int tsip_dialog_subscribe_event_callback(const tsip_dialog_subscribe_t *self, tsip_dialog_event_type_t type, const tsip_message_t *msg) +{ + TSIP_DIALOG_SYNC_BEGIN(self); + + switch(type) + { + case tsip_dialog_msg: + { + if(msg && TSIP_MESSAGE_IS_RESPONSE(msg)) + { + // + // RESPONSE + // + if(TSIP_RESPONSE_IS_1XX(msg)) + { + tsip_dialog_subscribeContext_sm_1xx(&TSIP_DIALOG_SUBSCRIBE(self)->_fsm, msg); + } + else if(TSIP_RESPONSE_IS_2XX(msg)) + { + tsip_dialog_subscribeContext_sm_2xx(&TSIP_DIALOG_SUBSCRIBE(self)->_fsm, TSIP_DIALOG_SUBSCRIBE(self)->unsubscribeing, msg); + } + else if(TSIP_RESPONSE_IS(msg,401) || TSIP_RESPONSE_IS(msg,407) || TSIP_RESPONSE_IS(msg,421) || TSIP_RESPONSE_IS(msg,494)) + { + tsip_dialog_subscribeContext_sm_401_407_421_494(&TSIP_DIALOG_SUBSCRIBE(self)->_fsm, msg); + } + else if(TSIP_RESPONSE_IS(msg,423)) + { + tsip_dialog_subscribeContext_sm_423(&TSIP_DIALOG_SUBSCRIBE(self)->_fsm, msg); + } + else + { + // Alert User + TSIP_DIALOG_SUBSCRIBE_SIGNAL_ERROR(self); + TSK_DEBUG_WARN("Not supported status code: %d", TSIP_RESPONSE_CODE(msg)); + } + } + else + { + // + // REQUEST + // + } + break; + } + + case tsip_dialog_hang_up: + { + tsip_dialog_subscribeContext_sm_hangup(&TSIP_DIALOG_SUBSCRIBE(self)->_fsm); + break; + } + + case tsip_dialog_canceled: + { + tsip_dialog_subscribeContext_sm_cancel(&TSIP_DIALOG_SUBSCRIBE(self)->_fsm); + break; + } + + case tsip_dialog_terminated: + case tsip_dialog_timedout: + case tsip_dialog_error: + case tsip_dialog_transport_error: + { + tsip_dialog_subscribeContext_sm_transportError(&TSIP_DIALOG_SUBSCRIBE(self)->_fsm); + break; + } + } + + TSIP_DIALOG_SYNC_END(self); + + return 0; +} + +/** + * @fn int tsip_dialog_subscribe_timer_callback(const tsip_dialog_subscribe_t* self, + * tsk_timer_id_t timer_id) + * + * @brief Timer manager callback. + * + * @author Mamadou + * @date 1/5/2010 + * + * @param [in,out] self The owner of the signaled timer. + * @param timer_id The identifier of the signaled timer. + * + * @return Zero if succeed and non-zero error code otherwise. +**/ +int tsip_dialog_subscribe_timer_callback(const tsip_dialog_subscribe_t* self, tsk_timer_id_t timer_id) +{ + int ret = -1; + + if(self) + { + TSIP_DIALOG_SYNC_BEGIN(self); + + if(timer_id == self->timerrefresh.id) + { + tsip_dialog_subscribeContext_sm_refresh(&TSIP_DIALOG_SUBSCRIBE(self)->_fsm); + ret = 0; + } + + TSIP_DIALOG_SYNC_END(self); + } + return ret; +} + +/** + * @fn void tsip_dialog_subscribe_init(tsip_dialog_subscribe_t *self) + * + * @brief Initializes the dialog. + * + * @param [in,out] self The dialog to initialize. +**/ +void tsip_dialog_subscribe_init(tsip_dialog_subscribe_t *self) +{ + const tsk_param_t* param; + /* Initialize the state machine. + */ + tsip_dialog_subscribeContext_Init(&self->_fsm, self); + + /* Package. */ + if((param = tsip_operation_get_param(TSIP_DIALOG(self)->operation, "package"))){ + self->package = tsk_strdup(param->value); + } + + TSIP_DIALOG(self)->expires = 30; + TSIP_DIALOG(self)->callback = TSIP_DIALOG_EVENT_CALLBACK(tsip_dialog_subscribe_event_callback); + + TSIP_DIALOG(self)->uri_local = tsk_object_ref((void*)TSIP_DIALOG_GET_STACK(self)->public_identity); + TSIP_DIALOG(self)->uri_remote = tsk_object_ref((void*)TSIP_DIALOG_GET_STACK(self)->public_identity); + TSIP_DIALOG(self)->uri_remote_target = tsk_object_ref((void*)TSIP_DIALOG_GET_STACK(self)->realm); + + self->timerrefresh.id = TSK_INVALID_TIMER_ID; + self->timerrefresh.timeout = TSIP_DIALOG(self)->expires; + +#if defined(_DEBUG) || defined(DEBUG) + setDebugFlag(&(self->_fsm), DEBUG_STATE_MACHINE); +#endif +} + +int tsip_dialog_subscribe_start(tsip_dialog_subscribe_t *self) +{ + int ret = -1; + if(self && !TSIP_DIALOG(self)->running) + { + /* Set state machine state to started */ + setState(&self->_fsm, &tsip_dialog_subscribe_Started); + + /* Send request */ + tsip_dialog_subscribeContext_sm_send(&self->_fsm); + ret = 0; + } + return ret; +} + + +//-------------------------------------------------------- +// == STATE MACHINE BEGIN == +//-------------------------------------------------------- + +/* Started -> (send) -> Trying +*/ +void tsip_dialog_subscribe_Started_2_Trying_X_send(tsip_dialog_subscribe_t *self) +{ + send_subscribe(self); +} + +/* Trying -> (1xx) -> Trying +*/ +void tsip_dialog_subscribe_Trying_2_Trying_X_1xx(tsip_dialog_subscribe_t *self, const tsip_response_t* response) +{ +} + +/* Trying -> (2xx) -> Terminated +*/ +void tsip_dialog_subscribe_Trying_2_Terminated_X_2xx(tsip_dialog_subscribe_t *self, const tsip_response_t* response) +{ +} + +/* Trying -> (2xx) -> Connected +*/ +void tsip_dialog_subscribe_Trying_2_Connected_X_2xx(tsip_dialog_subscribe_t *self, const tsip_response_t* response) +{ +} + +/* Trying -> (401/407/421/494) -> Trying +*/ +void tsip_dialog_subscribe_Trying_2_Trying_X_401_407_421_494(tsip_dialog_subscribe_t *self, const tsip_response_t* response) +{ +} + +/* Trying -> (423) -> Trying +*/ +void tsip_dialog_subscribe_Trying_2_Trying_X_423(tsip_dialog_subscribe_t *self, const tsip_response_t* response) +{ +} + +/* Trying -> (300-699) -> Terminated +*/ +void tsip_dialog_subscribe_Trying_2_Terminated_X_300_to_699(tsip_dialog_subscribe_t *self, const tsip_response_t* response) +{ +} + +/* Trying -> (cancel) -> Terminated +*/ +void tsip_dialog_subscribe_Trying_2_Terminated_X_cancel(tsip_dialog_subscribe_t *self) +{ +} + +/* Trying -> (NOTIFY) -> Trying +*/ +void tsip_dialog_subscribe_Trying_2_Trying_X_NOTIFY(tsip_dialog_subscribe_t *self, const tsip_request_t* request) +{ +} + +/* Connected -> (unsubscribe) -> Trying +*/ +void tsip_dialog_subscribe_Connected_2_Trying_X_unsubscribe(tsip_dialog_subscribe_t *self) +{ +} + +/* Connected -> (refresh) -> Trying +*/ +void tsip_dialog_subscribe_Connected_2_Trying_X_refresh(tsip_dialog_subscribe_t *self) +{ +} + +/* Connected -> (NOTIFY) -> Connected +*/ +void tsip_dialog_subscribe_Connected_2_Connected_X_NOTIFY(tsip_dialog_subscribe_t *self, const tsip_request_t* request) +{ +} + +/* Connected -> (NOTIFY) -> Terminated +*/ +void tsip_dialog_subscribe_Connected_2_Terminated_X_NOTIFY(tsip_dialog_subscribe_t *self, const tsip_request_t* request) +{ +} + +/* Any -> (hangup) -> Trying +*/ +void tsip_dialog_subscribe_Any_2_Trying_X_hangup(tsip_dialog_subscribe_t *self) +{ +} + +/* Any -> (transport error) -> Terminated +*/ +void tsip_dialog_subscribe_Any_2_Terminated_X_transportError(tsip_dialog_subscribe_t *self) +{ +} + + + +//++++++++++++++++++++++++++++++++++++++++++++++++++++++++ +// == STATE MACHINE END == +//++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + +/** + * @fn int send_subscribe(tsip_dialog_subscribe_t *self) + * + * @brief Sends a SUBSCRIBE request. + * + * @author Mamadou + * @date 1/4/2010 + * + * @param [in,out] self The caller. + * + * @return Zero if succeed and non-zero error code otherwise. +**/ +int send_subscribe(tsip_dialog_subscribe_t *self) +{ + tsip_request_t *request; + //const tsk_param_t* param; + int ret = -1; + + if(self->unsubscribeing) + { + TSIP_DIALOG(self)->expires = 0; + } + + request = tsip_dialog_request_new(TSIP_DIALOG(self), "SUBSCRIBE"); + + if(request) + { + /* Event package. */ + if(self->package){ + TSIP_MESSAGE_ADD_HEADER(request, TSIP_HEADER_EVENT_VA_ARGS(self->package)); + } + + ret = tsip_dialog_request_send(TSIP_DIALOG(self), request); + TSK_OBJECT_SAFE_FREE(request); + } + + return ret; +} + +/** + * @fn void tsip_dialog_subscribe_OnTerminated(tsip_dialog_subscribe_t *self) + * + * @brief Callback function called by the state machine manager to signal that the final state has been reached. + * + * @author Mamadou + * @date 1/5/2010 + * + * @param [in,out] self The state machine owner. +**/ +void tsip_dialog_subscribe_OnTerminated(tsip_dialog_subscribe_t *self) +{ + TSK_DEBUG_INFO("=== Dialog terminated ==="); + + /* Cancel all timers */ + DIALOG_TIMER_CANCEL(refresh); + + /* Alert user */ + TSIP_DIALOG_SUBSCRIBE_SIGNAL_INCOMING(self, tsip_subscribe_terminated, 700, "Dialog terminated."); + + /* Destroy asynchronously */ + DIALOG_REMOVE_SCHEDULE(); +} + + +//======================================================== +// SIP dialog SUBSCRIBE object definition +// +static void* tsip_dialog_subscribe_create(void * self, va_list * app) +{ + tsip_dialog_subscribe_t *dialog = self; + if(dialog) + { + tsip_stack_handle_t *stack = va_arg(*app, tsip_stack_handle_t *); + tsip_operation_handle_t *operation = va_arg(*app, tsip_operation_handle_t *); + + /* Initialize base class */ + tsip_dialog_init(TSIP_DIALOG(self), tsip_dialog_subscribe, stack, 0, operation); + + /* Initialize the class itself */ + tsip_dialog_subscribe_init(self); + } + return self; +} + +static void* tsip_dialog_subscribe_destroy(void * self) +{ + tsip_dialog_subscribe_t *dialog = self; + if(dialog) + { + /* DeInitialize base class */ + tsip_dialog_deinit(TSIP_DIALOG(self)); + + TSK_FREE(dialog->package); + } + return self; +} + +static int tsip_dialog_subscribe_cmp(const void *dialog1, const void *dialog2) +{ + return tsip_dialog_cmp(dialog1, dialog2); +} + +static const tsk_object_def_t tsip_dialog_subscribe_def_s = +{ + sizeof(tsip_dialog_subscribe_t), + tsip_dialog_subscribe_create, + 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 diff --git a/trunk/tinySIP/src/headers/tsip_header_Event.c b/trunk/tinySIP/src/headers/tsip_header_Event.c index 8b137891..72ae70aa 100644 --- a/trunk/tinySIP/src/headers/tsip_header_Event.c +++ b/trunk/tinySIP/src/headers/tsip_header_Event.c @@ -1 +1,468 @@ - + +/* #line 1 "tsip_parser_header_Event.rl" */ +/* +* 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 Lesser General Public License for more details. +* +* You should have received a copy of the GNU General Public License +* along with DOUBANGO. +* +*/ + +/**@file tsip_header_Event.c + * @brief SIP Event/o header as per RFC 3265.. + * + * @author Mamadou Diop + * + * @date Created: Sat Nov 8 16:54:58 2009 mdiop + */ +#include "tinysip/headers/tsip_header_Event.h" + +#include "tinysip/parsers/tsip_parser_uri.h" + +#include "tsk_debug.h" +#include "tsk_memory.h" + +#include + +/**@defgroup tsip_header_Event_group SIP Event header as per RFC 3265. +*/ + +/*********************************** +* Ragel state machine. +*/ + +/* #line 80 "tsip_parser_header_Event.rl" */ + + +int tsip_header_Event_tostring(const void* header, tsk_buffer_t* output) +{ + if(header) + { + const tsip_header_Event_t *Event = header; + if(Event->package) + { + tsk_buffer_append(output, Event->package, strlen(Event->package)); + } + return 0; + } + + return -1; +} + +tsip_header_Event_t *tsip_header_Event_parse(const char *data, size_t size) +{ + int cs = 0; + const char *p = data; + const char *pe = p + size; + const char *eof = pe; + tsip_header_Event_t *hdr_event = TSIP_HEADER_EVENT_CREATE(0); + + const char *tag_start; + + +/* #line 78 "../src/headers/tsip_header_Event.c" */ +static const char _tsip_machine_parser_header_Event_actions[] = { + 0, 1, 0, 1, 1, 1, 2, 1, + 3 +}; + +static const short _tsip_machine_parser_header_Event_key_offsets[] = { + 0, 0, 4, 6, 8, 10, 12, 15, + 31, 32, 34, 49, 67, 71, 72, 74, + 77, 94, 95, 97, 113, 132, 137, 138, + 140, 144, 163, 164, 166, 185, 186, 188, + 191, 207, 209, 211, 213, 215, 217, 218, + 220, 224, 225, 231, 249, 256, 264, 272, + 280, 282, 289, 298, 300, 303, 305, 308, + 310, 313, 316, 317, 320, 321, 324, 325, + 334, 343, 351, 359, 367, 375, 377, 383, + 392, 401, 410, 412, 415, 418, 419, 420, + 433 +}; + +static const char _tsip_machine_parser_header_Event_trans_keys[] = { + 69, 79, 101, 111, 86, 118, 69, 101, + 78, 110, 84, 116, 9, 32, 58, 9, + 13, 32, 33, 37, 39, 45, 126, 42, + 43, 48, 57, 65, 90, 95, 122, 10, + 9, 32, 9, 32, 33, 37, 39, 45, + 126, 42, 43, 48, 57, 65, 90, 95, + 122, 9, 13, 32, 33, 37, 39, 45, + 46, 59, 126, 42, 43, 48, 57, 65, + 90, 95, 122, 9, 13, 32, 59, 10, + 9, 32, 9, 32, 59, 9, 13, 32, + 33, 37, 39, 126, 42, 43, 45, 46, + 48, 57, 65, 90, 95, 122, 10, 9, + 32, 9, 32, 33, 37, 39, 126, 42, + 43, 45, 46, 48, 57, 65, 90, 95, + 122, 9, 13, 32, 33, 37, 39, 59, + 61, 126, 42, 43, 45, 46, 48, 57, + 65, 90, 95, 122, 9, 13, 32, 59, + 61, 10, 9, 32, 9, 32, 59, 61, + 9, 13, 32, 33, 34, 37, 39, 91, + 126, 42, 43, 45, 46, 48, 57, 65, + 90, 95, 122, 10, 9, 32, 9, 13, + 32, 33, 34, 37, 39, 91, 126, 42, + 43, 45, 46, 48, 57, 65, 90, 95, + 122, 10, 9, 32, 9, 32, 34, 9, + 13, 34, 92, -64, -33, -32, -17, -16, + -9, -8, -5, -4, -3, 32, 126, -128, + -65, -128, -65, -128, -65, -128, -65, -128, + -65, 10, 9, 32, 9, 13, 32, 59, + 10, 0, 9, 11, 12, 14, 127, 9, + 13, 32, 33, 37, 39, 59, 126, 42, + 43, 45, 46, 48, 57, 65, 90, 95, + 122, 58, 48, 57, 65, 70, 97, 102, + 58, 93, 48, 57, 65, 70, 97, 102, + 58, 93, 48, 57, 65, 70, 97, 102, + 58, 93, 48, 57, 65, 70, 97, 102, + 58, 93, 58, 48, 57, 65, 70, 97, + 102, 46, 58, 93, 48, 57, 65, 70, + 97, 102, 48, 57, 46, 48, 57, 48, + 57, 46, 48, 57, 48, 57, 93, 48, + 57, 93, 48, 57, 93, 46, 48, 57, + 46, 46, 48, 57, 46, 46, 58, 93, + 48, 57, 65, 70, 97, 102, 46, 58, + 93, 48, 57, 65, 70, 97, 102, 58, + 93, 48, 57, 65, 70, 97, 102, 58, + 93, 48, 57, 65, 70, 97, 102, 58, + 93, 48, 57, 65, 70, 97, 102, 58, + 93, 48, 57, 65, 70, 97, 102, 58, + 93, 48, 57, 65, 70, 97, 102, 46, + 58, 93, 48, 57, 65, 70, 97, 102, + 46, 58, 93, 48, 57, 65, 70, 97, + 102, 46, 58, 93, 48, 57, 65, 70, + 97, 102, 48, 57, 46, 48, 57, 46, + 48, 57, 46, 58, 33, 37, 39, 45, + 126, 42, 43, 48, 57, 65, 90, 95, + 122, 0 +}; + +static const char _tsip_machine_parser_header_Event_single_lengths[] = { + 0, 4, 2, 2, 2, 2, 3, 8, + 1, 2, 7, 10, 4, 1, 2, 3, + 7, 1, 2, 6, 9, 5, 1, 2, + 4, 9, 1, 2, 9, 1, 2, 3, + 4, 0, 0, 0, 0, 0, 1, 2, + 4, 1, 0, 8, 1, 2, 2, 2, + 2, 1, 3, 0, 1, 0, 1, 0, + 1, 1, 1, 1, 1, 1, 1, 3, + 3, 2, 2, 2, 2, 2, 0, 3, + 3, 3, 0, 1, 1, 1, 1, 5, + 0 +}; + +static const char _tsip_machine_parser_header_Event_range_lengths[] = { + 0, 0, 0, 0, 0, 0, 0, 4, + 0, 0, 4, 4, 0, 0, 0, 0, + 5, 0, 0, 5, 5, 0, 0, 0, + 0, 5, 0, 0, 5, 0, 0, 0, + 6, 1, 1, 1, 1, 1, 0, 0, + 0, 0, 3, 5, 3, 3, 3, 3, + 0, 3, 3, 1, 1, 1, 1, 1, + 1, 1, 0, 1, 0, 1, 0, 3, + 3, 3, 3, 3, 3, 0, 3, 3, + 3, 3, 1, 1, 1, 0, 0, 4, + 0 +}; + +static const short _tsip_machine_parser_header_Event_index_offsets[] = { + 0, 0, 5, 8, 11, 14, 17, 21, + 34, 36, 39, 51, 66, 71, 73, 76, + 80, 93, 95, 98, 110, 125, 131, 133, + 136, 141, 156, 158, 161, 176, 178, 181, + 185, 196, 198, 200, 202, 204, 206, 208, + 211, 216, 218, 222, 236, 241, 247, 253, + 259, 262, 267, 274, 276, 279, 281, 284, + 286, 289, 292, 294, 297, 299, 302, 304, + 311, 318, 324, 330, 336, 342, 345, 349, + 356, 363, 370, 372, 375, 378, 380, 382, + 392 +}; + +static const char _tsip_machine_parser_header_Event_indicies[] = { + 0, 2, 0, 2, 1, 3, 3, 1, + 4, 4, 1, 5, 5, 1, 2, 2, + 1, 2, 2, 6, 1, 6, 7, 6, + 8, 8, 8, 8, 8, 8, 8, 8, + 8, 1, 9, 1, 10, 10, 1, 10, + 10, 8, 8, 8, 8, 8, 8, 8, + 8, 8, 1, 11, 12, 11, 13, 13, + 13, 13, 14, 15, 13, 13, 13, 13, + 13, 1, 16, 17, 16, 18, 1, 19, + 1, 20, 20, 1, 20, 20, 18, 1, + 18, 21, 18, 22, 22, 22, 22, 22, + 22, 22, 22, 22, 1, 23, 1, 24, + 24, 1, 24, 24, 22, 22, 22, 22, + 22, 22, 22, 22, 22, 1, 25, 26, + 25, 27, 27, 27, 28, 29, 27, 27, + 27, 27, 27, 27, 1, 30, 31, 30, + 18, 29, 1, 32, 1, 33, 33, 1, + 33, 33, 18, 29, 1, 29, 34, 29, + 35, 36, 35, 35, 37, 35, 35, 35, + 35, 35, 35, 1, 38, 1, 39, 39, + 1, 39, 40, 39, 35, 36, 35, 35, + 37, 35, 35, 35, 35, 35, 35, 1, + 41, 1, 42, 42, 1, 42, 42, 36, + 1, 36, 48, 49, 50, 43, 44, 45, + 46, 47, 36, 1, 36, 1, 43, 1, + 44, 1, 45, 1, 46, 1, 51, 1, + 36, 36, 1, 52, 26, 52, 28, 1, + 53, 1, 36, 36, 36, 1, 52, 26, + 52, 35, 35, 35, 28, 35, 35, 35, + 35, 35, 35, 1, 55, 54, 54, 54, + 1, 57, 49, 56, 56, 56, 1, 57, + 49, 58, 58, 58, 1, 57, 49, 59, + 59, 59, 1, 57, 49, 1, 61, 60, + 54, 54, 1, 62, 57, 49, 63, 56, + 56, 1, 64, 1, 65, 66, 1, 67, + 1, 68, 69, 1, 70, 1, 49, 71, + 1, 49, 72, 1, 49, 1, 68, 73, + 1, 68, 1, 65, 74, 1, 65, 1, + 62, 57, 49, 75, 58, 58, 1, 62, + 57, 49, 59, 59, 59, 1, 77, 49, + 76, 76, 76, 1, 79, 49, 78, 78, + 78, 1, 79, 49, 80, 80, 80, 1, + 79, 49, 81, 81, 81, 1, 79, 49, + 1, 82, 76, 76, 1, 62, 79, 49, + 83, 78, 78, 1, 62, 79, 49, 84, + 80, 80, 1, 62, 79, 49, 81, 81, + 81, 1, 85, 1, 62, 86, 1, 62, + 87, 1, 62, 1, 61, 1, 13, 13, + 13, 13, 13, 13, 13, 13, 13, 1, + 1, 0 +}; + +static const char _tsip_machine_parser_header_Event_trans_targs[] = { + 2, 0, 6, 3, 4, 5, 7, 8, + 11, 9, 10, 12, 41, 11, 79, 16, + 12, 13, 16, 14, 15, 17, 20, 18, + 19, 21, 41, 20, 16, 25, 21, 22, + 23, 24, 26, 43, 32, 44, 27, 28, + 29, 30, 31, 33, 34, 35, 36, 37, + 38, 40, 42, 39, 12, 80, 45, 78, + 46, 49, 47, 48, 50, 65, 51, 63, + 52, 53, 61, 54, 55, 59, 56, 57, + 58, 60, 62, 64, 66, 74, 67, 70, + 68, 69, 71, 72, 73, 75, 76, 77 +}; + +static const char _tsip_machine_parser_header_Event_trans_actions[] = { + 0, 0, 0, 0, 0, 0, 0, 0, + 1, 0, 0, 3, 3, 0, 0, 3, + 0, 0, 0, 0, 0, 0, 1, 0, + 0, 5, 5, 0, 5, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 5, 7, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0 +}; + +static const int tsip_machine_parser_header_Event_start = 1; +static const int tsip_machine_parser_header_Event_first_final = 80; +static const int tsip_machine_parser_header_Event_error = 0; + +static const int tsip_machine_parser_header_Event_en_main = 1; + + +/* #line 108 "tsip_parser_header_Event.rl" */ + +/* #line 288 "../src/headers/tsip_header_Event.c" */ + { + cs = tsip_machine_parser_header_Event_start; + } + +/* #line 109 "tsip_parser_header_Event.rl" */ + +/* #line 295 "../src/headers/tsip_header_Event.c" */ + { + int _klen; + unsigned int _trans; + const char *_acts; + unsigned int _nacts; + const char *_keys; + + if ( p == pe ) + goto _test_eof; + if ( cs == 0 ) + goto _out; +_resume: + _keys = _tsip_machine_parser_header_Event_trans_keys + _tsip_machine_parser_header_Event_key_offsets[cs]; + _trans = _tsip_machine_parser_header_Event_index_offsets[cs]; + + _klen = _tsip_machine_parser_header_Event_single_lengths[cs]; + if ( _klen > 0 ) { + const char *_lower = _keys; + const char *_mid; + const char *_upper = _keys + _klen - 1; + while (1) { + if ( _upper < _lower ) + break; + + _mid = _lower + ((_upper-_lower) >> 1); + if ( (*p) < *_mid ) + _upper = _mid - 1; + else if ( (*p) > *_mid ) + _lower = _mid + 1; + else { + _trans += (_mid - _keys); + goto _match; + } + } + _keys += _klen; + _trans += _klen; + } + + _klen = _tsip_machine_parser_header_Event_range_lengths[cs]; + if ( _klen > 0 ) { + const char *_lower = _keys; + const char *_mid; + const char *_upper = _keys + (_klen<<1) - 2; + while (1) { + if ( _upper < _lower ) + break; + + _mid = _lower + (((_upper-_lower) >> 1) & ~1); + if ( (*p) < _mid[0] ) + _upper = _mid - 2; + else if ( (*p) > _mid[1] ) + _lower = _mid + 2; + else { + _trans += ((_mid - _keys)>>1); + goto _match; + } + } + _trans += _klen; + } + +_match: + _trans = _tsip_machine_parser_header_Event_indicies[_trans]; + cs = _tsip_machine_parser_header_Event_trans_targs[_trans]; + + if ( _tsip_machine_parser_header_Event_trans_actions[_trans] == 0 ) + goto _again; + + _acts = _tsip_machine_parser_header_Event_actions + _tsip_machine_parser_header_Event_trans_actions[_trans]; + _nacts = (unsigned int) *_acts++; + while ( _nacts-- > 0 ) + { + switch ( *_acts++ ) + { + case 0: +/* #line 52 "tsip_parser_header_Event.rl" */ + { + tag_start = p; + } + break; + case 1: +/* #line 57 "tsip_parser_header_Event.rl" */ + { + TSK_PARSER_SET_STRING(hdr_event->package); + } + break; + case 2: +/* #line 62 "tsip_parser_header_Event.rl" */ + { + TSK_PARSER_ADD_PARAM(TSIP_HEADER_PARAMS(hdr_event)); + } + break; + case 3: +/* #line 67 "tsip_parser_header_Event.rl" */ + { + } + break; +/* #line 392 "../src/headers/tsip_header_Event.c" */ + } + } + +_again: + if ( cs == 0 ) + goto _out; + if ( ++p != pe ) + goto _resume; + _test_eof: {} + _out: {} + } + +/* #line 110 "tsip_parser_header_Event.rl" */ + + if( cs < +/* #line 408 "../src/headers/tsip_header_Event.c" */ +80 +/* #line 111 "tsip_parser_header_Event.rl" */ + ) + { + TSK_OBJECT_SAFE_FREE(hdr_event); + } + + return hdr_event; +} + + + + + + + +//======================================================== +// Event header object definition +// + +/**@ingroup tsip_header_Event_group +*/ +static void* tsip_header_Event_create(void *self, va_list * app) +{ + tsip_header_Event_t *Event = self; + if(Event) + { + TSIP_HEADER(Event)->type = tsip_htype_Event; + TSIP_HEADER(Event)->tostring = tsip_header_Event_tostring; + Event->package = tsk_strdup(va_arg(*app, const char*)); + } + else + { + TSK_DEBUG_ERROR("Failed to create new Event header."); + } + return self; +} + +/**@ingroup tsip_header_Event_group +*/ +static void* tsip_header_Event_destroy(void *self) +{ + tsip_header_Event_t *Event = self; + if(Event) + { + TSK_FREE(Event->package); + TSK_OBJECT_SAFE_FREE(TSIP_HEADER_PARAMS(Event)); + } + else TSK_DEBUG_ERROR("Null Event header."); + + return self; +} + +static const tsk_object_def_t tsip_header_Event_def_s = +{ + sizeof(tsip_header_Event_t), + tsip_header_Event_create, + tsip_header_Event_destroy, + 0 +}; +const void *tsip_header_Event_def_t = &tsip_header_Event_def_s; \ No newline at end of file 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 8b137891..2191fc74 100644 --- a/trunk/tinySIP/src/headers/tsip_header_P_Asserted_Identity.c +++ b/trunk/tinySIP/src/headers/tsip_header_P_Asserted_Identity.c @@ -1 +1,3461 @@ - + +/* #line 1 "tsip_parser_header_P_Asserted_Identity.rl" */ +/* +* 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 Lesser General Public License for more details. +* +* You should have received a copy of the GNU General Public License +* along with DOUBANGO. +* +*/ + +/**@file tsip_header_P_Asserted_Identity.c + * @brief SIP P-Asserted-Identity header as per RFC 3325. + * + * @author Mamadou Diop + * + * @date Created: Sat Nov 8 16:54:58 2009 mdiop + */ +#include "tinysip/headers/tsip_header_P_Asserted_Identity.h" + +#include "tinysip/parsers/tsip_parser_uri.h" + +#include "tsk_debug.h" +#include "tsk_memory.h" +#include "tsk_time.h" + +#include + +/**@defgroup tsip_header_P_Asserted_Identity_group SIP P_Asserted_Identity header. +*/ + +/*********************************** +* Ragel state machine. +*/ + +/* #line 106 "tsip_parser_header_P_Asserted_Identity.rl" */ + + +int tsip_header_P_Asserted_Identity_tostring(const void* header, tsk_buffer_t* output) +{ + if(header) + { + const tsip_header_P_Asserted_Identity_t *P_Asserted_Identity = header; + int ret = 0; + + if(P_Asserted_Identity->display_name){ /* Display Name */ + tsk_buffer_appendEx(output, "\"%s\"", P_Asserted_Identity->display_name); + } + + if(ret=tsip_uri_serialize(P_Asserted_Identity->uri, 1, 1, output)){ /* P_Asserted_Identity */ + return ret; + } + + return ret; + } + + return -1; +} + +tsip_header_P_Asserted_Identities_L_t *tsip_header_P_Asserted_Identity_parse(const char *data, size_t size) +{ + int cs = 0; + const char *p = data; + const char *pe = p + size; + const char *eof = pe; + tsip_header_P_Asserted_Identities_L_t *hdr_p_asserted_identities = TSK_LIST_CREATE(); + + const char *tag_start; + tsip_header_P_Asserted_Identity_t *curr_p_asserted_identity = 0; + + +/* #line 86 "../src/headers/tsip_header_P_Asserted_Identity.c" */ +static const char _tsip_machine_parser_header_P_Asserted_Identity_actions[] = { + 0, 1, 0, 1, 1, 1, 2, 1, + 3, 1, 4, 1, 5, 2, 1, 0, + 2, 3, 4, 3, 1, 3, 4, 3, + 2, 3, 4, 3, 3, 4, 1, 3, + 3, 4, 2 +}; + +static const short _tsip_machine_parser_header_P_Asserted_Identity_key_offsets[] = { + 0, 0, 2, 3, 5, 7, 9, 11, + 13, 15, 17, 19, 20, 22, 24, 26, + 28, 30, 32, 34, 36, 39, 60, 61, + 63, 84, 85, 87, 90, 94, 106, 109, + 109, 110, 114, 115, 136, 137, 139, 160, + 177, 195, 199, 200, 202, 218, 220, 222, + 224, 226, 228, 229, 231, 235, 241, 261, + 280, 285, 285, 289, 307, 323, 340, 345, + 353, 366, 371, 375, 380, 399, 416, 434, + 440, 449, 468, 475, 482, 489, 496, 503, + 509, 548, 570, 572, 575, 597, 599, 602, + 606, 611, 629, 648, 653, 655, 658, 675, + 678, 681, 684, 687, 690, 692, 695, 700, + 707, 728, 748, 754, 755, 791, 828, 833, + 834, 836, 840, 849, 869, 909, 947, 966, + 984, 990, 996, 1002, 1008, 1014, 1019, 1057, + 1092, 1128, 1136, 1155, 1193, 1229, 1249, 1268, + 1273, 1273, 1277, 1297, 1313, 1330, 1335, 1343, + 1356, 1361, 1365, 1370, 1391, 1408, 1426, 1432, + 1441, 1460, 1467, 1474, 1481, 1488, 1495, 1501, + 1540, 1576, 1613, 1622, 1642, 1682, 1720, 1739, + 1744, 1765, 1782, 1800, 1806, 1815, 1819, 1839, + 1855, 1872, 1877, 1885, 1898, 1903, 1907, 1912, + 1933, 1950, 1968, 1974, 1983, 2002, 2009, 2016, + 2023, 2030, 2037, 2043, 2082, 2103, 2122, 2129, + 2136, 2143, 2150, 2157, 2196, 2232, 2269, 2278, + 2298, 2338, 2376, 2395, 2402, 2421, 2428, 2435, + 2442, 2449, 2455, 2461, 2470, 2509, 2545, 2582, + 2587, 2607, 2623, 2640, 2645, 2653, 2666, 2671, + 2675, 2680, 2699, 2716, 2734, 2740, 2749, 2753, + 2772, 2779, 2786, 2793, 2800, 2807, 2813, 2852, + 2874, 2876, 2879, 2901, 2922, 2942, 2948, 2949, + 2985, 3022, 3028, 3030, 3033, 3038, 3060, 3062, + 3065, 3087, 3108, 3128, 3134, 3135, 3140, 3159, + 3176, 3194, 3200, 3209, 3223, 3229, 3234, 3253, + 3260, 3267, 3274, 3281, 3288, 3294, 3333, 3369, + 3406, 3415, 3435, 3474, 3511, 3520, 3540, 3580, + 3618, 3637, 3655, 3661, 3667, 3673, 3679, 3685, + 3690, 3728, 3763, 3799, 3807, 3845, 3881, 3901, + 3919, 3925, 3929, 3947, 3965, 3971, 3977, 3983, + 3989, 3995, 4033, 4068, 4104, 4112, 4150, 4186, + 4195, 4215, 4222, 4241, 4248, 4255, 4262, 4269, + 4275, 4314, 4350, 4387, 4396, 4416, 4456, 4494, + 4513, 4520, 4539, 4546, 4553, 4560, 4567, 4573, + 4579, 4588, 4602, 4608, 4647, 4683, 4720, 4729, + 4769, 4807, 4826, 4865, 4885, 4924, 4960, 4997, + 5037, 5075, 5115, 5153, 5172, 5211, 5231, 5270, + 5306, 5343, 5363, 5370, 5389, 5396, 5403, 5410, + 5417, 5456, 5492, 5529, 5538, 5578, 5616, 5635, + 5674, 5714, 5752, 5773, 5792, 5799, 5804, 5825, + 5844, 5851, 5858, 5865, 5872, 5879, 5918, 5954, + 5991, 5997, 6018, 6035, 6053, 6059, 6068, 6082, + 6088, 6093, 6112, 6119, 6126, 6133, 6140, 6147, + 6153, 6192, 6228, 6265, 6274, 6314, 6352, 6371, + 6392, 6411, 6418, 6423, 6442, 6461, 6468, 6475, + 6482, 6489, 6496, 6535, 6556, 6575, 6582, 6589, + 6596, 6603, 6610, 6649, 6685, 6722, 6731, 6770, + 6807, 6828, 6847, 6854, 6859, 6878, 6897, 6904, + 6911, 6918, 6925, 6932, 6971, 7007, 7044, 7053, + 7092, 7129, 7165, 7202, 7211, 7251, 7289, 7308, + 7317, 7337, 7346, 7386, 7424, 7443, 7482, 7502, + 7509, 7528, 7535, 7542, 7549, 7556, 7595, 7616, + 7635, 7642, 7649, 7656, 7663, 7670, 7709, 7745, + 7782, 7791, 7831, 7869, 7888, 7895, 7914, 7921, + 7928, 7935, 7942, 7981, 8017, 8054, 8063, 8103, + 8141, 8160, 8199, 8238, 8274, 8311, 8351, 8389, + 8410, 8429, 8436, 8472, 8509, 8518, 8558, 8596, + 8615, 8654, 8675, 8694, 8701, 8706, 8727, 8763, + 8800, 8840, 8878, 8897, 8936, 8972, 9009, 9049, + 9087, 9105, 9111, 9117, 9123, 9129, 9135, 9140, + 9178, 9213, 9249, 9257, 9276, 9315, 9352, 9370, + 9376, 9394, 9400, 9406, 9412, 9418, 9456, 9491, + 9527, 9535, 9574, 9611, 9629, 9667, 9686, 9724, + 9759, 9795, 9834, 9871, 9891, 9909, 9915, 9919, + 9939, 9953, 9959, 9964, 9985, 10004, 10011, 10016, + 10037, 10054, 10072, 10093, 10112, 10119, 10158, 10194, + 10231, 10251, 10291, 10329, 10350, 10369, 10376, 10381, + 10402, 10419, 10437, 10458, 10477, 10484, 10502, 10508, + 10514, 10520, 10526, 10532, 10537, 10575, 10610, 10646, + 10654, 10673, 10712, 10749, 10767, 10773, 10791, 10797, + 10803, 10809, 10815, 10820, 10825, 10833, 10846, 10851, + 10855, 10893, 10928, 10964, 10972, 11011, 11048, 11066, + 11104, 11142, 11177, 11213, 11232, 11271, 11308, 11328, + 11346, 11352, 11356, 11376, 11392, 11409, 11429, 11447, + 11453 +}; + +static const char _tsip_machine_parser_header_P_Asserted_Identity_trans_keys[] = { + 80, 112, 45, 65, 97, 83, 115, 83, + 115, 69, 101, 82, 114, 84, 116, 69, + 101, 68, 100, 45, 73, 105, 68, 100, + 69, 101, 78, 110, 84, 116, 73, 105, + 84, 116, 89, 121, 9, 32, 58, 9, + 13, 32, 33, 34, 37, 39, 60, 126, + 42, 43, 45, 46, 48, 57, 65, 90, + 95, 96, 97, 122, 10, 9, 32, 9, + 13, 32, 33, 34, 37, 39, 60, 126, + 42, 43, 45, 46, 48, 57, 65, 90, + 95, 96, 97, 122, 10, 9, 32, 9, + 32, 60, 65, 90, 97, 122, 9, 32, + 43, 58, 45, 46, 48, 57, 65, 90, + 97, 122, 9, 32, 58, 62, 9, 13, + 32, 44, 10, 9, 13, 32, 33, 34, + 37, 39, 60, 126, 42, 43, 45, 46, + 48, 57, 65, 90, 95, 96, 97, 122, + 10, 9, 32, 9, 13, 32, 33, 34, + 37, 39, 60, 126, 42, 43, 45, 46, + 48, 57, 65, 90, 95, 96, 97, 122, + 9, 13, 32, 33, 37, 39, 126, 42, + 43, 45, 46, 48, 57, 65, 90, 95, + 122, 9, 13, 32, 33, 37, 39, 60, + 126, 42, 43, 45, 46, 48, 57, 65, + 90, 95, 122, 9, 13, 32, 60, 10, + 9, 32, 9, 13, 34, 92, -64, -33, + -32, -17, -16, -9, -8, -5, -4, -3, + 32, 126, -128, -65, -128, -65, -128, -65, + -128, -65, -128, -65, 10, 9, 32, 9, + 13, 32, 60, 0, 9, 11, 12, 14, + 127, 9, 13, 32, 33, 37, 39, 42, + 43, 58, 126, 45, 46, 48, 57, 65, + 90, 95, 96, 97, 122, 9, 13, 32, + 33, 37, 39, 58, 60, 126, 42, 43, + 45, 46, 48, 57, 65, 90, 95, 122, + 9, 13, 32, 58, 60, 9, 13, 32, + 44, 9, 13, 32, 33, 34, 37, 39, + 44, 60, 126, 42, 46, 48, 57, 65, + 90, 95, 122, 9, 13, 32, 33, 37, + 39, 44, 126, 42, 46, 48, 57, 65, + 90, 95, 122, 9, 13, 32, 33, 37, + 39, 44, 60, 126, 42, 46, 48, 57, + 65, 90, 95, 122, 9, 13, 32, 44, + 60, 9, 13, 32, 44, 65, 90, 97, + 122, 9, 13, 32, 44, 58, 43, 46, + 48, 57, 65, 90, 97, 122, 9, 13, + 32, 44, 58, 9, 13, 32, 44, 9, + 13, 32, 44, 62, 9, 13, 32, 33, + 34, 37, 39, 44, 60, 62, 126, 42, + 46, 48, 57, 65, 90, 95, 122, 9, + 13, 32, 33, 37, 39, 44, 62, 126, + 42, 46, 48, 57, 65, 90, 95, 122, + 9, 13, 32, 33, 37, 39, 44, 60, + 62, 126, 42, 46, 48, 57, 65, 90, + 95, 122, 9, 13, 32, 44, 60, 62, + 9, 13, 32, 44, 62, 65, 90, 97, + 122, 9, 13, 32, 34, 44, 62, 92, + -64, -33, -32, -17, -16, -9, -8, -5, + -4, -3, 33, 126, 9, 13, 32, 44, + 62, -128, -65, 9, 13, 32, 44, 62, + -128, -65, 9, 13, 32, 44, 62, -128, + -65, 9, 13, 32, 44, 62, -128, -65, + 9, 13, 32, 44, 62, -128, -65, 9, + 13, 32, 44, 60, 62, 9, 13, 32, + 33, 34, 37, 39, 44, 47, 60, 62, + 92, 126, -64, -33, -32, -17, -16, -9, + -8, -5, -4, -3, 35, 41, 42, 57, + 58, 64, 65, 90, 91, 94, 95, 96, + 97, 122, 123, 125, 9, 13, 32, 33, + 34, 37, 39, 60, 62, 126, 42, 43, + 45, 46, 48, 57, 65, 90, 95, 96, + 97, 122, 10, 62, 9, 32, 62, 9, + 13, 32, 33, 34, 37, 39, 60, 62, + 126, 42, 43, 45, 46, 48, 57, 65, + 90, 95, 96, 97, 122, 10, 62, 9, + 32, 62, 9, 32, 60, 62, 62, 65, + 90, 97, 122, 9, 13, 32, 33, 37, + 39, 62, 126, 42, 43, 45, 46, 48, + 57, 65, 90, 95, 122, 9, 13, 32, + 33, 37, 39, 60, 62, 126, 42, 43, + 45, 46, 48, 57, 65, 90, 95, 122, + 9, 13, 32, 60, 62, 10, 62, 9, + 32, 62, 9, 13, 34, 62, 92, -64, + -33, -32, -17, -16, -9, -8, -5, -4, + -3, 32, 126, 62, -128, -65, 62, -128, + -65, 62, -128, -65, 62, -128, -65, 62, + -128, -65, 10, 62, 9, 32, 62, 9, + 13, 32, 60, 62, 62, 0, 9, 11, + 12, 14, 127, 9, 13, 32, 33, 37, + 39, 42, 43, 58, 62, 126, 45, 46, + 48, 57, 65, 90, 95, 96, 97, 122, + 9, 13, 32, 33, 37, 39, 58, 60, + 62, 126, 42, 43, 45, 46, 48, 57, + 65, 90, 95, 122, 9, 13, 32, 58, + 60, 62, 62, 9, 13, 32, 33, 34, + 37, 39, 44, 47, 62, 92, 126, -64, + -33, -32, -17, -16, -9, -8, -5, -4, + -3, 35, 41, 42, 57, 58, 64, 65, + 90, 91, 94, 95, 122, 123, 125, 9, + 13, 32, 33, 34, 37, 39, 44, 47, + 60, 62, 92, 126, -64, -33, -32, -17, + -16, -9, -8, -5, -4, -3, 35, 41, + 42, 57, 58, 64, 65, 90, 91, 94, + 95, 122, 123, 125, 9, 13, 32, 44, + 60, 10, 9, 32, 9, 32, 44, 60, + 9, 13, 32, 44, 62, 0, 8, 11, + 127, 9, 13, 32, 34, 44, 60, 62, + 92, -64, -33, -32, -17, -16, -9, -8, + -5, -4, -3, 33, 126, 9, 13, 32, + 33, 34, 37, 39, 42, 44, 47, 58, + 62, 92, 126, -64, -33, -32, -17, -16, + -9, -8, -5, -4, -3, 35, 41, 43, + 57, 59, 64, 65, 90, 91, 94, 95, + 96, 97, 122, 123, 125, 9, 13, 32, + 33, 34, 37, 39, 44, 47, 58, 60, + 62, 92, 126, -64, -33, -32, -17, -16, + -9, -8, -5, -4, -3, 35, 41, 42, + 57, 59, 64, 65, 90, 91, 94, 95, + 122, 123, 125, 9, 13, 32, 34, 44, + 62, 92, -64, -33, -32, -17, -16, -9, + -8, -5, -4, -3, 33, 126, 9, 13, + 32, 34, 44, 92, -64, -33, -32, -17, + -16, -9, -8, -5, -4, -3, 33, 126, + 9, 13, 32, 44, -128, -65, 9, 13, + 32, 44, -128, -65, 9, 13, 32, 44, + -128, -65, 9, 13, 32, 44, -128, -65, + 9, 13, 32, 44, -128, -65, 9, 13, + 32, 44, 60, 9, 13, 32, 33, 34, + 37, 39, 44, 47, 60, 92, 126, -64, + -33, -32, -17, -16, -9, -8, -5, -4, + -3, 35, 41, 42, 57, 58, 64, 65, + 90, 91, 94, 95, 96, 97, 122, 123, + 125, 9, 13, 32, 33, 34, 37, 39, + 44, 47, 92, 126, -64, -33, -32, -17, + -16, -9, -8, -5, -4, -3, 35, 41, + 42, 57, 58, 64, 65, 90, 91, 94, + 95, 122, 123, 125, 9, 13, 32, 33, + 34, 37, 39, 44, 47, 60, 92, 126, + -64, -33, -32, -17, -16, -9, -8, -5, + -4, -3, 35, 41, 42, 57, 58, 64, + 65, 90, 91, 94, 95, 122, 123, 125, + 9, 13, 32, 44, 0, 8, 11, 127, + 9, 13, 32, 34, 44, 60, 92, -64, + -33, -32, -17, -16, -9, -8, -5, -4, + -3, 33, 126, 9, 13, 32, 33, 34, + 37, 39, 42, 44, 47, 92, 126, -64, + -33, -32, -17, -16, -9, -8, -5, -4, + -3, 35, 41, 43, 57, 58, 64, 65, + 90, 91, 94, 95, 96, 97, 122, 123, + 125, 9, 13, 32, 33, 34, 37, 39, + 44, 47, 60, 92, 126, -64, -33, -32, + -17, -16, -9, -8, -5, -4, -3, 35, + 41, 42, 57, 58, 64, 65, 90, 91, + 94, 95, 122, 123, 125, 9, 13, 32, + 33, 37, 39, 42, 43, 58, 126, 45, + 46, 48, 57, 65, 90, 95, 96, 97, + 122, 9, 13, 32, 33, 37, 39, 58, + 60, 126, 42, 43, 45, 46, 48, 57, + 65, 90, 95, 122, 9, 13, 32, 58, + 60, 9, 13, 32, 44, 9, 13, 32, + 33, 34, 37, 39, 44, 60, 126, 42, + 46, 48, 57, 65, 90, 95, 96, 97, + 122, 9, 13, 32, 33, 37, 39, 44, + 126, 42, 46, 48, 57, 65, 90, 95, + 122, 9, 13, 32, 33, 37, 39, 44, + 60, 126, 42, 46, 48, 57, 65, 90, + 95, 122, 9, 13, 32, 44, 60, 9, + 13, 32, 44, 65, 90, 97, 122, 9, + 13, 32, 44, 58, 43, 46, 48, 57, + 65, 90, 97, 122, 9, 13, 32, 44, + 58, 9, 13, 32, 44, 9, 13, 32, + 44, 62, 9, 13, 32, 33, 34, 37, + 39, 44, 60, 62, 126, 42, 46, 48, + 57, 65, 90, 95, 96, 97, 122, 9, + 13, 32, 33, 37, 39, 44, 62, 126, + 42, 46, 48, 57, 65, 90, 95, 122, + 9, 13, 32, 33, 37, 39, 44, 60, + 62, 126, 42, 46, 48, 57, 65, 90, + 95, 122, 9, 13, 32, 44, 60, 62, + 9, 13, 32, 44, 62, 65, 90, 97, + 122, 9, 13, 32, 34, 44, 62, 92, + -64, -33, -32, -17, -16, -9, -8, -5, + -4, -3, 33, 126, 9, 13, 32, 44, + 62, -128, -65, 9, 13, 32, 44, 62, + -128, -65, 9, 13, 32, 44, 62, -128, + -65, 9, 13, 32, 44, 62, -128, -65, + 9, 13, 32, 44, 62, -128, -65, 9, + 13, 32, 44, 60, 62, 9, 13, 32, + 33, 34, 37, 39, 44, 47, 60, 62, + 92, 126, -64, -33, -32, -17, -16, -9, + -8, -5, -4, -3, 35, 41, 42, 57, + 58, 64, 65, 90, 91, 94, 95, 96, + 97, 122, 123, 125, 9, 13, 32, 33, + 34, 37, 39, 44, 47, 62, 92, 126, + -64, -33, -32, -17, -16, -9, -8, -5, + -4, -3, 35, 41, 42, 57, 58, 64, + 65, 90, 91, 94, 95, 122, 123, 125, + 9, 13, 32, 33, 34, 37, 39, 44, + 47, 60, 62, 92, 126, -64, -33, -32, + -17, -16, -9, -8, -5, -4, -3, 35, + 41, 42, 57, 58, 64, 65, 90, 91, + 94, 95, 122, 123, 125, 9, 13, 32, + 44, 62, 0, 8, 11, 127, 9, 13, + 32, 34, 44, 60, 62, 92, -64, -33, + -32, -17, -16, -9, -8, -5, -4, -3, + 33, 126, 9, 13, 32, 33, 34, 37, + 39, 42, 44, 47, 58, 62, 92, 126, + -64, -33, -32, -17, -16, -9, -8, -5, + -4, -3, 35, 41, 43, 57, 59, 64, + 65, 90, 91, 94, 95, 96, 97, 122, + 123, 125, 9, 13, 32, 33, 34, 37, + 39, 44, 47, 58, 60, 62, 92, 126, + -64, -33, -32, -17, -16, -9, -8, -5, + -4, -3, 35, 41, 42, 57, 59, 64, + 65, 90, 91, 94, 95, 122, 123, 125, + 9, 13, 32, 34, 44, 62, 92, -64, + -33, -32, -17, -16, -9, -8, -5, -4, + -3, 33, 126, 9, 13, 32, 44, 62, + 9, 13, 32, 33, 34, 37, 39, 44, + 60, 62, 126, 42, 46, 48, 57, 65, + 90, 95, 96, 97, 122, 9, 13, 32, + 33, 37, 39, 44, 62, 126, 42, 46, + 48, 57, 65, 90, 95, 122, 9, 13, + 32, 33, 37, 39, 44, 60, 62, 126, + 42, 46, 48, 57, 65, 90, 95, 122, + 9, 13, 32, 44, 60, 62, 9, 13, + 32, 44, 62, 65, 90, 97, 122, 9, + 13, 32, 44, 9, 13, 32, 33, 34, + 37, 39, 44, 60, 126, 42, 46, 48, + 57, 65, 90, 95, 96, 97, 122, 9, + 13, 32, 33, 37, 39, 44, 126, 42, + 46, 48, 57, 65, 90, 95, 122, 9, + 13, 32, 33, 37, 39, 44, 60, 126, + 42, 46, 48, 57, 65, 90, 95, 122, + 9, 13, 32, 44, 60, 9, 13, 32, + 44, 65, 90, 97, 122, 9, 13, 32, + 44, 58, 43, 46, 48, 57, 65, 90, + 97, 122, 9, 13, 32, 44, 58, 9, + 13, 32, 44, 9, 13, 32, 44, 62, + 9, 13, 32, 33, 34, 37, 39, 44, + 60, 62, 126, 42, 46, 48, 57, 65, + 90, 95, 96, 97, 122, 9, 13, 32, + 33, 37, 39, 44, 62, 126, 42, 46, + 48, 57, 65, 90, 95, 122, 9, 13, + 32, 33, 37, 39, 44, 60, 62, 126, + 42, 46, 48, 57, 65, 90, 95, 122, + 9, 13, 32, 44, 60, 62, 9, 13, + 32, 44, 62, 65, 90, 97, 122, 9, + 13, 32, 34, 44, 62, 92, -64, -33, + -32, -17, -16, -9, -8, -5, -4, -3, + 33, 126, 9, 13, 32, 44, 62, -128, + -65, 9, 13, 32, 44, 62, -128, -65, + 9, 13, 32, 44, 62, -128, -65, 9, + 13, 32, 44, 62, -128, -65, 9, 13, + 32, 44, 62, -128, -65, 9, 13, 32, + 44, 60, 62, 9, 13, 32, 33, 34, + 37, 39, 44, 47, 60, 62, 92, 126, + -64, -33, -32, -17, -16, -9, -8, -5, + -4, -3, 35, 41, 42, 57, 58, 64, + 65, 90, 91, 94, 95, 96, 97, 122, + 123, 125, 9, 13, 32, 33, 34, 37, + 39, 44, 60, 62, 126, 42, 46, 48, + 57, 65, 90, 95, 96, 97, 122, 9, + 13, 32, 34, 44, 62, 92, -64, -33, + -32, -17, -16, -9, -8, -5, -4, -3, + 33, 126, 9, 13, 32, 44, 62, -128, + -65, 9, 13, 32, 44, 62, -128, -65, + 9, 13, 32, 44, 62, -128, -65, 9, + 13, 32, 44, 62, -128, -65, 9, 13, + 32, 44, 62, -128, -65, 9, 13, 32, + 33, 34, 37, 39, 44, 47, 60, 62, + 92, 126, -64, -33, -32, -17, -16, -9, + -8, -5, -4, -3, 35, 41, 42, 57, + 58, 64, 65, 90, 91, 94, 95, 96, + 97, 122, 123, 125, 9, 13, 32, 33, + 34, 37, 39, 44, 47, 62, 92, 126, + -64, -33, -32, -17, -16, -9, -8, -5, + -4, -3, 35, 41, 42, 57, 58, 64, + 65, 90, 91, 94, 95, 122, 123, 125, + 9, 13, 32, 33, 34, 37, 39, 44, + 47, 60, 62, 92, 126, -64, -33, -32, + -17, -16, -9, -8, -5, -4, -3, 35, + 41, 42, 57, 58, 64, 65, 90, 91, + 94, 95, 122, 123, 125, 9, 13, 32, + 44, 62, 0, 8, 11, 127, 9, 13, + 32, 34, 44, 60, 62, 92, -64, -33, + -32, -17, -16, -9, -8, -5, -4, -3, + 33, 126, 9, 13, 32, 33, 34, 37, + 39, 42, 44, 47, 58, 62, 92, 126, + -64, -33, -32, -17, -16, -9, -8, -5, + -4, -3, 35, 41, 43, 57, 59, 64, + 65, 90, 91, 94, 95, 96, 97, 122, + 123, 125, 9, 13, 32, 33, 34, 37, + 39, 44, 47, 58, 60, 62, 92, 126, + -64, -33, -32, -17, -16, -9, -8, -5, + -4, -3, 35, 41, 42, 57, 59, 64, + 65, 90, 91, 94, 95, 122, 123, 125, + 9, 13, 32, 34, 44, 62, 92, -64, + -33, -32, -17, -16, -9, -8, -5, -4, + -3, 33, 126, 9, 13, 32, 44, 62, + -128, -65, 9, 13, 32, 34, 44, 62, + 92, -64, -33, -32, -17, -16, -9, -8, + -5, -4, -3, 33, 126, 9, 13, 32, + 44, 62, -128, -65, 9, 13, 32, 44, + 62, -128, -65, 9, 13, 32, 44, 62, + -128, -65, 9, 13, 32, 44, 62, -128, + -65, 9, 13, 32, 44, 60, 62, 9, + 13, 32, 44, 60, 62, 9, 13, 32, + 44, 62, 65, 90, 97, 122, 9, 13, + 32, 33, 34, 37, 39, 44, 47, 60, + 62, 92, 126, -64, -33, -32, -17, -16, + -9, -8, -5, -4, -3, 35, 41, 42, + 57, 58, 64, 65, 90, 91, 94, 95, + 96, 97, 122, 123, 125, 9, 13, 32, + 33, 34, 37, 39, 44, 47, 62, 92, + 126, -64, -33, -32, -17, -16, -9, -8, + -5, -4, -3, 35, 41, 42, 57, 58, + 64, 65, 90, 91, 94, 95, 122, 123, + 125, 9, 13, 32, 33, 34, 37, 39, + 44, 47, 60, 62, 92, 126, -64, -33, + -32, -17, -16, -9, -8, -5, -4, -3, + 35, 41, 42, 57, 58, 64, 65, 90, + 91, 94, 95, 122, 123, 125, 9, 13, + 32, 44, 60, 9, 13, 32, 33, 34, + 37, 39, 44, 60, 126, 42, 46, 48, + 57, 65, 90, 95, 96, 97, 122, 9, + 13, 32, 33, 37, 39, 44, 126, 42, + 46, 48, 57, 65, 90, 95, 122, 9, + 13, 32, 33, 37, 39, 44, 60, 126, + 42, 46, 48, 57, 65, 90, 95, 122, + 9, 13, 32, 44, 60, 9, 13, 32, + 44, 65, 90, 97, 122, 9, 13, 32, + 44, 58, 43, 46, 48, 57, 65, 90, + 97, 122, 9, 13, 32, 44, 58, 9, + 13, 32, 44, 9, 13, 32, 44, 62, + 9, 13, 32, 33, 34, 37, 39, 44, + 60, 62, 126, 42, 46, 48, 57, 65, + 90, 95, 122, 9, 13, 32, 33, 37, + 39, 44, 62, 126, 42, 46, 48, 57, + 65, 90, 95, 122, 9, 13, 32, 33, + 37, 39, 44, 60, 62, 126, 42, 46, + 48, 57, 65, 90, 95, 122, 9, 13, + 32, 44, 60, 62, 9, 13, 32, 44, + 62, 65, 90, 97, 122, 9, 13, 32, + 44, 9, 13, 32, 34, 44, 62, 92, + -64, -33, -32, -17, -16, -9, -8, -5, + -4, -3, 33, 126, 9, 13, 32, 44, + 62, -128, -65, 9, 13, 32, 44, 62, + -128, -65, 9, 13, 32, 44, 62, -128, + -65, 9, 13, 32, 44, 62, -128, -65, + 9, 13, 32, 44, 62, -128, -65, 9, + 13, 32, 44, 60, 62, 9, 13, 32, + 33, 34, 37, 39, 44, 47, 60, 62, + 92, 126, -64, -33, -32, -17, -16, -9, + -8, -5, -4, -3, 35, 41, 42, 57, + 58, 64, 65, 90, 91, 94, 95, 96, + 97, 122, 123, 125, 9, 13, 32, 33, + 34, 37, 39, 60, 62, 126, 42, 43, + 45, 46, 48, 57, 65, 90, 95, 96, + 97, 122, 10, 62, 9, 32, 62, 9, + 13, 32, 33, 34, 37, 39, 60, 62, + 126, 42, 43, 45, 46, 48, 57, 65, + 90, 95, 96, 97, 122, 9, 13, 32, + 33, 37, 39, 42, 43, 58, 62, 126, + 45, 46, 48, 57, 65, 90, 95, 96, + 97, 122, 9, 13, 32, 33, 37, 39, + 58, 60, 62, 126, 42, 43, 45, 46, + 48, 57, 65, 90, 95, 122, 9, 13, + 32, 58, 60, 62, 62, 9, 13, 32, + 33, 34, 37, 39, 44, 47, 62, 92, + 126, -64, -33, -32, -17, -16, -9, -8, + -5, -4, -3, 35, 41, 42, 57, 58, + 64, 65, 90, 91, 94, 95, 122, 123, + 125, 9, 13, 32, 33, 34, 37, 39, + 44, 47, 60, 62, 92, 126, -64, -33, + -32, -17, -16, -9, -8, -5, -4, -3, + 35, 41, 42, 57, 58, 64, 65, 90, + 91, 94, 95, 122, 123, 125, 9, 13, + 32, 44, 60, 62, 10, 62, 9, 32, + 62, 9, 32, 44, 60, 62, 9, 13, + 32, 33, 34, 37, 39, 60, 62, 126, + 42, 43, 45, 46, 48, 57, 65, 90, + 95, 96, 97, 122, 10, 62, 9, 32, + 62, 9, 13, 32, 33, 34, 37, 39, + 60, 62, 126, 42, 43, 45, 46, 48, + 57, 65, 90, 95, 96, 97, 122, 9, + 13, 32, 33, 37, 39, 42, 43, 58, + 62, 126, 45, 46, 48, 57, 65, 90, + 95, 96, 97, 122, 9, 13, 32, 33, + 37, 39, 58, 60, 62, 126, 42, 43, + 45, 46, 48, 57, 65, 90, 95, 122, + 9, 13, 32, 58, 60, 62, 62, 9, + 13, 32, 44, 62, 9, 13, 32, 33, + 34, 37, 39, 44, 60, 62, 126, 42, + 46, 48, 57, 65, 90, 95, 122, 9, + 13, 32, 33, 37, 39, 44, 62, 126, + 42, 46, 48, 57, 65, 90, 95, 122, + 9, 13, 32, 33, 37, 39, 44, 60, + 62, 126, 42, 46, 48, 57, 65, 90, + 95, 122, 9, 13, 32, 44, 60, 62, + 9, 13, 32, 44, 62, 65, 90, 97, + 122, 9, 13, 32, 44, 58, 62, 43, + 46, 48, 57, 65, 90, 97, 122, 9, + 13, 32, 44, 58, 62, 9, 13, 32, + 44, 62, 9, 13, 32, 34, 44, 62, + 92, -64, -33, -32, -17, -16, -9, -8, + -5, -4, -3, 33, 126, 9, 13, 32, + 44, 62, -128, -65, 9, 13, 32, 44, + 62, -128, -65, 9, 13, 32, 44, 62, + -128, -65, 9, 13, 32, 44, 62, -128, + -65, 9, 13, 32, 44, 62, -128, -65, + 9, 13, 32, 44, 60, 62, 9, 13, + 32, 33, 34, 37, 39, 44, 47, 60, + 62, 92, 126, -64, -33, -32, -17, -16, + -9, -8, -5, -4, -3, 35, 41, 42, + 57, 58, 64, 65, 90, 91, 94, 95, + 96, 97, 122, 123, 125, 9, 13, 32, + 33, 34, 37, 39, 44, 47, 62, 92, + 126, -64, -33, -32, -17, -16, -9, -8, + -5, -4, -3, 35, 41, 42, 57, 58, + 64, 65, 90, 91, 94, 95, 122, 123, + 125, 9, 13, 32, 33, 34, 37, 39, + 44, 47, 60, 62, 92, 126, -64, -33, + -32, -17, -16, -9, -8, -5, -4, -3, + 35, 41, 42, 57, 58, 64, 65, 90, + 91, 94, 95, 122, 123, 125, 9, 13, + 32, 44, 62, 0, 8, 11, 127, 9, + 13, 32, 34, 44, 60, 62, 92, -64, + -33, -32, -17, -16, -9, -8, -5, -4, + -3, 33, 126, 9, 13, 32, 33, 34, + 37, 39, 42, 44, 47, 62, 92, 126, + -64, -33, -32, -17, -16, -9, -8, -5, + -4, -3, 35, 41, 43, 57, 58, 64, + 65, 90, 91, 94, 95, 96, 97, 122, + 123, 125, 9, 13, 32, 33, 34, 37, + 39, 44, 47, 60, 62, 92, 126, -64, + -33, -32, -17, -16, -9, -8, -5, -4, + -3, 35, 41, 42, 57, 58, 64, 65, + 90, 91, 94, 95, 122, 123, 125, 9, + 13, 32, 44, 62, 0, 8, 11, 127, + 9, 13, 32, 34, 44, 60, 62, 92, + -64, -33, -32, -17, -16, -9, -8, -5, + -4, -3, 33, 126, 9, 13, 32, 33, + 34, 37, 39, 42, 44, 47, 58, 62, + 92, 126, -64, -33, -32, -17, -16, -9, + -8, -5, -4, -3, 35, 41, 43, 57, + 59, 64, 65, 90, 91, 94, 95, 96, + 97, 122, 123, 125, 9, 13, 32, 33, + 34, 37, 39, 44, 47, 58, 60, 62, + 92, 126, -64, -33, -32, -17, -16, -9, + -8, -5, -4, -3, 35, 41, 42, 57, + 59, 64, 65, 90, 91, 94, 95, 122, + 123, 125, 9, 13, 32, 34, 44, 62, + 92, -64, -33, -32, -17, -16, -9, -8, + -5, -4, -3, 33, 126, 9, 13, 32, + 34, 44, 92, -64, -33, -32, -17, -16, + -9, -8, -5, -4, -3, 33, 126, 9, + 13, 32, 44, -128, -65, 9, 13, 32, + 44, -128, -65, 9, 13, 32, 44, -128, + -65, 9, 13, 32, 44, -128, -65, 9, + 13, 32, 44, -128, -65, 9, 13, 32, + 44, 60, 9, 13, 32, 33, 34, 37, + 39, 44, 47, 60, 92, 126, -64, -33, + -32, -17, -16, -9, -8, -5, -4, -3, + 35, 41, 42, 57, 58, 64, 65, 90, + 91, 94, 95, 96, 97, 122, 123, 125, + 9, 13, 32, 33, 34, 37, 39, 44, + 47, 92, 126, -64, -33, -32, -17, -16, + -9, -8, -5, -4, -3, 35, 41, 42, + 57, 58, 64, 65, 90, 91, 94, 95, + 122, 123, 125, 9, 13, 32, 33, 34, + 37, 39, 44, 47, 60, 92, 126, -64, + -33, -32, -17, -16, -9, -8, -5, -4, + -3, 35, 41, 42, 57, 58, 64, 65, + 90, 91, 94, 95, 122, 123, 125, 9, + 13, 32, 44, 0, 8, 11, 127, 9, + 13, 32, 33, 34, 37, 39, 42, 44, + 47, 92, 126, -64, -33, -32, -17, -16, + -9, -8, -5, -4, -3, 35, 41, 43, + 57, 58, 64, 65, 90, 91, 94, 95, + 96, 97, 122, 123, 125, 9, 13, 32, + 33, 34, 37, 39, 44, 47, 60, 92, + 126, -64, -33, -32, -17, -16, -9, -8, + -5, -4, -3, 35, 41, 42, 57, 58, + 64, 65, 90, 91, 94, 95, 122, 123, + 125, 9, 13, 32, 33, 37, 39, 42, + 44, 58, 126, 43, 46, 48, 57, 65, + 90, 95, 96, 97, 122, 9, 13, 32, + 33, 37, 39, 44, 58, 60, 126, 42, + 46, 48, 57, 65, 90, 95, 122, 9, + 13, 32, 44, 58, 60, 9, 13, 32, + 44, 9, 13, 32, 33, 34, 37, 39, + 44, 60, 126, 42, 46, 48, 57, 65, + 90, 95, 122, 9, 13, 32, 34, 44, + 92, -64, -33, -32, -17, -16, -9, -8, + -5, -4, -3, 33, 126, 9, 13, 32, + 44, -128, -65, 9, 13, 32, 44, -128, + -65, 9, 13, 32, 44, -128, -65, 9, + 13, 32, 44, -128, -65, 9, 13, 32, + 44, -128, -65, 9, 13, 32, 33, 34, + 37, 39, 44, 47, 60, 92, 126, -64, + -33, -32, -17, -16, -9, -8, -5, -4, + -3, 35, 41, 42, 57, 58, 64, 65, + 90, 91, 94, 95, 96, 97, 122, 123, + 125, 9, 13, 32, 33, 34, 37, 39, + 44, 47, 92, 126, -64, -33, -32, -17, + -16, -9, -8, -5, -4, -3, 35, 41, + 42, 57, 58, 64, 65, 90, 91, 94, + 95, 122, 123, 125, 9, 13, 32, 33, + 34, 37, 39, 44, 47, 60, 92, 126, + -64, -33, -32, -17, -16, -9, -8, -5, + -4, -3, 35, 41, 42, 57, 58, 64, + 65, 90, 91, 94, 95, 122, 123, 125, + 9, 13, 32, 44, 0, 8, 11, 127, + 9, 13, 32, 33, 34, 37, 39, 42, + 44, 47, 92, 126, -64, -33, -32, -17, + -16, -9, -8, -5, -4, -3, 35, 41, + 43, 57, 58, 64, 65, 90, 91, 94, + 95, 96, 97, 122, 123, 125, 9, 13, + 32, 33, 34, 37, 39, 44, 47, 60, + 92, 126, -64, -33, -32, -17, -16, -9, + -8, -5, -4, -3, 35, 41, 42, 57, + 58, 64, 65, 90, 91, 94, 95, 122, + 123, 125, 9, 13, 32, 44, 62, 0, + 8, 11, 127, 9, 13, 32, 34, 44, + 60, 62, 92, -64, -33, -32, -17, -16, + -9, -8, -5, -4, -3, 33, 126, 9, + 13, 32, 44, 62, -128, -65, 9, 13, + 32, 34, 44, 62, 92, -64, -33, -32, + -17, -16, -9, -8, -5, -4, -3, 33, + 126, 9, 13, 32, 44, 62, -128, -65, + 9, 13, 32, 44, 62, -128, -65, 9, + 13, 32, 44, 62, -128, -65, 9, 13, + 32, 44, 62, -128, -65, 9, 13, 32, + 44, 60, 62, 9, 13, 32, 33, 34, + 37, 39, 44, 47, 60, 62, 92, 126, + -64, -33, -32, -17, -16, -9, -8, -5, + -4, -3, 35, 41, 42, 57, 58, 64, + 65, 90, 91, 94, 95, 96, 97, 122, + 123, 125, 9, 13, 32, 33, 34, 37, + 39, 44, 47, 62, 92, 126, -64, -33, + -32, -17, -16, -9, -8, -5, -4, -3, + 35, 41, 42, 57, 58, 64, 65, 90, + 91, 94, 95, 122, 123, 125, 9, 13, + 32, 33, 34, 37, 39, 44, 47, 60, + 62, 92, 126, -64, -33, -32, -17, -16, + -9, -8, -5, -4, -3, 35, 41, 42, + 57, 58, 64, 65, 90, 91, 94, 95, + 122, 123, 125, 9, 13, 32, 44, 62, + 0, 8, 11, 127, 9, 13, 32, 34, + 44, 60, 62, 92, -64, -33, -32, -17, + -16, -9, -8, -5, -4, -3, 33, 126, + 9, 13, 32, 33, 34, 37, 39, 42, + 44, 47, 58, 62, 92, 126, -64, -33, + -32, -17, -16, -9, -8, -5, -4, -3, + 35, 41, 43, 57, 59, 64, 65, 90, + 91, 94, 95, 96, 97, 122, 123, 125, + 9, 13, 32, 33, 34, 37, 39, 44, + 47, 58, 60, 62, 92, 126, -64, -33, + -32, -17, -16, -9, -8, -5, -4, -3, + 35, 41, 42, 57, 59, 64, 65, 90, + 91, 94, 95, 122, 123, 125, 9, 13, + 32, 34, 44, 62, 92, -64, -33, -32, + -17, -16, -9, -8, -5, -4, -3, 33, + 126, 9, 13, 32, 44, 62, -128, -65, + 9, 13, 32, 34, 44, 62, 92, -64, + -33, -32, -17, -16, -9, -8, -5, -4, + -3, 33, 126, 9, 13, 32, 44, 62, + -128, -65, 9, 13, 32, 44, 62, -128, + -65, 9, 13, 32, 44, 62, -128, -65, + 9, 13, 32, 44, 62, -128, -65, 9, + 13, 32, 44, 60, 62, 9, 13, 32, + 44, 60, 62, 9, 13, 32, 44, 62, + 65, 90, 97, 122, 9, 13, 32, 44, + 58, 62, 43, 46, 48, 57, 65, 90, + 97, 122, 9, 13, 32, 44, 58, 62, + 9, 13, 32, 33, 34, 37, 39, 44, + 47, 60, 62, 92, 126, -64, -33, -32, + -17, -16, -9, -8, -5, -4, -3, 35, + 41, 42, 57, 58, 64, 65, 90, 91, + 94, 95, 96, 97, 122, 123, 125, 9, + 13, 32, 33, 34, 37, 39, 44, 47, + 62, 92, 126, -64, -33, -32, -17, -16, + -9, -8, -5, -4, -3, 35, 41, 42, + 57, 58, 64, 65, 90, 91, 94, 95, + 122, 123, 125, 9, 13, 32, 33, 34, + 37, 39, 44, 47, 60, 62, 92, 126, + -64, -33, -32, -17, -16, -9, -8, -5, + -4, -3, 35, 41, 42, 57, 58, 64, + 65, 90, 91, 94, 95, 122, 123, 125, + 9, 13, 32, 44, 62, 0, 8, 11, + 127, 9, 13, 32, 33, 34, 37, 39, + 42, 44, 47, 58, 62, 92, 126, -64, + -33, -32, -17, -16, -9, -8, -5, -4, + -3, 35, 41, 43, 57, 59, 64, 65, + 90, 91, 94, 95, 96, 97, 122, 123, + 125, 9, 13, 32, 33, 34, 37, 39, + 44, 47, 58, 60, 62, 92, 126, -64, + -33, -32, -17, -16, -9, -8, -5, -4, + -3, 35, 41, 42, 57, 59, 64, 65, + 90, 91, 94, 95, 122, 123, 125, 9, + 13, 32, 34, 44, 62, 92, -64, -33, + -32, -17, -16, -9, -8, -5, -4, -3, + 33, 126, 9, 13, 32, 33, 34, 37, + 39, 44, 47, 60, 62, 92, 126, -64, + -33, -32, -17, -16, -9, -8, -5, -4, + -3, 35, 41, 42, 57, 58, 64, 65, + 90, 91, 94, 95, 96, 97, 122, 123, + 125, 9, 13, 32, 34, 44, 60, 62, + 92, -64, -33, -32, -17, -16, -9, -8, + -5, -4, -3, 33, 126, 9, 13, 32, + 33, 34, 37, 39, 44, 47, 60, 62, + 92, 126, -64, -33, -32, -17, -16, -9, + -8, -5, -4, -3, 35, 41, 42, 57, + 58, 64, 65, 90, 91, 94, 95, 96, + 97, 122, 123, 125, 9, 13, 32, 33, + 34, 37, 39, 44, 47, 62, 92, 126, + -64, -33, -32, -17, -16, -9, -8, -5, + -4, -3, 35, 41, 42, 57, 58, 64, + 65, 90, 91, 94, 95, 122, 123, 125, + 9, 13, 32, 33, 34, 37, 39, 44, + 47, 60, 62, 92, 126, -64, -33, -32, + -17, -16, -9, -8, -5, -4, -3, 35, + 41, 42, 57, 58, 64, 65, 90, 91, + 94, 95, 122, 123, 125, 9, 13, 32, + 33, 34, 37, 39, 42, 44, 47, 58, + 62, 92, 126, -64, -33, -32, -17, -16, + -9, -8, -5, -4, -3, 35, 41, 43, + 57, 59, 64, 65, 90, 91, 94, 95, + 96, 97, 122, 123, 125, 9, 13, 32, + 33, 34, 37, 39, 44, 47, 58, 60, + 62, 92, 126, -64, -33, -32, -17, -16, + -9, -8, -5, -4, -3, 35, 41, 42, + 57, 59, 64, 65, 90, 91, 94, 95, + 122, 123, 125, 9, 13, 32, 33, 34, + 37, 39, 42, 44, 47, 58, 62, 92, + 126, -64, -33, -32, -17, -16, -9, -8, + -5, -4, -3, 35, 41, 43, 57, 59, + 64, 65, 90, 91, 94, 95, 96, 97, + 122, 123, 125, 9, 13, 32, 33, 34, + 37, 39, 44, 47, 58, 60, 62, 92, + 126, -64, -33, -32, -17, -16, -9, -8, + -5, -4, -3, 35, 41, 42, 57, 59, + 64, 65, 90, 91, 94, 95, 122, 123, + 125, 9, 13, 32, 34, 44, 62, 92, + -64, -33, -32, -17, -16, -9, -8, -5, + -4, -3, 33, 126, 9, 13, 32, 33, + 34, 37, 39, 44, 47, 60, 62, 92, + 126, -64, -33, -32, -17, -16, -9, -8, + -5, -4, -3, 35, 41, 42, 57, 58, + 64, 65, 90, 91, 94, 95, 96, 97, + 122, 123, 125, 9, 13, 32, 34, 44, + 60, 62, 92, -64, -33, -32, -17, -16, + -9, -8, -5, -4, -3, 33, 126, 9, + 13, 32, 33, 34, 37, 39, 44, 47, + 60, 62, 92, 126, -64, -33, -32, -17, + -16, -9, -8, -5, -4, -3, 35, 41, + 42, 57, 58, 64, 65, 90, 91, 94, + 95, 96, 97, 122, 123, 125, 9, 13, + 32, 33, 34, 37, 39, 44, 47, 62, + 92, 126, -64, -33, -32, -17, -16, -9, + -8, -5, -4, -3, 35, 41, 42, 57, + 58, 64, 65, 90, 91, 94, 95, 122, + 123, 125, 9, 13, 32, 33, 34, 37, + 39, 44, 47, 60, 62, 92, 126, -64, + -33, -32, -17, -16, -9, -8, -5, -4, + -3, 35, 41, 42, 57, 58, 64, 65, + 90, 91, 94, 95, 122, 123, 125, 9, + 13, 32, 34, 44, 60, 62, 92, -64, + -33, -32, -17, -16, -9, -8, -5, -4, + -3, 33, 126, 9, 13, 32, 44, 62, + -128, -65, 9, 13, 32, 34, 44, 62, + 92, -64, -33, -32, -17, -16, -9, -8, + -5, -4, -3, 33, 126, 9, 13, 32, + 44, 62, -128, -65, 9, 13, 32, 44, + 62, -128, -65, 9, 13, 32, 44, 62, + -128, -65, 9, 13, 32, 44, 62, -128, + -65, 9, 13, 32, 33, 34, 37, 39, + 44, 47, 60, 62, 92, 126, -64, -33, + -32, -17, -16, -9, -8, -5, -4, -3, + 35, 41, 42, 57, 58, 64, 65, 90, + 91, 94, 95, 96, 97, 122, 123, 125, + 9, 13, 32, 33, 34, 37, 39, 44, + 47, 62, 92, 126, -64, -33, -32, -17, + -16, -9, -8, -5, -4, -3, 35, 41, + 42, 57, 58, 64, 65, 90, 91, 94, + 95, 122, 123, 125, 9, 13, 32, 33, + 34, 37, 39, 44, 47, 60, 62, 92, + 126, -64, -33, -32, -17, -16, -9, -8, + -5, -4, -3, 35, 41, 42, 57, 58, + 64, 65, 90, 91, 94, 95, 122, 123, + 125, 9, 13, 32, 44, 62, 0, 8, + 11, 127, 9, 13, 32, 33, 34, 37, + 39, 42, 44, 47, 58, 62, 92, 126, + -64, -33, -32, -17, -16, -9, -8, -5, + -4, -3, 35, 41, 43, 57, 59, 64, + 65, 90, 91, 94, 95, 96, 97, 122, + 123, 125, 9, 13, 32, 33, 34, 37, + 39, 44, 47, 58, 60, 62, 92, 126, + -64, -33, -32, -17, -16, -9, -8, -5, + -4, -3, 35, 41, 42, 57, 59, 64, + 65, 90, 91, 94, 95, 122, 123, 125, + 9, 13, 32, 34, 44, 62, 92, -64, + -33, -32, -17, -16, -9, -8, -5, -4, + -3, 33, 126, 9, 13, 32, 33, 34, + 37, 39, 44, 47, 60, 62, 92, 126, + -64, -33, -32, -17, -16, -9, -8, -5, + -4, -3, 35, 41, 42, 57, 58, 64, + 65, 90, 91, 94, 95, 96, 97, 122, + 123, 125, 9, 13, 32, 33, 34, 37, + 39, 42, 44, 47, 58, 62, 92, 126, + -64, -33, -32, -17, -16, -9, -8, -5, + -4, -3, 35, 41, 43, 57, 59, 64, + 65, 90, 91, 94, 95, 96, 97, 122, + 123, 125, 9, 13, 32, 33, 34, 37, + 39, 44, 47, 58, 60, 62, 92, 126, + -64, -33, -32, -17, -16, -9, -8, -5, + -4, -3, 35, 41, 42, 57, 59, 64, + 65, 90, 91, 94, 95, 122, 123, 125, + 9, 13, 32, 33, 37, 39, 42, 44, + 58, 62, 126, 43, 46, 48, 57, 65, + 90, 95, 96, 97, 122, 9, 13, 32, + 33, 37, 39, 44, 58, 60, 62, 126, + 42, 46, 48, 57, 65, 90, 95, 122, + 9, 13, 32, 44, 58, 60, 62, 9, + 13, 32, 44, 62, 9, 13, 32, 33, + 34, 37, 39, 44, 60, 62, 126, 42, + 46, 48, 57, 65, 90, 95, 96, 97, + 122, 9, 13, 32, 34, 44, 62, 92, + -64, -33, -32, -17, -16, -9, -8, -5, + -4, -3, 33, 126, 9, 13, 32, 44, + 62, -128, -65, 9, 13, 32, 44, 62, + -128, -65, 9, 13, 32, 44, 62, -128, + -65, 9, 13, 32, 44, 62, -128, -65, + 9, 13, 32, 44, 62, -128, -65, 9, + 13, 32, 33, 34, 37, 39, 44, 47, + 60, 62, 92, 126, -64, -33, -32, -17, + -16, -9, -8, -5, -4, -3, 35, 41, + 42, 57, 58, 64, 65, 90, 91, 94, + 95, 96, 97, 122, 123, 125, 9, 13, + 32, 33, 34, 37, 39, 44, 47, 62, + 92, 126, -64, -33, -32, -17, -16, -9, + -8, -5, -4, -3, 35, 41, 42, 57, + 58, 64, 65, 90, 91, 94, 95, 122, + 123, 125, 9, 13, 32, 33, 34, 37, + 39, 44, 47, 60, 62, 92, 126, -64, + -33, -32, -17, -16, -9, -8, -5, -4, + -3, 35, 41, 42, 57, 58, 64, 65, + 90, 91, 94, 95, 122, 123, 125, 9, + 13, 32, 44, 60, 62, 9, 13, 32, + 33, 34, 37, 39, 44, 60, 62, 126, + 42, 46, 48, 57, 65, 90, 95, 96, + 97, 122, 9, 13, 32, 33, 37, 39, + 44, 62, 126, 42, 46, 48, 57, 65, + 90, 95, 122, 9, 13, 32, 33, 37, + 39, 44, 60, 62, 126, 42, 46, 48, + 57, 65, 90, 95, 122, 9, 13, 32, + 44, 60, 62, 9, 13, 32, 44, 62, + 65, 90, 97, 122, 9, 13, 32, 44, + 58, 62, 43, 46, 48, 57, 65, 90, + 97, 122, 9, 13, 32, 44, 58, 62, + 9, 13, 32, 44, 62, 9, 13, 32, + 34, 44, 62, 92, -64, -33, -32, -17, + -16, -9, -8, -5, -4, -3, 33, 126, + 9, 13, 32, 44, 62, -128, -65, 9, + 13, 32, 44, 62, -128, -65, 9, 13, + 32, 44, 62, -128, -65, 9, 13, 32, + 44, 62, -128, -65, 9, 13, 32, 44, + 62, -128, -65, 9, 13, 32, 44, 60, + 62, 9, 13, 32, 33, 34, 37, 39, + 44, 47, 60, 62, 92, 126, -64, -33, + -32, -17, -16, -9, -8, -5, -4, -3, + 35, 41, 42, 57, 58, 64, 65, 90, + 91, 94, 95, 96, 97, 122, 123, 125, + 9, 13, 32, 33, 34, 37, 39, 44, + 47, 62, 92, 126, -64, -33, -32, -17, + -16, -9, -8, -5, -4, -3, 35, 41, + 42, 57, 58, 64, 65, 90, 91, 94, + 95, 122, 123, 125, 9, 13, 32, 33, + 34, 37, 39, 44, 47, 60, 62, 92, + 126, -64, -33, -32, -17, -16, -9, -8, + -5, -4, -3, 35, 41, 42, 57, 58, + 64, 65, 90, 91, 94, 95, 122, 123, + 125, 9, 13, 32, 44, 62, 0, 8, + 11, 127, 9, 13, 32, 33, 34, 37, + 39, 42, 44, 47, 58, 62, 92, 126, + -64, -33, -32, -17, -16, -9, -8, -5, + -4, -3, 35, 41, 43, 57, 59, 64, + 65, 90, 91, 94, 95, 96, 97, 122, + 123, 125, 9, 13, 32, 33, 34, 37, + 39, 44, 47, 58, 60, 62, 92, 126, + -64, -33, -32, -17, -16, -9, -8, -5, + -4, -3, 35, 41, 42, 57, 59, 64, + 65, 90, 91, 94, 95, 122, 123, 125, + 9, 13, 32, 34, 44, 62, 92, -64, + -33, -32, -17, -16, -9, -8, -5, -4, + -3, 33, 126, 9, 13, 32, 33, 37, + 39, 42, 44, 58, 62, 126, 43, 46, + 48, 57, 65, 90, 95, 96, 97, 122, + 9, 13, 32, 33, 37, 39, 44, 58, + 60, 62, 126, 42, 46, 48, 57, 65, + 90, 95, 122, 9, 13, 32, 44, 58, + 60, 62, 9, 13, 32, 44, 62, 9, + 13, 32, 33, 34, 37, 39, 44, 60, + 62, 126, 42, 46, 48, 57, 65, 90, + 95, 122, 9, 13, 32, 34, 44, 62, + 92, -64, -33, -32, -17, -16, -9, -8, + -5, -4, -3, 33, 126, 9, 13, 32, + 44, 62, -128, -65, 9, 13, 32, 44, + 62, -128, -65, 9, 13, 32, 44, 62, + -128, -65, 9, 13, 32, 44, 62, -128, + -65, 9, 13, 32, 44, 62, -128, -65, + 9, 13, 32, 33, 34, 37, 39, 44, + 47, 60, 62, 92, 126, -64, -33, -32, + -17, -16, -9, -8, -5, -4, -3, 35, + 41, 42, 57, 58, 64, 65, 90, 91, + 94, 95, 96, 97, 122, 123, 125, 9, + 13, 32, 33, 34, 37, 39, 44, 60, + 62, 126, 42, 46, 48, 57, 65, 90, + 95, 96, 97, 122, 9, 13, 32, 34, + 44, 62, 92, -64, -33, -32, -17, -16, + -9, -8, -5, -4, -3, 33, 126, 9, + 13, 32, 44, 62, -128, -65, 9, 13, + 32, 44, 62, -128, -65, 9, 13, 32, + 44, 62, -128, -65, 9, 13, 32, 44, + 62, -128, -65, 9, 13, 32, 44, 62, + -128, -65, 9, 13, 32, 33, 34, 37, + 39, 44, 47, 60, 62, 92, 126, -64, + -33, -32, -17, -16, -9, -8, -5, -4, + -3, 35, 41, 42, 57, 58, 64, 65, + 90, 91, 94, 95, 96, 97, 122, 123, + 125, 9, 13, 32, 33, 34, 37, 39, + 44, 47, 62, 92, 126, -64, -33, -32, + -17, -16, -9, -8, -5, -4, -3, 35, + 41, 42, 57, 58, 64, 65, 90, 91, + 94, 95, 122, 123, 125, 9, 13, 32, + 33, 34, 37, 39, 44, 47, 60, 62, + 92, 126, -64, -33, -32, -17, -16, -9, + -8, -5, -4, -3, 35, 41, 42, 57, + 58, 64, 65, 90, 91, 94, 95, 122, + 123, 125, 9, 13, 32, 44, 62, 0, + 8, 11, 127, 9, 13, 32, 33, 34, + 37, 39, 42, 44, 47, 62, 92, 126, + -64, -33, -32, -17, -16, -9, -8, -5, + -4, -3, 35, 41, 43, 57, 58, 64, + 65, 90, 91, 94, 95, 96, 97, 122, + 123, 125, 9, 13, 32, 33, 34, 37, + 39, 44, 47, 60, 62, 92, 126, -64, + -33, -32, -17, -16, -9, -8, -5, -4, + -3, 35, 41, 42, 57, 58, 64, 65, + 90, 91, 94, 95, 122, 123, 125, 9, + 13, 32, 33, 37, 39, 42, 44, 58, + 62, 126, 43, 46, 48, 57, 65, 90, + 95, 96, 97, 122, 9, 13, 32, 33, + 37, 39, 44, 58, 60, 62, 126, 42, + 46, 48, 57, 65, 90, 95, 122, 9, + 13, 32, 44, 58, 60, 62, 9, 13, + 32, 44, 62, 9, 13, 32, 33, 34, + 37, 39, 44, 60, 62, 126, 42, 46, + 48, 57, 65, 90, 95, 122, 9, 13, + 32, 34, 44, 62, 92, -64, -33, -32, + -17, -16, -9, -8, -5, -4, -3, 33, + 126, 9, 13, 32, 44, 62, -128, -65, + 9, 13, 32, 44, 62, -128, -65, 9, + 13, 32, 44, 62, -128, -65, 9, 13, + 32, 44, 62, -128, -65, 9, 13, 32, + 44, 62, -128, -65, 9, 13, 32, 33, + 34, 37, 39, 44, 47, 60, 62, 92, + 126, -64, -33, -32, -17, -16, -9, -8, + -5, -4, -3, 35, 41, 42, 57, 58, + 64, 65, 90, 91, 94, 95, 96, 97, + 122, 123, 125, 9, 13, 32, 33, 34, + 37, 39, 44, 47, 62, 92, 126, -64, + -33, -32, -17, -16, -9, -8, -5, -4, + -3, 35, 41, 42, 57, 58, 64, 65, + 90, 91, 94, 95, 122, 123, 125, 9, + 13, 32, 33, 34, 37, 39, 44, 47, + 60, 62, 92, 126, -64, -33, -32, -17, + -16, -9, -8, -5, -4, -3, 35, 41, + 42, 57, 58, 64, 65, 90, 91, 94, + 95, 122, 123, 125, 9, 13, 32, 44, + 62, 0, 8, 11, 127, 9, 13, 32, + 33, 34, 37, 39, 42, 44, 47, 62, + 92, 126, -64, -33, -32, -17, -16, -9, + -8, -5, -4, -3, 35, 41, 43, 57, + 58, 64, 65, 90, 91, 94, 95, 96, + 97, 122, 123, 125, 9, 13, 32, 33, + 34, 37, 39, 44, 47, 60, 62, 92, + 126, -64, -33, -32, -17, -16, -9, -8, + -5, -4, -3, 35, 41, 42, 57, 58, + 64, 65, 90, 91, 94, 95, 122, 123, + 125, 9, 13, 32, 33, 34, 37, 39, + 44, 47, 62, 92, 126, -64, -33, -32, + -17, -16, -9, -8, -5, -4, -3, 35, + 41, 42, 57, 58, 64, 65, 90, 91, + 94, 95, 122, 123, 125, 9, 13, 32, + 33, 34, 37, 39, 44, 47, 60, 62, + 92, 126, -64, -33, -32, -17, -16, -9, + -8, -5, -4, -3, 35, 41, 42, 57, + 58, 64, 65, 90, 91, 94, 95, 122, + 123, 125, 9, 13, 32, 44, 62, 0, + 8, 11, 127, 9, 13, 32, 33, 34, + 37, 39, 42, 44, 47, 58, 62, 92, + 126, -64, -33, -32, -17, -16, -9, -8, + -5, -4, -3, 35, 41, 43, 57, 59, + 64, 65, 90, 91, 94, 95, 96, 97, + 122, 123, 125, 9, 13, 32, 33, 34, + 37, 39, 44, 47, 58, 60, 62, 92, + 126, -64, -33, -32, -17, -16, -9, -8, + -5, -4, -3, 35, 41, 42, 57, 59, + 64, 65, 90, 91, 94, 95, 122, 123, + 125, 9, 13, 32, 34, 44, 62, 92, + -64, -33, -32, -17, -16, -9, -8, -5, + -4, -3, 33, 126, 9, 13, 32, 44, + 62, 0, 8, 11, 127, 9, 13, 32, + 34, 44, 60, 62, 92, -64, -33, -32, + -17, -16, -9, -8, -5, -4, -3, 33, + 126, 9, 13, 32, 44, 62, 0, 8, + 11, 127, 9, 13, 32, 33, 34, 37, + 39, 42, 44, 47, 58, 62, 92, 126, + -64, -33, -32, -17, -16, -9, -8, -5, + -4, -3, 35, 41, 43, 57, 59, 64, + 65, 90, 91, 94, 95, 96, 97, 122, + 123, 125, 9, 13, 32, 33, 34, 37, + 39, 44, 47, 58, 60, 62, 92, 126, + -64, -33, -32, -17, -16, -9, -8, -5, + -4, -3, 35, 41, 42, 57, 59, 64, + 65, 90, 91, 94, 95, 122, 123, 125, + 9, 13, 32, 34, 44, 62, 92, -64, + -33, -32, -17, -16, -9, -8, -5, -4, + -3, 33, 126, 9, 13, 32, 33, 34, + 37, 39, 44, 47, 60, 62, 92, 126, + -64, -33, -32, -17, -16, -9, -8, -5, + -4, -3, 35, 41, 42, 57, 58, 64, + 65, 90, 91, 94, 95, 96, 97, 122, + 123, 125, 9, 13, 32, 34, 44, 60, + 62, 92, -64, -33, -32, -17, -16, -9, + -8, -5, -4, -3, 33, 126, 9, 13, + 32, 44, 62, -128, -65, 9, 13, 32, + 34, 44, 62, 92, -64, -33, -32, -17, + -16, -9, -8, -5, -4, -3, 33, 126, + 9, 13, 32, 44, 62, -128, -65, 9, + 13, 32, 44, 62, -128, -65, 9, 13, + 32, 44, 62, -128, -65, 9, 13, 32, + 44, 62, -128, -65, 9, 13, 32, 33, + 34, 37, 39, 44, 47, 60, 62, 92, + 126, -64, -33, -32, -17, -16, -9, -8, + -5, -4, -3, 35, 41, 42, 57, 58, + 64, 65, 90, 91, 94, 95, 96, 97, + 122, 123, 125, 9, 13, 32, 33, 34, + 37, 39, 44, 60, 62, 126, 42, 46, + 48, 57, 65, 90, 95, 96, 97, 122, + 9, 13, 32, 34, 44, 62, 92, -64, + -33, -32, -17, -16, -9, -8, -5, -4, + -3, 33, 126, 9, 13, 32, 44, 62, + -128, -65, 9, 13, 32, 44, 62, -128, + -65, 9, 13, 32, 44, 62, -128, -65, + 9, 13, 32, 44, 62, -128, -65, 9, + 13, 32, 44, 62, -128, -65, 9, 13, + 32, 33, 34, 37, 39, 44, 47, 60, + 62, 92, 126, -64, -33, -32, -17, -16, + -9, -8, -5, -4, -3, 35, 41, 42, + 57, 58, 64, 65, 90, 91, 94, 95, + 96, 97, 122, 123, 125, 9, 13, 32, + 33, 34, 37, 39, 44, 47, 62, 92, + 126, -64, -33, -32, -17, -16, -9, -8, + -5, -4, -3, 35, 41, 42, 57, 58, + 64, 65, 90, 91, 94, 95, 122, 123, + 125, 9, 13, 32, 33, 34, 37, 39, + 44, 47, 60, 62, 92, 126, -64, -33, + -32, -17, -16, -9, -8, -5, -4, -3, + 35, 41, 42, 57, 58, 64, 65, 90, + 91, 94, 95, 122, 123, 125, 9, 13, + 32, 44, 62, 0, 8, 11, 127, 9, + 13, 32, 33, 34, 37, 39, 42, 44, + 47, 58, 62, 92, 126, -64, -33, -32, + -17, -16, -9, -8, -5, -4, -3, 35, + 41, 43, 57, 59, 64, 65, 90, 91, + 94, 95, 96, 97, 122, 123, 125, 9, + 13, 32, 33, 34, 37, 39, 44, 47, + 58, 60, 62, 92, 126, -64, -33, -32, + -17, -16, -9, -8, -5, -4, -3, 35, + 41, 42, 57, 59, 64, 65, 90, 91, + 94, 95, 122, 123, 125, 9, 13, 32, + 34, 44, 62, 92, -64, -33, -32, -17, + -16, -9, -8, -5, -4, -3, 33, 126, + 9, 13, 32, 44, 62, -128, -65, 9, + 13, 32, 34, 44, 62, 92, -64, -33, + -32, -17, -16, -9, -8, -5, -4, -3, + 33, 126, 9, 13, 32, 44, 62, -128, + -65, 9, 13, 32, 44, 62, -128, -65, + 9, 13, 32, 44, 62, -128, -65, 9, + 13, 32, 44, 62, -128, -65, 9, 13, + 32, 33, 34, 37, 39, 44, 47, 60, + 62, 92, 126, -64, -33, -32, -17, -16, + -9, -8, -5, -4, -3, 35, 41, 42, + 57, 58, 64, 65, 90, 91, 94, 95, + 96, 97, 122, 123, 125, 9, 13, 32, + 33, 34, 37, 39, 44, 47, 62, 92, + 126, -64, -33, -32, -17, -16, -9, -8, + -5, -4, -3, 35, 41, 42, 57, 58, + 64, 65, 90, 91, 94, 95, 122, 123, + 125, 9, 13, 32, 33, 34, 37, 39, + 44, 47, 60, 62, 92, 126, -64, -33, + -32, -17, -16, -9, -8, -5, -4, -3, + 35, 41, 42, 57, 58, 64, 65, 90, + 91, 94, 95, 122, 123, 125, 9, 13, + 32, 44, 62, 0, 8, 11, 127, 9, + 13, 32, 33, 34, 37, 39, 42, 44, + 47, 58, 62, 92, 126, -64, -33, -32, + -17, -16, -9, -8, -5, -4, -3, 35, + 41, 43, 57, 59, 64, 65, 90, 91, + 94, 95, 96, 97, 122, 123, 125, 9, + 13, 32, 33, 34, 37, 39, 44, 47, + 58, 60, 62, 92, 126, -64, -33, -32, + -17, -16, -9, -8, -5, -4, -3, 35, + 41, 42, 57, 59, 64, 65, 90, 91, + 94, 95, 122, 123, 125, 9, 13, 32, + 34, 44, 62, 92, -64, -33, -32, -17, + -16, -9, -8, -5, -4, -3, 33, 126, + 9, 13, 32, 33, 34, 37, 39, 44, + 47, 60, 62, 92, 126, -64, -33, -32, + -17, -16, -9, -8, -5, -4, -3, 35, + 41, 42, 57, 58, 64, 65, 90, 91, + 94, 95, 96, 97, 122, 123, 125, 9, + 13, 32, 33, 34, 37, 39, 44, 47, + 60, 62, 92, 126, -64, -33, -32, -17, + -16, -9, -8, -5, -4, -3, 35, 41, + 42, 57, 58, 64, 65, 90, 91, 94, + 95, 96, 97, 122, 123, 125, 9, 13, + 32, 33, 34, 37, 39, 44, 47, 62, + 92, 126, -64, -33, -32, -17, -16, -9, + -8, -5, -4, -3, 35, 41, 42, 57, + 58, 64, 65, 90, 91, 94, 95, 122, + 123, 125, 9, 13, 32, 33, 34, 37, + 39, 44, 47, 60, 62, 92, 126, -64, + -33, -32, -17, -16, -9, -8, -5, -4, + -3, 35, 41, 42, 57, 58, 64, 65, + 90, 91, 94, 95, 122, 123, 125, 9, + 13, 32, 33, 34, 37, 39, 42, 44, + 47, 58, 62, 92, 126, -64, -33, -32, + -17, -16, -9, -8, -5, -4, -3, 35, + 41, 43, 57, 59, 64, 65, 90, 91, + 94, 95, 96, 97, 122, 123, 125, 9, + 13, 32, 33, 34, 37, 39, 44, 47, + 58, 60, 62, 92, 126, -64, -33, -32, + -17, -16, -9, -8, -5, -4, -3, 35, + 41, 42, 57, 59, 64, 65, 90, 91, + 94, 95, 122, 123, 125, 9, 13, 32, + 33, 37, 39, 42, 44, 58, 62, 126, + 43, 46, 48, 57, 65, 90, 95, 96, + 97, 122, 9, 13, 32, 33, 37, 39, + 44, 58, 60, 62, 126, 42, 46, 48, + 57, 65, 90, 95, 122, 9, 13, 32, + 44, 58, 60, 62, 9, 13, 32, 33, + 34, 37, 39, 44, 47, 62, 92, 126, + -64, -33, -32, -17, -16, -9, -8, -5, + -4, -3, 35, 41, 42, 57, 58, 64, + 65, 90, 91, 94, 95, 122, 123, 125, + 9, 13, 32, 33, 34, 37, 39, 44, + 47, 60, 62, 92, 126, -64, -33, -32, + -17, -16, -9, -8, -5, -4, -3, 35, + 41, 42, 57, 58, 64, 65, 90, 91, + 94, 95, 122, 123, 125, 9, 13, 32, + 44, 62, 0, 8, 11, 127, 9, 13, + 32, 33, 34, 37, 39, 42, 44, 47, + 58, 62, 92, 126, -64, -33, -32, -17, + -16, -9, -8, -5, -4, -3, 35, 41, + 43, 57, 59, 64, 65, 90, 91, 94, + 95, 96, 97, 122, 123, 125, 9, 13, + 32, 33, 34, 37, 39, 44, 47, 58, + 60, 62, 92, 126, -64, -33, -32, -17, + -16, -9, -8, -5, -4, -3, 35, 41, + 42, 57, 59, 64, 65, 90, 91, 94, + 95, 122, 123, 125, 9, 13, 32, 34, + 44, 62, 92, -64, -33, -32, -17, -16, + -9, -8, -5, -4, -3, 33, 126, 9, + 13, 32, 33, 34, 37, 39, 44, 47, + 60, 62, 92, 126, -64, -33, -32, -17, + -16, -9, -8, -5, -4, -3, 35, 41, + 42, 57, 58, 64, 65, 90, 91, 94, + 95, 96, 97, 122, 123, 125, 9, 13, + 32, 33, 37, 39, 42, 44, 58, 62, + 126, 43, 46, 48, 57, 65, 90, 95, + 96, 97, 122, 9, 13, 32, 33, 37, + 39, 44, 58, 60, 62, 126, 42, 46, + 48, 57, 65, 90, 95, 122, 9, 13, + 32, 44, 58, 60, 62, 9, 13, 32, + 44, 62, 9, 13, 32, 33, 34, 37, + 39, 44, 60, 62, 126, 42, 46, 48, + 57, 65, 90, 95, 96, 97, 122, 9, + 13, 32, 33, 34, 37, 39, 44, 47, + 62, 92, 126, -64, -33, -32, -17, -16, + -9, -8, -5, -4, -3, 35, 41, 42, + 57, 58, 64, 65, 90, 91, 94, 95, + 122, 123, 125, 9, 13, 32, 33, 34, + 37, 39, 44, 47, 60, 62, 92, 126, + -64, -33, -32, -17, -16, -9, -8, -5, + -4, -3, 35, 41, 42, 57, 58, 64, + 65, 90, 91, 94, 95, 122, 123, 125, + 9, 13, 32, 33, 34, 37, 39, 42, + 44, 47, 58, 62, 92, 126, -64, -33, + -32, -17, -16, -9, -8, -5, -4, -3, + 35, 41, 43, 57, 59, 64, 65, 90, + 91, 94, 95, 96, 97, 122, 123, 125, + 9, 13, 32, 33, 34, 37, 39, 44, + 47, 58, 60, 62, 92, 126, -64, -33, + -32, -17, -16, -9, -8, -5, -4, -3, + 35, 41, 42, 57, 59, 64, 65, 90, + 91, 94, 95, 122, 123, 125, 9, 13, + 32, 34, 44, 62, 92, -64, -33, -32, + -17, -16, -9, -8, -5, -4, -3, 33, + 126, 9, 13, 32, 33, 34, 37, 39, + 44, 47, 60, 62, 92, 126, -64, -33, + -32, -17, -16, -9, -8, -5, -4, -3, + 35, 41, 42, 57, 58, 64, 65, 90, + 91, 94, 95, 96, 97, 122, 123, 125, + 9, 13, 32, 33, 34, 37, 39, 44, + 47, 62, 92, 126, -64, -33, -32, -17, + -16, -9, -8, -5, -4, -3, 35, 41, + 42, 57, 58, 64, 65, 90, 91, 94, + 95, 122, 123, 125, 9, 13, 32, 33, + 34, 37, 39, 44, 47, 60, 62, 92, + 126, -64, -33, -32, -17, -16, -9, -8, + -5, -4, -3, 35, 41, 42, 57, 58, + 64, 65, 90, 91, 94, 95, 122, 123, + 125, 9, 13, 32, 33, 34, 37, 39, + 42, 44, 47, 58, 62, 92, 126, -64, + -33, -32, -17, -16, -9, -8, -5, -4, + -3, 35, 41, 43, 57, 59, 64, 65, + 90, 91, 94, 95, 96, 97, 122, 123, + 125, 9, 13, 32, 33, 34, 37, 39, + 44, 47, 58, 60, 62, 92, 126, -64, + -33, -32, -17, -16, -9, -8, -5, -4, + -3, 35, 41, 42, 57, 59, 64, 65, + 90, 91, 94, 95, 122, 123, 125, 9, + 13, 32, 34, 44, 92, -64, -33, -32, + -17, -16, -9, -8, -5, -4, -3, 33, + 126, 9, 13, 32, 44, -128, -65, 9, + 13, 32, 44, -128, -65, 9, 13, 32, + 44, -128, -65, 9, 13, 32, 44, -128, + -65, 9, 13, 32, 44, -128, -65, 9, + 13, 32, 44, 60, 9, 13, 32, 33, + 34, 37, 39, 44, 47, 60, 92, 126, + -64, -33, -32, -17, -16, -9, -8, -5, + -4, -3, 35, 41, 42, 57, 58, 64, + 65, 90, 91, 94, 95, 96, 97, 122, + 123, 125, 9, 13, 32, 33, 34, 37, + 39, 44, 47, 92, 126, -64, -33, -32, + -17, -16, -9, -8, -5, -4, -3, 35, + 41, 42, 57, 58, 64, 65, 90, 91, + 94, 95, 122, 123, 125, 9, 13, 32, + 33, 34, 37, 39, 44, 47, 60, 92, + 126, -64, -33, -32, -17, -16, -9, -8, + -5, -4, -3, 35, 41, 42, 57, 58, + 64, 65, 90, 91, 94, 95, 122, 123, + 125, 9, 13, 32, 44, 0, 8, 11, + 127, 9, 13, 32, 34, 44, 60, 92, + -64, -33, -32, -17, -16, -9, -8, -5, + -4, -3, 33, 126, 9, 13, 32, 33, + 34, 37, 39, 42, 44, 47, 58, 92, + 126, -64, -33, -32, -17, -16, -9, -8, + -5, -4, -3, 35, 41, 43, 57, 59, + 64, 65, 90, 91, 94, 95, 96, 97, + 122, 123, 125, 9, 13, 32, 33, 34, + 37, 39, 44, 47, 58, 60, 92, 126, + -64, -33, -32, -17, -16, -9, -8, -5, + -4, -3, 35, 41, 42, 57, 59, 64, + 65, 90, 91, 94, 95, 122, 123, 125, + 9, 13, 32, 34, 44, 92, -64, -33, + -32, -17, -16, -9, -8, -5, -4, -3, + 33, 126, 9, 13, 32, 44, -128, -65, + 9, 13, 32, 34, 44, 92, -64, -33, + -32, -17, -16, -9, -8, -5, -4, -3, + 33, 126, 9, 13, 32, 44, -128, -65, + 9, 13, 32, 44, -128, -65, 9, 13, + 32, 44, -128, -65, 9, 13, 32, 44, + -128, -65, 9, 13, 32, 33, 34, 37, + 39, 44, 47, 60, 92, 126, -64, -33, + -32, -17, -16, -9, -8, -5, -4, -3, + 35, 41, 42, 57, 58, 64, 65, 90, + 91, 94, 95, 96, 97, 122, 123, 125, + 9, 13, 32, 33, 34, 37, 39, 44, + 47, 92, 126, -64, -33, -32, -17, -16, + -9, -8, -5, -4, -3, 35, 41, 42, + 57, 58, 64, 65, 90, 91, 94, 95, + 122, 123, 125, 9, 13, 32, 33, 34, + 37, 39, 44, 47, 60, 92, 126, -64, + -33, -32, -17, -16, -9, -8, -5, -4, + -3, 35, 41, 42, 57, 58, 64, 65, + 90, 91, 94, 95, 122, 123, 125, 9, + 13, 32, 44, 0, 8, 11, 127, 9, + 13, 32, 33, 34, 37, 39, 42, 44, + 47, 58, 92, 126, -64, -33, -32, -17, + -16, -9, -8, -5, -4, -3, 35, 41, + 43, 57, 59, 64, 65, 90, 91, 94, + 95, 96, 97, 122, 123, 125, 9, 13, + 32, 33, 34, 37, 39, 44, 47, 58, + 60, 92, 126, -64, -33, -32, -17, -16, + -9, -8, -5, -4, -3, 35, 41, 42, + 57, 59, 64, 65, 90, 91, 94, 95, + 122, 123, 125, 9, 13, 32, 34, 44, + 92, -64, -33, -32, -17, -16, -9, -8, + -5, -4, -3, 33, 126, 9, 13, 32, + 33, 34, 37, 39, 44, 47, 60, 92, + 126, -64, -33, -32, -17, -16, -9, -8, + -5, -4, -3, 35, 41, 42, 57, 58, + 64, 65, 90, 91, 94, 95, 96, 97, + 122, 123, 125, 9, 13, 32, 34, 44, + 60, 92, -64, -33, -32, -17, -16, -9, + -8, -5, -4, -3, 33, 126, 9, 13, + 32, 33, 34, 37, 39, 44, 47, 60, + 92, 126, -64, -33, -32, -17, -16, -9, + -8, -5, -4, -3, 35, 41, 42, 57, + 58, 64, 65, 90, 91, 94, 95, 96, + 97, 122, 123, 125, 9, 13, 32, 33, + 34, 37, 39, 44, 47, 92, 126, -64, + -33, -32, -17, -16, -9, -8, -5, -4, + -3, 35, 41, 42, 57, 58, 64, 65, + 90, 91, 94, 95, 122, 123, 125, 9, + 13, 32, 33, 34, 37, 39, 44, 47, + 60, 92, 126, -64, -33, -32, -17, -16, + -9, -8, -5, -4, -3, 35, 41, 42, + 57, 58, 64, 65, 90, 91, 94, 95, + 122, 123, 125, 9, 13, 32, 33, 34, + 37, 39, 42, 44, 47, 58, 92, 126, + -64, -33, -32, -17, -16, -9, -8, -5, + -4, -3, 35, 41, 43, 57, 59, 64, + 65, 90, 91, 94, 95, 96, 97, 122, + 123, 125, 9, 13, 32, 33, 34, 37, + 39, 44, 47, 58, 60, 92, 126, -64, + -33, -32, -17, -16, -9, -8, -5, -4, + -3, 35, 41, 42, 57, 59, 64, 65, + 90, 91, 94, 95, 122, 123, 125, 9, + 13, 32, 33, 37, 39, 42, 44, 58, + 126, 43, 46, 48, 57, 65, 90, 95, + 96, 97, 122, 9, 13, 32, 33, 37, + 39, 44, 58, 60, 126, 42, 46, 48, + 57, 65, 90, 95, 122, 9, 13, 32, + 44, 58, 60, 9, 13, 32, 44, 9, + 13, 32, 33, 34, 37, 39, 44, 60, + 126, 42, 46, 48, 57, 65, 90, 95, + 96, 97, 122, 9, 13, 32, 44, 58, + 62, 43, 46, 48, 57, 65, 90, 97, + 122, 9, 13, 32, 44, 58, 62, 9, + 13, 32, 44, 62, 9, 13, 32, 33, + 37, 39, 42, 44, 58, 62, 126, 43, + 46, 48, 57, 65, 90, 95, 96, 97, + 122, 9, 13, 32, 33, 37, 39, 44, + 58, 60, 62, 126, 42, 46, 48, 57, + 65, 90, 95, 122, 9, 13, 32, 44, + 58, 60, 62, 9, 13, 32, 44, 62, + 9, 13, 32, 33, 34, 37, 39, 44, + 60, 62, 126, 42, 46, 48, 57, 65, + 90, 95, 96, 97, 122, 9, 13, 32, + 33, 37, 39, 44, 62, 126, 42, 46, + 48, 57, 65, 90, 95, 122, 9, 13, + 32, 33, 37, 39, 44, 60, 62, 126, + 42, 46, 48, 57, 65, 90, 95, 122, + 9, 13, 32, 33, 37, 39, 42, 44, + 58, 62, 126, 43, 46, 48, 57, 65, + 90, 95, 96, 97, 122, 9, 13, 32, + 33, 37, 39, 44, 58, 60, 62, 126, + 42, 46, 48, 57, 65, 90, 95, 122, + 9, 13, 32, 44, 58, 60, 62, 9, + 13, 32, 33, 34, 37, 39, 44, 47, + 60, 62, 92, 126, -64, -33, -32, -17, + -16, -9, -8, -5, -4, -3, 35, 41, + 42, 57, 58, 64, 65, 90, 91, 94, + 95, 96, 97, 122, 123, 125, 9, 13, + 32, 33, 34, 37, 39, 44, 47, 62, + 92, 126, -64, -33, -32, -17, -16, -9, + -8, -5, -4, -3, 35, 41, 42, 57, + 58, 64, 65, 90, 91, 94, 95, 122, + 123, 125, 9, 13, 32, 33, 34, 37, + 39, 44, 47, 60, 62, 92, 126, -64, + -33, -32, -17, -16, -9, -8, -5, -4, + -3, 35, 41, 42, 57, 58, 64, 65, + 90, 91, 94, 95, 122, 123, 125, 9, + 13, 32, 34, 44, 60, 62, 92, -64, + -33, -32, -17, -16, -9, -8, -5, -4, + -3, 33, 126, 9, 13, 32, 33, 34, + 37, 39, 42, 44, 47, 58, 62, 92, + 126, -64, -33, -32, -17, -16, -9, -8, + -5, -4, -3, 35, 41, 43, 57, 59, + 64, 65, 90, 91, 94, 95, 96, 97, + 122, 123, 125, 9, 13, 32, 33, 34, + 37, 39, 44, 47, 58, 60, 62, 92, + 126, -64, -33, -32, -17, -16, -9, -8, + -5, -4, -3, 35, 41, 42, 57, 59, + 64, 65, 90, 91, 94, 95, 122, 123, + 125, 9, 13, 32, 33, 37, 39, 42, + 44, 58, 62, 126, 43, 46, 48, 57, + 65, 90, 95, 96, 97, 122, 9, 13, + 32, 33, 37, 39, 44, 58, 60, 62, + 126, 42, 46, 48, 57, 65, 90, 95, + 122, 9, 13, 32, 44, 58, 60, 62, + 9, 13, 32, 44, 62, 9, 13, 32, + 33, 34, 37, 39, 44, 60, 62, 126, + 42, 46, 48, 57, 65, 90, 95, 96, + 97, 122, 9, 13, 32, 33, 37, 39, + 44, 62, 126, 42, 46, 48, 57, 65, + 90, 95, 122, 9, 13, 32, 33, 37, + 39, 44, 60, 62, 126, 42, 46, 48, + 57, 65, 90, 95, 122, 9, 13, 32, + 33, 37, 39, 42, 44, 58, 62, 126, + 43, 46, 48, 57, 65, 90, 95, 96, + 97, 122, 9, 13, 32, 33, 37, 39, + 44, 58, 60, 62, 126, 42, 46, 48, + 57, 65, 90, 95, 122, 9, 13, 32, + 44, 58, 60, 62, 9, 13, 32, 34, + 44, 92, -64, -33, -32, -17, -16, -9, + -8, -5, -4, -3, 33, 126, 9, 13, + 32, 44, -128, -65, 9, 13, 32, 44, + -128, -65, 9, 13, 32, 44, -128, -65, + 9, 13, 32, 44, -128, -65, 9, 13, + 32, 44, -128, -65, 9, 13, 32, 44, + 60, 9, 13, 32, 33, 34, 37, 39, + 44, 47, 60, 92, 126, -64, -33, -32, + -17, -16, -9, -8, -5, -4, -3, 35, + 41, 42, 57, 58, 64, 65, 90, 91, + 94, 95, 96, 97, 122, 123, 125, 9, + 13, 32, 33, 34, 37, 39, 44, 47, + 92, 126, -64, -33, -32, -17, -16, -9, + -8, -5, -4, -3, 35, 41, 42, 57, + 58, 64, 65, 90, 91, 94, 95, 122, + 123, 125, 9, 13, 32, 33, 34, 37, + 39, 44, 47, 60, 92, 126, -64, -33, + -32, -17, -16, -9, -8, -5, -4, -3, + 35, 41, 42, 57, 58, 64, 65, 90, + 91, 94, 95, 122, 123, 125, 9, 13, + 32, 44, 0, 8, 11, 127, 9, 13, + 32, 34, 44, 60, 92, -64, -33, -32, + -17, -16, -9, -8, -5, -4, -3, 33, + 126, 9, 13, 32, 33, 34, 37, 39, + 42, 44, 47, 58, 92, 126, -64, -33, + -32, -17, -16, -9, -8, -5, -4, -3, + 35, 41, 43, 57, 59, 64, 65, 90, + 91, 94, 95, 96, 97, 122, 123, 125, + 9, 13, 32, 33, 34, 37, 39, 44, + 47, 58, 60, 92, 126, -64, -33, -32, + -17, -16, -9, -8, -5, -4, -3, 35, + 41, 42, 57, 59, 64, 65, 90, 91, + 94, 95, 122, 123, 125, 9, 13, 32, + 34, 44, 92, -64, -33, -32, -17, -16, + -9, -8, -5, -4, -3, 33, 126, 9, + 13, 32, 44, -128, -65, 9, 13, 32, + 34, 44, 92, -64, -33, -32, -17, -16, + -9, -8, -5, -4, -3, 33, 126, 9, + 13, 32, 44, -128, -65, 9, 13, 32, + 44, -128, -65, 9, 13, 32, 44, -128, + -65, 9, 13, 32, 44, -128, -65, 9, + 13, 32, 44, 60, 9, 13, 32, 44, + 60, 9, 13, 32, 44, 65, 90, 97, + 122, 9, 13, 32, 44, 58, 43, 46, + 48, 57, 65, 90, 97, 122, 9, 13, + 32, 44, 58, 9, 13, 32, 44, 9, + 13, 32, 33, 34, 37, 39, 44, 47, + 60, 92, 126, -64, -33, -32, -17, -16, + -9, -8, -5, -4, -3, 35, 41, 42, + 57, 58, 64, 65, 90, 91, 94, 95, + 96, 97, 122, 123, 125, 9, 13, 32, + 33, 34, 37, 39, 44, 47, 92, 126, + -64, -33, -32, -17, -16, -9, -8, -5, + -4, -3, 35, 41, 42, 57, 58, 64, + 65, 90, 91, 94, 95, 122, 123, 125, + 9, 13, 32, 33, 34, 37, 39, 44, + 47, 60, 92, 126, -64, -33, -32, -17, + -16, -9, -8, -5, -4, -3, 35, 41, + 42, 57, 58, 64, 65, 90, 91, 94, + 95, 122, 123, 125, 9, 13, 32, 44, + 0, 8, 11, 127, 9, 13, 32, 33, + 34, 37, 39, 42, 44, 47, 58, 92, + 126, -64, -33, -32, -17, -16, -9, -8, + -5, -4, -3, 35, 41, 43, 57, 59, + 64, 65, 90, 91, 94, 95, 96, 97, + 122, 123, 125, 9, 13, 32, 33, 34, + 37, 39, 44, 47, 58, 60, 92, 126, + -64, -33, -32, -17, -16, -9, -8, -5, + -4, -3, 35, 41, 42, 57, 59, 64, + 65, 90, 91, 94, 95, 122, 123, 125, + 9, 13, 32, 34, 44, 92, -64, -33, + -32, -17, -16, -9, -8, -5, -4, -3, + 33, 126, 9, 13, 32, 33, 34, 37, + 39, 44, 47, 60, 92, 126, -64, -33, + -32, -17, -16, -9, -8, -5, -4, -3, + 35, 41, 42, 57, 58, 64, 65, 90, + 91, 94, 95, 96, 97, 122, 123, 125, + 9, 13, 32, 33, 34, 37, 39, 44, + 47, 60, 92, 126, -64, -33, -32, -17, + -16, -9, -8, -5, -4, -3, 35, 41, + 42, 57, 58, 64, 65, 90, 91, 94, + 95, 96, 97, 122, 123, 125, 9, 13, + 32, 33, 34, 37, 39, 44, 47, 92, + 126, -64, -33, -32, -17, -16, -9, -8, + -5, -4, -3, 35, 41, 42, 57, 58, + 64, 65, 90, 91, 94, 95, 122, 123, + 125, 9, 13, 32, 33, 34, 37, 39, + 44, 47, 60, 92, 126, -64, -33, -32, + -17, -16, -9, -8, -5, -4, -3, 35, + 41, 42, 57, 58, 64, 65, 90, 91, + 94, 95, 122, 123, 125, 9, 13, 32, + 34, 44, 60, 92, -64, -33, -32, -17, + -16, -9, -8, -5, -4, -3, 33, 126, + 9, 13, 32, 33, 34, 37, 39, 42, + 44, 47, 58, 92, 126, -64, -33, -32, + -17, -16, -9, -8, -5, -4, -3, 35, + 41, 43, 57, 59, 64, 65, 90, 91, + 94, 95, 96, 97, 122, 123, 125, 9, + 13, 32, 33, 34, 37, 39, 44, 47, + 58, 60, 92, 126, -64, -33, -32, -17, + -16, -9, -8, -5, -4, -3, 35, 41, + 42, 57, 59, 64, 65, 90, 91, 94, + 95, 122, 123, 125, 9, 13, 32, 33, + 37, 39, 42, 44, 58, 126, 43, 46, + 48, 57, 65, 90, 95, 96, 97, 122, + 9, 13, 32, 33, 37, 39, 44, 58, + 60, 126, 42, 46, 48, 57, 65, 90, + 95, 122, 9, 13, 32, 44, 58, 60, + 9, 13, 32, 44, 9, 13, 32, 33, + 34, 37, 39, 44, 60, 126, 42, 46, + 48, 57, 65, 90, 95, 96, 97, 122, + 9, 13, 32, 33, 37, 39, 44, 126, + 42, 46, 48, 57, 65, 90, 95, 122, + 9, 13, 32, 33, 37, 39, 44, 60, + 126, 42, 46, 48, 57, 65, 90, 95, + 122, 9, 13, 32, 33, 37, 39, 42, + 44, 58, 126, 43, 46, 48, 57, 65, + 90, 95, 96, 97, 122, 9, 13, 32, + 33, 37, 39, 44, 58, 60, 126, 42, + 46, 48, 57, 65, 90, 95, 122, 9, + 13, 32, 44, 58, 60, 0 +}; + +static const char _tsip_machine_parser_header_P_Asserted_Identity_single_lengths[] = { + 0, 2, 1, 2, 2, 2, 2, 2, + 2, 2, 2, 1, 2, 2, 2, 2, + 2, 2, 2, 2, 3, 9, 1, 2, + 9, 1, 2, 3, 0, 4, 3, 0, + 1, 4, 1, 9, 1, 2, 9, 7, + 8, 4, 1, 2, 4, 0, 0, 0, + 0, 0, 1, 2, 4, 0, 10, 9, + 5, 0, 4, 10, 8, 9, 5, 4, + 5, 5, 4, 5, 11, 9, 10, 6, + 5, 7, 5, 5, 5, 5, 5, 6, + 13, 10, 2, 3, 10, 2, 3, 4, + 1, 8, 9, 5, 2, 3, 5, 1, + 1, 1, 1, 1, 2, 3, 5, 1, + 11, 10, 6, 1, 12, 13, 5, 1, + 2, 4, 5, 8, 14, 14, 7, 6, + 4, 4, 4, 4, 4, 5, 12, 11, + 12, 4, 7, 12, 12, 10, 9, 5, + 0, 4, 10, 8, 9, 5, 4, 5, + 5, 4, 5, 11, 9, 10, 6, 5, + 7, 5, 5, 5, 5, 5, 6, 13, + 12, 13, 5, 8, 14, 14, 7, 5, + 11, 9, 10, 6, 5, 4, 10, 8, + 9, 5, 4, 5, 5, 4, 5, 11, + 9, 10, 6, 5, 7, 5, 5, 5, + 5, 5, 6, 13, 11, 7, 5, 5, + 5, 5, 5, 13, 12, 13, 5, 8, + 14, 14, 7, 5, 7, 5, 5, 5, + 5, 6, 6, 5, 13, 12, 13, 5, + 10, 8, 9, 5, 4, 5, 5, 4, + 5, 11, 9, 10, 6, 5, 4, 7, + 5, 5, 5, 5, 5, 6, 13, 10, + 2, 3, 10, 11, 10, 6, 1, 12, + 13, 6, 2, 3, 5, 10, 2, 3, + 10, 11, 10, 6, 1, 5, 11, 9, + 10, 6, 5, 6, 6, 5, 7, 5, + 5, 5, 5, 5, 6, 13, 12, 13, + 5, 8, 13, 13, 5, 8, 14, 14, + 7, 6, 4, 4, 4, 4, 4, 5, + 12, 11, 12, 4, 12, 12, 10, 10, + 6, 4, 10, 6, 4, 4, 4, 4, + 4, 12, 11, 12, 4, 12, 12, 5, + 8, 5, 7, 5, 5, 5, 5, 6, + 13, 12, 13, 5, 8, 14, 14, 7, + 5, 7, 5, 5, 5, 5, 6, 6, + 5, 6, 6, 13, 12, 13, 5, 14, + 14, 7, 13, 8, 13, 12, 13, 14, + 14, 14, 14, 7, 13, 8, 13, 12, + 13, 8, 5, 7, 5, 5, 5, 5, + 13, 12, 13, 5, 14, 14, 7, 13, + 14, 14, 11, 11, 7, 5, 11, 7, + 5, 5, 5, 5, 5, 13, 12, 13, + 6, 11, 9, 10, 6, 5, 6, 6, + 5, 7, 5, 5, 5, 5, 5, 6, + 13, 12, 13, 5, 14, 14, 7, 11, + 11, 7, 5, 11, 7, 5, 5, 5, + 5, 5, 13, 11, 7, 5, 5, 5, + 5, 5, 13, 12, 13, 5, 13, 13, + 11, 11, 7, 5, 11, 7, 5, 5, + 5, 5, 5, 13, 12, 13, 5, 13, + 13, 12, 13, 5, 14, 14, 7, 5, + 8, 5, 14, 14, 7, 13, 8, 5, + 7, 5, 5, 5, 5, 13, 11, 7, + 5, 5, 5, 5, 5, 13, 12, 13, + 5, 14, 14, 7, 5, 7, 5, 5, + 5, 5, 13, 12, 13, 5, 14, 14, + 7, 13, 13, 12, 13, 14, 14, 11, + 11, 7, 12, 13, 5, 14, 14, 7, + 13, 11, 11, 7, 5, 11, 12, 13, + 14, 14, 7, 13, 12, 13, 14, 14, + 6, 4, 4, 4, 4, 4, 5, 12, + 11, 12, 4, 7, 13, 13, 6, 4, + 6, 4, 4, 4, 4, 12, 11, 12, + 4, 13, 13, 6, 12, 7, 12, 11, + 12, 13, 13, 10, 10, 6, 4, 10, + 6, 6, 5, 11, 11, 7, 5, 11, + 9, 10, 11, 11, 7, 13, 12, 13, + 8, 14, 14, 11, 11, 7, 5, 11, + 9, 10, 11, 11, 7, 6, 4, 4, + 4, 4, 4, 5, 12, 11, 12, 4, + 7, 13, 13, 6, 4, 6, 4, 4, + 4, 4, 5, 5, 4, 5, 5, 4, + 12, 11, 12, 4, 13, 13, 6, 12, + 12, 11, 12, 7, 13, 13, 10, 10, + 6, 4, 10, 8, 9, 10, 10, 6, + 0 +}; + +static const char _tsip_machine_parser_header_P_Asserted_Identity_range_lengths[] = { + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 6, 0, 0, + 6, 0, 0, 0, 2, 4, 0, 0, + 0, 0, 0, 6, 0, 0, 6, 5, + 5, 0, 0, 0, 6, 1, 1, 1, + 1, 1, 0, 0, 0, 3, 5, 5, + 0, 0, 0, 4, 4, 4, 0, 2, + 4, 0, 0, 0, 4, 4, 4, 0, + 2, 6, 1, 1, 1, 1, 1, 0, + 13, 6, 0, 0, 6, 0, 0, 0, + 2, 5, 5, 0, 0, 0, 6, 1, + 1, 1, 1, 1, 0, 0, 0, 3, + 5, 5, 0, 0, 12, 12, 0, 0, + 0, 0, 2, 6, 13, 12, 6, 6, + 1, 1, 1, 1, 1, 0, 13, 12, + 12, 2, 6, 13, 12, 5, 5, 0, + 0, 0, 5, 4, 4, 0, 2, 4, + 0, 0, 0, 5, 4, 4, 0, 2, + 6, 1, 1, 1, 1, 1, 0, 13, + 12, 12, 2, 6, 13, 12, 6, 0, + 5, 4, 4, 0, 2, 0, 5, 4, + 4, 0, 2, 4, 0, 0, 0, 5, + 4, 4, 0, 2, 6, 1, 1, 1, + 1, 1, 0, 13, 5, 6, 1, 1, + 1, 1, 1, 13, 12, 12, 2, 6, + 13, 12, 6, 1, 6, 1, 1, 1, + 1, 0, 0, 2, 13, 12, 12, 0, + 5, 4, 4, 0, 2, 4, 0, 0, + 0, 4, 4, 4, 0, 2, 0, 6, + 1, 1, 1, 1, 1, 0, 13, 6, + 0, 0, 6, 5, 5, 0, 0, 12, + 12, 0, 0, 0, 0, 6, 0, 0, + 6, 5, 5, 0, 0, 0, 4, 4, + 4, 0, 2, 4, 0, 0, 6, 1, + 1, 1, 1, 1, 0, 13, 12, 12, + 2, 6, 13, 12, 2, 6, 13, 12, + 6, 6, 1, 1, 1, 1, 1, 0, + 13, 12, 12, 2, 13, 12, 5, 4, + 0, 0, 4, 6, 1, 1, 1, 1, + 1, 13, 12, 12, 2, 13, 12, 2, + 6, 1, 6, 1, 1, 1, 1, 0, + 13, 12, 12, 2, 6, 13, 12, 6, + 1, 6, 1, 1, 1, 1, 0, 0, + 2, 4, 0, 13, 12, 12, 2, 13, + 12, 6, 13, 6, 13, 12, 12, 13, + 12, 13, 12, 6, 13, 6, 13, 12, + 12, 6, 1, 6, 1, 1, 1, 1, + 13, 12, 12, 2, 13, 12, 6, 13, + 13, 12, 5, 4, 0, 0, 5, 6, + 1, 1, 1, 1, 1, 13, 12, 12, + 0, 5, 4, 4, 0, 2, 4, 0, + 0, 6, 1, 1, 1, 1, 1, 0, + 13, 12, 12, 2, 13, 12, 6, 5, + 4, 0, 0, 4, 6, 1, 1, 1, + 1, 1, 13, 5, 6, 1, 1, 1, + 1, 1, 13, 12, 12, 2, 13, 12, + 5, 4, 0, 0, 4, 6, 1, 1, + 1, 1, 1, 13, 12, 12, 2, 13, + 12, 12, 12, 2, 13, 12, 6, 2, + 6, 2, 13, 12, 6, 13, 6, 1, + 6, 1, 1, 1, 1, 13, 5, 6, + 1, 1, 1, 1, 1, 13, 12, 12, + 2, 13, 12, 6, 1, 6, 1, 1, + 1, 1, 13, 12, 12, 2, 13, 12, + 6, 13, 13, 12, 12, 13, 12, 5, + 4, 0, 12, 12, 2, 13, 12, 6, + 13, 5, 4, 0, 0, 5, 12, 12, + 13, 12, 6, 13, 12, 12, 13, 12, + 6, 1, 1, 1, 1, 1, 0, 13, + 12, 12, 2, 6, 13, 12, 6, 1, + 6, 1, 1, 1, 1, 13, 12, 12, + 2, 13, 12, 6, 13, 6, 13, 12, + 12, 13, 12, 5, 4, 0, 0, 5, + 4, 0, 0, 5, 4, 0, 0, 5, + 4, 4, 5, 4, 0, 13, 12, 12, + 6, 13, 12, 5, 4, 0, 0, 5, + 4, 4, 5, 4, 0, 6, 1, 1, + 1, 1, 1, 0, 13, 12, 12, 2, + 6, 13, 12, 6, 1, 6, 1, 1, + 1, 1, 0, 0, 2, 4, 0, 0, + 13, 12, 12, 2, 13, 12, 6, 13, + 13, 12, 12, 6, 13, 12, 5, 4, + 0, 0, 5, 4, 4, 5, 4, 0, + 0 +}; + +static const short _tsip_machine_parser_header_P_Asserted_Identity_index_offsets[] = { + 0, 0, 3, 5, 8, 11, 14, 17, + 20, 23, 26, 29, 31, 34, 37, 40, + 43, 46, 49, 52, 55, 59, 75, 77, + 80, 96, 98, 101, 105, 108, 117, 121, + 122, 124, 129, 131, 147, 149, 152, 168, + 181, 195, 200, 202, 205, 216, 218, 220, + 222, 224, 226, 228, 231, 236, 240, 256, + 271, 277, 278, 283, 298, 311, 325, 331, + 338, 348, 354, 359, 365, 381, 395, 410, + 417, 425, 439, 446, 453, 460, 467, 474, + 481, 508, 525, 528, 532, 549, 552, 556, + 561, 565, 579, 594, 600, 603, 607, 619, + 622, 625, 628, 631, 634, 637, 641, 647, + 652, 669, 685, 692, 694, 719, 745, 751, + 753, 756, 761, 769, 784, 812, 839, 853, + 866, 872, 878, 884, 890, 896, 902, 928, + 952, 977, 984, 998, 1024, 1049, 1065, 1080, + 1086, 1087, 1092, 1108, 1121, 1135, 1141, 1148, + 1158, 1164, 1169, 1175, 1192, 1206, 1221, 1228, + 1236, 1250, 1257, 1264, 1271, 1278, 1285, 1292, + 1319, 1344, 1370, 1378, 1393, 1421, 1448, 1462, + 1468, 1485, 1499, 1514, 1521, 1529, 1534, 1550, + 1563, 1577, 1583, 1590, 1600, 1606, 1611, 1617, + 1634, 1648, 1663, 1670, 1678, 1692, 1699, 1706, + 1713, 1720, 1727, 1734, 1761, 1778, 1792, 1799, + 1806, 1813, 1820, 1827, 1854, 1879, 1905, 1913, + 1928, 1956, 1983, 1997, 2004, 2018, 2025, 2032, + 2039, 2046, 2053, 2060, 2068, 2095, 2120, 2146, + 2152, 2168, 2181, 2195, 2201, 2208, 2218, 2224, + 2229, 2235, 2251, 2265, 2280, 2287, 2295, 2300, + 2314, 2321, 2328, 2335, 2342, 2349, 2356, 2383, + 2400, 2403, 2407, 2424, 2441, 2457, 2464, 2466, + 2491, 2517, 2524, 2527, 2531, 2537, 2554, 2557, + 2561, 2578, 2595, 2611, 2618, 2620, 2626, 2642, + 2656, 2671, 2678, 2686, 2697, 2704, 2710, 2724, + 2731, 2738, 2745, 2752, 2759, 2766, 2793, 2818, + 2844, 2852, 2867, 2894, 2920, 2928, 2943, 2971, + 2998, 3012, 3025, 3031, 3037, 3043, 3049, 3055, + 3061, 3087, 3111, 3136, 3143, 3169, 3194, 3210, + 3225, 3232, 3237, 3252, 3265, 3271, 3277, 3283, + 3289, 3295, 3321, 3345, 3370, 3377, 3403, 3428, + 3436, 3451, 3458, 3472, 3479, 3486, 3493, 3500, + 3507, 3534, 3559, 3585, 3593, 3608, 3636, 3663, + 3677, 3684, 3698, 3705, 3712, 3719, 3726, 3733, + 3740, 3748, 3759, 3766, 3793, 3818, 3844, 3852, + 3880, 3907, 3921, 3948, 3963, 3990, 4015, 4041, + 4069, 4096, 4124, 4151, 4165, 4192, 4207, 4234, + 4259, 4285, 4300, 4307, 4321, 4328, 4335, 4342, + 4349, 4376, 4401, 4427, 4435, 4463, 4490, 4504, + 4531, 4559, 4586, 4603, 4619, 4627, 4633, 4650, + 4664, 4671, 4678, 4685, 4692, 4699, 4726, 4751, + 4777, 4784, 4801, 4815, 4830, 4837, 4845, 4856, + 4863, 4869, 4883, 4890, 4897, 4904, 4911, 4918, + 4925, 4952, 4977, 5003, 5011, 5039, 5066, 5080, + 5097, 5113, 5121, 5127, 5143, 5157, 5164, 5171, + 5178, 5185, 5192, 5219, 5236, 5250, 5257, 5264, + 5271, 5278, 5285, 5312, 5337, 5363, 5371, 5398, + 5424, 5441, 5457, 5465, 5471, 5487, 5501, 5508, + 5515, 5522, 5529, 5536, 5563, 5588, 5614, 5622, + 5649, 5675, 5700, 5726, 5734, 5762, 5789, 5803, + 5811, 5826, 5834, 5862, 5889, 5903, 5930, 5945, + 5952, 5966, 5973, 5980, 5987, 5994, 6021, 6038, + 6052, 6059, 6066, 6073, 6080, 6087, 6114, 6139, + 6165, 6173, 6201, 6228, 6242, 6249, 6263, 6270, + 6277, 6284, 6291, 6318, 6343, 6369, 6377, 6405, + 6432, 6446, 6473, 6500, 6525, 6551, 6579, 6606, + 6623, 6639, 6647, 6672, 6698, 6706, 6734, 6761, + 6775, 6802, 6819, 6835, 6843, 6849, 6866, 6891, + 6917, 6945, 6972, 6986, 7013, 7038, 7064, 7092, + 7119, 7132, 7138, 7144, 7150, 7156, 7162, 7168, + 7194, 7218, 7243, 7250, 7264, 7291, 7317, 7330, + 7336, 7349, 7355, 7361, 7367, 7373, 7399, 7423, + 7448, 7455, 7482, 7508, 7521, 7547, 7561, 7587, + 7611, 7636, 7663, 7689, 7705, 7720, 7727, 7732, + 7748, 7759, 7766, 7772, 7789, 7805, 7813, 7819, + 7836, 7850, 7865, 7882, 7898, 7906, 7933, 7958, + 7984, 7999, 8027, 8054, 8071, 8087, 8095, 8101, + 8118, 8132, 8147, 8164, 8180, 8188, 8201, 8207, + 8213, 8219, 8225, 8231, 8237, 8263, 8287, 8312, + 8319, 8333, 8360, 8386, 8399, 8405, 8418, 8424, + 8430, 8436, 8442, 8448, 8454, 8461, 8471, 8477, + 8482, 8508, 8532, 8557, 8564, 8591, 8617, 8630, + 8656, 8682, 8706, 8731, 8745, 8772, 8798, 8814, + 8829, 8836, 8841, 8857, 8870, 8884, 8900, 8915, + 8922 +}; + +static const short _tsip_machine_parser_header_P_Asserted_Identity_indicies[] = { + 0, 0, 1, 2, 1, 3, 3, 1, + 4, 4, 1, 5, 5, 1, 6, 6, + 1, 7, 7, 1, 8, 8, 1, 9, + 9, 1, 10, 10, 1, 11, 1, 12, + 12, 1, 13, 13, 1, 14, 14, 1, + 15, 15, 1, 16, 16, 1, 17, 17, + 1, 18, 18, 1, 19, 19, 1, 19, + 19, 20, 1, 21, 22, 21, 23, 24, + 23, 23, 25, 23, 23, 23, 23, 26, + 23, 26, 1, 27, 1, 28, 28, 1, + 29, 30, 29, 23, 24, 23, 23, 25, + 23, 23, 23, 23, 26, 23, 26, 1, + 31, 1, 32, 32, 1, 32, 32, 33, + 1, 34, 34, 1, 35, 35, 36, 37, + 36, 36, 36, 36, 1, 35, 35, 37, + 1, 38, 39, 38, 40, 41, 40, 42, + 1, 43, 1, 44, 45, 44, 23, 24, + 23, 23, 25, 23, 23, 23, 23, 46, + 23, 46, 1, 47, 1, 48, 48, 1, + 49, 30, 49, 23, 24, 23, 23, 25, + 23, 23, 23, 23, 46, 23, 46, 1, + 50, 51, 50, 52, 52, 52, 52, 52, + 52, 52, 52, 52, 1, 53, 54, 53, + 52, 52, 52, 55, 52, 52, 52, 52, + 52, 52, 1, 56, 57, 56, 33, 1, + 58, 1, 50, 50, 1, 64, 65, 66, + 67, 59, 60, 61, 62, 63, 64, 1, + 64, 1, 59, 1, 60, 1, 61, 1, + 62, 1, 68, 1, 64, 64, 1, 53, + 54, 53, 55, 1, 64, 64, 64, 1, + 69, 51, 69, 52, 52, 52, 52, 70, + 71, 52, 70, 70, 70, 52, 70, 1, + 72, 54, 72, 52, 52, 52, 71, 55, + 52, 52, 52, 52, 52, 52, 1, 73, + 57, 73, 71, 33, 1, 74, 75, 76, + 75, 77, 74, 78, 76, 78, 79, 80, + 79, 79, 77, 81, 79, 79, 79, 79, + 79, 74, 82, 76, 82, 83, 83, 83, + 77, 83, 83, 83, 83, 83, 74, 84, + 76, 84, 83, 83, 83, 77, 85, 83, + 83, 83, 83, 83, 74, 86, 76, 86, + 77, 87, 74, 75, 76, 75, 77, 88, + 88, 74, 89, 76, 89, 77, 91, 90, + 90, 90, 90, 74, 89, 76, 89, 77, + 91, 74, 93, 76, 93, 94, 92, 93, + 76, 93, 94, 95, 92, 96, 76, 96, + 97, 98, 97, 97, 94, 99, 95, 97, + 97, 97, 97, 97, 92, 100, 76, 100, + 101, 101, 101, 94, 95, 101, 101, 101, + 101, 101, 92, 102, 76, 102, 101, 101, + 101, 94, 103, 95, 101, 101, 101, 101, + 101, 92, 104, 76, 104, 94, 105, 95, + 92, 93, 76, 93, 94, 95, 106, 106, + 92, 112, 76, 112, 114, 115, 39, 116, + 107, 108, 109, 110, 111, 113, 92, 93, + 76, 93, 94, 95, 113, 92, 93, 76, + 93, 94, 95, 107, 92, 93, 76, 93, + 94, 95, 108, 92, 93, 76, 93, 94, + 95, 109, 92, 93, 76, 93, 94, 95, + 110, 92, 102, 76, 102, 94, 103, 95, + 92, 117, 76, 117, 118, 119, 118, 118, + 115, 113, 120, 39, 116, 118, 107, 108, + 109, 110, 111, 113, 118, 113, 121, 113, + 118, 121, 113, 92, 117, 122, 117, 123, + 124, 123, 123, 120, 39, 123, 123, 123, + 123, 125, 123, 125, 38, 126, 39, 38, + 127, 127, 39, 38, 128, 129, 128, 123, + 124, 123, 123, 120, 39, 123, 123, 123, + 123, 125, 123, 125, 38, 130, 39, 38, + 131, 131, 39, 38, 131, 131, 132, 39, + 38, 39, 133, 133, 38, 134, 135, 134, + 136, 136, 136, 39, 136, 136, 136, 136, + 136, 136, 38, 137, 138, 137, 136, 136, + 136, 139, 39, 136, 136, 136, 136, 136, + 136, 38, 140, 141, 140, 132, 39, 38, + 142, 39, 38, 134, 134, 39, 38, 148, + 149, 150, 39, 151, 143, 144, 145, 146, + 147, 148, 38, 39, 148, 38, 39, 143, + 38, 39, 144, 38, 39, 145, 38, 39, + 146, 38, 152, 39, 38, 148, 148, 39, + 38, 137, 138, 137, 139, 39, 38, 39, + 148, 148, 148, 38, 153, 135, 153, 136, + 136, 136, 136, 154, 155, 39, 136, 154, + 154, 154, 136, 154, 38, 156, 138, 156, + 136, 136, 136, 155, 139, 39, 136, 136, + 136, 136, 136, 136, 38, 157, 141, 157, + 155, 132, 39, 38, 95, 92, 158, 76, + 158, 159, 114, 159, 159, 115, 113, 39, + 116, 159, 107, 108, 109, 110, 111, 113, + 159, 113, 159, 113, 159, 113, 92, 160, + 76, 160, 159, 114, 159, 159, 115, 113, + 55, 39, 116, 159, 107, 108, 109, 110, + 111, 113, 159, 113, 159, 113, 159, 113, + 92, 161, 162, 161, 163, 33, 1, 164, + 1, 165, 165, 1, 165, 165, 163, 33, + 1, 112, 76, 112, 115, 95, 113, 113, + 92, 53, 76, 53, 114, 115, 55, 39, + 116, 107, 108, 109, 110, 111, 113, 92, + 166, 76, 166, 159, 114, 159, 159, 159, + 115, 113, 168, 39, 116, 159, 107, 108, + 109, 110, 111, 113, 167, 113, 167, 113, + 159, 167, 113, 92, 72, 76, 72, 159, + 114, 159, 159, 115, 113, 168, 55, 39, + 116, 159, 107, 108, 109, 110, 111, 113, + 159, 113, 159, 113, 159, 113, 92, 112, + 76, 112, 114, 115, 95, 116, 107, 108, + 109, 110, 111, 113, 92, 174, 76, 174, + 176, 177, 178, 169, 170, 171, 172, 173, + 175, 74, 75, 76, 75, 77, 175, 74, + 75, 76, 75, 77, 169, 74, 75, 76, + 75, 77, 170, 74, 75, 76, 75, 77, + 171, 74, 75, 76, 75, 77, 172, 74, + 84, 76, 84, 77, 85, 74, 44, 76, + 44, 179, 180, 179, 179, 177, 175, 25, + 178, 179, 169, 170, 171, 172, 173, 175, + 179, 175, 181, 175, 179, 181, 175, 74, + 182, 76, 182, 183, 176, 183, 183, 177, + 175, 178, 183, 169, 170, 171, 172, 173, + 175, 183, 175, 183, 175, 183, 175, 74, + 160, 76, 160, 183, 176, 183, 183, 177, + 175, 55, 178, 183, 169, 170, 171, 172, + 173, 175, 183, 175, 183, 175, 183, 175, + 74, 174, 76, 174, 177, 175, 175, 74, + 53, 76, 53, 176, 177, 55, 178, 169, + 170, 171, 172, 173, 175, 74, 184, 76, + 184, 183, 176, 183, 183, 183, 177, 175, + 178, 183, 169, 170, 171, 172, 173, 175, + 185, 175, 185, 175, 183, 185, 175, 74, + 72, 76, 72, 183, 176, 183, 183, 177, + 175, 55, 178, 183, 169, 170, 171, 172, + 173, 175, 183, 175, 183, 175, 183, 175, + 74, 186, 51, 186, 52, 52, 52, 52, + 187, 188, 52, 187, 187, 187, 52, 187, + 1, 189, 54, 189, 52, 52, 52, 188, + 55, 52, 52, 52, 52, 52, 52, 1, + 190, 57, 190, 188, 33, 1, 191, 192, + 76, 192, 193, 191, 194, 76, 194, 195, + 196, 195, 195, 193, 197, 195, 195, 195, + 198, 195, 198, 191, 199, 76, 199, 200, + 200, 200, 193, 200, 200, 200, 200, 200, + 191, 201, 76, 201, 200, 200, 200, 193, + 202, 200, 200, 200, 200, 200, 191, 203, + 76, 203, 193, 204, 191, 192, 76, 192, + 193, 205, 205, 191, 206, 76, 206, 193, + 208, 207, 207, 207, 207, 191, 206, 76, + 206, 193, 208, 191, 210, 76, 210, 211, + 209, 210, 76, 210, 211, 212, 209, 213, + 76, 213, 214, 215, 214, 214, 211, 216, + 212, 214, 214, 214, 217, 214, 217, 209, + 218, 76, 218, 219, 219, 219, 211, 212, + 219, 219, 219, 219, 219, 209, 220, 76, + 220, 219, 219, 219, 211, 221, 212, 219, + 219, 219, 219, 219, 209, 222, 76, 222, + 211, 223, 212, 209, 210, 76, 210, 211, + 212, 224, 224, 209, 230, 76, 230, 232, + 233, 39, 234, 225, 226, 227, 228, 229, + 231, 209, 210, 76, 210, 211, 212, 231, + 209, 210, 76, 210, 211, 212, 225, 209, + 210, 76, 210, 211, 212, 226, 209, 210, + 76, 210, 211, 212, 227, 209, 210, 76, + 210, 211, 212, 228, 209, 220, 76, 220, + 211, 221, 212, 209, 213, 76, 213, 235, + 236, 235, 235, 233, 231, 216, 39, 234, + 235, 225, 226, 227, 228, 229, 231, 235, + 231, 237, 231, 235, 237, 231, 209, 238, + 76, 238, 239, 232, 239, 239, 233, 231, + 39, 234, 239, 225, 226, 227, 228, 229, + 231, 239, 231, 239, 231, 239, 231, 209, + 160, 76, 160, 239, 232, 239, 239, 233, + 231, 55, 39, 234, 239, 225, 226, 227, + 228, 229, 231, 239, 231, 239, 231, 239, + 231, 209, 230, 76, 230, 233, 212, 231, + 231, 209, 53, 76, 53, 232, 233, 55, + 39, 234, 225, 226, 227, 228, 229, 231, + 209, 240, 76, 240, 239, 232, 239, 239, + 239, 233, 231, 242, 39, 234, 239, 225, + 226, 227, 228, 229, 231, 241, 231, 241, + 231, 239, 241, 231, 209, 72, 76, 72, + 239, 232, 239, 239, 233, 231, 242, 55, + 39, 234, 239, 225, 226, 227, 228, 229, + 231, 239, 231, 239, 231, 239, 231, 209, + 249, 76, 249, 251, 252, 253, 254, 244, + 245, 246, 247, 248, 250, 243, 255, 76, + 255, 256, 257, 243, 258, 76, 258, 259, + 260, 259, 259, 256, 261, 257, 259, 259, + 259, 262, 259, 262, 243, 263, 76, 263, + 264, 264, 264, 256, 257, 264, 264, 264, + 264, 264, 243, 265, 76, 265, 264, 264, + 264, 256, 266, 257, 264, 264, 264, 264, + 264, 243, 267, 76, 267, 256, 268, 257, + 243, 255, 76, 255, 256, 257, 269, 269, + 243, 271, 76, 271, 272, 270, 273, 76, + 273, 274, 275, 274, 274, 272, 276, 274, + 274, 274, 277, 274, 277, 270, 278, 76, + 278, 279, 279, 279, 272, 279, 279, 279, + 279, 279, 270, 280, 76, 280, 279, 279, + 279, 272, 281, 279, 279, 279, 279, 279, + 270, 282, 76, 282, 272, 283, 270, 271, + 76, 271, 272, 284, 284, 270, 285, 76, + 285, 272, 287, 286, 286, 286, 286, 270, + 285, 76, 285, 272, 287, 270, 289, 76, + 289, 290, 288, 289, 76, 289, 290, 257, + 288, 291, 76, 291, 292, 293, 292, 292, + 290, 294, 257, 292, 292, 292, 295, 292, + 295, 288, 296, 76, 296, 297, 297, 297, + 290, 257, 297, 297, 297, 297, 297, 288, + 298, 76, 298, 297, 297, 297, 290, 299, + 257, 297, 297, 297, 297, 297, 288, 300, + 76, 300, 290, 301, 257, 288, 289, 76, + 289, 290, 257, 302, 302, 288, 308, 76, + 308, 310, 311, 39, 312, 303, 304, 305, + 306, 307, 309, 288, 289, 76, 289, 290, + 257, 309, 288, 289, 76, 289, 290, 257, + 303, 288, 289, 76, 289, 290, 257, 304, + 288, 289, 76, 289, 290, 257, 305, 288, + 289, 76, 289, 290, 257, 306, 288, 298, + 76, 298, 290, 299, 257, 288, 313, 76, + 313, 314, 315, 314, 314, 311, 309, 216, + 39, 312, 314, 303, 304, 305, 306, 307, + 309, 314, 309, 316, 309, 314, 316, 309, + 288, 313, 76, 313, 214, 317, 214, 214, + 211, 216, 212, 214, 214, 214, 318, 214, + 318, 209, 324, 76, 324, 232, 326, 39, + 327, 319, 320, 321, 322, 323, 325, 209, + 210, 76, 210, 211, 212, 325, 209, 210, + 76, 210, 211, 212, 319, 209, 210, 76, + 210, 211, 212, 320, 209, 210, 76, 210, + 211, 212, 321, 209, 210, 76, 210, 211, + 212, 322, 209, 213, 76, 213, 328, 329, + 328, 328, 326, 325, 216, 39, 327, 328, + 319, 320, 321, 322, 323, 325, 328, 325, + 330, 325, 328, 330, 325, 209, 331, 76, + 331, 332, 232, 332, 332, 326, 325, 39, + 327, 332, 319, 320, 321, 322, 323, 325, + 332, 325, 332, 325, 332, 325, 209, 160, + 76, 160, 332, 232, 332, 332, 326, 325, + 55, 39, 327, 332, 319, 320, 321, 322, + 323, 325, 332, 325, 332, 325, 332, 325, + 209, 324, 76, 324, 326, 212, 325, 325, + 209, 137, 76, 137, 232, 233, 139, 39, + 234, 225, 226, 227, 228, 229, 231, 209, + 333, 76, 333, 332, 232, 332, 332, 332, + 326, 325, 335, 39, 327, 332, 319, 320, + 321, 322, 323, 325, 334, 325, 334, 325, + 332, 334, 325, 209, 72, 76, 72, 332, + 232, 332, 332, 326, 325, 335, 55, 39, + 327, 332, 319, 320, 321, 322, 323, 325, + 332, 325, 332, 325, 332, 325, 209, 341, + 76, 341, 251, 343, 253, 344, 336, 337, + 338, 339, 340, 342, 243, 255, 76, 255, + 256, 257, 342, 243, 341, 76, 341, 251, + 345, 39, 344, 336, 337, 338, 339, 340, + 342, 243, 255, 76, 255, 256, 257, 336, + 243, 255, 76, 255, 256, 257, 337, 243, + 255, 76, 255, 256, 257, 338, 243, 255, + 76, 255, 256, 257, 339, 243, 346, 76, + 346, 256, 347, 257, 243, 348, 76, 348, + 256, 349, 257, 243, 255, 76, 255, 256, + 257, 350, 350, 243, 258, 76, 258, 351, + 352, 351, 351, 345, 342, 261, 253, 344, + 351, 336, 337, 338, 339, 340, 342, 351, + 342, 353, 342, 351, 353, 342, 243, 354, + 76, 354, 355, 251, 355, 355, 345, 342, + 253, 344, 355, 336, 337, 338, 339, 340, + 342, 355, 342, 355, 342, 355, 342, 243, + 356, 76, 356, 355, 251, 355, 355, 345, + 342, 357, 253, 344, 355, 336, 337, 338, + 339, 340, 342, 355, 342, 355, 342, 355, + 342, 243, 358, 76, 358, 359, 360, 74, + 361, 76, 361, 362, 363, 362, 362, 77, + 364, 362, 362, 362, 365, 362, 365, 74, + 366, 76, 366, 367, 367, 367, 77, 367, + 367, 367, 367, 367, 74, 368, 76, 368, + 367, 367, 367, 77, 357, 367, 367, 367, + 367, 367, 74, 369, 76, 369, 77, 360, + 74, 75, 76, 75, 77, 370, 370, 74, + 371, 76, 371, 77, 373, 372, 372, 372, + 372, 74, 371, 76, 371, 77, 373, 74, + 375, 76, 375, 376, 374, 375, 76, 375, + 376, 253, 374, 377, 76, 377, 378, 379, + 378, 378, 376, 380, 253, 378, 378, 378, + 378, 378, 374, 381, 76, 381, 382, 382, + 382, 376, 253, 382, 382, 382, 382, 382, + 374, 383, 76, 383, 382, 382, 382, 376, + 384, 253, 382, 382, 382, 382, 382, 374, + 385, 76, 385, 376, 386, 253, 374, 375, + 76, 375, 376, 253, 387, 387, 374, 388, + 76, 388, 359, 74, 394, 76, 394, 396, + 397, 39, 398, 389, 390, 391, 392, 393, + 395, 374, 375, 76, 375, 376, 253, 395, + 374, 375, 76, 375, 376, 253, 389, 374, + 375, 76, 375, 376, 253, 390, 374, 375, + 76, 375, 376, 253, 391, 374, 375, 76, + 375, 376, 253, 392, 374, 383, 76, 383, + 376, 384, 253, 374, 399, 76, 399, 400, + 401, 400, 400, 397, 395, 120, 39, 398, + 400, 389, 390, 391, 392, 393, 395, 400, + 395, 402, 395, 400, 402, 395, 374, 399, + 403, 399, 123, 124, 123, 123, 120, 39, + 123, 123, 123, 123, 404, 123, 404, 38, + 405, 39, 38, 406, 406, 39, 38, 407, + 129, 407, 123, 124, 123, 123, 120, 39, + 123, 123, 123, 123, 404, 123, 404, 38, + 408, 135, 408, 136, 136, 136, 136, 409, + 410, 39, 136, 409, 409, 409, 136, 409, + 38, 411, 138, 411, 136, 136, 136, 410, + 139, 39, 136, 136, 136, 136, 136, 136, + 38, 412, 141, 412, 410, 132, 39, 38, + 253, 374, 413, 76, 413, 414, 396, 414, + 414, 397, 395, 39, 398, 414, 389, 390, + 391, 392, 393, 395, 414, 395, 414, 395, + 414, 395, 374, 415, 76, 415, 414, 396, + 414, 414, 397, 395, 139, 39, 398, 414, + 389, 390, 391, 392, 393, 395, 414, 395, + 414, 395, 414, 395, 374, 416, 417, 416, + 418, 132, 39, 38, 419, 39, 38, 420, + 420, 39, 38, 420, 420, 418, 132, 39, + 38, 421, 422, 421, 123, 124, 123, 123, + 120, 39, 123, 123, 123, 123, 423, 123, + 423, 38, 424, 39, 38, 425, 425, 39, + 38, 426, 129, 426, 123, 124, 123, 123, + 120, 39, 123, 123, 123, 123, 423, 123, + 423, 38, 427, 135, 427, 136, 136, 136, + 136, 428, 429, 39, 136, 428, 428, 428, + 136, 428, 38, 430, 138, 430, 136, 136, + 136, 429, 139, 39, 136, 136, 136, 136, + 136, 136, 38, 431, 141, 431, 429, 132, + 39, 38, 253, 432, 433, 76, 433, 434, + 253, 432, 435, 76, 435, 436, 437, 436, + 436, 434, 438, 253, 436, 436, 436, 436, + 436, 432, 439, 76, 439, 440, 440, 440, + 434, 253, 440, 440, 440, 440, 440, 432, + 441, 76, 441, 440, 440, 440, 434, 442, + 253, 440, 440, 440, 440, 440, 432, 443, + 76, 443, 434, 444, 253, 432, 433, 76, + 433, 434, 253, 445, 445, 432, 446, 76, + 446, 434, 448, 253, 447, 447, 447, 447, + 432, 446, 76, 446, 434, 448, 253, 432, + 375, 76, 375, 376, 39, 374, 454, 76, + 454, 456, 457, 39, 458, 449, 450, 451, + 452, 453, 455, 432, 433, 76, 433, 434, + 253, 455, 432, 433, 76, 433, 434, 253, + 449, 432, 433, 76, 433, 434, 253, 450, + 432, 433, 76, 433, 434, 253, 451, 432, + 433, 76, 433, 434, 253, 452, 432, 441, + 76, 441, 434, 442, 253, 432, 421, 76, + 421, 459, 460, 459, 459, 457, 455, 120, + 39, 458, 459, 449, 450, 451, 452, 453, + 455, 459, 455, 461, 455, 459, 461, 455, + 432, 462, 76, 462, 463, 456, 463, 463, + 457, 455, 39, 458, 463, 449, 450, 451, + 452, 453, 455, 463, 455, 463, 455, 463, + 455, 432, 415, 76, 415, 463, 456, 463, + 463, 457, 455, 139, 39, 458, 463, 449, + 450, 451, 452, 453, 455, 463, 455, 463, + 455, 463, 455, 432, 454, 76, 454, 457, + 39, 455, 455, 432, 137, 76, 137, 456, + 457, 139, 39, 458, 449, 450, 451, 452, + 453, 455, 432, 464, 76, 464, 463, 456, + 463, 463, 463, 457, 455, 39, 458, 463, + 449, 450, 451, 452, 453, 455, 465, 455, + 465, 455, 463, 465, 455, 432, 430, 76, + 430, 463, 456, 463, 463, 457, 455, 139, + 39, 458, 463, 449, 450, 451, 452, 453, + 455, 463, 455, 463, 455, 463, 455, 432, + 394, 76, 394, 397, 253, 395, 395, 374, + 137, 76, 137, 396, 397, 139, 39, 398, + 389, 390, 391, 392, 393, 395, 374, 466, + 76, 466, 414, 396, 414, 414, 414, 397, + 395, 468, 39, 398, 414, 389, 390, 391, + 392, 393, 395, 467, 395, 467, 395, 414, + 467, 395, 374, 430, 76, 430, 414, 396, + 414, 414, 397, 395, 468, 139, 39, 398, + 414, 389, 390, 391, 392, 393, 395, 414, + 395, 414, 395, 414, 395, 374, 394, 76, + 394, 396, 397, 253, 398, 389, 390, 391, + 392, 393, 395, 374, 474, 76, 474, 476, + 477, 478, 469, 470, 471, 472, 473, 475, + 74, 75, 76, 75, 77, 475, 74, 75, + 76, 75, 77, 469, 74, 75, 76, 75, + 77, 470, 74, 75, 76, 75, 77, 471, + 74, 75, 76, 75, 77, 472, 74, 368, + 76, 368, 77, 357, 74, 44, 76, 44, + 479, 180, 479, 479, 477, 475, 25, 478, + 479, 469, 470, 471, 472, 473, 475, 479, + 475, 480, 475, 479, 480, 475, 74, 481, + 76, 481, 482, 476, 482, 482, 477, 475, + 478, 482, 469, 470, 471, 472, 473, 475, + 482, 475, 482, 475, 482, 475, 74, 160, + 76, 160, 482, 476, 482, 482, 477, 475, + 55, 478, 482, 469, 470, 471, 472, 473, + 475, 482, 475, 482, 475, 482, 475, 74, + 474, 76, 474, 477, 475, 475, 74, 483, + 76, 483, 482, 476, 482, 482, 482, 477, + 475, 478, 482, 469, 470, 471, 472, 473, + 475, 484, 475, 484, 475, 482, 484, 475, + 74, 72, 76, 72, 482, 476, 482, 482, + 477, 475, 55, 478, 482, 469, 470, 471, + 472, 473, 475, 482, 475, 482, 475, 482, + 475, 74, 485, 76, 485, 367, 367, 367, + 367, 77, 487, 367, 486, 486, 486, 367, + 486, 74, 488, 76, 488, 367, 367, 367, + 77, 487, 357, 367, 367, 367, 367, 367, + 74, 489, 76, 489, 77, 487, 360, 74, + 75, 76, 75, 490, 74, 491, 76, 491, + 79, 492, 79, 79, 77, 81, 79, 79, + 79, 79, 79, 74, 498, 76, 498, 176, + 500, 501, 493, 494, 495, 496, 497, 499, + 74, 75, 76, 75, 77, 499, 74, 75, + 76, 75, 77, 493, 74, 75, 76, 75, + 77, 494, 74, 75, 76, 75, 77, 495, + 74, 75, 76, 75, 77, 496, 74, 361, + 76, 361, 502, 180, 502, 502, 500, 499, + 364, 501, 502, 493, 494, 495, 496, 497, + 499, 502, 499, 503, 499, 502, 503, 499, + 74, 504, 76, 504, 505, 176, 505, 505, + 500, 499, 501, 505, 493, 494, 495, 496, + 497, 499, 505, 499, 505, 499, 505, 499, + 74, 356, 76, 356, 505, 176, 505, 505, + 500, 499, 357, 501, 505, 493, 494, 495, + 496, 497, 499, 505, 499, 505, 499, 505, + 499, 74, 498, 76, 498, 500, 499, 499, + 74, 506, 76, 506, 505, 176, 505, 505, + 505, 500, 499, 501, 505, 493, 494, 495, + 496, 497, 499, 507, 499, 507, 499, 505, + 507, 499, 74, 488, 76, 488, 505, 176, + 505, 505, 500, 499, 357, 501, 505, 493, + 494, 495, 496, 497, 499, 505, 499, 505, + 499, 505, 499, 74, 341, 76, 341, 345, + 257, 342, 342, 243, 137, 76, 137, 514, + 515, 139, 39, 516, 508, 509, 510, 511, + 512, 513, 243, 255, 76, 255, 256, 257, + 513, 243, 517, 76, 517, 514, 515, 39, + 516, 508, 509, 510, 511, 512, 513, 243, + 255, 76, 255, 256, 257, 508, 243, 255, + 76, 255, 256, 257, 509, 243, 255, 76, + 255, 256, 257, 510, 243, 255, 76, 255, + 256, 257, 511, 243, 265, 76, 265, 256, + 266, 257, 243, 213, 76, 213, 518, 519, + 518, 518, 515, 513, 216, 39, 516, 518, + 508, 509, 510, 511, 512, 513, 518, 513, + 520, 513, 518, 520, 513, 243, 521, 76, + 521, 522, 514, 522, 522, 515, 513, 39, + 516, 522, 508, 509, 510, 511, 512, 513, + 522, 513, 522, 513, 522, 513, 243, 160, + 76, 160, 522, 514, 522, 522, 515, 513, + 55, 39, 516, 522, 508, 509, 510, 511, + 512, 513, 522, 513, 522, 513, 522, 513, + 243, 517, 76, 517, 515, 212, 513, 513, + 243, 53, 76, 53, 514, 515, 55, 39, + 516, 508, 509, 510, 511, 512, 513, 243, + 523, 76, 523, 522, 514, 522, 522, 522, + 515, 513, 525, 39, 516, 522, 508, 509, + 510, 511, 512, 513, 524, 513, 524, 513, + 522, 524, 513, 243, 72, 76, 72, 522, + 514, 522, 522, 515, 513, 525, 55, 39, + 516, 522, 508, 509, 510, 511, 512, 513, + 522, 513, 522, 513, 522, 513, 243, 531, + 76, 531, 533, 534, 253, 535, 526, 527, + 528, 529, 530, 532, 243, 255, 76, 255, + 256, 257, 532, 243, 531, 76, 531, 533, + 536, 39, 535, 526, 527, 528, 529, 530, + 532, 243, 255, 76, 255, 256, 257, 526, + 243, 255, 76, 255, 256, 257, 527, 243, + 255, 76, 255, 256, 257, 528, 243, 255, + 76, 255, 256, 257, 529, 243, 537, 76, + 537, 256, 538, 257, 243, 539, 76, 539, + 256, 540, 257, 243, 255, 76, 255, 256, + 257, 541, 541, 243, 542, 76, 542, 256, + 288, 257, 543, 543, 543, 543, 243, 542, + 76, 542, 256, 288, 257, 243, 258, 76, + 258, 544, 519, 544, 544, 536, 532, 261, + 253, 535, 544, 526, 527, 528, 529, 530, + 532, 544, 532, 545, 532, 544, 545, 532, + 243, 546, 76, 546, 547, 533, 547, 547, + 536, 532, 253, 535, 547, 526, 527, 528, + 529, 530, 532, 547, 532, 547, 532, 547, + 532, 243, 356, 76, 356, 547, 533, 547, + 547, 536, 532, 357, 253, 535, 547, 526, + 527, 528, 529, 530, 532, 547, 532, 547, + 532, 547, 532, 243, 531, 76, 531, 536, + 257, 532, 532, 243, 548, 76, 548, 547, + 533, 547, 547, 547, 536, 532, 550, 253, + 535, 547, 526, 527, 528, 529, 530, 532, + 549, 532, 549, 532, 547, 549, 532, 243, + 488, 76, 488, 547, 533, 547, 547, 536, + 532, 550, 357, 253, 535, 547, 526, 527, + 528, 529, 530, 532, 547, 532, 547, 532, + 547, 532, 243, 531, 76, 531, 533, 551, + 253, 535, 526, 527, 528, 529, 530, 532, + 243, 258, 76, 258, 544, 552, 544, 544, + 536, 532, 261, 253, 535, 544, 526, 527, + 528, 529, 530, 532, 544, 532, 545, 532, + 544, 545, 532, 243, 53, 76, 53, 533, + 536, 55, 39, 535, 526, 527, 528, 529, + 530, 532, 243, 213, 76, 213, 553, 552, + 553, 553, 536, 532, 216, 39, 535, 553, + 526, 527, 528, 529, 530, 532, 553, 532, + 554, 532, 553, 554, 532, 243, 555, 76, + 555, 556, 533, 556, 556, 536, 532, 39, + 535, 556, 526, 527, 528, 529, 530, 532, + 556, 532, 556, 532, 556, 532, 243, 160, + 76, 160, 556, 533, 556, 556, 536, 532, + 55, 39, 535, 556, 526, 527, 528, 529, + 530, 532, 556, 532, 556, 532, 556, 532, + 243, 557, 76, 557, 556, 533, 556, 556, + 556, 536, 532, 550, 39, 535, 556, 526, + 527, 528, 529, 530, 532, 558, 532, 558, + 532, 556, 558, 532, 243, 72, 76, 72, + 556, 533, 556, 556, 536, 532, 550, 55, + 39, 535, 556, 526, 527, 528, 529, 530, + 532, 556, 532, 556, 532, 556, 532, 243, + 559, 76, 559, 355, 251, 355, 355, 355, + 345, 342, 561, 253, 344, 355, 336, 337, + 338, 339, 340, 342, 560, 342, 560, 342, + 355, 560, 342, 243, 488, 76, 488, 355, + 251, 355, 355, 345, 342, 561, 357, 253, + 344, 355, 336, 337, 338, 339, 340, 342, + 355, 342, 355, 342, 355, 342, 243, 341, + 76, 341, 251, 562, 253, 344, 336, 337, + 338, 339, 340, 342, 243, 258, 76, 258, + 351, 563, 351, 351, 345, 342, 261, 253, + 344, 351, 336, 337, 338, 339, 340, 342, + 351, 342, 353, 342, 351, 353, 342, 243, + 137, 76, 137, 533, 536, 139, 39, 535, + 526, 527, 528, 529, 530, 532, 243, 213, + 76, 213, 564, 565, 564, 564, 345, 342, + 216, 39, 344, 564, 336, 337, 338, 339, + 340, 342, 564, 342, 566, 342, 564, 566, + 342, 243, 567, 76, 567, 568, 251, 568, + 568, 345, 342, 39, 344, 568, 336, 337, + 338, 339, 340, 342, 568, 342, 568, 342, + 568, 342, 243, 160, 76, 160, 568, 251, + 568, 568, 345, 342, 55, 39, 344, 568, + 336, 337, 338, 339, 340, 342, 568, 342, + 568, 342, 568, 342, 243, 137, 76, 137, + 251, 569, 139, 39, 254, 244, 245, 246, + 247, 248, 250, 243, 255, 76, 255, 256, + 257, 250, 243, 249, 76, 249, 251, 569, + 39, 254, 244, 245, 246, 247, 248, 250, + 243, 255, 76, 255, 256, 257, 244, 243, + 255, 76, 255, 256, 257, 245, 243, 255, + 76, 255, 256, 257, 246, 243, 255, 76, + 255, 256, 257, 247, 243, 258, 76, 258, + 570, 519, 570, 570, 569, 250, 261, 253, + 254, 570, 244, 245, 246, 247, 248, 250, + 570, 250, 571, 250, 570, 571, 250, 243, + 572, 76, 572, 573, 251, 573, 573, 569, + 250, 253, 254, 573, 244, 245, 246, 247, + 248, 250, 573, 250, 573, 250, 573, 250, + 243, 356, 76, 356, 573, 251, 573, 573, + 569, 250, 357, 253, 254, 573, 244, 245, + 246, 247, 248, 250, 573, 250, 573, 250, + 573, 250, 243, 249, 76, 249, 569, 257, + 250, 250, 243, 574, 76, 574, 573, 251, + 573, 573, 573, 569, 250, 576, 253, 254, + 573, 244, 245, 246, 247, 248, 250, 575, + 250, 575, 250, 573, 575, 250, 243, 488, + 76, 488, 573, 251, 573, 573, 569, 250, + 576, 357, 253, 254, 573, 244, 245, 246, + 247, 248, 250, 573, 250, 573, 250, 573, + 250, 243, 249, 76, 249, 251, 577, 253, + 254, 244, 245, 246, 247, 248, 250, 243, + 258, 76, 258, 570, 552, 570, 570, 569, + 250, 261, 253, 254, 570, 244, 245, 246, + 247, 248, 250, 570, 250, 571, 250, 570, + 571, 250, 243, 578, 76, 578, 568, 251, + 568, 568, 568, 345, 342, 561, 39, 344, + 568, 336, 337, 338, 339, 340, 342, 579, + 342, 579, 342, 568, 579, 342, 243, 72, + 76, 72, 568, 251, 568, 568, 345, 342, + 561, 55, 39, 344, 568, 336, 337, 338, + 339, 340, 342, 568, 342, 568, 342, 568, + 342, 243, 580, 76, 580, 219, 219, 219, + 219, 211, 582, 212, 219, 581, 581, 581, + 219, 581, 209, 583, 76, 583, 219, 219, + 219, 211, 582, 221, 212, 219, 219, 219, + 219, 219, 209, 584, 76, 584, 211, 582, + 223, 212, 209, 289, 76, 289, 585, 257, + 288, 586, 76, 586, 292, 587, 292, 292, + 290, 294, 257, 292, 292, 292, 295, 292, + 295, 288, 593, 76, 593, 310, 595, 253, + 596, 588, 589, 590, 591, 592, 594, 288, + 289, 76, 289, 290, 257, 594, 288, 289, + 76, 289, 290, 257, 588, 288, 289, 76, + 289, 290, 257, 589, 288, 289, 76, 289, + 290, 257, 590, 288, 289, 76, 289, 290, + 257, 591, 288, 291, 76, 291, 597, 315, + 597, 597, 595, 594, 294, 253, 596, 597, + 588, 589, 590, 591, 592, 594, 597, 594, + 598, 594, 597, 598, 594, 288, 599, 76, + 599, 600, 310, 600, 600, 595, 594, 253, + 596, 600, 588, 589, 590, 591, 592, 594, + 600, 594, 600, 594, 600, 594, 288, 601, + 76, 601, 600, 310, 600, 600, 595, 594, + 602, 253, 596, 600, 588, 589, 590, 591, + 592, 594, 600, 594, 600, 594, 600, 594, + 288, 603, 76, 603, 604, 605, 95, 92, + 606, 76, 606, 607, 608, 607, 607, 94, + 609, 95, 607, 607, 607, 610, 607, 610, + 92, 611, 76, 611, 612, 612, 612, 94, + 95, 612, 612, 612, 612, 612, 92, 613, + 76, 613, 612, 612, 612, 94, 602, 95, + 612, 612, 612, 612, 612, 92, 614, 76, + 614, 94, 605, 95, 92, 93, 76, 93, + 94, 95, 615, 615, 92, 616, 76, 616, + 94, 618, 95, 617, 617, 617, 617, 92, + 616, 76, 616, 94, 618, 95, 92, 375, + 76, 375, 376, 95, 374, 624, 76, 624, + 626, 627, 39, 628, 619, 620, 621, 622, + 623, 625, 92, 93, 76, 93, 94, 95, + 625, 92, 93, 76, 93, 94, 95, 619, + 92, 93, 76, 93, 94, 95, 620, 92, + 93, 76, 93, 94, 95, 621, 92, 93, + 76, 93, 94, 95, 622, 92, 613, 76, + 613, 94, 602, 95, 92, 117, 76, 117, + 629, 119, 629, 629, 627, 625, 120, 39, + 628, 629, 619, 620, 621, 622, 623, 625, + 629, 625, 630, 625, 629, 630, 625, 92, + 631, 76, 631, 632, 626, 632, 632, 627, + 625, 39, 628, 632, 619, 620, 621, 622, + 623, 625, 632, 625, 632, 625, 632, 625, + 92, 160, 76, 160, 632, 626, 632, 632, + 627, 625, 55, 39, 628, 632, 619, 620, + 621, 622, 623, 625, 632, 625, 632, 625, + 632, 625, 92, 624, 76, 624, 627, 95, + 625, 625, 92, 633, 76, 633, 632, 626, + 632, 632, 632, 627, 625, 635, 39, 628, + 632, 619, 620, 621, 622, 623, 625, 634, + 625, 634, 625, 632, 634, 625, 92, 72, + 76, 72, 632, 626, 632, 632, 627, 625, + 635, 55, 39, 628, 632, 619, 620, 621, + 622, 623, 625, 632, 625, 632, 625, 632, + 625, 92, 624, 76, 624, 626, 627, 95, + 628, 619, 620, 621, 622, 623, 625, 92, + 636, 76, 636, 612, 612, 612, 612, 94, + 638, 95, 612, 637, 637, 637, 612, 637, + 92, 639, 76, 639, 612, 612, 612, 94, + 638, 602, 95, 612, 612, 612, 612, 612, + 92, 640, 76, 640, 94, 638, 605, 95, + 92, 93, 76, 93, 641, 95, 92, 642, + 76, 642, 97, 643, 97, 97, 94, 99, + 95, 97, 97, 97, 97, 97, 92, 649, + 76, 649, 114, 651, 39, 652, 644, 645, + 646, 647, 648, 650, 92, 93, 76, 93, + 94, 95, 650, 92, 93, 76, 93, 94, + 95, 644, 92, 93, 76, 93, 94, 95, + 645, 92, 93, 76, 93, 94, 95, 646, + 92, 93, 76, 93, 94, 95, 647, 92, + 653, 76, 653, 654, 119, 654, 654, 651, + 650, 438, 39, 652, 654, 644, 645, 646, + 647, 648, 650, 654, 650, 655, 650, 654, + 655, 650, 92, 653, 76, 653, 436, 656, + 436, 436, 434, 438, 253, 436, 436, 436, + 657, 436, 657, 432, 663, 76, 663, 456, + 665, 39, 666, 658, 659, 660, 661, 662, + 664, 432, 433, 76, 433, 434, 253, 664, + 432, 433, 76, 433, 434, 253, 658, 432, + 433, 76, 433, 434, 253, 659, 432, 433, + 76, 433, 434, 253, 660, 432, 433, 76, + 433, 434, 253, 661, 432, 44, 76, 44, + 667, 460, 667, 667, 665, 664, 25, 39, + 666, 667, 658, 659, 660, 661, 662, 664, + 667, 664, 668, 664, 667, 668, 664, 432, + 669, 76, 669, 670, 456, 670, 670, 665, + 664, 39, 666, 670, 658, 659, 660, 661, + 662, 664, 670, 664, 670, 664, 670, 664, + 432, 160, 76, 160, 670, 456, 670, 670, + 665, 664, 55, 39, 666, 670, 658, 659, + 660, 661, 662, 664, 670, 664, 670, 664, + 670, 664, 432, 663, 76, 663, 665, 39, + 664, 664, 432, 671, 76, 671, 670, 456, + 670, 670, 670, 665, 664, 39, 666, 670, + 658, 659, 660, 661, 662, 664, 672, 664, + 672, 664, 670, 672, 664, 432, 72, 76, + 72, 670, 456, 670, 670, 665, 664, 55, + 39, 666, 670, 658, 659, 660, 661, 662, + 664, 670, 664, 670, 664, 670, 664, 432, + 673, 76, 673, 440, 440, 440, 440, 434, + 675, 253, 440, 674, 674, 674, 440, 674, + 432, 676, 76, 676, 440, 440, 440, 434, + 675, 442, 253, 440, 440, 440, 440, 440, + 432, 677, 76, 677, 434, 675, 444, 253, + 432, 93, 76, 93, 678, 95, 92, 679, + 76, 679, 97, 680, 97, 97, 94, 99, + 95, 97, 97, 97, 97, 97, 92, 686, + 76, 686, 114, 688, 95, 689, 681, 682, + 683, 684, 685, 687, 92, 93, 76, 93, + 94, 95, 687, 92, 93, 76, 93, 94, + 95, 681, 92, 93, 76, 93, 94, 95, + 682, 92, 93, 76, 93, 94, 95, 683, + 92, 93, 76, 93, 94, 95, 684, 92, + 606, 76, 606, 690, 119, 690, 690, 688, + 687, 609, 95, 689, 690, 681, 682, 683, + 684, 685, 687, 690, 687, 691, 687, 690, + 691, 687, 92, 692, 76, 692, 693, 114, + 693, 693, 688, 687, 95, 689, 693, 681, + 682, 683, 684, 685, 687, 693, 687, 693, + 687, 693, 687, 92, 601, 76, 601, 693, + 114, 693, 693, 688, 687, 602, 95, 689, + 693, 681, 682, 683, 684, 685, 687, 693, + 687, 693, 687, 693, 687, 92, 686, 76, + 686, 688, 95, 687, 687, 92, 694, 76, + 694, 693, 114, 693, 693, 693, 688, 687, + 95, 689, 693, 681, 682, 683, 684, 685, + 687, 695, 687, 695, 687, 693, 695, 687, + 92, 639, 76, 639, 693, 114, 693, 693, + 688, 687, 602, 95, 689, 693, 681, 682, + 683, 684, 685, 687, 693, 687, 693, 687, + 693, 687, 92, 696, 76, 696, 697, 114, + 697, 697, 651, 650, 39, 652, 697, 644, + 645, 646, 647, 648, 650, 697, 650, 697, + 650, 697, 650, 92, 356, 76, 356, 697, + 114, 697, 697, 651, 650, 357, 39, 652, + 697, 644, 645, 646, 647, 648, 650, 697, + 650, 697, 650, 697, 650, 92, 649, 76, + 649, 651, 95, 650, 650, 92, 698, 76, + 698, 697, 114, 697, 697, 697, 651, 650, + 700, 39, 652, 697, 644, 645, 646, 647, + 648, 650, 699, 650, 699, 650, 697, 699, + 650, 92, 488, 76, 488, 697, 114, 697, + 697, 651, 650, 700, 357, 39, 652, 697, + 644, 645, 646, 647, 648, 650, 697, 650, + 697, 650, 697, 650, 92, 649, 76, 649, + 114, 651, 95, 652, 644, 645, 646, 647, + 648, 650, 92, 593, 76, 593, 595, 257, + 594, 594, 288, 53, 76, 53, 310, 311, + 55, 39, 312, 303, 304, 305, 306, 307, + 309, 288, 308, 76, 308, 311, 257, 309, + 309, 288, 701, 76, 701, 600, 310, 600, + 600, 600, 595, 594, 703, 253, 596, 600, + 588, 589, 590, 591, 592, 594, 702, 594, + 702, 594, 600, 702, 594, 288, 639, 76, + 639, 600, 310, 600, 600, 595, 594, 703, + 602, 253, 596, 600, 588, 589, 590, 591, + 592, 594, 600, 594, 600, 594, 600, 594, + 288, 593, 76, 593, 310, 704, 253, 596, + 588, 589, 590, 591, 592, 594, 288, 291, + 76, 291, 597, 705, 597, 597, 595, 594, + 294, 253, 596, 597, 588, 589, 590, 591, + 592, 594, 597, 594, 598, 594, 597, 598, + 594, 288, 53, 76, 53, 310, 712, 55, + 39, 713, 706, 707, 708, 709, 710, 711, + 288, 289, 76, 289, 290, 257, 711, 288, + 714, 76, 714, 310, 712, 39, 713, 706, + 707, 708, 709, 710, 711, 288, 289, 76, + 289, 290, 257, 706, 288, 289, 76, 289, + 290, 257, 707, 288, 289, 76, 289, 290, + 257, 708, 288, 289, 76, 289, 290, 257, + 709, 288, 715, 76, 715, 716, 315, 716, + 716, 712, 711, 261, 253, 713, 716, 706, + 707, 708, 709, 710, 711, 716, 711, 717, + 711, 716, 717, 711, 288, 715, 76, 715, + 259, 718, 259, 259, 256, 261, 257, 259, + 259, 259, 719, 259, 719, 243, 725, 76, + 725, 514, 727, 39, 728, 720, 721, 722, + 723, 724, 726, 243, 255, 76, 255, 256, + 257, 726, 243, 255, 76, 255, 256, 257, + 720, 243, 255, 76, 255, 256, 257, 721, + 243, 255, 76, 255, 256, 257, 722, 243, + 255, 76, 255, 256, 257, 723, 243, 213, + 76, 213, 729, 352, 729, 729, 727, 726, + 216, 39, 728, 729, 720, 721, 722, 723, + 724, 726, 729, 726, 730, 726, 729, 730, + 726, 243, 731, 76, 731, 732, 514, 732, + 732, 727, 726, 39, 728, 732, 720, 721, + 722, 723, 724, 726, 732, 726, 732, 726, + 732, 726, 243, 160, 76, 160, 732, 514, + 732, 732, 727, 726, 55, 39, 728, 732, + 720, 721, 722, 723, 724, 726, 732, 726, + 732, 726, 732, 726, 243, 725, 76, 725, + 727, 212, 726, 726, 243, 733, 76, 733, + 732, 514, 732, 732, 732, 727, 726, 735, + 39, 728, 732, 720, 721, 722, 723, 724, + 726, 734, 726, 734, 726, 732, 734, 726, + 243, 72, 76, 72, 732, 514, 732, 732, + 727, 726, 735, 55, 39, 728, 732, 720, + 721, 722, 723, 724, 726, 732, 726, 732, + 726, 732, 726, 243, 741, 76, 741, 533, + 743, 253, 744, 736, 737, 738, 739, 740, + 742, 243, 255, 76, 255, 256, 257, 742, + 243, 741, 76, 741, 533, 745, 39, 744, + 736, 737, 738, 739, 740, 742, 243, 255, + 76, 255, 256, 257, 736, 243, 255, 76, + 255, 256, 257, 737, 243, 255, 76, 255, + 256, 257, 738, 243, 255, 76, 255, 256, + 257, 739, 243, 258, 76, 258, 746, 352, + 746, 746, 745, 742, 261, 253, 744, 746, + 736, 737, 738, 739, 740, 742, 746, 742, + 747, 742, 746, 747, 742, 243, 748, 76, + 748, 749, 533, 749, 749, 745, 742, 253, + 744, 749, 736, 737, 738, 739, 740, 742, + 749, 742, 749, 742, 749, 742, 243, 356, + 76, 356, 749, 533, 749, 749, 745, 742, + 357, 253, 744, 749, 736, 737, 738, 739, + 740, 742, 749, 742, 749, 742, 749, 742, + 243, 741, 76, 741, 745, 257, 742, 742, + 243, 750, 76, 750, 749, 533, 749, 749, + 749, 745, 742, 752, 253, 744, 749, 736, + 737, 738, 739, 740, 742, 751, 742, 751, + 742, 749, 751, 742, 243, 488, 76, 488, + 749, 533, 749, 749, 745, 742, 752, 357, + 253, 744, 749, 736, 737, 738, 739, 740, + 742, 749, 742, 749, 742, 749, 742, 243, + 741, 76, 741, 533, 753, 253, 744, 736, + 737, 738, 739, 740, 742, 243, 258, 76, + 258, 746, 563, 746, 746, 745, 742, 261, + 253, 744, 746, 736, 737, 738, 739, 740, + 742, 746, 742, 747, 742, 746, 747, 742, + 243, 213, 76, 213, 754, 563, 754, 754, + 745, 742, 216, 39, 744, 754, 736, 737, + 738, 739, 740, 742, 754, 742, 755, 742, + 754, 755, 742, 243, 756, 76, 756, 757, + 533, 757, 757, 745, 742, 39, 744, 757, + 736, 737, 738, 739, 740, 742, 757, 742, + 757, 742, 757, 742, 243, 160, 76, 160, + 757, 533, 757, 757, 745, 742, 55, 39, + 744, 757, 736, 737, 738, 739, 740, 742, + 757, 742, 757, 742, 757, 742, 243, 758, + 76, 758, 757, 533, 757, 757, 757, 745, + 742, 752, 39, 744, 757, 736, 737, 738, + 739, 740, 742, 759, 742, 759, 742, 757, + 759, 742, 243, 72, 76, 72, 757, 533, + 757, 757, 745, 742, 752, 55, 39, 744, + 757, 736, 737, 738, 739, 740, 742, 757, + 742, 757, 742, 757, 742, 243, 760, 76, + 760, 264, 264, 264, 264, 256, 582, 257, + 264, 761, 761, 761, 264, 761, 243, 762, + 76, 762, 264, 264, 264, 256, 582, 266, + 257, 264, 264, 264, 264, 264, 243, 763, + 76, 763, 256, 582, 268, 257, 243, 764, + 76, 764, 765, 310, 765, 765, 712, 711, + 253, 713, 765, 706, 707, 708, 709, 710, + 711, 765, 711, 765, 711, 765, 711, 288, + 356, 76, 356, 765, 310, 765, 765, 712, + 711, 357, 253, 713, 765, 706, 707, 708, + 709, 710, 711, 765, 711, 765, 711, 765, + 711, 288, 714, 76, 714, 712, 257, 711, + 711, 288, 766, 76, 766, 765, 310, 765, + 765, 765, 712, 711, 768, 253, 713, 765, + 706, 707, 708, 709, 710, 711, 767, 711, + 767, 711, 765, 767, 711, 288, 488, 76, + 488, 765, 310, 765, 765, 712, 711, 768, + 357, 253, 713, 765, 706, 707, 708, 709, + 710, 711, 765, 711, 765, 711, 765, 711, + 288, 714, 76, 714, 310, 769, 253, 713, + 706, 707, 708, 709, 710, 711, 288, 715, + 76, 715, 716, 705, 716, 716, 712, 711, + 261, 253, 713, 716, 706, 707, 708, 709, + 710, 711, 716, 711, 717, 711, 716, 717, + 711, 288, 770, 76, 770, 297, 297, 297, + 297, 290, 772, 257, 297, 771, 771, 771, + 297, 771, 288, 773, 76, 773, 297, 297, + 297, 290, 772, 299, 257, 297, 297, 297, + 297, 297, 288, 774, 76, 774, 290, 772, + 301, 257, 288, 289, 76, 289, 775, 257, + 288, 776, 76, 776, 292, 777, 292, 292, + 290, 294, 257, 292, 292, 292, 295, 292, + 295, 288, 778, 76, 778, 779, 310, 779, + 779, 311, 309, 39, 312, 779, 303, 304, + 305, 306, 307, 309, 779, 309, 779, 309, + 779, 309, 288, 160, 76, 160, 779, 310, + 779, 779, 311, 309, 55, 39, 312, 779, + 303, 304, 305, 306, 307, 309, 779, 309, + 779, 309, 779, 309, 288, 780, 76, 780, + 779, 310, 779, 779, 779, 311, 309, 782, + 39, 312, 779, 303, 304, 305, 306, 307, + 309, 781, 309, 781, 309, 779, 781, 309, + 288, 72, 76, 72, 779, 310, 779, 779, + 311, 309, 782, 55, 39, 312, 779, 303, + 304, 305, 306, 307, 309, 779, 309, 779, + 309, 779, 309, 288, 714, 76, 714, 310, + 783, 253, 713, 706, 707, 708, 709, 710, + 711, 288, 313, 76, 313, 784, 705, 784, + 784, 712, 711, 216, 39, 713, 784, 706, + 707, 708, 709, 710, 711, 784, 711, 785, + 711, 784, 785, 711, 288, 786, 76, 786, + 787, 310, 787, 787, 712, 711, 39, 713, + 787, 706, 707, 708, 709, 710, 711, 787, + 711, 787, 711, 787, 711, 288, 160, 76, + 160, 787, 310, 787, 787, 712, 711, 55, + 39, 713, 787, 706, 707, 708, 709, 710, + 711, 787, 711, 787, 711, 787, 711, 288, + 788, 76, 788, 787, 310, 787, 787, 787, + 712, 711, 768, 39, 713, 787, 706, 707, + 708, 709, 710, 711, 789, 711, 789, 711, + 787, 789, 711, 288, 72, 76, 72, 787, + 310, 787, 787, 712, 711, 768, 55, 39, + 713, 787, 706, 707, 708, 709, 710, 711, + 787, 711, 787, 711, 787, 711, 288, 795, + 76, 795, 797, 798, 799, 790, 791, 792, + 793, 794, 796, 270, 271, 76, 271, 272, + 796, 270, 271, 76, 271, 272, 790, 270, + 271, 76, 271, 272, 791, 270, 271, 76, + 271, 272, 792, 270, 271, 76, 271, 272, + 793, 270, 280, 76, 280, 272, 281, 270, + 194, 76, 194, 800, 801, 800, 800, 798, + 796, 197, 799, 800, 790, 791, 792, 793, + 794, 796, 800, 796, 802, 796, 800, 802, + 796, 270, 803, 76, 803, 804, 797, 804, + 804, 798, 796, 799, 804, 790, 791, 792, + 793, 794, 796, 804, 796, 804, 796, 804, + 796, 270, 160, 76, 160, 804, 797, 804, + 804, 798, 796, 55, 799, 804, 790, 791, + 792, 793, 794, 796, 804, 796, 804, 796, + 804, 796, 270, 795, 76, 795, 798, 796, + 796, 270, 53, 76, 53, 797, 798, 55, + 799, 790, 791, 792, 793, 794, 796, 270, + 805, 76, 805, 804, 797, 804, 804, 804, + 798, 796, 807, 799, 804, 790, 791, 792, + 793, 794, 796, 806, 796, 806, 796, 804, + 806, 796, 270, 72, 76, 72, 804, 797, + 804, 804, 798, 796, 807, 55, 799, 804, + 790, 791, 792, 793, 794, 796, 804, 796, + 804, 796, 804, 796, 270, 813, 76, 813, + 797, 815, 816, 808, 809, 810, 811, 812, + 814, 270, 271, 76, 271, 272, 814, 270, + 813, 76, 813, 797, 817, 816, 808, 809, + 810, 811, 812, 814, 270, 271, 76, 271, + 272, 808, 270, 271, 76, 271, 272, 809, + 270, 271, 76, 271, 272, 810, 270, 271, + 76, 271, 272, 811, 270, 273, 76, 273, + 818, 801, 818, 818, 817, 814, 276, 816, + 818, 808, 809, 810, 811, 812, 814, 818, + 814, 819, 814, 818, 819, 814, 270, 820, + 76, 820, 821, 797, 821, 821, 817, 814, + 816, 821, 808, 809, 810, 811, 812, 814, + 821, 814, 821, 814, 821, 814, 270, 356, + 76, 356, 821, 797, 821, 821, 817, 814, + 357, 816, 821, 808, 809, 810, 811, 812, + 814, 821, 814, 821, 814, 821, 814, 270, + 813, 76, 813, 817, 814, 814, 270, 822, + 76, 822, 821, 797, 821, 821, 821, 817, + 814, 824, 816, 821, 808, 809, 810, 811, + 812, 814, 823, 814, 823, 814, 821, 823, + 814, 270, 488, 76, 488, 821, 797, 821, + 821, 817, 814, 824, 357, 816, 821, 808, + 809, 810, 811, 812, 814, 821, 814, 821, + 814, 821, 814, 270, 813, 76, 813, 797, + 825, 816, 808, 809, 810, 811, 812, 814, + 270, 273, 76, 273, 818, 826, 818, 818, + 817, 814, 276, 816, 818, 808, 809, 810, + 811, 812, 814, 818, 814, 819, 814, 818, + 819, 814, 270, 53, 76, 53, 797, 817, + 55, 816, 808, 809, 810, 811, 812, 814, + 270, 194, 76, 194, 827, 826, 827, 827, + 817, 814, 197, 816, 827, 808, 809, 810, + 811, 812, 814, 827, 814, 828, 814, 827, + 828, 814, 270, 829, 76, 829, 830, 797, + 830, 830, 817, 814, 816, 830, 808, 809, + 810, 811, 812, 814, 830, 814, 830, 814, + 830, 814, 270, 160, 76, 160, 830, 797, + 830, 830, 817, 814, 55, 816, 830, 808, + 809, 810, 811, 812, 814, 830, 814, 830, + 814, 830, 814, 270, 831, 76, 831, 830, + 797, 830, 830, 830, 817, 814, 824, 816, + 830, 808, 809, 810, 811, 812, 814, 832, + 814, 832, 814, 830, 832, 814, 270, 72, + 76, 72, 830, 797, 830, 830, 817, 814, + 824, 55, 816, 830, 808, 809, 810, 811, + 812, 814, 830, 814, 830, 814, 830, 814, + 270, 833, 76, 833, 279, 279, 279, 279, + 272, 835, 279, 834, 834, 834, 279, 834, + 270, 836, 76, 836, 279, 279, 279, 272, + 835, 281, 279, 279, 279, 279, 279, 270, + 837, 76, 837, 272, 835, 283, 270, 271, + 76, 271, 838, 270, 839, 76, 839, 274, + 840, 274, 274, 272, 276, 274, 274, 274, + 277, 274, 277, 270, 841, 76, 841, 256, + 843, 257, 842, 842, 842, 842, 243, 841, + 76, 841, 256, 843, 257, 243, 289, 76, + 289, 290, 212, 288, 844, 76, 844, 264, + 264, 264, 264, 256, 846, 257, 264, 845, + 845, 845, 264, 845, 243, 847, 76, 847, + 264, 264, 264, 256, 846, 266, 257, 264, + 264, 264, 264, 264, 243, 848, 76, 848, + 256, 846, 268, 257, 243, 255, 76, 255, + 849, 257, 243, 850, 76, 850, 851, 852, + 851, 851, 256, 853, 257, 851, 851, 851, + 854, 851, 854, 243, 855, 76, 855, 856, + 856, 856, 256, 257, 856, 856, 856, 856, + 856, 243, 537, 76, 537, 856, 856, 856, + 256, 538, 257, 856, 856, 856, 856, 856, + 243, 857, 76, 857, 856, 856, 856, 856, + 256, 846, 257, 856, 858, 858, 858, 856, + 858, 243, 859, 76, 859, 856, 856, 856, + 256, 846, 538, 257, 856, 856, 856, 856, + 856, 243, 860, 76, 860, 256, 846, 540, + 257, 243, 213, 76, 213, 861, 862, 861, + 861, 569, 250, 216, 39, 254, 861, 244, + 245, 246, 247, 248, 250, 861, 250, 863, + 250, 861, 863, 250, 243, 864, 76, 864, + 865, 251, 865, 865, 569, 250, 39, 254, + 865, 244, 245, 246, 247, 248, 250, 865, + 250, 865, 250, 865, 250, 243, 160, 76, + 160, 865, 251, 865, 865, 569, 250, 55, + 39, 254, 865, 244, 245, 246, 247, 248, + 250, 865, 250, 865, 250, 865, 250, 243, + 53, 76, 53, 251, 569, 55, 39, 254, + 244, 245, 246, 247, 248, 250, 243, 866, + 76, 866, 865, 251, 865, 865, 865, 569, + 250, 576, 39, 254, 865, 244, 245, 246, + 247, 248, 250, 867, 250, 867, 250, 865, + 867, 250, 243, 72, 76, 72, 865, 251, + 865, 865, 569, 250, 576, 55, 39, 254, + 865, 244, 245, 246, 247, 248, 250, 865, + 250, 865, 250, 865, 250, 243, 868, 76, + 868, 219, 219, 219, 219, 211, 870, 212, + 219, 869, 869, 869, 219, 869, 209, 871, + 76, 871, 219, 219, 219, 211, 870, 221, + 212, 219, 219, 219, 219, 219, 209, 872, + 76, 872, 211, 870, 223, 212, 209, 255, + 76, 255, 873, 257, 243, 874, 76, 874, + 875, 876, 875, 875, 256, 877, 257, 875, + 875, 875, 878, 875, 878, 243, 879, 76, + 879, 880, 880, 880, 256, 257, 880, 880, + 880, 880, 880, 243, 346, 76, 346, 880, + 880, 880, 256, 347, 257, 880, 880, 880, + 880, 880, 243, 881, 76, 881, 880, 880, + 880, 880, 256, 846, 257, 880, 882, 882, + 882, 880, 882, 243, 883, 76, 883, 880, + 880, 880, 256, 846, 347, 257, 880, 880, + 880, 880, 880, 243, 884, 76, 884, 256, + 846, 349, 257, 243, 890, 76, 890, 892, + 893, 894, 885, 886, 887, 888, 889, 891, + 191, 192, 76, 192, 193, 891, 191, 192, + 76, 192, 193, 885, 191, 192, 76, 192, + 193, 886, 191, 192, 76, 192, 193, 887, + 191, 192, 76, 192, 193, 888, 191, 201, + 76, 201, 193, 202, 191, 194, 76, 194, + 895, 896, 895, 895, 893, 891, 197, 894, + 895, 885, 886, 887, 888, 889, 891, 895, + 891, 897, 891, 895, 897, 891, 191, 898, + 76, 898, 899, 892, 899, 899, 893, 891, + 894, 899, 885, 886, 887, 888, 889, 891, + 899, 891, 899, 891, 899, 891, 191, 160, + 76, 160, 899, 892, 899, 899, 893, 891, + 55, 894, 899, 885, 886, 887, 888, 889, + 891, 899, 891, 899, 891, 899, 891, 191, + 890, 76, 890, 893, 891, 891, 191, 53, + 76, 53, 892, 893, 55, 894, 885, 886, + 887, 888, 889, 891, 191, 900, 76, 900, + 899, 892, 899, 899, 899, 893, 891, 902, + 894, 899, 885, 886, 887, 888, 889, 891, + 901, 891, 901, 891, 899, 901, 891, 191, + 72, 76, 72, 899, 892, 899, 899, 893, + 891, 902, 55, 894, 899, 885, 886, 887, + 888, 889, 891, 899, 891, 899, 891, 899, + 891, 191, 908, 76, 908, 910, 911, 912, + 903, 904, 905, 906, 907, 909, 270, 271, + 76, 271, 272, 909, 270, 908, 76, 908, + 910, 913, 912, 903, 904, 905, 906, 907, + 909, 270, 271, 76, 271, 272, 903, 270, + 271, 76, 271, 272, 904, 270, 271, 76, + 271, 272, 905, 270, 271, 76, 271, 272, + 906, 270, 914, 76, 914, 272, 915, 270, + 916, 76, 916, 272, 917, 270, 271, 76, + 271, 272, 918, 918, 270, 919, 76, 919, + 272, 921, 920, 920, 920, 920, 270, 919, + 76, 919, 272, 921, 270, 255, 76, 255, + 256, 243, 273, 76, 273, 922, 801, 922, + 922, 913, 909, 276, 912, 922, 903, 904, + 905, 906, 907, 909, 922, 909, 923, 909, + 922, 923, 909, 270, 924, 76, 924, 925, + 910, 925, 925, 913, 909, 912, 925, 903, + 904, 905, 906, 907, 909, 925, 909, 925, + 909, 925, 909, 270, 356, 76, 356, 925, + 910, 925, 925, 913, 909, 357, 912, 925, + 903, 904, 905, 906, 907, 909, 925, 909, + 925, 909, 925, 909, 270, 908, 76, 908, + 913, 909, 909, 270, 926, 76, 926, 925, + 910, 925, 925, 925, 913, 909, 928, 912, + 925, 903, 904, 905, 906, 907, 909, 927, + 909, 927, 909, 925, 927, 909, 270, 488, + 76, 488, 925, 910, 925, 925, 913, 909, + 928, 357, 912, 925, 903, 904, 905, 906, + 907, 909, 925, 909, 925, 909, 925, 909, + 270, 908, 76, 908, 910, 929, 912, 903, + 904, 905, 906, 907, 909, 270, 273, 76, + 273, 922, 826, 922, 922, 913, 909, 276, + 912, 922, 903, 904, 905, 906, 907, 909, + 922, 909, 923, 909, 922, 923, 909, 270, + 194, 76, 194, 930, 931, 930, 930, 913, + 909, 197, 912, 930, 903, 904, 905, 906, + 907, 909, 930, 909, 932, 909, 930, 932, + 909, 270, 933, 76, 933, 934, 910, 934, + 934, 913, 909, 912, 934, 903, 904, 905, + 906, 907, 909, 934, 909, 934, 909, 934, + 909, 270, 160, 76, 160, 934, 910, 934, + 934, 913, 909, 55, 912, 934, 903, 904, + 905, 906, 907, 909, 934, 909, 934, 909, + 934, 909, 270, 53, 76, 53, 910, 913, + 55, 912, 903, 904, 905, 906, 907, 909, + 270, 935, 76, 935, 934, 910, 934, 934, + 934, 913, 909, 928, 912, 934, 903, 904, + 905, 906, 907, 909, 936, 909, 936, 909, + 934, 936, 909, 270, 72, 76, 72, 934, + 910, 934, 934, 913, 909, 928, 55, 912, + 934, 903, 904, 905, 906, 907, 909, 934, + 909, 934, 909, 934, 909, 270, 937, 76, + 937, 200, 200, 200, 200, 193, 939, 200, + 938, 938, 938, 200, 938, 191, 940, 76, + 940, 200, 200, 200, 193, 939, 202, 200, + 200, 200, 200, 200, 191, 941, 76, 941, + 193, 939, 204, 191, 271, 76, 271, 942, + 270, 943, 76, 943, 944, 945, 944, 944, + 272, 946, 944, 944, 944, 947, 944, 947, + 270, 948, 76, 948, 949, 949, 949, 272, + 949, 949, 949, 949, 949, 270, 914, 76, + 914, 949, 949, 949, 272, 915, 949, 949, + 949, 949, 949, 270, 950, 76, 950, 949, + 949, 949, 949, 272, 835, 949, 951, 951, + 951, 949, 951, 270, 952, 76, 952, 949, + 949, 949, 272, 835, 915, 949, 949, 949, + 949, 949, 270, 953, 76, 953, 272, 835, + 917, 270, 1, 0 +}; + +static const short _tsip_machine_parser_header_P_Asserted_Identity_trans_targs[] = { + 2, 0, 3, 4, 5, 6, 7, 8, + 9, 10, 11, 12, 13, 14, 15, 16, + 17, 18, 19, 20, 21, 21, 22, 39, + 44, 28, 133, 23, 24, 24, 25, 26, + 27, 28, 29, 30, 29, 31, 32, 33, + 33, 34, 35, 672, 35, 36, 54, 37, + 38, 38, 40, 42, 39, 41, 25, 28, + 41, 25, 43, 45, 46, 47, 48, 49, + 44, 50, 52, 53, 51, 55, 54, 57, + 56, 56, 58, 58, 34, 59, 59, 60, + 119, 63, 61, 60, 62, 63, 62, 63, + 64, 65, 64, 66, 67, 67, 68, 58, + 68, 69, 73, 72, 70, 69, 71, 72, + 71, 72, 67, 74, 75, 76, 77, 78, + 73, 73, 79, 80, 114, 81, 108, 115, + 88, 116, 82, 89, 94, 104, 83, 84, + 84, 85, 86, 87, 88, 32, 90, 92, + 89, 91, 85, 88, 91, 85, 93, 95, + 96, 97, 98, 99, 94, 100, 102, 103, + 101, 105, 104, 107, 106, 106, 109, 108, + 110, 110, 111, 35, 112, 113, 117, 116, + 118, 120, 121, 122, 123, 124, 119, 119, + 125, 126, 129, 127, 130, 131, 128, 127, + 132, 131, 134, 133, 136, 135, 135, 137, + 137, 138, 138, 139, 621, 142, 662, 140, + 139, 141, 142, 141, 142, 143, 144, 143, + 145, 146, 146, 147, 137, 147, 148, 152, + 151, 611, 149, 148, 150, 151, 150, 151, + 146, 153, 154, 155, 156, 157, 152, 152, + 158, 159, 162, 160, 163, 164, 161, 160, + 165, 164, 166, 167, 378, 380, 381, 382, + 383, 379, 379, 217, 605, 238, 387, 167, + 168, 173, 168, 169, 330, 172, 595, 170, + 169, 171, 172, 171, 172, 592, 173, 173, + 174, 174, 175, 552, 178, 587, 176, 175, + 177, 178, 177, 178, 179, 180, 179, 181, + 182, 182, 183, 183, 184, 188, 187, 537, + 185, 184, 186, 187, 186, 187, 182, 189, + 190, 191, 192, 193, 188, 188, 194, 195, + 481, 196, 542, 480, 544, 197, 394, 198, + 199, 200, 201, 202, 197, 197, 203, 206, + 204, 207, 208, 205, 204, 209, 208, 210, + 211, 213, 214, 215, 216, 212, 212, 374, + 327, 220, 218, 219, 218, 219, 167, 221, + 328, 369, 222, 221, 223, 228, 223, 224, + 228, 224, 225, 297, 228, 310, 226, 225, + 227, 227, 229, 230, 229, 231, 232, 232, + 233, 233, 234, 239, 237, 235, 234, 236, + 237, 236, 237, 232, 238, 240, 241, 242, + 243, 244, 239, 239, 245, 246, 292, 247, + 255, 293, 294, 248, 251, 249, 250, 250, + 252, 251, 254, 253, 253, 256, 255, 257, + 257, 258, 261, 259, 260, 261, 262, 265, + 263, 264, 264, 266, 265, 268, 267, 267, + 269, 269, 270, 270, 271, 278, 274, 272, + 271, 273, 274, 273, 274, 275, 276, 275, + 277, 279, 280, 281, 282, 283, 278, 278, + 284, 285, 288, 286, 289, 290, 287, 286, + 291, 290, 295, 294, 296, 298, 299, 300, + 301, 302, 297, 297, 303, 304, 307, 305, + 308, 306, 305, 309, 308, 311, 310, 313, + 312, 312, 314, 314, 315, 316, 317, 318, + 319, 320, 315, 315, 321, 324, 322, 325, + 323, 322, 326, 325, 329, 331, 332, 333, + 334, 330, 335, 336, 339, 330, 337, 340, + 341, 338, 337, 342, 341, 343, 344, 346, + 347, 348, 349, 345, 345, 350, 364, 358, + 355, 351, 352, 351, 352, 353, 354, 353, + 356, 359, 357, 356, 360, 359, 361, 362, + 363, 365, 367, 366, 365, 368, 367, 370, + 369, 371, 372, 373, 375, 377, 392, 376, + 375, 384, 385, 388, 386, 385, 389, 388, + 390, 391, 393, 392, 395, 394, 397, 396, + 396, 398, 398, 399, 400, 401, 402, 403, + 404, 399, 399, 405, 479, 406, 482, 407, + 406, 408, 413, 408, 409, 413, 409, 410, + 417, 413, 431, 411, 410, 412, 412, 414, + 415, 414, 416, 418, 419, 420, 421, 422, + 417, 417, 423, 424, 427, 425, 428, 426, + 425, 429, 428, 430, 432, 431, 434, 433, + 433, 435, 435, 436, 437, 438, 439, 440, + 441, 436, 436, 442, 475, 443, 473, 476, + 444, 456, 445, 446, 447, 448, 449, 444, + 444, 450, 453, 451, 454, 452, 451, 455, + 454, 457, 456, 459, 458, 458, 460, 460, + 461, 462, 463, 464, 465, 466, 461, 461, + 467, 470, 468, 471, 469, 468, 472, 471, + 474, 473, 477, 476, 478, 483, 482, 484, + 485, 486, 487, 489, 490, 491, 492, 488, + 493, 532, 488, 494, 530, 533, 495, 527, + 496, 497, 498, 499, 500, 495, 495, 501, + 504, 502, 505, 503, 502, 506, 505, 507, + 508, 510, 511, 512, 513, 509, 509, 522, + 517, 514, 515, 518, 516, 515, 519, 518, + 520, 521, 523, 525, 524, 523, 526, 525, + 528, 527, 529, 529, 531, 530, 534, 533, + 535, 536, 538, 537, 540, 539, 539, 541, + 541, 488, 543, 542, 545, 544, 546, 547, + 548, 550, 549, 548, 551, 550, 553, 554, + 555, 556, 557, 552, 552, 558, 559, 562, + 560, 563, 564, 561, 560, 565, 564, 566, + 567, 569, 570, 571, 572, 568, 568, 582, + 576, 573, 574, 577, 575, 574, 578, 577, + 579, 580, 581, 583, 585, 584, 583, 586, + 585, 588, 587, 590, 589, 589, 591, 591, + 568, 593, 592, 594, 596, 595, 598, 597, + 597, 599, 599, 600, 345, 352, 602, 601, + 600, 603, 602, 604, 604, 606, 608, 609, + 607, 606, 610, 609, 612, 611, 614, 613, + 613, 615, 615, 616, 379, 219, 618, 617, + 616, 619, 618, 620, 620, 622, 623, 624, + 625, 626, 621, 621, 627, 628, 631, 629, + 632, 633, 630, 629, 634, 633, 635, 636, + 638, 639, 640, 641, 637, 637, 642, 656, + 651, 648, 643, 644, 643, 644, 645, 646, + 645, 647, 649, 652, 650, 649, 653, 652, + 654, 655, 657, 659, 660, 658, 657, 661, + 660, 663, 662, 665, 664, 664, 666, 666, + 667, 637, 644, 669, 668, 667, 670, 669, + 671, 671 +}; + +static const char _tsip_machine_parser_header_P_Asserted_Identity_trans_actions[] = { + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 3, 3, 13, + 13, 3, 13, 0, 0, 3, 3, 0, + 0, 0, 1, 0, 0, 0, 0, 7, + 9, 9, 9, 11, 3, 3, 13, 0, + 0, 3, 0, 0, 0, 5, 5, 5, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 5, 0, 0, 16, 16, 16, 19, 13, + 13, 3, 16, 0, 23, 5, 16, 0, + 1, 16, 0, 0, 0, 16, 16, 7, + 19, 13, 13, 3, 16, 0, 23, 5, + 16, 0, 1, 0, 0, 0, 0, 0, + 16, 0, 0, 16, 0, 3, 13, 13, + 3, 13, 3, 13, 13, 13, 0, 0, + 3, 3, 0, 0, 0, 1, 0, 0, + 0, 5, 5, 5, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 5, 0, 16, 0, + 5, 0, 0, 0, 0, 0, 16, 0, + 0, 0, 0, 0, 0, 0, 16, 0, + 0, 16, 0, 13, 13, 13, 16, 0, + 16, 0, 0, 0, 0, 5, 0, 0, + 16, 16, 27, 13, 13, 3, 13, 16, + 0, 31, 5, 16, 0, 1, 16, 0, + 0, 0, 16, 16, 7, 27, 13, 13, + 3, 13, 16, 0, 31, 5, 16, 0, + 1, 0, 0, 0, 0, 0, 16, 0, + 0, 16, 0, 13, 13, 13, 16, 0, + 16, 0, 0, 0, 0, 0, 0, 0, + 0, 16, 0, 0, 16, 7, 0, 16, + 16, 7, 27, 13, 13, 3, 13, 16, + 0, 31, 5, 16, 0, 1, 0, 16, + 16, 27, 13, 13, 3, 13, 16, 0, + 31, 5, 16, 0, 1, 16, 0, 0, + 0, 16, 16, 27, 13, 13, 3, 13, + 16, 0, 31, 5, 16, 0, 1, 0, + 0, 0, 0, 0, 16, 0, 0, 16, + 0, 27, 13, 13, 13, 13, 13, 0, + 0, 0, 0, 0, 16, 0, 16, 0, + 13, 13, 13, 16, 0, 16, 0, 0, + 0, 0, 0, 0, 0, 16, 0, 16, + 0, 16, 31, 5, 16, 0, 1, 13, + 13, 13, 16, 0, 23, 5, 16, 16, + 0, 19, 13, 13, 3, 13, 16, 0, + 23, 16, 1, 16, 0, 0, 0, 16, + 16, 19, 13, 13, 3, 16, 0, 23, + 5, 16, 0, 1, 16, 0, 0, 0, + 0, 0, 16, 0, 0, 16, 0, 3, + 13, 13, 13, 3, 13, 0, 0, 3, + 0, 0, 0, 5, 0, 16, 0, 5, + 0, 0, 0, 0, 0, 3, 3, 13, + 0, 0, 3, 0, 0, 0, 5, 0, + 0, 16, 16, 19, 13, 13, 3, 16, + 0, 23, 5, 16, 0, 1, 16, 0, + 0, 0, 0, 0, 0, 0, 16, 0, + 0, 16, 0, 13, 13, 13, 16, 0, + 16, 0, 16, 0, 0, 0, 0, 0, + 0, 0, 16, 0, 0, 16, 0, 13, + 13, 16, 0, 16, 0, 16, 0, 0, + 23, 16, 16, 19, 13, 0, 0, 0, + 0, 0, 16, 0, 16, 0, 13, 13, + 16, 0, 16, 0, 0, 0, 0, 0, + 0, 0, 0, 16, 0, 16, 13, 13, + 13, 16, 0, 16, 0, 0, 0, 0, + 0, 0, 0, 16, 0, 0, 16, 0, + 16, 31, 5, 16, 0, 1, 16, 0, + 13, 13, 16, 0, 16, 0, 0, 16, + 13, 13, 13, 16, 0, 16, 0, 16, + 0, 0, 16, 13, 13, 13, 13, 16, + 0, 16, 13, 13, 16, 0, 16, 0, + 0, 16, 16, 0, 16, 0, 0, 31, + 16, 16, 27, 13, 0, 0, 0, 0, + 0, 16, 0, 16, 0, 13, 13, 16, + 0, 23, 5, 16, 16, 0, 19, 13, + 13, 3, 13, 16, 0, 23, 16, 1, + 16, 0, 0, 0, 0, 0, 0, 0, + 16, 0, 0, 16, 0, 13, 13, 16, + 0, 16, 0, 0, 16, 0, 0, 23, + 16, 16, 19, 13, 0, 0, 0, 0, + 0, 16, 0, 16, 0, 19, 13, 13, + 13, 13, 0, 0, 0, 0, 0, 16, + 0, 16, 0, 13, 13, 16, 0, 16, + 0, 16, 0, 0, 23, 16, 16, 19, + 13, 0, 0, 0, 0, 0, 16, 0, + 16, 0, 13, 13, 16, 0, 16, 0, + 16, 0, 16, 0, 0, 16, 0, 0, + 16, 13, 0, 0, 0, 0, 0, 0, + 16, 0, 16, 27, 13, 13, 13, 13, + 0, 0, 0, 0, 0, 16, 0, 16, + 0, 13, 13, 16, 0, 16, 0, 0, + 0, 0, 0, 0, 0, 16, 0, 16, + 0, 16, 13, 13, 16, 0, 16, 0, + 0, 16, 13, 13, 16, 0, 16, 0, + 16, 0, 31, 16, 16, 0, 16, 0, + 0, 16, 16, 0, 0, 31, 16, 16, + 27, 13, 16, 0, 16, 0, 0, 16, + 13, 13, 16, 0, 16, 0, 0, 0, + 0, 0, 0, 16, 0, 0, 16, 0, + 13, 13, 13, 16, 0, 16, 0, 0, + 0, 0, 0, 0, 0, 16, 0, 16, + 0, 16, 13, 13, 16, 0, 16, 0, + 0, 16, 13, 13, 13, 16, 0, 16, + 0, 16, 0, 0, 31, 16, 16, 27, + 13, 16, 0, 0, 16, 0, 0, 31, + 16, 16, 27, 13, 13, 3, 13, 16, + 0, 16, 0, 31, 16, 13, 13, 13, + 16, 0, 16, 0, 16, 0, 0, 31, + 16, 16, 27, 13, 13, 3, 13, 16, + 0, 16, 0, 31, 16, 0, 0, 0, + 0, 0, 16, 0, 0, 16, 0, 13, + 13, 13, 16, 0, 16, 0, 0, 0, + 0, 0, 0, 0, 16, 0, 0, 16, + 0, 16, 31, 5, 16, 0, 1, 16, + 0, 0, 13, 13, 16, 0, 16, 0, + 0, 16, 13, 13, 13, 16, 0, 16, + 0, 16, 0, 0, 31, 16, 16, 27, + 13, 13, 3, 13, 16, 0, 16, 0, + 31, 16 +}; + +static const int tsip_machine_parser_header_P_Asserted_Identity_start = 1; +static const int tsip_machine_parser_header_P_Asserted_Identity_first_final = 672; +static const int tsip_machine_parser_header_P_Asserted_Identity_error = 0; + +static const int tsip_machine_parser_header_P_Asserted_Identity_en_main = 1; + + +/* #line 141 "tsip_parser_header_P_Asserted_Identity.rl" */ + +/* #line 3256 "../src/headers/tsip_header_P_Asserted_Identity.c" */ + { + cs = tsip_machine_parser_header_P_Asserted_Identity_start; + } + +/* #line 142 "tsip_parser_header_P_Asserted_Identity.rl" */ + +/* #line 3263 "../src/headers/tsip_header_P_Asserted_Identity.c" */ + { + int _klen; + unsigned int _trans; + const char *_acts; + unsigned int _nacts; + const char *_keys; + + if ( p == pe ) + goto _test_eof; + if ( cs == 0 ) + goto _out; +_resume: + _keys = _tsip_machine_parser_header_P_Asserted_Identity_trans_keys + _tsip_machine_parser_header_P_Asserted_Identity_key_offsets[cs]; + _trans = _tsip_machine_parser_header_P_Asserted_Identity_index_offsets[cs]; + + _klen = _tsip_machine_parser_header_P_Asserted_Identity_single_lengths[cs]; + if ( _klen > 0 ) { + const char *_lower = _keys; + const char *_mid; + const char *_upper = _keys + _klen - 1; + while (1) { + if ( _upper < _lower ) + break; + + _mid = _lower + ((_upper-_lower) >> 1); + if ( (*p) < *_mid ) + _upper = _mid - 1; + else if ( (*p) > *_mid ) + _lower = _mid + 1; + else { + _trans += (_mid - _keys); + goto _match; + } + } + _keys += _klen; + _trans += _klen; + } + + _klen = _tsip_machine_parser_header_P_Asserted_Identity_range_lengths[cs]; + if ( _klen > 0 ) { + const char *_lower = _keys; + const char *_mid; + const char *_upper = _keys + (_klen<<1) - 2; + while (1) { + if ( _upper < _lower ) + break; + + _mid = _lower + (((_upper-_lower) >> 1) & ~1); + if ( (*p) < _mid[0] ) + _upper = _mid - 2; + else if ( (*p) > _mid[1] ) + _lower = _mid + 2; + else { + _trans += ((_mid - _keys)>>1); + goto _match; + } + } + _trans += _klen; + } + +_match: + _trans = _tsip_machine_parser_header_P_Asserted_Identity_indicies[_trans]; + cs = _tsip_machine_parser_header_P_Asserted_Identity_trans_targs[_trans]; + + if ( _tsip_machine_parser_header_P_Asserted_Identity_trans_actions[_trans] == 0 ) + goto _again; + + _acts = _tsip_machine_parser_header_P_Asserted_Identity_actions + _tsip_machine_parser_header_P_Asserted_Identity_trans_actions[_trans]; + _nacts = (unsigned int) *_acts++; + while ( _nacts-- > 0 ) + { + switch ( *_acts++ ) + { + case 0: +/* #line 53 "tsip_parser_header_P_Asserted_Identity.rl" */ + { + tag_start = p; + } + break; + case 1: +/* #line 58 "tsip_parser_header_P_Asserted_Identity.rl" */ + { + if(!curr_p_asserted_identity) + { + curr_p_asserted_identity = TSIP_HEADER_P_ASSERTED_IDENTITY_CREATE(); + } + } + break; + case 2: +/* #line 66 "tsip_parser_header_P_Asserted_Identity.rl" */ + { + if(curr_p_asserted_identity) + { + TSK_PARSER_SET_STRING(curr_p_asserted_identity->display_name); + } + } + break; + case 3: +/* #line 74 "tsip_parser_header_P_Asserted_Identity.rl" */ + { + if(curr_p_asserted_identity && !curr_p_asserted_identity->uri) + { + int len = (int)(p - tag_start); + curr_p_asserted_identity->uri = tsip_uri_parse(tag_start, (size_t)len); + } + } + break; + case 4: +/* #line 83 "tsip_parser_header_P_Asserted_Identity.rl" */ + { + if(curr_p_asserted_identity) + { + tsk_list_push_back_data(hdr_p_asserted_identities, ((void**) &curr_p_asserted_identity)); + } + } + break; + case 5: +/* #line 91 "tsip_parser_header_P_Asserted_Identity.rl" */ + { + } + break; +/* #line 3385 "../src/headers/tsip_header_P_Asserted_Identity.c" */ + } + } + +_again: + if ( cs == 0 ) + goto _out; + if ( ++p != pe ) + goto _resume; + _test_eof: {} + _out: {} + } + +/* #line 143 "tsip_parser_header_P_Asserted_Identity.rl" */ + + if( cs < +/* #line 3401 "../src/headers/tsip_header_P_Asserted_Identity.c" */ +672 +/* #line 144 "tsip_parser_header_P_Asserted_Identity.rl" */ + ) + { + TSK_OBJECT_SAFE_FREE(curr_p_asserted_identity); + TSK_OBJECT_SAFE_FREE(hdr_p_asserted_identities); + } + + return hdr_p_asserted_identities; +} + + + + + +//======================================================== +// P_Asserted_Identity header object definition +// + +/**@ingroup tsip_header_P_Asserted_Identity_group +*/ +static void* tsip_header_P_Asserted_Identity_create(void *self, va_list * app) +{ + tsip_header_P_Asserted_Identity_t *P_Asserted_Identity = self; + if(P_Asserted_Identity) + { + TSIP_HEADER(P_Asserted_Identity)->type = tsip_htype_P_Asserted_Identity; + TSIP_HEADER(P_Asserted_Identity)->tostring = tsip_header_P_Asserted_Identity_tostring; + } + else + { + TSK_DEBUG_ERROR("Failed to create new P_Asserted_Identity header."); + } + return self; +} + +/**@ingroup tsip_header_P_Asserted_Identity_group +*/ +static void* tsip_header_P_Asserted_Identity_destroy(void *self) +{ + tsip_header_P_Asserted_Identity_t *P_Asserted_Identity = self; + if(P_Asserted_Identity) + { + TSK_FREE(P_Asserted_Identity->display_name); + TSK_OBJECT_SAFE_FREE(P_Asserted_Identity->uri); + + TSK_OBJECT_SAFE_FREE(TSIP_HEADER_PARAMS(P_Asserted_Identity)); + } + else TSK_DEBUG_ERROR("Null P_Asserted_Identity header."); + + return self; +} + +static const tsk_object_def_t tsip_header_P_Asserted_Identity_def_s = +{ + sizeof(tsip_header_P_Asserted_Identity_t), + tsip_header_P_Asserted_Identity_create, + 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 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 8b137891..250dcb1a 100644 --- a/trunk/tinySIP/src/headers/tsip_header_P_Associated_URI.c +++ b/trunk/tinySIP/src/headers/tsip_header_P_Associated_URI.c @@ -1 +1,572 @@ - + +/* #line 1 "tsip_parser_header_P_Associated_URI.rl" */ +/* +* 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 Lesser General Public License for more details. +* +* You should have received a copy of the GNU General Public License +* along with DOUBANGO. +* +*/ + +/**@file tsip_header_P_Associated_URI.c + * @brief SIP P-Associated-URI header as per RFC 3455. + * + * @author Mamadou Diop + * + * @date Created: Sat Nov 8 16:54:58 2009 mdiop + */ +#include "tinysip/headers/tsip_header_P_Associated_URI.h" + +#include "tinysip/parsers/tsip_parser_uri.h" + +#include "tsk_debug.h" +#include "tsk_memory.h" +#include "tsk_time.h" + +#include + +/**@defgroup tsip_header_P_Associated_URI_group SIP P_Associated_URI header. +*/ + +/*********************************** +* Ragel state machine. +*/ + +/* #line 114 "tsip_parser_header_P_Associated_URI.rl" */ + + +int tsip_header_P_Associated_URI_tostring(const void* header, tsk_buffer_t* output) +{ + if(header) + { + const tsip_header_P_Associated_URI_t *P_Associated_URI = header; + int ret = 0; + + if(P_Associated_URI->display_name){ /* Display Name */ + tsk_buffer_appendEx(output, "\"%s\"", P_Associated_URI->display_name); + } + + if(ret=tsip_uri_serialize(P_Associated_URI->uri, 1, 1, output)){ /* P_Associated_URI */ + return ret; + } + + return ret; + } + + return -1; +} + +tsip_header_P_Associated_URIs_L_t *tsip_header_P_Associated_URI_parse(const char *data, size_t size) +{ + int cs = 0; + const char *p = data; + const char *pe = p + size; + const char *eof = pe; + tsip_header_P_Associated_URIs_L_t *hdr_p_associated_uris = TSK_LIST_CREATE(); + + const char *tag_start; + tsip_header_P_Associated_URI_t *curr_p_associated_uri = 0; + + +/* #line 86 "../src/headers/tsip_header_P_Associated_URI.c" */ +static const char _tsip_machine_parser_header_P_Associated_URI_actions[] = { + 0, 1, 0, 1, 1, 1, 2, 1, + 3, 1, 4, 1, 5, 1, 6, 2, + 1, 0, 2, 4, 5 +}; + +static const short _tsip_machine_parser_header_P_Associated_URI_key_offsets[] = { + 0, 0, 2, 3, 5, 7, 9, 11, + 13, 15, 17, 19, 21, 23, 24, 26, + 28, 30, 33, 52, 53, 55, 74, 75, + 77, 80, 84, 96, 99, 99, 100, 105, + 106, 123, 124, 126, 142, 160, 166, 167, + 169, 174, 193, 194, 196, 215, 216, 218, + 221, 237, 239, 241, 243, 245, 247, 248, + 250, 255, 260, 261, 263, 267, 273, 290, + 297, 305, 313, 321, 323, 330, 339, 341, + 344, 346, 349, 351, 354, 357, 358, 361, + 362, 365, 366, 375, 384, 392, 400, 408, + 416, 418, 424, 433, 442, 451, 453, 456, + 459, 460, 461, 478, 496, 500, 501, 503, + 519, 521, 523, 525, 527, 529, 530, 532, + 536, 542 +}; + +static const char _tsip_machine_parser_header_P_Associated_URI_trans_keys[] = { + 80, 112, 45, 65, 97, 83, 115, 83, + 115, 79, 111, 67, 99, 73, 105, 65, + 97, 84, 116, 69, 101, 68, 100, 45, + 85, 117, 82, 114, 73, 105, 9, 32, + 58, 9, 13, 32, 33, 34, 37, 39, + 60, 126, 42, 43, 45, 46, 48, 57, + 65, 90, 95, 122, 10, 9, 32, 9, + 13, 32, 33, 34, 37, 39, 60, 126, + 42, 43, 45, 46, 48, 57, 65, 90, + 95, 122, 10, 9, 32, 9, 32, 60, + 65, 90, 97, 122, 9, 32, 43, 58, + 45, 46, 48, 57, 65, 90, 97, 122, + 9, 32, 58, 62, 9, 13, 32, 44, + 59, 10, 9, 13, 32, 33, 37, 39, + 126, 42, 43, 45, 46, 48, 57, 65, + 90, 95, 122, 10, 9, 32, 9, 32, + 33, 37, 39, 126, 42, 43, 45, 46, + 48, 57, 65, 90, 95, 122, 9, 13, + 32, 33, 37, 39, 44, 59, 61, 126, + 42, 46, 48, 57, 65, 90, 95, 122, + 9, 13, 32, 44, 59, 61, 10, 9, + 32, 9, 32, 44, 59, 61, 9, 13, + 32, 33, 34, 37, 39, 91, 126, 42, + 43, 45, 46, 48, 57, 65, 90, 95, + 122, 10, 9, 32, 9, 13, 32, 33, + 34, 37, 39, 91, 126, 42, 43, 45, + 46, 48, 57, 65, 90, 95, 122, 10, + 9, 32, 9, 32, 34, 9, 13, 34, + 92, -64, -33, -32, -17, -16, -9, -8, + -5, -4, -3, 32, 126, -128, -65, -128, + -65, -128, -65, -128, -65, -128, -65, 10, + 9, 32, 9, 13, 32, 44, 59, 9, + 13, 32, 44, 59, 10, 9, 32, 9, + 32, 44, 59, 0, 9, 11, 12, 14, + 127, 9, 13, 32, 33, 37, 39, 44, + 59, 126, 42, 46, 48, 57, 65, 90, + 95, 122, 58, 48, 57, 65, 70, 97, + 102, 58, 93, 48, 57, 65, 70, 97, + 102, 58, 93, 48, 57, 65, 70, 97, + 102, 58, 93, 48, 57, 65, 70, 97, + 102, 58, 93, 58, 48, 57, 65, 70, + 97, 102, 46, 58, 93, 48, 57, 65, + 70, 97, 102, 48, 57, 46, 48, 57, + 48, 57, 46, 48, 57, 48, 57, 93, + 48, 57, 93, 48, 57, 93, 46, 48, + 57, 46, 46, 48, 57, 46, 46, 58, + 93, 48, 57, 65, 70, 97, 102, 46, + 58, 93, 48, 57, 65, 70, 97, 102, + 58, 93, 48, 57, 65, 70, 97, 102, + 58, 93, 48, 57, 65, 70, 97, 102, + 58, 93, 48, 57, 65, 70, 97, 102, + 58, 93, 48, 57, 65, 70, 97, 102, + 58, 93, 48, 57, 65, 70, 97, 102, + 46, 58, 93, 48, 57, 65, 70, 97, + 102, 46, 58, 93, 48, 57, 65, 70, + 97, 102, 46, 58, 93, 48, 57, 65, + 70, 97, 102, 48, 57, 46, 48, 57, + 46, 48, 57, 46, 58, 9, 13, 32, + 33, 37, 39, 126, 42, 43, 45, 46, + 48, 57, 65, 90, 95, 122, 9, 13, + 32, 33, 37, 39, 60, 126, 42, 43, + 45, 46, 48, 57, 65, 90, 95, 122, + 9, 13, 32, 60, 10, 9, 32, 9, + 13, 34, 92, -64, -33, -32, -17, -16, + -9, -8, -5, -4, -3, 32, 126, -128, + -65, -128, -65, -128, -65, -128, -65, -128, + -65, 10, 9, 32, 9, 13, 32, 60, + 0, 9, 11, 12, 14, 127, 0 +}; + +static const char _tsip_machine_parser_header_P_Associated_URI_single_lengths[] = { + 0, 2, 1, 2, 2, 2, 2, 2, + 2, 2, 2, 2, 2, 1, 2, 2, + 2, 3, 9, 1, 2, 9, 1, 2, + 3, 0, 4, 3, 0, 1, 5, 1, + 7, 1, 2, 6, 10, 6, 1, 2, + 5, 9, 1, 2, 9, 1, 2, 3, + 4, 0, 0, 0, 0, 0, 1, 2, + 5, 5, 1, 2, 4, 0, 9, 1, + 2, 2, 2, 2, 1, 3, 0, 1, + 0, 1, 0, 1, 1, 1, 1, 1, + 1, 1, 3, 3, 2, 2, 2, 2, + 2, 0, 3, 3, 3, 0, 1, 1, + 1, 1, 7, 8, 4, 1, 2, 4, + 0, 0, 0, 0, 0, 1, 2, 4, + 0, 0 +}; + +static const char _tsip_machine_parser_header_P_Associated_URI_range_lengths[] = { + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 5, 0, 0, 5, 0, 0, + 0, 2, 4, 0, 0, 0, 0, 0, + 5, 0, 0, 5, 4, 0, 0, 0, + 0, 5, 0, 0, 5, 0, 0, 0, + 6, 1, 1, 1, 1, 1, 0, 0, + 0, 0, 0, 0, 0, 3, 4, 3, + 3, 3, 3, 0, 3, 3, 1, 1, + 1, 1, 1, 1, 1, 0, 1, 0, + 1, 0, 3, 3, 3, 3, 3, 3, + 0, 3, 3, 3, 3, 1, 1, 1, + 0, 0, 5, 5, 0, 0, 0, 6, + 1, 1, 1, 1, 1, 0, 0, 0, + 3, 0 +}; + +static const short _tsip_machine_parser_header_P_Associated_URI_index_offsets[] = { + 0, 0, 3, 5, 8, 11, 14, 17, + 20, 23, 26, 29, 32, 35, 37, 40, + 43, 46, 50, 65, 67, 70, 85, 87, + 90, 94, 97, 106, 110, 111, 113, 119, + 121, 134, 136, 139, 151, 166, 173, 175, + 178, 184, 199, 201, 204, 219, 221, 224, + 228, 239, 241, 243, 245, 247, 249, 251, + 254, 260, 266, 268, 271, 276, 280, 294, + 299, 305, 311, 317, 320, 325, 332, 334, + 337, 339, 342, 344, 347, 350, 352, 355, + 357, 360, 362, 369, 376, 382, 388, 394, + 400, 403, 407, 414, 421, 428, 430, 433, + 436, 438, 440, 453, 467, 472, 474, 477, + 488, 490, 492, 494, 496, 498, 500, 503, + 508, 512 +}; + +static const unsigned char _tsip_machine_parser_header_P_Associated_URI_indicies[] = { + 0, 0, 1, 2, 1, 3, 3, 1, + 4, 4, 1, 5, 5, 1, 6, 6, + 1, 7, 7, 1, 8, 8, 1, 9, + 9, 1, 10, 10, 1, 11, 11, 1, + 12, 12, 1, 13, 1, 14, 14, 1, + 15, 15, 1, 16, 16, 1, 16, 16, + 17, 1, 18, 19, 18, 20, 21, 20, + 20, 22, 20, 20, 20, 20, 20, 20, + 1, 23, 1, 24, 24, 1, 25, 26, + 25, 20, 21, 20, 20, 22, 20, 20, + 20, 20, 20, 20, 1, 27, 1, 28, + 28, 1, 28, 28, 29, 1, 30, 30, + 1, 31, 31, 32, 33, 32, 32, 32, + 32, 1, 31, 31, 33, 1, 34, 35, + 34, 36, 37, 36, 38, 39, 1, 40, + 1, 39, 41, 39, 42, 42, 42, 42, + 42, 42, 42, 42, 42, 1, 43, 1, + 44, 44, 1, 44, 44, 42, 42, 42, + 42, 42, 42, 42, 42, 42, 1, 45, + 46, 45, 47, 47, 47, 48, 49, 50, + 47, 47, 47, 47, 47, 1, 51, 52, + 51, 17, 39, 50, 1, 53, 1, 54, + 54, 1, 54, 54, 17, 39, 50, 1, + 50, 55, 50, 56, 57, 56, 56, 58, + 56, 56, 56, 56, 56, 56, 1, 59, + 1, 60, 60, 1, 60, 61, 60, 56, + 57, 56, 56, 58, 56, 56, 56, 56, + 56, 56, 1, 62, 1, 63, 63, 1, + 63, 63, 57, 1, 57, 69, 70, 71, + 64, 65, 66, 67, 68, 57, 1, 57, + 1, 64, 1, 65, 1, 66, 1, 67, + 1, 72, 1, 57, 57, 1, 73, 46, + 73, 48, 49, 1, 74, 75, 74, 17, + 39, 1, 76, 1, 77, 77, 1, 77, + 77, 17, 39, 1, 57, 57, 57, 1, + 73, 46, 73, 56, 56, 56, 48, 49, + 56, 56, 56, 56, 56, 1, 79, 78, + 78, 78, 1, 81, 70, 80, 80, 80, + 1, 81, 70, 82, 82, 82, 1, 81, + 70, 83, 83, 83, 1, 81, 70, 1, + 85, 84, 78, 78, 1, 86, 81, 70, + 87, 80, 80, 1, 88, 1, 89, 90, + 1, 91, 1, 92, 93, 1, 94, 1, + 70, 95, 1, 70, 96, 1, 70, 1, + 92, 97, 1, 92, 1, 89, 98, 1, + 89, 1, 86, 81, 70, 99, 82, 82, + 1, 86, 81, 70, 83, 83, 83, 1, + 101, 70, 100, 100, 100, 1, 103, 70, + 102, 102, 102, 1, 103, 70, 104, 104, + 104, 1, 103, 70, 105, 105, 105, 1, + 103, 70, 1, 106, 100, 100, 1, 86, + 103, 70, 107, 102, 102, 1, 86, 103, + 70, 108, 104, 104, 1, 86, 103, 70, + 105, 105, 105, 1, 109, 1, 86, 110, + 1, 86, 111, 1, 86, 1, 85, 1, + 112, 113, 112, 114, 114, 114, 114, 114, + 114, 114, 114, 114, 1, 115, 116, 115, + 114, 114, 114, 117, 114, 114, 114, 114, + 114, 114, 1, 118, 119, 118, 29, 1, + 120, 1, 112, 112, 1, 126, 127, 128, + 129, 121, 122, 123, 124, 125, 126, 1, + 126, 1, 121, 1, 122, 1, 123, 1, + 124, 1, 130, 1, 126, 126, 1, 115, + 116, 115, 117, 1, 126, 126, 126, 1, + 1, 0 +}; + +static const char _tsip_machine_parser_header_P_Associated_URI_trans_targs[] = { + 2, 0, 3, 4, 5, 6, 7, 8, + 9, 10, 11, 12, 13, 14, 15, 16, + 17, 18, 18, 19, 98, 103, 25, 20, + 21, 21, 22, 23, 24, 25, 26, 27, + 26, 28, 29, 30, 30, 31, 18, 32, + 113, 33, 36, 34, 35, 37, 31, 36, + 18, 32, 41, 37, 38, 39, 40, 42, + 62, 48, 63, 43, 44, 45, 46, 47, + 49, 50, 51, 52, 53, 54, 56, 61, + 55, 57, 57, 58, 59, 60, 64, 97, + 65, 68, 66, 67, 69, 84, 70, 82, + 71, 72, 80, 73, 74, 78, 75, 76, + 77, 79, 81, 83, 85, 93, 86, 89, + 87, 88, 90, 91, 92, 94, 95, 96, + 99, 101, 98, 100, 22, 25, 100, 22, + 102, 104, 105, 106, 107, 108, 103, 109, + 111, 112, 110 +}; + +static const char _tsip_machine_parser_header_P_Associated_URI_trans_actions[] = { + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 3, 3, 15, 15, 3, 0, + 0, 3, 3, 0, 0, 0, 1, 0, + 0, 0, 0, 7, 11, 11, 11, 0, + 13, 0, 1, 0, 0, 18, 18, 0, + 18, 9, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 18, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 5, 5, 5, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0 +}; + +static const int tsip_machine_parser_header_P_Associated_URI_start = 1; +static const int tsip_machine_parser_header_P_Associated_URI_first_final = 113; +static const int tsip_machine_parser_header_P_Associated_URI_error = 0; + +static const int tsip_machine_parser_header_P_Associated_URI_en_main = 1; + + +/* #line 149 "tsip_parser_header_P_Associated_URI.rl" */ + +/* #line 353 "../src/headers/tsip_header_P_Associated_URI.c" */ + { + cs = tsip_machine_parser_header_P_Associated_URI_start; + } + +/* #line 150 "tsip_parser_header_P_Associated_URI.rl" */ + +/* #line 360 "../src/headers/tsip_header_P_Associated_URI.c" */ + { + int _klen; + unsigned int _trans; + const char *_acts; + unsigned int _nacts; + const char *_keys; + + if ( p == pe ) + goto _test_eof; + if ( cs == 0 ) + goto _out; +_resume: + _keys = _tsip_machine_parser_header_P_Associated_URI_trans_keys + _tsip_machine_parser_header_P_Associated_URI_key_offsets[cs]; + _trans = _tsip_machine_parser_header_P_Associated_URI_index_offsets[cs]; + + _klen = _tsip_machine_parser_header_P_Associated_URI_single_lengths[cs]; + if ( _klen > 0 ) { + const char *_lower = _keys; + const char *_mid; + const char *_upper = _keys + _klen - 1; + while (1) { + if ( _upper < _lower ) + break; + + _mid = _lower + ((_upper-_lower) >> 1); + if ( (*p) < *_mid ) + _upper = _mid - 1; + else if ( (*p) > *_mid ) + _lower = _mid + 1; + else { + _trans += (_mid - _keys); + goto _match; + } + } + _keys += _klen; + _trans += _klen; + } + + _klen = _tsip_machine_parser_header_P_Associated_URI_range_lengths[cs]; + if ( _klen > 0 ) { + const char *_lower = _keys; + const char *_mid; + const char *_upper = _keys + (_klen<<1) - 2; + while (1) { + if ( _upper < _lower ) + break; + + _mid = _lower + (((_upper-_lower) >> 1) & ~1); + if ( (*p) < _mid[0] ) + _upper = _mid - 2; + else if ( (*p) > _mid[1] ) + _lower = _mid + 2; + else { + _trans += ((_mid - _keys)>>1); + goto _match; + } + } + _trans += _klen; + } + +_match: + _trans = _tsip_machine_parser_header_P_Associated_URI_indicies[_trans]; + cs = _tsip_machine_parser_header_P_Associated_URI_trans_targs[_trans]; + + if ( _tsip_machine_parser_header_P_Associated_URI_trans_actions[_trans] == 0 ) + goto _again; + + _acts = _tsip_machine_parser_header_P_Associated_URI_actions + _tsip_machine_parser_header_P_Associated_URI_trans_actions[_trans]; + _nacts = (unsigned int) *_acts++; + while ( _nacts-- > 0 ) + { + switch ( *_acts++ ) + { + case 0: +/* #line 53 "tsip_parser_header_P_Associated_URI.rl" */ + { + tag_start = p; + } + break; + case 1: +/* #line 58 "tsip_parser_header_P_Associated_URI.rl" */ + { + if(!curr_p_associated_uri) + { + curr_p_associated_uri = TSIP_HEADER_P_ASSOCIATED_URI_CREATE_NULL(); + } + } + break; + case 2: +/* #line 66 "tsip_parser_header_P_Associated_URI.rl" */ + { + if(curr_p_associated_uri) + { + TSK_PARSER_SET_STRING(curr_p_associated_uri->display_name); + } + } + break; + case 3: +/* #line 74 "tsip_parser_header_P_Associated_URI.rl" */ + { + if(curr_p_associated_uri && !curr_p_associated_uri->uri) + { + int len = (int)(p - tag_start); + curr_p_associated_uri->uri = tsip_uri_parse(tag_start, (size_t)len); + } + } + break; + case 4: +/* #line 83 "tsip_parser_header_P_Associated_URI.rl" */ + { + if(curr_p_associated_uri) + { + TSK_PARSER_ADD_PARAM(TSIP_HEADER_PARAMS(curr_p_associated_uri)); + } + } + break; + case 5: +/* #line 91 "tsip_parser_header_P_Associated_URI.rl" */ + { + if(curr_p_associated_uri) + { + tsk_list_push_back_data(hdr_p_associated_uris, ((void**) &curr_p_associated_uri)); + } + } + break; + case 6: +/* #line 99 "tsip_parser_header_P_Associated_URI.rl" */ + { + } + break; +/* #line 491 "../src/headers/tsip_header_P_Associated_URI.c" */ + } + } + +_again: + if ( cs == 0 ) + goto _out; + if ( ++p != pe ) + goto _resume; + _test_eof: {} + _out: {} + } + +/* #line 151 "tsip_parser_header_P_Associated_URI.rl" */ + + if( cs < +/* #line 507 "../src/headers/tsip_header_P_Associated_URI.c" */ +113 +/* #line 152 "tsip_parser_header_P_Associated_URI.rl" */ + ) + { + TSK_OBJECT_SAFE_FREE(curr_p_associated_uri); + TSK_OBJECT_SAFE_FREE(hdr_p_associated_uris); + } + + return hdr_p_associated_uris; +} + + + + + +//======================================================== +// P_Associated_URI header object definition +// + +/**@ingroup tsip_header_P_Associated_URI_group +*/ +static void* tsip_header_P_Associated_URI_create(void *self, va_list * app) +{ + tsip_header_P_Associated_URI_t *P_Associated_URI = self; + if(P_Associated_URI) + { + const tsip_uri_t* uri = va_arg(*app, const tsip_uri_t*); + + TSIP_HEADER(P_Associated_URI)->type = tsip_htype_P_Associated_URI; + TSIP_HEADER(P_Associated_URI)->tostring = tsip_header_P_Associated_URI_tostring; + if(uri){ + P_Associated_URI->uri = tsk_object_ref((void*)uri); + } + } + else + { + TSK_DEBUG_ERROR("Failed to create new P_Associated_URI header."); + } + return self; +} + +/**@ingroup tsip_header_P_Associated_URI_group +*/ +static void* tsip_header_P_Associated_URI_destroy(void *self) +{ + tsip_header_P_Associated_URI_t *P_Associated_URI = self; + if(P_Associated_URI) + { + TSK_FREE(P_Associated_URI->display_name); + TSK_OBJECT_SAFE_FREE(P_Associated_URI->uri); + + TSK_OBJECT_SAFE_FREE(TSIP_HEADER_PARAMS(P_Associated_URI)); + } + else TSK_DEBUG_ERROR("Null P_Associated_URI header."); + + return self; +} + +static const tsk_object_def_t tsip_header_P_Associated_URI_def_s = +{ + sizeof(tsip_header_P_Associated_URI_t), + tsip_header_P_Associated_URI_create, + 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 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 8b137891..83c3fe73 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 @@ -1 +1,775 @@ - + +/* #line 1 "tsip_parser_header_P_Charging_Function_Addresses.rl" */ +/* +* 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 Lesser General Public License for more details. +* +* You should have received a copy of the GNU General Public License +* along with DOUBANGO. +* +*/ + +/**@file tsip_header_P_Charging_Function_Addresses.c + * @brief SIP P-Charging-Function-Addresses header as per RFC 3455. + * + * @author Mamadou Diop + * + * @date Created: Sat Nov 8 16:54:58 2009 mdiop + */ +#include "tinysip/headers/tsip_header_P_Charging_Function_Addresses.h" + +#include "tinysip/parsers/tsip_parser_uri.h" + +#include "tsk_debug.h" +#include "tsk_memory.h" +#include "tsk_time.h" + +#include + +/**@defgroup tsip_header_P_Charging_Function_Addresses_group SIP P_Charging_Function_Addresses header. +*/ + +/*********************************** +* Ragel state machine. +*/ + +/* #line 110 "tsip_parser_header_P_Charging_Function_Addresses.rl" */ + + +int tsip_header_P_Charging_Function_Addresses_tostring(const void* header, tsk_buffer_t* output) +{ + if(header) + { + const tsip_header_P_Charging_Function_Addresses_t *P_Charging_Function_Addresses = header; + return tsk_buffer_appendEx(output, "%s%s%s%s%s", + P_Charging_Function_Addresses->ecf ? "ecf=" : "", + P_Charging_Function_Addresses->ecf ? P_Charging_Function_Addresses->ecf : "", + + (P_Charging_Function_Addresses->ecf && P_Charging_Function_Addresses->ccf) ? ";" : "", + + P_Charging_Function_Addresses->ccf ? "ccf=" : "", + P_Charging_Function_Addresses->ccf ? P_Charging_Function_Addresses->ccf : "" + ); + } + + return -1; +} + +tsip_header_P_Charging_Function_Addressess_L_t *tsip_header_P_Charging_Function_Addresses_parse(const char *data, size_t size) +{ + int cs = 0; + const char *p = data; + const char *pe = p + size; + const char *eof = pe; + tsip_header_P_Charging_Function_Addressess_L_t *hdr_p_charging_function_addressess = TSK_LIST_CREATE(); + + const char *tag_start; + tsip_header_P_Charging_Function_Addresses_t *curr_p_charging_function_addresses = 0; + + +/* #line 84 "../src/headers/tsip_header_P_Charging_Function_Addresses.c" */ +static const char _tsip_machine_parser_header_P_Charging_Function_Addresses_actions[] = { + 0, 1, 6, 2, 1, 0, 2, 4, + 5, 3, 2, 4, 5, 3, 3, 4, + 5 +}; + +static const short _tsip_machine_parser_header_P_Charging_Function_Addresses_key_offsets[] = { + 0, 0, 2, 3, 5, 7, 9, 11, + 13, 15, 17, 19, 20, 22, 24, 26, + 28, 30, 32, 34, 36, 37, 39, 41, + 43, 45, 47, 49, 51, 53, 55, 58, + 79, 80, 82, 102, 121, 126, 127, 129, + 133, 152, 153, 155, 174, 175, 177, 180, + 196, 198, 200, 202, 204, 206, 207, 209, + 213, 217, 218, 220, 223, 224, 230, 248, + 255, 263, 271, 279, 281, 288, 297, 299, + 302, 304, 307, 309, 312, 315, 316, 319, + 320, 323, 324, 333, 342, 350, 358, 366, + 374, 376, 382, 391, 400, 409, 411, 414, + 417, 418, 419, 440, 461, 480, 485, 486, + 488, 492, 511, 512, 514, 533, 534, 536, + 539, 555, 557, 559, 561, 563, 565, 566, + 568, 572, 578, 596, 603, 611, 619, 627, + 629, 636, 645, 647, 650, 652, 655, 657, + 660, 663, 664, 667, 668, 671, 672, 681, + 690, 698, 706, 714, 722, 724, 730, 739, + 748, 757, 759, 762, 765, 766, 767, 788, + 809, 828, 833, 834, 836, 840, 859, 860, + 862, 881, 882, 884, 887, 903, 905, 907, + 909, 911, 913, 914, 916, 920, 926, 944, + 951, 959, 967, 975, 977, 984, 993, 995, + 998, 1000, 1003, 1005, 1008, 1011, 1012, 1015, + 1016, 1019, 1020, 1029, 1038, 1046, 1054, 1062, + 1070, 1072, 1078, 1087, 1096, 1105, 1107, 1110, + 1113, 1114, 1115 +}; + +static const char _tsip_machine_parser_header_P_Charging_Function_Addresses_trans_keys[] = { + 80, 112, 45, 67, 99, 72, 104, 65, + 97, 82, 114, 71, 103, 73, 105, 78, + 110, 71, 103, 45, 70, 102, 85, 117, + 78, 110, 67, 99, 84, 116, 73, 105, + 79, 111, 78, 110, 45, 65, 97, 68, + 100, 68, 100, 82, 114, 69, 101, 83, + 115, 83, 115, 69, 101, 83, 115, 9, + 32, 58, 9, 13, 32, 33, 37, 39, + 67, 69, 99, 101, 126, 42, 43, 45, + 46, 48, 57, 65, 90, 95, 122, 10, + 9, 32, 9, 32, 33, 37, 39, 67, + 69, 99, 101, 126, 42, 43, 45, 46, + 48, 57, 65, 90, 95, 122, 9, 13, + 32, 33, 37, 39, 59, 61, 126, 42, + 43, 45, 46, 48, 57, 65, 90, 95, + 122, 9, 13, 32, 59, 61, 10, 9, + 32, 9, 32, 59, 61, 9, 13, 32, + 33, 34, 37, 39, 91, 126, 42, 43, + 45, 46, 48, 57, 65, 90, 95, 122, + 10, 9, 32, 9, 13, 32, 33, 34, + 37, 39, 91, 126, 42, 43, 45, 46, + 48, 57, 65, 90, 95, 122, 10, 9, + 32, 9, 32, 34, 9, 13, 34, 92, + -64, -33, -32, -17, -16, -9, -8, -5, + -4, -3, 32, 126, -128, -65, -128, -65, + -128, -65, -128, -65, -128, -65, 10, 9, + 32, 9, 13, 32, 59, 9, 13, 32, + 59, 10, 9, 32, 9, 32, 59, 10, + 0, 9, 11, 12, 14, 127, 9, 13, + 32, 33, 37, 39, 59, 126, 42, 43, + 45, 46, 48, 57, 65, 90, 95, 122, + 58, 48, 57, 65, 70, 97, 102, 58, + 93, 48, 57, 65, 70, 97, 102, 58, + 93, 48, 57, 65, 70, 97, 102, 58, + 93, 48, 57, 65, 70, 97, 102, 58, + 93, 58, 48, 57, 65, 70, 97, 102, + 46, 58, 93, 48, 57, 65, 70, 97, + 102, 48, 57, 46, 48, 57, 48, 57, + 46, 48, 57, 48, 57, 93, 48, 57, + 93, 48, 57, 93, 46, 48, 57, 46, + 46, 48, 57, 46, 46, 58, 93, 48, + 57, 65, 70, 97, 102, 46, 58, 93, + 48, 57, 65, 70, 97, 102, 58, 93, + 48, 57, 65, 70, 97, 102, 58, 93, + 48, 57, 65, 70, 97, 102, 58, 93, + 48, 57, 65, 70, 97, 102, 58, 93, + 48, 57, 65, 70, 97, 102, 58, 93, + 48, 57, 65, 70, 97, 102, 46, 58, + 93, 48, 57, 65, 70, 97, 102, 46, + 58, 93, 48, 57, 65, 70, 97, 102, + 46, 58, 93, 48, 57, 65, 70, 97, + 102, 48, 57, 46, 48, 57, 46, 48, + 57, 46, 58, 9, 13, 32, 33, 37, + 39, 59, 61, 67, 99, 126, 42, 43, + 45, 46, 48, 57, 65, 90, 95, 122, + 9, 13, 32, 33, 37, 39, 59, 61, + 70, 102, 126, 42, 43, 45, 46, 48, + 57, 65, 90, 95, 122, 9, 13, 32, + 33, 37, 39, 59, 61, 126, 42, 43, + 45, 46, 48, 57, 65, 90, 95, 122, + 9, 13, 32, 59, 61, 10, 9, 32, + 9, 32, 59, 61, 9, 13, 32, 33, + 34, 37, 39, 91, 126, 42, 43, 45, + 46, 48, 57, 65, 90, 95, 122, 10, + 9, 32, 9, 13, 32, 33, 34, 37, + 39, 91, 126, 42, 43, 45, 46, 48, + 57, 65, 90, 95, 122, 10, 9, 32, + 9, 32, 34, 9, 13, 34, 92, -64, + -33, -32, -17, -16, -9, -8, -5, -4, + -3, 32, 126, -128, -65, -128, -65, -128, + -65, -128, -65, -128, -65, 10, 9, 32, + 9, 13, 32, 59, 0, 9, 11, 12, + 14, 127, 9, 13, 32, 33, 37, 39, + 59, 126, 42, 43, 45, 46, 48, 57, + 65, 90, 95, 122, 58, 48, 57, 65, + 70, 97, 102, 58, 93, 48, 57, 65, + 70, 97, 102, 58, 93, 48, 57, 65, + 70, 97, 102, 58, 93, 48, 57, 65, + 70, 97, 102, 58, 93, 58, 48, 57, + 65, 70, 97, 102, 46, 58, 93, 48, + 57, 65, 70, 97, 102, 48, 57, 46, + 48, 57, 48, 57, 46, 48, 57, 48, + 57, 93, 48, 57, 93, 48, 57, 93, + 46, 48, 57, 46, 46, 48, 57, 46, + 46, 58, 93, 48, 57, 65, 70, 97, + 102, 46, 58, 93, 48, 57, 65, 70, + 97, 102, 58, 93, 48, 57, 65, 70, + 97, 102, 58, 93, 48, 57, 65, 70, + 97, 102, 58, 93, 48, 57, 65, 70, + 97, 102, 58, 93, 48, 57, 65, 70, + 97, 102, 58, 93, 48, 57, 65, 70, + 97, 102, 46, 58, 93, 48, 57, 65, + 70, 97, 102, 46, 58, 93, 48, 57, + 65, 70, 97, 102, 46, 58, 93, 48, + 57, 65, 70, 97, 102, 48, 57, 46, + 48, 57, 46, 48, 57, 46, 58, 9, + 13, 32, 33, 37, 39, 59, 61, 67, + 99, 126, 42, 43, 45, 46, 48, 57, + 65, 90, 95, 122, 9, 13, 32, 33, + 37, 39, 59, 61, 70, 102, 126, 42, + 43, 45, 46, 48, 57, 65, 90, 95, + 122, 9, 13, 32, 33, 37, 39, 59, + 61, 126, 42, 43, 45, 46, 48, 57, + 65, 90, 95, 122, 9, 13, 32, 59, + 61, 10, 9, 32, 9, 32, 59, 61, + 9, 13, 32, 33, 34, 37, 39, 91, + 126, 42, 43, 45, 46, 48, 57, 65, + 90, 95, 122, 10, 9, 32, 9, 13, + 32, 33, 34, 37, 39, 91, 126, 42, + 43, 45, 46, 48, 57, 65, 90, 95, + 122, 10, 9, 32, 9, 32, 34, 9, + 13, 34, 92, -64, -33, -32, -17, -16, + -9, -8, -5, -4, -3, 32, 126, -128, + -65, -128, -65, -128, -65, -128, -65, -128, + -65, 10, 9, 32, 9, 13, 32, 59, + 0, 9, 11, 12, 14, 127, 9, 13, + 32, 33, 37, 39, 59, 126, 42, 43, + 45, 46, 48, 57, 65, 90, 95, 122, + 58, 48, 57, 65, 70, 97, 102, 58, + 93, 48, 57, 65, 70, 97, 102, 58, + 93, 48, 57, 65, 70, 97, 102, 58, + 93, 48, 57, 65, 70, 97, 102, 58, + 93, 58, 48, 57, 65, 70, 97, 102, + 46, 58, 93, 48, 57, 65, 70, 97, + 102, 48, 57, 46, 48, 57, 48, 57, + 46, 48, 57, 48, 57, 93, 48, 57, + 93, 48, 57, 93, 46, 48, 57, 46, + 46, 48, 57, 46, 46, 58, 93, 48, + 57, 65, 70, 97, 102, 46, 58, 93, + 48, 57, 65, 70, 97, 102, 58, 93, + 48, 57, 65, 70, 97, 102, 58, 93, + 48, 57, 65, 70, 97, 102, 58, 93, + 48, 57, 65, 70, 97, 102, 58, 93, + 48, 57, 65, 70, 97, 102, 58, 93, + 48, 57, 65, 70, 97, 102, 46, 58, + 93, 48, 57, 65, 70, 97, 102, 46, + 58, 93, 48, 57, 65, 70, 97, 102, + 46, 58, 93, 48, 57, 65, 70, 97, + 102, 48, 57, 46, 48, 57, 46, 48, + 57, 46, 58, 0 +}; + +static const char _tsip_machine_parser_header_P_Charging_Function_Addresses_single_lengths[] = { + 0, 2, 1, 2, 2, 2, 2, 2, + 2, 2, 2, 1, 2, 2, 2, 2, + 2, 2, 2, 2, 1, 2, 2, 2, + 2, 2, 2, 2, 2, 2, 3, 11, + 1, 2, 10, 9, 5, 1, 2, 4, + 9, 1, 2, 9, 1, 2, 3, 4, + 0, 0, 0, 0, 0, 1, 2, 4, + 4, 1, 2, 3, 1, 0, 8, 1, + 2, 2, 2, 2, 1, 3, 0, 1, + 0, 1, 0, 1, 1, 1, 1, 1, + 1, 1, 3, 3, 2, 2, 2, 2, + 2, 0, 3, 3, 3, 0, 1, 1, + 1, 1, 11, 11, 9, 5, 1, 2, + 4, 9, 1, 2, 9, 1, 2, 3, + 4, 0, 0, 0, 0, 0, 1, 2, + 4, 0, 8, 1, 2, 2, 2, 2, + 1, 3, 0, 1, 0, 1, 0, 1, + 1, 1, 1, 1, 1, 1, 3, 3, + 2, 2, 2, 2, 2, 0, 3, 3, + 3, 0, 1, 1, 1, 1, 11, 11, + 9, 5, 1, 2, 4, 9, 1, 2, + 9, 1, 2, 3, 4, 0, 0, 0, + 0, 0, 1, 2, 4, 0, 8, 1, + 2, 2, 2, 2, 1, 3, 0, 1, + 0, 1, 0, 1, 1, 1, 1, 1, + 1, 1, 3, 3, 2, 2, 2, 2, + 2, 0, 3, 3, 3, 0, 1, 1, + 1, 1, 0 +}; + +static const char _tsip_machine_parser_header_P_Charging_Function_Addresses_range_lengths[] = { + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 5, + 0, 0, 5, 5, 0, 0, 0, 0, + 5, 0, 0, 5, 0, 0, 0, 6, + 1, 1, 1, 1, 1, 0, 0, 0, + 0, 0, 0, 0, 0, 3, 5, 3, + 3, 3, 3, 0, 3, 3, 1, 1, + 1, 1, 1, 1, 1, 0, 1, 0, + 1, 0, 3, 3, 3, 3, 3, 3, + 0, 3, 3, 3, 3, 1, 1, 1, + 0, 0, 5, 5, 5, 0, 0, 0, + 0, 5, 0, 0, 5, 0, 0, 0, + 6, 1, 1, 1, 1, 1, 0, 0, + 0, 3, 5, 3, 3, 3, 3, 0, + 3, 3, 1, 1, 1, 1, 1, 1, + 1, 0, 1, 0, 1, 0, 3, 3, + 3, 3, 3, 3, 0, 3, 3, 3, + 3, 1, 1, 1, 0, 0, 5, 5, + 5, 0, 0, 0, 0, 5, 0, 0, + 5, 0, 0, 0, 6, 1, 1, 1, + 1, 1, 0, 0, 0, 3, 5, 3, + 3, 3, 3, 0, 3, 3, 1, 1, + 1, 1, 1, 1, 1, 0, 1, 0, + 1, 0, 3, 3, 3, 3, 3, 3, + 0, 3, 3, 3, 3, 1, 1, 1, + 0, 0, 0 +}; + +static const short _tsip_machine_parser_header_P_Charging_Function_Addresses_index_offsets[] = { + 0, 0, 3, 5, 8, 11, 14, 17, + 20, 23, 26, 29, 31, 34, 37, 40, + 43, 46, 49, 52, 55, 57, 60, 63, + 66, 69, 72, 75, 78, 81, 84, 88, + 105, 107, 110, 126, 141, 147, 149, 152, + 157, 172, 174, 177, 192, 194, 197, 201, + 212, 214, 216, 218, 220, 222, 224, 227, + 232, 237, 239, 242, 246, 248, 252, 266, + 271, 277, 283, 289, 292, 297, 304, 306, + 309, 311, 314, 316, 319, 322, 324, 327, + 329, 332, 334, 341, 348, 354, 360, 366, + 372, 375, 379, 386, 393, 400, 402, 405, + 408, 410, 412, 429, 446, 461, 467, 469, + 472, 477, 492, 494, 497, 512, 514, 517, + 521, 532, 534, 536, 538, 540, 542, 544, + 547, 552, 556, 570, 575, 581, 587, 593, + 596, 601, 608, 610, 613, 615, 618, 620, + 623, 626, 628, 631, 633, 636, 638, 645, + 652, 658, 664, 670, 676, 679, 683, 690, + 697, 704, 706, 709, 712, 714, 716, 733, + 750, 765, 771, 773, 776, 781, 796, 798, + 801, 816, 818, 821, 825, 836, 838, 840, + 842, 844, 846, 848, 851, 856, 860, 874, + 879, 885, 891, 897, 900, 905, 912, 914, + 917, 919, 922, 924, 927, 930, 932, 935, + 937, 940, 942, 949, 956, 962, 968, 974, + 980, 983, 987, 994, 1001, 1008, 1010, 1013, + 1016, 1018, 1020 +}; + +static const unsigned char _tsip_machine_parser_header_P_Charging_Function_Addresses_indicies[] = { + 0, 0, 1, 2, 1, 3, 3, 1, + 4, 4, 1, 5, 5, 1, 6, 6, + 1, 7, 7, 1, 8, 8, 1, 9, + 9, 1, 10, 10, 1, 11, 1, 12, + 12, 1, 13, 13, 1, 14, 14, 1, + 15, 15, 1, 16, 16, 1, 17, 17, + 1, 18, 18, 1, 19, 19, 1, 20, + 1, 21, 21, 1, 22, 22, 1, 23, + 23, 1, 24, 24, 1, 25, 25, 1, + 26, 26, 1, 27, 27, 1, 28, 28, + 1, 29, 29, 1, 29, 29, 30, 1, + 30, 31, 30, 32, 32, 32, 33, 34, + 33, 34, 32, 32, 32, 32, 32, 32, + 1, 35, 1, 36, 36, 1, 36, 36, + 32, 32, 32, 33, 34, 33, 34, 32, + 32, 32, 32, 32, 32, 1, 37, 38, + 37, 39, 39, 39, 40, 41, 39, 39, + 39, 39, 39, 39, 1, 42, 43, 42, + 30, 41, 1, 44, 1, 45, 45, 1, + 45, 45, 30, 41, 1, 41, 46, 41, + 47, 48, 47, 47, 49, 47, 47, 47, + 47, 47, 47, 1, 50, 1, 51, 51, + 1, 51, 52, 51, 47, 48, 47, 47, + 49, 47, 47, 47, 47, 47, 47, 1, + 53, 1, 54, 54, 1, 54, 54, 48, + 1, 48, 60, 61, 62, 55, 56, 57, + 58, 59, 48, 1, 48, 1, 55, 1, + 56, 1, 57, 1, 58, 1, 63, 1, + 48, 48, 1, 64, 38, 64, 40, 1, + 65, 66, 65, 30, 1, 67, 1, 68, + 68, 1, 68, 68, 30, 1, 69, 1, + 48, 48, 48, 1, 64, 38, 64, 47, + 47, 47, 40, 47, 47, 47, 47, 47, + 47, 1, 71, 70, 70, 70, 1, 73, + 61, 72, 72, 72, 1, 73, 61, 74, + 74, 74, 1, 73, 61, 75, 75, 75, + 1, 73, 61, 1, 77, 76, 70, 70, + 1, 78, 73, 61, 79, 72, 72, 1, + 80, 1, 81, 82, 1, 83, 1, 84, + 85, 1, 86, 1, 61, 87, 1, 61, + 88, 1, 61, 1, 84, 89, 1, 84, + 1, 81, 90, 1, 81, 1, 78, 73, + 61, 91, 74, 74, 1, 78, 73, 61, + 75, 75, 75, 1, 93, 61, 92, 92, + 92, 1, 95, 61, 94, 94, 94, 1, + 95, 61, 96, 96, 96, 1, 95, 61, + 97, 97, 97, 1, 95, 61, 1, 98, + 92, 92, 1, 78, 95, 61, 99, 94, + 94, 1, 78, 95, 61, 100, 96, 96, + 1, 78, 95, 61, 97, 97, 97, 1, + 101, 1, 78, 102, 1, 78, 103, 1, + 78, 1, 77, 1, 37, 38, 37, 39, + 39, 39, 40, 41, 104, 104, 39, 39, + 39, 39, 39, 39, 1, 37, 38, 37, + 39, 39, 39, 40, 41, 105, 105, 39, + 39, 39, 39, 39, 39, 1, 106, 38, + 106, 39, 39, 39, 40, 107, 39, 39, + 39, 39, 39, 39, 1, 108, 109, 108, + 30, 107, 1, 110, 1, 111, 111, 1, + 111, 111, 30, 107, 1, 107, 112, 107, + 113, 114, 113, 113, 115, 113, 113, 113, + 113, 113, 113, 1, 116, 1, 117, 117, + 1, 117, 118, 117, 113, 114, 113, 113, + 115, 113, 113, 113, 113, 113, 113, 1, + 119, 1, 120, 120, 1, 120, 120, 114, + 1, 114, 126, 127, 128, 121, 122, 123, + 124, 125, 114, 1, 114, 1, 121, 1, + 122, 1, 123, 1, 124, 1, 129, 1, + 114, 114, 1, 130, 131, 130, 132, 1, + 114, 114, 114, 1, 130, 131, 130, 113, + 113, 113, 132, 113, 113, 113, 113, 113, + 113, 1, 134, 133, 133, 133, 1, 136, + 127, 135, 135, 135, 1, 136, 127, 137, + 137, 137, 1, 136, 127, 138, 138, 138, + 1, 136, 127, 1, 140, 139, 133, 133, + 1, 141, 136, 127, 142, 135, 135, 1, + 143, 1, 144, 145, 1, 146, 1, 147, + 148, 1, 149, 1, 127, 150, 1, 127, + 151, 1, 127, 1, 147, 152, 1, 147, + 1, 144, 153, 1, 144, 1, 141, 136, + 127, 154, 137, 137, 1, 141, 136, 127, + 138, 138, 138, 1, 156, 127, 155, 155, + 155, 1, 158, 127, 157, 157, 157, 1, + 158, 127, 159, 159, 159, 1, 158, 127, + 160, 160, 160, 1, 158, 127, 1, 161, + 155, 155, 1, 141, 158, 127, 162, 157, + 157, 1, 141, 158, 127, 163, 159, 159, + 1, 141, 158, 127, 160, 160, 160, 1, + 164, 1, 141, 165, 1, 141, 166, 1, + 141, 1, 140, 1, 37, 38, 37, 39, + 39, 39, 40, 41, 167, 167, 39, 39, + 39, 39, 39, 39, 1, 37, 38, 37, + 39, 39, 39, 40, 41, 168, 168, 39, + 39, 39, 39, 39, 39, 1, 169, 38, + 169, 39, 39, 39, 40, 170, 39, 39, + 39, 39, 39, 39, 1, 171, 172, 171, + 30, 170, 1, 173, 1, 174, 174, 1, + 174, 174, 30, 170, 1, 170, 175, 170, + 176, 177, 176, 176, 178, 176, 176, 176, + 176, 176, 176, 1, 179, 1, 180, 180, + 1, 180, 181, 180, 176, 177, 176, 176, + 178, 176, 176, 176, 176, 176, 176, 1, + 182, 1, 183, 183, 1, 183, 183, 177, + 1, 177, 189, 190, 191, 184, 185, 186, + 187, 188, 177, 1, 177, 1, 184, 1, + 185, 1, 186, 1, 187, 1, 192, 1, + 177, 177, 1, 193, 194, 193, 195, 1, + 177, 177, 177, 1, 193, 194, 193, 176, + 176, 176, 195, 176, 176, 176, 176, 176, + 176, 1, 197, 196, 196, 196, 1, 199, + 190, 198, 198, 198, 1, 199, 190, 200, + 200, 200, 1, 199, 190, 201, 201, 201, + 1, 199, 190, 1, 203, 202, 196, 196, + 1, 204, 199, 190, 205, 198, 198, 1, + 206, 1, 207, 208, 1, 209, 1, 210, + 211, 1, 212, 1, 190, 213, 1, 190, + 214, 1, 190, 1, 210, 215, 1, 210, + 1, 207, 216, 1, 207, 1, 204, 199, + 190, 217, 200, 200, 1, 204, 199, 190, + 201, 201, 201, 1, 219, 190, 218, 218, + 218, 1, 221, 190, 220, 220, 220, 1, + 221, 190, 222, 222, 222, 1, 221, 190, + 223, 223, 223, 1, 221, 190, 1, 224, + 218, 218, 1, 204, 221, 190, 225, 220, + 220, 1, 204, 221, 190, 226, 222, 222, + 1, 204, 221, 190, 223, 223, 223, 1, + 227, 1, 204, 228, 1, 204, 229, 1, + 204, 1, 203, 1, 1, 0 +}; + +static const unsigned char _tsip_machine_parser_header_P_Charging_Function_Addresses_trans_targs[] = { + 2, 0, 3, 4, 5, 6, 7, 8, + 9, 10, 11, 12, 13, 14, 15, 16, + 17, 18, 19, 20, 21, 22, 23, 24, + 25, 26, 27, 28, 29, 30, 31, 32, + 35, 98, 158, 33, 34, 36, 60, 35, + 31, 40, 36, 37, 38, 39, 41, 62, + 47, 63, 42, 43, 44, 45, 46, 48, + 49, 50, 51, 52, 53, 55, 61, 54, + 56, 56, 57, 58, 59, 218, 64, 97, + 65, 68, 66, 67, 69, 84, 70, 82, + 71, 72, 80, 73, 74, 78, 75, 76, + 77, 79, 81, 83, 85, 93, 86, 89, + 87, 88, 90, 91, 92, 94, 95, 96, + 99, 100, 101, 105, 101, 102, 103, 104, + 106, 122, 112, 123, 107, 108, 109, 110, + 111, 113, 114, 115, 116, 117, 118, 120, + 121, 119, 56, 60, 31, 124, 157, 125, + 128, 126, 127, 129, 144, 130, 142, 131, + 132, 140, 133, 134, 138, 135, 136, 137, + 139, 141, 143, 145, 153, 146, 149, 147, + 148, 150, 151, 152, 154, 155, 156, 159, + 160, 161, 165, 161, 162, 163, 164, 166, + 182, 172, 183, 167, 168, 169, 170, 171, + 173, 174, 175, 176, 177, 178, 180, 181, + 179, 56, 60, 31, 184, 217, 185, 188, + 186, 187, 189, 204, 190, 202, 191, 192, + 200, 193, 194, 198, 195, 196, 197, 199, + 201, 203, 205, 213, 206, 209, 207, 208, + 210, 211, 212, 214, 215, 216 +}; + +static const char _tsip_machine_parser_header_P_Charging_Function_Addresses_trans_actions[] = { + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 3, 3, 3, 0, 0, 6, 6, 0, + 6, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 6, 0, 0, 0, 0, 1, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 6, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 9, 9, 9, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 6, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 13, 13, 13, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0 +}; + +static const int tsip_machine_parser_header_P_Charging_Function_Addresses_start = 1; +static const int tsip_machine_parser_header_P_Charging_Function_Addresses_first_final = 218; +static const int tsip_machine_parser_header_P_Charging_Function_Addresses_error = 0; + +static const int tsip_machine_parser_header_P_Charging_Function_Addresses_en_main = 1; + + +/* #line 143 "tsip_parser_header_P_Charging_Function_Addresses.rl" */ + +/* #line 562 "../src/headers/tsip_header_P_Charging_Function_Addresses.c" */ + { + cs = tsip_machine_parser_header_P_Charging_Function_Addresses_start; + } + +/* #line 144 "tsip_parser_header_P_Charging_Function_Addresses.rl" */ + +/* #line 569 "../src/headers/tsip_header_P_Charging_Function_Addresses.c" */ + { + int _klen; + unsigned int _trans; + const char *_acts; + unsigned int _nacts; + const char *_keys; + + if ( p == pe ) + goto _test_eof; + if ( cs == 0 ) + goto _out; +_resume: + _keys = _tsip_machine_parser_header_P_Charging_Function_Addresses_trans_keys + _tsip_machine_parser_header_P_Charging_Function_Addresses_key_offsets[cs]; + _trans = _tsip_machine_parser_header_P_Charging_Function_Addresses_index_offsets[cs]; + + _klen = _tsip_machine_parser_header_P_Charging_Function_Addresses_single_lengths[cs]; + if ( _klen > 0 ) { + const char *_lower = _keys; + const char *_mid; + const char *_upper = _keys + _klen - 1; + while (1) { + if ( _upper < _lower ) + break; + + _mid = _lower + ((_upper-_lower) >> 1); + if ( (*p) < *_mid ) + _upper = _mid - 1; + else if ( (*p) > *_mid ) + _lower = _mid + 1; + else { + _trans += (_mid - _keys); + goto _match; + } + } + _keys += _klen; + _trans += _klen; + } + + _klen = _tsip_machine_parser_header_P_Charging_Function_Addresses_range_lengths[cs]; + if ( _klen > 0 ) { + const char *_lower = _keys; + const char *_mid; + const char *_upper = _keys + (_klen<<1) - 2; + while (1) { + if ( _upper < _lower ) + break; + + _mid = _lower + (((_upper-_lower) >> 1) & ~1); + if ( (*p) < _mid[0] ) + _upper = _mid - 2; + else if ( (*p) > _mid[1] ) + _lower = _mid + 2; + else { + _trans += ((_mid - _keys)>>1); + goto _match; + } + } + _trans += _klen; + } + +_match: + _trans = _tsip_machine_parser_header_P_Charging_Function_Addresses_indicies[_trans]; + cs = _tsip_machine_parser_header_P_Charging_Function_Addresses_trans_targs[_trans]; + + if ( _tsip_machine_parser_header_P_Charging_Function_Addresses_trans_actions[_trans] == 0 ) + goto _again; + + _acts = _tsip_machine_parser_header_P_Charging_Function_Addresses_actions + _tsip_machine_parser_header_P_Charging_Function_Addresses_trans_actions[_trans]; + _nacts = (unsigned int) *_acts++; + while ( _nacts-- > 0 ) + { + switch ( *_acts++ ) + { + case 0: +/* #line 53 "tsip_parser_header_P_Charging_Function_Addresses.rl" */ + { + tag_start = p; + } + break; + case 1: +/* #line 58 "tsip_parser_header_P_Charging_Function_Addresses.rl" */ + { + if(!curr_p_charging_function_addresses) + { + curr_p_charging_function_addresses = TSIP_HEADER_P_CHARGING_FUNCTION_ADDRESSES_CREATE(); + } + } + break; + case 2: +/* #line 66 "tsip_parser_header_P_Charging_Function_Addresses.rl" */ + { + if(!curr_p_charging_function_addresses->ccf) + { + TSK_PARSER_SET_STRING(curr_p_charging_function_addresses->ccf); + } + } + break; + case 3: +/* #line 74 "tsip_parser_header_P_Charging_Function_Addresses.rl" */ + { + if(!curr_p_charging_function_addresses->ecf) + { + TSK_PARSER_SET_STRING(curr_p_charging_function_addresses->ecf); + } + } + break; + case 4: +/* #line 82 "tsip_parser_header_P_Charging_Function_Addresses.rl" */ + { + if(curr_p_charging_function_addresses) + { + TSK_PARSER_ADD_PARAM(TSIP_HEADER_PARAMS(curr_p_charging_function_addresses)); + } + } + break; + case 5: +/* #line 90 "tsip_parser_header_P_Charging_Function_Addresses.rl" */ + { + if(curr_p_charging_function_addresses) + { + tsk_list_push_back_data(hdr_p_charging_function_addressess, ((void**) &curr_p_charging_function_addresses)); + } + } + break; + case 6: +/* #line 98 "tsip_parser_header_P_Charging_Function_Addresses.rl" */ + { + } + break; +/* #line 699 "../src/headers/tsip_header_P_Charging_Function_Addresses.c" */ + } + } + +_again: + if ( cs == 0 ) + goto _out; + if ( ++p != pe ) + goto _resume; + _test_eof: {} + _out: {} + } + +/* #line 145 "tsip_parser_header_P_Charging_Function_Addresses.rl" */ + + if( cs < +/* #line 715 "../src/headers/tsip_header_P_Charging_Function_Addresses.c" */ +218 +/* #line 146 "tsip_parser_header_P_Charging_Function_Addresses.rl" */ + ) + { + TSK_OBJECT_SAFE_FREE(curr_p_charging_function_addresses); + TSK_OBJECT_SAFE_FREE(hdr_p_charging_function_addressess); + } + + return hdr_p_charging_function_addressess; +} + + + + + +//======================================================== +// P_Charging_Function_Addresses header object definition +// + +/**@ingroup tsip_header_P_Charging_Function_Addresses_group +*/ +static void* tsip_header_P_Charging_Function_Addresses_create(void *self, va_list * app) +{ + tsip_header_P_Charging_Function_Addresses_t *P_Charging_Function_Addresses = self; + if(P_Charging_Function_Addresses) + { + TSIP_HEADER(P_Charging_Function_Addresses)->type = tsip_htype_P_Charging_Function_Addresses; + TSIP_HEADER(P_Charging_Function_Addresses)->tostring = tsip_header_P_Charging_Function_Addresses_tostring; + } + else + { + TSK_DEBUG_ERROR("Failed to create new P_Charging_Function_Addresses header."); + } + return self; +} + +/**@ingroup tsip_header_P_Charging_Function_Addresses_group +*/ +static void* tsip_header_P_Charging_Function_Addresses_destroy(void *self) +{ + tsip_header_P_Charging_Function_Addresses_t *P_Charging_Function_Addresses = self; + if(P_Charging_Function_Addresses) + { + TSK_FREE(P_Charging_Function_Addresses->ecf); + TSK_FREE(P_Charging_Function_Addresses->ccf); + + TSK_OBJECT_SAFE_FREE(TSIP_HEADER_PARAMS(P_Charging_Function_Addresses)); + } + else TSK_DEBUG_ERROR("Null P_Charging_Function_Addresses header."); + + return self; +} + +static const tsk_object_def_t tsip_header_P_Charging_Function_Addresses_def_s = +{ + sizeof(tsip_header_P_Charging_Function_Addresses_t), + tsip_header_P_Charging_Function_Addresses_create, + 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 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 99bbfafb..692905d8 100644 --- a/trunk/tinySIP/src/headers/tsip_header_P_Preferred_Identity.c +++ b/trunk/tinySIP/src/headers/tsip_header_P_Preferred_Identity.c @@ -97,47 +97,64 @@ static const short _tsip_machine_parser_header_P_Preferred_Identity_key_offsets[ 255, 258, 258, 262, 282, 298, 315, 320, 328, 341, 346, 350, 355, 376, 393, 411, 417, 426, 445, 452, 459, 466, 473, 480, - 486, 525, 561, 598, 607, 627, 645, 651, - 657, 663, 669, 675, 680, 718, 753, 789, - 797, 816, 828, 831, 831, 835, 855, 871, - 888, 893, 901, 914, 919, 923, 928, 949, - 966, 984, 990, 999, 1018, 1025, 1032, 1039, - 1046, 1053, 1059, 1098, 1134, 1171, 1180, 1200, - 1233, 1253, 1272, 1277, 1298, 1315, 1333, 1339, - 1348, 1352, 1372, 1388, 1405, 1410, 1418, 1431, - 1436, 1440, 1445, 1466, 1483, 1501, 1507, 1516, - 1535, 1542, 1549, 1556, 1563, 1570, 1576, 1615, - 1651, 1688, 1697, 1717, 1750, 1770, 1789, 1794, - 1815, 1832, 1850, 1856, 1865, 1879, 1885, 1904, - 1911, 1918, 1925, 1932, 1939, 1945, 1984, 2020, - 2057, 2066, 2086, 2119, 2139, 2158, 2165, 2184, - 2191, 2198, 2205, 2212, 2218, 2224, 2233, 2272, - 2308, 2345, 2354, 2387, 2407, 2446, 2467, 2484, - 2502, 2516, 2522, 2527, 2563, 2600, 2620, 2627, - 2646, 2653, 2660, 2667, 2674, 2713, 2749, 2786, - 2795, 2815, 2848, 2868, 2887, 2926, 2962, 2999, - 3038, 3059, 3079, 3093, 3099, 3104, 3122, 3128, - 3134, 3140, 3146, 3152, 3157, 3195, 3230, 3266, - 3274, 3293, 3325, 3344, 3362, 3368, 3386, 3392, - 3398, 3404, 3410, 3415, 3420, 3428, 3441, 3446, - 3450, 3488, 3523, 3559, 3567, 3599, 3618, 3656, - 3676, 3692, 3709, 3722, 3727, 3731, 3766, 3802, - 3821, 3835, 3841, 3846, 3865, 3872, 3879, 3886, - 3893, 3900, 3906, 3945, 3981, 4018, 4027, 4047, - 4080, 4100, 4119, 4126, 4145, 4152, 4159, 4166, - 4173, 4179, 4185, 4194, 4208, 4214, 4253, 4289, - 4326, 4335, 4368, 4388, 4427, 4448, 4465, 4483, - 4497, 4503, 4508, 4544, 4581, 4601, 4608, 4627, - 4634, 4641, 4648, 4655, 4661, 4667, 4676, 4715, - 4751, 4788, 4797, 4817, 4850, 4870, 4889, 4928, - 4964, 5001, 5021, 5060, 5081, 5098, 5116, 5152, - 5189, 5209, 5223, 5229, 5234, 5252, 5258, 5264, - 5270, 5276, 5282, 5287, 5325, 5360, 5396, 5404, - 5423, 5455, 5474, 5492, 5498, 5516, 5522, 5528, - 5534, 5540, 5545, 5550, 5558, 5571, 5576, 5580, - 5618, 5653, 5689, 5697, 5716, 5748, 5767, 5785, - 5823, 5858, 5894, 5913, 5951, 5971, 5987, 6004, - 6039, 6075, 6094, 6107, 6112, 6116 + 486, 525, 547, 549, 552, 574, 576, 579, + 583, 588, 606, 625, 630, 632, 635, 652, + 655, 658, 661, 664, 667, 669, 672, 677, + 684, 697, 701, 702, 738, 775, 784, 804, + 837, 857, 876, 894, 900, 906, 912, 918, + 924, 929, 967, 1002, 1038, 1046, 1065, 1077, + 1080, 1080, 1084, 1104, 1120, 1137, 1142, 1150, + 1163, 1168, 1172, 1177, 1198, 1215, 1233, 1239, + 1248, 1267, 1274, 1281, 1288, 1295, 1302, 1308, + 1347, 1369, 1371, 1374, 1396, 1409, 1413, 1414, + 1419, 1440, 1457, 1475, 1481, 1490, 1494, 1514, + 1530, 1547, 1552, 1560, 1573, 1578, 1582, 1587, + 1608, 1625, 1643, 1649, 1658, 1677, 1684, 1691, + 1698, 1705, 1712, 1718, 1757, 1779, 1781, 1784, + 1806, 1819, 1823, 1824, 1860, 1897, 1906, 1926, + 1959, 1979, 1998, 2016, 2022, 2028, 2034, 2040, + 2046, 2051, 2089, 2124, 2160, 2168, 2181, 2186, + 2190, 2210, 2228, 2234, 2240, 2246, 2252, 2258, + 2296, 2331, 2367, 2375, 2389, 2395, 2400, 2419, + 2426, 2433, 2440, 2447, 2454, 2460, 2499, 2535, + 2572, 2581, 2601, 2637, 2674, 2683, 2703, 2736, + 2756, 2775, 2780, 2801, 2818, 2836, 2842, 2851, + 2855, 2875, 2891, 2908, 2913, 2921, 2934, 2939, + 2943, 2948, 2969, 2986, 3004, 3010, 3019, 3038, + 3045, 3052, 3059, 3066, 3073, 3079, 3118, 3154, + 3191, 3200, 3220, 3253, 3273, 3292, 3299, 3318, + 3325, 3332, 3339, 3346, 3385, 3406, 3425, 3432, + 3439, 3446, 3453, 3460, 3499, 3535, 3572, 3581, + 3595, 3601, 3606, 3627, 3646, 3653, 3660, 3667, + 3674, 3681, 3720, 3741, 3760, 3767, 3774, 3781, + 3788, 3795, 3834, 3870, 3907, 3916, 3949, 3969, + 3988, 4002, 4008, 4013, 4034, 4053, 4060, 4067, + 4074, 4081, 4088, 4127, 4163, 4200, 4209, 4229, + 4265, 4302, 4311, 4347, 4384, 4393, 4426, 4446, + 4465, 4504, 4524, 4563, 4599, 4636, 4650, 4656, + 4661, 4682, 4700, 4706, 4712, 4718, 4724, 4730, + 4735, 4773, 4808, 4844, 4852, 4871, 4903, 4922, + 4940, 4946, 4964, 4970, 4976, 4982, 4988, 5026, + 5061, 5097, 5105, 5137, 5156, 5174, 5212, 5231, + 5269, 5304, 5340, 5353, 5358, 5362, 5382, 5396, + 5402, 5407, 5426, 5433, 5440, 5447, 5454, 5461, + 5467, 5506, 5542, 5579, 5588, 5608, 5641, 5661, + 5680, 5687, 5706, 5713, 5720, 5727, 5734, 5740, + 5746, 5755, 5769, 5775, 5814, 5835, 5849, 5855, + 5860, 5881, 5898, 5916, 5922, 5931, 5945, 5951, + 5970, 5977, 5984, 5991, 5998, 6005, 6011, 6050, + 6086, 6123, 6132, 6152, 6188, 6225, 6234, 6267, + 6287, 6306, 6345, 6365, 6404, 6440, 6477, 6491, + 6497, 6502, 6523, 6540, 6558, 6565, 6584, 6591, + 6598, 6605, 6612, 6618, 6624, 6633, 6672, 6708, + 6745, 6754, 6787, 6807, 6826, 6865, 6904, 6940, + 6977, 6997, 7011, 7017, 7022, 7043, 7060, 7078, + 7096, 7102, 7108, 7114, 7120, 7126, 7131, 7169, + 7204, 7240, 7248, 7267, 7299, 7318, 7336, 7342, + 7360, 7366, 7372, 7378, 7384, 7389, 7394, 7402, + 7415, 7420, 7424, 7462, 7497, 7533, 7541, 7573, + 7592, 7610, 7648, 7686, 7721, 7757, 7776, 7789, + 7794, 7798, 7818, 7834, 7851 }; static const char _tsip_machine_parser_header_P_Preferred_Identity_trans_keys[] = { @@ -207,188 +224,168 @@ static const char _tsip_machine_parser_header_P_Preferred_Identity_trans_keys[] -9, -8, -5, -4, -3, 35, 41, 42, 57, 58, 64, 65, 90, 91, 94, 95, 96, 97, 122, 123, 125, 9, 13, 32, - 33, 34, 37, 39, 44, 47, 62, 92, - 126, -64, -33, -32, -17, -16, -9, -8, - -5, -4, -3, 35, 41, 42, 57, 58, - 64, 65, 90, 91, 94, 95, 122, 123, - 125, 9, 13, 32, 33, 34, 37, 39, - 44, 47, 60, 62, 92, 126, -64, -33, - -32, -17, -16, -9, -8, -5, -4, -3, - 35, 41, 42, 57, 58, 64, 65, 90, - 91, 94, 95, 122, 123, 125, 9, 13, - 32, 44, 62, 0, 8, 11, 127, 9, - 13, 32, 34, 44, 60, 62, 92, -64, - -33, -32, -17, -16, -9, -8, -5, -4, - -3, 33, 126, 9, 13, 32, 34, 44, - 92, -64, -33, -32, -17, -16, -9, -8, - -5, -4, -3, 33, 126, 9, 13, 32, - 44, -128, -65, 9, 13, 32, 44, -128, - -65, 9, 13, 32, 44, -128, -65, 9, - 13, 32, 44, -128, -65, 9, 13, 32, - 44, -128, -65, 9, 13, 32, 44, 60, - 9, 13, 32, 33, 34, 37, 39, 44, - 47, 60, 92, 126, -64, -33, -32, -17, - -16, -9, -8, -5, -4, -3, 35, 41, - 42, 57, 58, 64, 65, 90, 91, 94, - 95, 96, 97, 122, 123, 125, 9, 13, - 32, 33, 34, 37, 39, 44, 47, 92, - 126, -64, -33, -32, -17, -16, -9, -8, - -5, -4, -3, 35, 41, 42, 57, 58, - 64, 65, 90, 91, 94, 95, 122, 123, - 125, 9, 13, 32, 33, 34, 37, 39, - 44, 47, 60, 92, 126, -64, -33, -32, - -17, -16, -9, -8, -5, -4, -3, 35, - 41, 42, 57, 58, 64, 65, 90, 91, - 94, 95, 122, 123, 125, 9, 13, 32, - 44, 0, 8, 11, 127, 9, 13, 32, - 34, 44, 60, 92, -64, -33, -32, -17, - -16, -9, -8, -5, -4, -3, 33, 126, - 9, 32, 43, 58, 45, 46, 48, 57, - 65, 90, 97, 122, 9, 32, 58, 9, - 13, 32, 44, 9, 13, 32, 33, 34, - 37, 39, 44, 60, 126, 42, 46, 48, - 57, 65, 90, 95, 96, 97, 122, 9, - 13, 32, 33, 37, 39, 44, 126, 42, - 46, 48, 57, 65, 90, 95, 122, 9, - 13, 32, 33, 37, 39, 44, 60, 126, - 42, 46, 48, 57, 65, 90, 95, 122, - 9, 13, 32, 44, 60, 9, 13, 32, - 44, 65, 90, 97, 122, 9, 13, 32, - 44, 58, 43, 46, 48, 57, 65, 90, - 97, 122, 9, 13, 32, 44, 58, 9, - 13, 32, 44, 9, 13, 32, 44, 62, - 9, 13, 32, 33, 34, 37, 39, 44, - 60, 62, 126, 42, 46, 48, 57, 65, - 90, 95, 96, 97, 122, 9, 13, 32, - 33, 37, 39, 44, 62, 126, 42, 46, + 33, 34, 37, 39, 60, 62, 126, 42, + 43, 45, 46, 48, 57, 65, 90, 95, + 96, 97, 122, 10, 62, 9, 32, 62, + 9, 13, 32, 33, 34, 37, 39, 60, + 62, 126, 42, 43, 45, 46, 48, 57, + 65, 90, 95, 96, 97, 122, 10, 62, + 9, 32, 62, 9, 32, 60, 62, 62, + 65, 90, 97, 122, 9, 13, 32, 33, + 37, 39, 62, 126, 42, 43, 45, 46, 48, 57, 65, 90, 95, 122, 9, 13, - 32, 33, 37, 39, 44, 60, 62, 126, - 42, 46, 48, 57, 65, 90, 95, 122, - 9, 13, 32, 44, 60, 62, 9, 13, - 32, 44, 62, 65, 90, 97, 122, 9, - 13, 32, 34, 44, 62, 92, -64, -33, - -32, -17, -16, -9, -8, -5, -4, -3, - 33, 126, 9, 13, 32, 44, 62, -128, - -65, 9, 13, 32, 44, 62, -128, -65, - 9, 13, 32, 44, 62, -128, -65, 9, - 13, 32, 44, 62, -128, -65, 9, 13, - 32, 44, 62, -128, -65, 9, 13, 32, - 44, 60, 62, 9, 13, 32, 33, 34, - 37, 39, 44, 47, 60, 62, 92, 126, + 32, 33, 37, 39, 60, 62, 126, 42, + 43, 45, 46, 48, 57, 65, 90, 95, + 122, 9, 13, 32, 60, 62, 10, 62, + 9, 32, 62, 9, 13, 34, 62, 92, -64, -33, -32, -17, -16, -9, -8, -5, - -4, -3, 35, 41, 42, 57, 58, 64, - 65, 90, 91, 94, 95, 96, 97, 122, + -4, -3, 32, 126, 62, -128, -65, 62, + -128, -65, 62, -128, -65, 62, -128, -65, + 62, -128, -65, 10, 62, 9, 32, 62, + 9, 13, 32, 60, 62, 62, 0, 9, + 11, 12, 14, 127, 9, 32, 43, 58, + 62, 45, 46, 48, 57, 65, 90, 97, + 122, 9, 32, 58, 62, 62, 9, 13, + 32, 33, 34, 37, 39, 44, 47, 62, + 92, 126, -64, -33, -32, -17, -16, -9, + -8, -5, -4, -3, 35, 41, 42, 57, + 58, 64, 65, 90, 91, 94, 95, 122, 123, 125, 9, 13, 32, 33, 34, 37, - 39, 44, 47, 62, 92, 126, -64, -33, - -32, -17, -16, -9, -8, -5, -4, -3, - 35, 41, 42, 57, 58, 64, 65, 90, - 91, 94, 95, 122, 123, 125, 9, 13, - 32, 33, 34, 37, 39, 44, 47, 60, - 62, 92, 126, -64, -33, -32, -17, -16, - -9, -8, -5, -4, -3, 35, 41, 42, - 57, 58, 64, 65, 90, 91, 94, 95, - 122, 123, 125, 9, 13, 32, 44, 62, - 0, 8, 11, 127, 9, 13, 32, 34, - 44, 60, 62, 92, -64, -33, -32, -17, - -16, -9, -8, -5, -4, -3, 33, 126, - 9, 13, 32, 34, 44, 47, 58, 62, - 92, -64, -33, -32, -17, -16, -9, -8, - -5, -4, -3, 33, 42, 43, 57, 59, - 64, 65, 90, 91, 96, 97, 122, 123, - 126, 9, 13, 32, 34, 44, 58, 62, - 92, -64, -33, -32, -17, -16, -9, -8, - -5, -4, -3, 33, 126, 9, 13, 32, - 34, 44, 62, 92, -64, -33, -32, -17, - -16, -9, -8, -5, -4, -3, 33, 126, - 9, 13, 32, 44, 62, 9, 13, 32, - 33, 34, 37, 39, 44, 60, 62, 126, - 42, 46, 48, 57, 65, 90, 95, 96, - 97, 122, 9, 13, 32, 33, 37, 39, - 44, 62, 126, 42, 46, 48, 57, 65, - 90, 95, 122, 9, 13, 32, 33, 37, - 39, 44, 60, 62, 126, 42, 46, 48, - 57, 65, 90, 95, 122, 9, 13, 32, - 44, 60, 62, 9, 13, 32, 44, 62, - 65, 90, 97, 122, 9, 13, 32, 44, - 9, 13, 32, 33, 34, 37, 39, 44, - 60, 126, 42, 46, 48, 57, 65, 90, - 95, 96, 97, 122, 9, 13, 32, 33, - 37, 39, 44, 126, 42, 46, 48, 57, - 65, 90, 95, 122, 9, 13, 32, 33, - 37, 39, 44, 60, 126, 42, 46, 48, - 57, 65, 90, 95, 122, 9, 13, 32, - 44, 60, 9, 13, 32, 44, 65, 90, - 97, 122, 9, 13, 32, 44, 58, 43, - 46, 48, 57, 65, 90, 97, 122, 9, - 13, 32, 44, 58, 9, 13, 32, 44, - 9, 13, 32, 44, 62, 9, 13, 32, - 33, 34, 37, 39, 44, 60, 62, 126, - 42, 46, 48, 57, 65, 90, 95, 96, - 97, 122, 9, 13, 32, 33, 37, 39, - 44, 62, 126, 42, 46, 48, 57, 65, - 90, 95, 122, 9, 13, 32, 33, 37, - 39, 44, 60, 62, 126, 42, 46, 48, - 57, 65, 90, 95, 122, 9, 13, 32, - 44, 60, 62, 9, 13, 32, 44, 62, - 65, 90, 97, 122, 9, 13, 32, 34, - 44, 62, 92, -64, -33, -32, -17, -16, - -9, -8, -5, -4, -3, 33, 126, 9, - 13, 32, 44, 62, -128, -65, 9, 13, - 32, 44, 62, -128, -65, 9, 13, 32, - 44, 62, -128, -65, 9, 13, 32, 44, - 62, -128, -65, 9, 13, 32, 44, 62, - -128, -65, 9, 13, 32, 44, 60, 62, - 9, 13, 32, 33, 34, 37, 39, 44, - 47, 60, 62, 92, 126, -64, -33, -32, + 39, 44, 47, 60, 62, 92, 126, -64, + -33, -32, -17, -16, -9, -8, -5, -4, + -3, 35, 41, 42, 57, 58, 64, 65, + 90, 91, 94, 95, 122, 123, 125, 9, + 13, 32, 44, 62, 0, 8, 11, 127, + 9, 13, 32, 34, 44, 60, 62, 92, + -64, -33, -32, -17, -16, -9, -8, -5, + -4, -3, 33, 126, 9, 13, 32, 34, + 44, 47, 58, 62, 92, -64, -33, -32, + -17, -16, -9, -8, -5, -4, -3, 33, + 42, 43, 57, 59, 64, 65, 90, 91, + 96, 97, 122, 123, 126, 9, 13, 32, + 34, 44, 58, 62, 92, -64, -33, -32, + -17, -16, -9, -8, -5, -4, -3, 33, + 126, 9, 13, 32, 34, 44, 62, 92, + -64, -33, -32, -17, -16, -9, -8, -5, + -4, -3, 33, 126, 9, 13, 32, 34, + 44, 92, -64, -33, -32, -17, -16, -9, + -8, -5, -4, -3, 33, 126, 9, 13, + 32, 44, -128, -65, 9, 13, 32, 44, + -128, -65, 9, 13, 32, 44, -128, -65, + 9, 13, 32, 44, -128, -65, 9, 13, + 32, 44, -128, -65, 9, 13, 32, 44, + 60, 9, 13, 32, 33, 34, 37, 39, + 44, 47, 60, 92, 126, -64, -33, -32, -17, -16, -9, -8, -5, -4, -3, 35, 41, 42, 57, 58, 64, 65, 90, 91, 94, 95, 96, 97, 122, 123, 125, 9, 13, 32, 33, 34, 37, 39, 44, 47, + 92, 126, -64, -33, -32, -17, -16, -9, + -8, -5, -4, -3, 35, 41, 42, 57, + 58, 64, 65, 90, 91, 94, 95, 122, + 123, 125, 9, 13, 32, 33, 34, 37, + 39, 44, 47, 60, 92, 126, -64, -33, + -32, -17, -16, -9, -8, -5, -4, -3, + 35, 41, 42, 57, 58, 64, 65, 90, + 91, 94, 95, 122, 123, 125, 9, 13, + 32, 44, 0, 8, 11, 127, 9, 13, + 32, 34, 44, 60, 92, -64, -33, -32, + -17, -16, -9, -8, -5, -4, -3, 33, + 126, 9, 32, 43, 58, 45, 46, 48, + 57, 65, 90, 97, 122, 9, 32, 58, + 9, 13, 32, 44, 9, 13, 32, 33, + 34, 37, 39, 44, 60, 126, 42, 46, + 48, 57, 65, 90, 95, 96, 97, 122, + 9, 13, 32, 33, 37, 39, 44, 126, + 42, 46, 48, 57, 65, 90, 95, 122, + 9, 13, 32, 33, 37, 39, 44, 60, + 126, 42, 46, 48, 57, 65, 90, 95, + 122, 9, 13, 32, 44, 60, 9, 13, + 32, 44, 65, 90, 97, 122, 9, 13, + 32, 44, 58, 43, 46, 48, 57, 65, + 90, 97, 122, 9, 13, 32, 44, 58, + 9, 13, 32, 44, 9, 13, 32, 44, + 62, 9, 13, 32, 33, 34, 37, 39, + 44, 60, 62, 126, 42, 46, 48, 57, + 65, 90, 95, 96, 97, 122, 9, 13, + 32, 33, 37, 39, 44, 62, 126, 42, + 46, 48, 57, 65, 90, 95, 122, 9, + 13, 32, 33, 37, 39, 44, 60, 62, + 126, 42, 46, 48, 57, 65, 90, 95, + 122, 9, 13, 32, 44, 60, 62, 9, + 13, 32, 44, 62, 65, 90, 97, 122, + 9, 13, 32, 34, 44, 62, 92, -64, + -33, -32, -17, -16, -9, -8, -5, -4, + -3, 33, 126, 9, 13, 32, 44, 62, + -128, -65, 9, 13, 32, 44, 62, -128, + -65, 9, 13, 32, 44, 62, -128, -65, + 9, 13, 32, 44, 62, -128, -65, 9, + 13, 32, 44, 62, -128, -65, 9, 13, + 32, 44, 60, 62, 9, 13, 32, 33, + 34, 37, 39, 44, 47, 60, 62, 92, + 126, -64, -33, -32, -17, -16, -9, -8, + -5, -4, -3, 35, 41, 42, 57, 58, + 64, 65, 90, 91, 94, 95, 96, 97, + 122, 123, 125, 9, 13, 32, 33, 34, + 37, 39, 60, 62, 126, 42, 43, 45, + 46, 48, 57, 65, 90, 95, 96, 97, + 122, 10, 62, 9, 32, 62, 9, 13, + 32, 33, 34, 37, 39, 60, 62, 126, + 42, 43, 45, 46, 48, 57, 65, 90, + 95, 96, 97, 122, 9, 32, 43, 58, + 62, 45, 46, 48, 57, 65, 90, 97, + 122, 9, 32, 58, 62, 62, 9, 13, + 32, 44, 62, 9, 13, 32, 33, 34, + 37, 39, 44, 60, 62, 126, 42, 46, + 48, 57, 65, 90, 95, 96, 97, 122, + 9, 13, 32, 33, 37, 39, 44, 62, + 126, 42, 46, 48, 57, 65, 90, 95, + 122, 9, 13, 32, 33, 37, 39, 44, + 60, 62, 126, 42, 46, 48, 57, 65, + 90, 95, 122, 9, 13, 32, 44, 60, + 62, 9, 13, 32, 44, 62, 65, 90, + 97, 122, 9, 13, 32, 44, 9, 13, + 32, 33, 34, 37, 39, 44, 60, 126, + 42, 46, 48, 57, 65, 90, 95, 96, + 97, 122, 9, 13, 32, 33, 37, 39, + 44, 126, 42, 46, 48, 57, 65, 90, + 95, 122, 9, 13, 32, 33, 37, 39, + 44, 60, 126, 42, 46, 48, 57, 65, + 90, 95, 122, 9, 13, 32, 44, 60, + 9, 13, 32, 44, 65, 90, 97, 122, + 9, 13, 32, 44, 58, 43, 46, 48, + 57, 65, 90, 97, 122, 9, 13, 32, + 44, 58, 9, 13, 32, 44, 9, 13, + 32, 44, 62, 9, 13, 32, 33, 34, + 37, 39, 44, 60, 62, 126, 42, 46, + 48, 57, 65, 90, 95, 96, 97, 122, + 9, 13, 32, 33, 37, 39, 44, 62, + 126, 42, 46, 48, 57, 65, 90, 95, + 122, 9, 13, 32, 33, 37, 39, 44, + 60, 62, 126, 42, 46, 48, 57, 65, + 90, 95, 122, 9, 13, 32, 44, 60, + 62, 9, 13, 32, 44, 62, 65, 90, + 97, 122, 9, 13, 32, 34, 44, 62, + 92, -64, -33, -32, -17, -16, -9, -8, + -5, -4, -3, 33, 126, 9, 13, 32, + 44, 62, -128, -65, 9, 13, 32, 44, + 62, -128, -65, 9, 13, 32, 44, 62, + -128, -65, 9, 13, 32, 44, 62, -128, + -65, 9, 13, 32, 44, 62, -128, -65, + 9, 13, 32, 44, 60, 62, 9, 13, + 32, 33, 34, 37, 39, 44, 47, 60, 62, 92, 126, -64, -33, -32, -17, -16, -9, -8, -5, -4, -3, 35, 41, 42, 57, 58, 64, 65, 90, 91, 94, 95, - 122, 123, 125, 9, 13, 32, 33, 34, - 37, 39, 44, 47, 60, 62, 92, 126, - -64, -33, -32, -17, -16, -9, -8, -5, - -4, -3, 35, 41, 42, 57, 58, 64, - 65, 90, 91, 94, 95, 122, 123, 125, - 9, 13, 32, 44, 62, 0, 8, 11, - 127, 9, 13, 32, 34, 44, 60, 62, - 92, -64, -33, -32, -17, -16, -9, -8, - -5, -4, -3, 33, 126, 9, 13, 32, - 34, 44, 47, 58, 62, 92, -64, -33, - -32, -17, -16, -9, -8, -5, -4, -3, - 33, 42, 43, 57, 59, 64, 65, 90, - 91, 96, 97, 122, 123, 126, 9, 13, - 32, 34, 44, 58, 62, 92, -64, -33, - -32, -17, -16, -9, -8, -5, -4, -3, - 33, 126, 9, 13, 32, 34, 44, 62, - 92, -64, -33, -32, -17, -16, -9, -8, - -5, -4, -3, 33, 126, 9, 13, 32, - 44, 62, 9, 13, 32, 33, 34, 37, - 39, 44, 60, 62, 126, 42, 46, 48, - 57, 65, 90, 95, 96, 97, 122, 9, - 13, 32, 33, 37, 39, 44, 62, 126, - 42, 46, 48, 57, 65, 90, 95, 122, - 9, 13, 32, 33, 37, 39, 44, 60, - 62, 126, 42, 46, 48, 57, 65, 90, - 95, 122, 9, 13, 32, 44, 60, 62, - 9, 13, 32, 44, 62, 65, 90, 97, - 122, 9, 13, 32, 44, 58, 62, 43, - 46, 48, 57, 65, 90, 97, 122, 9, - 13, 32, 44, 58, 62, 9, 13, 32, - 34, 44, 62, 92, -64, -33, -32, -17, - -16, -9, -8, -5, -4, -3, 33, 126, - 9, 13, 32, 44, 62, -128, -65, 9, - 13, 32, 44, 62, -128, -65, 9, 13, - 32, 44, 62, -128, -65, 9, 13, 32, - 44, 62, -128, -65, 9, 13, 32, 44, - 62, -128, -65, 9, 13, 32, 44, 60, - 62, 9, 13, 32, 33, 34, 37, 39, - 44, 47, 60, 62, 92, 126, -64, -33, - -32, -17, -16, -9, -8, -5, -4, -3, - 35, 41, 42, 57, 58, 64, 65, 90, - 91, 94, 95, 96, 97, 122, 123, 125, + 96, 97, 122, 123, 125, 9, 13, 32, + 33, 34, 37, 39, 60, 62, 126, 42, + 43, 45, 46, 48, 57, 65, 90, 95, + 96, 97, 122, 10, 62, 9, 32, 62, + 9, 13, 32, 33, 34, 37, 39, 60, + 62, 126, 42, 43, 45, 46, 48, 57, + 65, 90, 95, 96, 97, 122, 9, 32, + 43, 58, 62, 45, 46, 48, 57, 65, + 90, 97, 122, 9, 32, 58, 62, 62, 9, 13, 32, 33, 34, 37, 39, 44, 47, 62, 92, 126, -64, -33, -32, -17, -16, -9, -8, -5, -4, -3, 35, 41, @@ -411,168 +408,39 @@ static const char _tsip_machine_parser_header_P_Preferred_Identity_trans_keys[] -3, 33, 126, 9, 13, 32, 34, 44, 62, 92, -64, -33, -32, -17, -16, -9, -8, -5, -4, -3, 33, 126, 9, 13, - 32, 44, 62, -128, -65, 9, 13, 32, - 34, 44, 62, 92, -64, -33, -32, -17, + 32, 34, 44, 92, -64, -33, -32, -17, -16, -9, -8, -5, -4, -3, 33, 126, - 9, 13, 32, 44, 62, -128, -65, 9, - 13, 32, 44, 62, -128, -65, 9, 13, - 32, 44, 62, -128, -65, 9, 13, 32, - 44, 62, -128, -65, 9, 13, 32, 44, - 60, 62, 9, 13, 32, 44, 60, 62, - 9, 13, 32, 44, 62, 65, 90, 97, - 122, 9, 13, 32, 33, 34, 37, 39, - 44, 47, 60, 62, 92, 126, -64, -33, - -32, -17, -16, -9, -8, -5, -4, -3, - 35, 41, 42, 57, 58, 64, 65, 90, - 91, 94, 95, 96, 97, 122, 123, 125, - 9, 13, 32, 33, 34, 37, 39, 44, - 47, 62, 92, 126, -64, -33, -32, -17, - -16, -9, -8, -5, -4, -3, 35, 41, - 42, 57, 58, 64, 65, 90, 91, 94, - 95, 122, 123, 125, 9, 13, 32, 33, - 34, 37, 39, 44, 47, 60, 62, 92, - 126, -64, -33, -32, -17, -16, -9, -8, - -5, -4, -3, 35, 41, 42, 57, 58, - 64, 65, 90, 91, 94, 95, 122, 123, - 125, 9, 13, 32, 44, 62, 0, 8, - 11, 127, 9, 13, 32, 34, 44, 47, - 58, 62, 92, -64, -33, -32, -17, -16, - -9, -8, -5, -4, -3, 33, 42, 43, - 57, 59, 64, 65, 90, 91, 96, 97, - 122, 123, 126, 9, 13, 32, 34, 44, - 58, 62, 92, -64, -33, -32, -17, -16, - -9, -8, -5, -4, -3, 33, 126, 9, - 13, 32, 33, 34, 37, 39, 44, 47, - 60, 62, 92, 126, -64, -33, -32, -17, - -16, -9, -8, -5, -4, -3, 35, 41, - 42, 57, 58, 64, 65, 90, 91, 94, - 95, 96, 97, 122, 123, 125, 9, 13, - 32, 33, 34, 37, 39, 44, 60, 62, - 126, 42, 46, 48, 57, 65, 90, 95, - 96, 97, 122, 9, 13, 32, 33, 37, - 39, 44, 62, 126, 42, 46, 48, 57, - 65, 90, 95, 122, 9, 13, 32, 33, - 37, 39, 44, 60, 62, 126, 42, 46, - 48, 57, 65, 90, 95, 122, 9, 13, - 32, 44, 58, 62, 43, 46, 48, 57, - 65, 90, 97, 122, 9, 13, 32, 44, - 58, 62, 9, 13, 32, 44, 62, 9, - 13, 32, 33, 34, 37, 39, 44, 47, - 62, 92, 126, -64, -33, -32, -17, -16, - -9, -8, -5, -4, -3, 35, 41, 42, - 57, 58, 64, 65, 90, 91, 94, 95, - 122, 123, 125, 9, 13, 32, 33, 34, - 37, 39, 44, 47, 60, 62, 92, 126, - -64, -33, -32, -17, -16, -9, -8, -5, - -4, -3, 35, 41, 42, 57, 58, 64, - 65, 90, 91, 94, 95, 122, 123, 125, - 9, 13, 32, 34, 44, 60, 62, 92, - -64, -33, -32, -17, -16, -9, -8, -5, - -4, -3, 33, 126, 9, 13, 32, 44, - 62, -128, -65, 9, 13, 32, 34, 44, - 62, 92, -64, -33, -32, -17, -16, -9, - -8, -5, -4, -3, 33, 126, 9, 13, - 32, 44, 62, -128, -65, 9, 13, 32, - 44, 62, -128, -65, 9, 13, 32, 44, - 62, -128, -65, 9, 13, 32, 44, 62, - -128, -65, 9, 13, 32, 33, 34, 37, - 39, 44, 47, 60, 62, 92, 126, -64, + 9, 13, 32, 44, -128, -65, 9, 13, + 32, 44, -128, -65, 9, 13, 32, 44, + -128, -65, 9, 13, 32, 44, -128, -65, + 9, 13, 32, 44, -128, -65, 9, 13, + 32, 44, 60, 9, 13, 32, 33, 34, + 37, 39, 44, 47, 60, 92, 126, -64, -33, -32, -17, -16, -9, -8, -5, -4, -3, 35, 41, 42, 57, 58, 64, 65, 90, 91, 94, 95, 96, 97, 122, 123, 125, 9, 13, 32, 33, 34, 37, 39, - 44, 47, 62, 92, 126, -64, -33, -32, - -17, -16, -9, -8, -5, -4, -3, 35, - 41, 42, 57, 58, 64, 65, 90, 91, - 94, 95, 122, 123, 125, 9, 13, 32, - 33, 34, 37, 39, 44, 47, 60, 62, - 92, 126, -64, -33, -32, -17, -16, -9, - -8, -5, -4, -3, 35, 41, 42, 57, - 58, 64, 65, 90, 91, 94, 95, 122, - 123, 125, 9, 13, 32, 44, 62, 0, - 8, 11, 127, 9, 13, 32, 34, 44, - 60, 62, 92, -64, -33, -32, -17, -16, - -9, -8, -5, -4, -3, 33, 126, 9, - 13, 32, 34, 44, 47, 58, 62, 92, - -64, -33, -32, -17, -16, -9, -8, -5, - -4, -3, 33, 42, 43, 57, 59, 64, - 65, 90, 91, 96, 97, 122, 123, 126, - 9, 13, 32, 34, 44, 58, 62, 92, - -64, -33, -32, -17, -16, -9, -8, -5, - -4, -3, 33, 126, 9, 13, 32, 34, - 44, 62, 92, -64, -33, -32, -17, -16, - -9, -8, -5, -4, -3, 33, 126, 9, - 13, 32, 33, 34, 37, 39, 44, 47, - 60, 62, 92, 126, -64, -33, -32, -17, + 44, 47, 92, 126, -64, -33, -32, -17, -16, -9, -8, -5, -4, -3, 35, 41, 42, 57, 58, 64, 65, 90, 91, 94, - 95, 96, 97, 122, 123, 125, 9, 13, - 32, 33, 34, 37, 39, 44, 47, 62, - 92, 126, -64, -33, -32, -17, -16, -9, - -8, -5, -4, -3, 35, 41, 42, 57, - 58, 64, 65, 90, 91, 94, 95, 122, - 123, 125, 9, 13, 32, 33, 34, 37, - 39, 44, 47, 60, 62, 92, 126, -64, - -33, -32, -17, -16, -9, -8, -5, -4, - -3, 35, 41, 42, 57, 58, 64, 65, - 90, 91, 94, 95, 122, 123, 125, 9, - 13, 32, 33, 34, 37, 39, 44, 47, - 60, 62, 92, 126, -64, -33, -32, -17, - -16, -9, -8, -5, -4, -3, 35, 41, - 42, 57, 58, 64, 65, 90, 91, 94, - 95, 96, 97, 122, 123, 125, 9, 13, - 32, 33, 34, 37, 39, 44, 60, 62, - 126, 42, 46, 48, 57, 65, 90, 95, - 96, 97, 122, 9, 13, 32, 34, 44, - 60, 62, 92, -64, -33, -32, -17, -16, - -9, -8, -5, -4, -3, 33, 126, 9, - 13, 32, 44, 58, 62, 43, 46, 48, + 95, 122, 123, 125, 9, 13, 32, 33, + 34, 37, 39, 44, 47, 60, 92, 126, + -64, -33, -32, -17, -16, -9, -8, -5, + -4, -3, 35, 41, 42, 57, 58, 64, + 65, 90, 91, 94, 95, 122, 123, 125, + 9, 13, 32, 44, 0, 8, 11, 127, + 9, 13, 32, 44, 58, 43, 46, 48, 57, 65, 90, 97, 122, 9, 13, 32, - 44, 58, 62, 9, 13, 32, 44, 62, - 9, 13, 32, 34, 44, 92, -64, -33, - -32, -17, -16, -9, -8, -5, -4, -3, - 33, 126, 9, 13, 32, 44, -128, -65, - 9, 13, 32, 44, -128, -65, 9, 13, - 32, 44, -128, -65, 9, 13, 32, 44, + 44, 58, 9, 13, 32, 44, 9, 13, + 32, 33, 34, 37, 39, 44, 60, 126, + 42, 46, 48, 57, 65, 90, 95, 96, + 97, 122, 9, 13, 32, 34, 44, 92, + -64, -33, -32, -17, -16, -9, -8, -5, + -4, -3, 33, 126, 9, 13, 32, 44, -128, -65, 9, 13, 32, 44, -128, -65, - 9, 13, 32, 44, 60, 9, 13, 32, - 33, 34, 37, 39, 44, 47, 60, 92, - 126, -64, -33, -32, -17, -16, -9, -8, - -5, -4, -3, 35, 41, 42, 57, 58, - 64, 65, 90, 91, 94, 95, 96, 97, - 122, 123, 125, 9, 13, 32, 33, 34, - 37, 39, 44, 47, 92, 126, -64, -33, - -32, -17, -16, -9, -8, -5, -4, -3, - 35, 41, 42, 57, 58, 64, 65, 90, - 91, 94, 95, 122, 123, 125, 9, 13, - 32, 33, 34, 37, 39, 44, 47, 60, - 92, 126, -64, -33, -32, -17, -16, -9, - -8, -5, -4, -3, 35, 41, 42, 57, - 58, 64, 65, 90, 91, 94, 95, 122, - 123, 125, 9, 13, 32, 44, 0, 8, - 11, 127, 9, 13, 32, 34, 44, 60, - 92, -64, -33, -32, -17, -16, -9, -8, - -5, -4, -3, 33, 126, 9, 13, 32, - 34, 44, 47, 58, 92, -64, -33, -32, - -17, -16, -9, -8, -5, -4, -3, 33, - 42, 43, 57, 59, 64, 65, 90, 91, - 96, 97, 122, 123, 126, 9, 13, 32, - 34, 44, 58, 92, -64, -33, -32, -17, - -16, -9, -8, -5, -4, -3, 33, 126, - 9, 13, 32, 34, 44, 92, -64, -33, - -32, -17, -16, -9, -8, -5, -4, -3, - 33, 126, 9, 13, 32, 44, -128, -65, - 9, 13, 32, 34, 44, 92, -64, -33, - -32, -17, -16, -9, -8, -5, -4, -3, - 33, 126, 9, 13, 32, 44, -128, -65, 9, 13, 32, 44, -128, -65, 9, 13, 32, 44, -128, -65, 9, 13, 32, 44, - -128, -65, 9, 13, 32, 44, 60, 9, - 13, 32, 44, 60, 9, 13, 32, 44, - 65, 90, 97, 122, 9, 13, 32, 44, - 58, 43, 46, 48, 57, 65, 90, 97, - 122, 9, 13, 32, 44, 58, 9, 13, - 32, 44, 9, 13, 32, 33, 34, 37, + -128, -65, 9, 13, 32, 33, 34, 37, 39, 44, 47, 60, 92, 126, -64, -33, -32, -17, -16, -9, -8, -5, -4, -3, 35, 41, 42, 57, 58, 64, 65, 90, @@ -587,145 +455,17 @@ static const char _tsip_machine_parser_header_P_Preferred_Identity_trans_keys[] -3, 35, 41, 42, 57, 58, 64, 65, 90, 91, 94, 95, 122, 123, 125, 9, 13, 32, 44, 0, 8, 11, 127, 9, - 13, 32, 34, 44, 47, 58, 92, -64, - -33, -32, -17, -16, -9, -8, -5, -4, - -3, 33, 42, 43, 57, 59, 64, 65, - 90, 91, 96, 97, 122, 123, 126, 9, - 13, 32, 34, 44, 58, 92, -64, -33, - -32, -17, -16, -9, -8, -5, -4, -3, - 33, 126, 9, 13, 32, 33, 34, 37, - 39, 44, 47, 60, 92, 126, -64, -33, - -32, -17, -16, -9, -8, -5, -4, -3, - 35, 41, 42, 57, 58, 64, 65, 90, - 91, 94, 95, 96, 97, 122, 123, 125, - 9, 13, 32, 33, 34, 37, 39, 44, - 60, 126, 42, 46, 48, 57, 65, 90, - 95, 96, 97, 122, 9, 13, 32, 33, - 37, 39, 44, 126, 42, 46, 48, 57, - 65, 90, 95, 122, 9, 13, 32, 33, - 37, 39, 44, 60, 126, 42, 46, 48, - 57, 65, 90, 95, 122, 9, 13, 32, - 44, 58, 43, 46, 48, 57, 65, 90, - 97, 122, 9, 13, 32, 44, 58, 9, - 13, 32, 44, 9, 13, 32, 33, 34, - 37, 39, 44, 47, 92, 126, -64, -33, - -32, -17, -16, -9, -8, -5, -4, -3, - 35, 41, 42, 57, 58, 64, 65, 90, - 91, 94, 95, 122, 123, 125, 9, 13, - 32, 33, 34, 37, 39, 44, 47, 60, - 92, 126, -64, -33, -32, -17, -16, -9, - -8, -5, -4, -3, 35, 41, 42, 57, - 58, 64, 65, 90, 91, 94, 95, 122, - 123, 125, 9, 13, 32, 34, 44, 60, - 92, -64, -33, -32, -17, -16, -9, -8, - -5, -4, -3, 33, 126, 9, 13, 32, - 44, 58, 62, 43, 46, 48, 57, 65, - 90, 97, 122, 9, 13, 32, 44, 58, - 62, 9, 13, 32, 44, 62, 9, 13, - 32, 34, 44, 62, 92, -64, -33, -32, - -17, -16, -9, -8, -5, -4, -3, 33, - 126, 9, 13, 32, 44, 62, -128, -65, - 9, 13, 32, 44, 62, -128, -65, 9, - 13, 32, 44, 62, -128, -65, 9, 13, - 32, 44, 62, -128, -65, 9, 13, 32, - 44, 62, -128, -65, 9, 13, 32, 44, - 60, 62, 9, 13, 32, 33, 34, 37, - 39, 44, 47, 60, 62, 92, 126, -64, - -33, -32, -17, -16, -9, -8, -5, -4, - -3, 35, 41, 42, 57, 58, 64, 65, - 90, 91, 94, 95, 96, 97, 122, 123, - 125, 9, 13, 32, 33, 34, 37, 39, - 44, 47, 62, 92, 126, -64, -33, -32, - -17, -16, -9, -8, -5, -4, -3, 35, - 41, 42, 57, 58, 64, 65, 90, 91, - 94, 95, 122, 123, 125, 9, 13, 32, - 33, 34, 37, 39, 44, 47, 60, 62, - 92, 126, -64, -33, -32, -17, -16, -9, - -8, -5, -4, -3, 35, 41, 42, 57, - 58, 64, 65, 90, 91, 94, 95, 122, - 123, 125, 9, 13, 32, 44, 62, 0, - 8, 11, 127, 9, 13, 32, 34, 44, - 60, 62, 92, -64, -33, -32, -17, -16, - -9, -8, -5, -4, -3, 33, 126, 9, - 13, 32, 34, 44, 47, 58, 62, 92, - -64, -33, -32, -17, -16, -9, -8, -5, - -4, -3, 33, 42, 43, 57, 59, 64, - 65, 90, 91, 96, 97, 122, 123, 126, - 9, 13, 32, 34, 44, 58, 62, 92, - -64, -33, -32, -17, -16, -9, -8, -5, - -4, -3, 33, 126, 9, 13, 32, 34, - 44, 62, 92, -64, -33, -32, -17, -16, - -9, -8, -5, -4, -3, 33, 126, 9, - 13, 32, 44, 62, -128, -65, 9, 13, - 32, 34, 44, 62, 92, -64, -33, -32, - -17, -16, -9, -8, -5, -4, -3, 33, - 126, 9, 13, 32, 44, 62, -128, -65, - 9, 13, 32, 44, 62, -128, -65, 9, - 13, 32, 44, 62, -128, -65, 9, 13, - 32, 44, 62, -128, -65, 9, 13, 32, - 44, 60, 62, 9, 13, 32, 44, 60, - 62, 9, 13, 32, 44, 62, 65, 90, - 97, 122, 9, 13, 32, 44, 58, 62, - 43, 46, 48, 57, 65, 90, 97, 122, - 9, 13, 32, 44, 58, 62, 9, 13, - 32, 33, 34, 37, 39, 44, 47, 60, - 62, 92, 126, -64, -33, -32, -17, -16, - -9, -8, -5, -4, -3, 35, 41, 42, - 57, 58, 64, 65, 90, 91, 94, 95, - 96, 97, 122, 123, 125, 9, 13, 32, - 33, 34, 37, 39, 44, 47, 62, 92, - 126, -64, -33, -32, -17, -16, -9, -8, - -5, -4, -3, 35, 41, 42, 57, 58, - 64, 65, 90, 91, 94, 95, 122, 123, - 125, 9, 13, 32, 33, 34, 37, 39, - 44, 47, 60, 62, 92, 126, -64, -33, - -32, -17, -16, -9, -8, -5, -4, -3, - 35, 41, 42, 57, 58, 64, 65, 90, - 91, 94, 95, 122, 123, 125, 9, 13, - 32, 44, 62, 0, 8, 11, 127, 9, - 13, 32, 34, 44, 47, 58, 62, 92, - -64, -33, -32, -17, -16, -9, -8, -5, - -4, -3, 33, 42, 43, 57, 59, 64, - 65, 90, 91, 96, 97, 122, 123, 126, - 9, 13, 32, 34, 44, 58, 62, 92, - -64, -33, -32, -17, -16, -9, -8, -5, - -4, -3, 33, 126, 9, 13, 32, 33, - 34, 37, 39, 44, 47, 60, 62, 92, - 126, -64, -33, -32, -17, -16, -9, -8, - -5, -4, -3, 35, 41, 42, 57, 58, - 64, 65, 90, 91, 94, 95, 96, 97, - 122, 123, 125, 9, 13, 32, 33, 34, - 37, 39, 44, 60, 62, 126, 42, 46, - 48, 57, 65, 90, 95, 96, 97, 122, - 9, 13, 32, 33, 37, 39, 44, 62, - 126, 42, 46, 48, 57, 65, 90, 95, - 122, 9, 13, 32, 33, 37, 39, 44, - 60, 62, 126, 42, 46, 48, 57, 65, - 90, 95, 122, 9, 13, 32, 44, 58, - 62, 43, 46, 48, 57, 65, 90, 97, - 122, 9, 13, 32, 44, 58, 62, 9, - 13, 32, 44, 62, 9, 13, 32, 33, - 34, 37, 39, 44, 47, 62, 92, 126, - -64, -33, -32, -17, -16, -9, -8, -5, - -4, -3, 35, 41, 42, 57, 58, 64, - 65, 90, 91, 94, 95, 122, 123, 125, - 9, 13, 32, 33, 34, 37, 39, 44, - 47, 60, 62, 92, 126, -64, -33, -32, - -17, -16, -9, -8, -5, -4, -3, 35, - 41, 42, 57, 58, 64, 65, 90, 91, - 94, 95, 122, 123, 125, 9, 13, 32, - 34, 44, 60, 62, 92, -64, -33, -32, - -17, -16, -9, -8, -5, -4, -3, 33, - 126, 9, 13, 32, 44, 62, -128, -65, + 13, 32, 44, 58, 62, 43, 46, 48, + 57, 65, 90, 97, 122, 9, 13, 32, + 44, 58, 62, 9, 13, 32, 44, 62, 9, 13, 32, 34, 44, 62, 92, -64, -33, -32, -17, -16, -9, -8, -5, -4, -3, 33, 126, 9, 13, 32, 44, 62, -128, -65, 9, 13, 32, 44, 62, -128, -65, 9, 13, 32, 44, 62, -128, -65, 9, 13, 32, 44, 62, -128, -65, 9, - 13, 32, 44, 60, 62, 9, 13, 32, - 44, 60, 62, 9, 13, 32, 44, 62, - 65, 90, 97, 122, 9, 13, 32, 33, + 13, 32, 44, 62, -128, -65, 9, 13, + 32, 44, 60, 62, 9, 13, 32, 33, 34, 37, 39, 44, 47, 60, 62, 92, 126, -64, -33, -32, -17, -16, -9, -8, -5, -4, -3, 35, 41, 42, 57, 58, @@ -743,7 +483,231 @@ static const char _tsip_machine_parser_header_P_Preferred_Identity_trans_keys[] 62, 0, 8, 11, 127, 9, 13, 32, 34, 44, 60, 62, 92, -64, -33, -32, -17, -16, -9, -8, -5, -4, -3, 33, - 126, 9, 13, 32, 34, 44, 47, 58, + 126, 9, 13, 32, 33, 34, 37, 39, + 44, 47, 62, 92, 126, -64, -33, -32, + -17, -16, -9, -8, -5, -4, -3, 35, + 41, 42, 57, 58, 64, 65, 90, 91, + 94, 95, 122, 123, 125, 9, 13, 32, + 33, 34, 37, 39, 44, 47, 60, 62, + 92, 126, -64, -33, -32, -17, -16, -9, + -8, -5, -4, -3, 35, 41, 42, 57, + 58, 64, 65, 90, 91, 94, 95, 122, + 123, 125, 9, 13, 32, 44, 62, 0, + 8, 11, 127, 9, 13, 32, 34, 44, + 60, 62, 92, -64, -33, -32, -17, -16, + -9, -8, -5, -4, -3, 33, 126, 9, + 13, 32, 34, 44, 47, 58, 62, 92, + -64, -33, -32, -17, -16, -9, -8, -5, + -4, -3, 33, 42, 43, 57, 59, 64, + 65, 90, 91, 96, 97, 122, 123, 126, + 9, 13, 32, 34, 44, 58, 62, 92, + -64, -33, -32, -17, -16, -9, -8, -5, + -4, -3, 33, 126, 9, 13, 32, 34, + 44, 62, 92, -64, -33, -32, -17, -16, + -9, -8, -5, -4, -3, 33, 126, 9, + 13, 32, 44, 62, 9, 13, 32, 33, + 34, 37, 39, 44, 60, 62, 126, 42, + 46, 48, 57, 65, 90, 95, 96, 97, + 122, 9, 13, 32, 33, 37, 39, 44, + 62, 126, 42, 46, 48, 57, 65, 90, + 95, 122, 9, 13, 32, 33, 37, 39, + 44, 60, 62, 126, 42, 46, 48, 57, + 65, 90, 95, 122, 9, 13, 32, 44, + 60, 62, 9, 13, 32, 44, 62, 65, + 90, 97, 122, 9, 13, 32, 44, 9, + 13, 32, 33, 34, 37, 39, 44, 60, + 126, 42, 46, 48, 57, 65, 90, 95, + 96, 97, 122, 9, 13, 32, 33, 37, + 39, 44, 126, 42, 46, 48, 57, 65, + 90, 95, 122, 9, 13, 32, 33, 37, + 39, 44, 60, 126, 42, 46, 48, 57, + 65, 90, 95, 122, 9, 13, 32, 44, + 60, 9, 13, 32, 44, 65, 90, 97, + 122, 9, 13, 32, 44, 58, 43, 46, + 48, 57, 65, 90, 97, 122, 9, 13, + 32, 44, 58, 9, 13, 32, 44, 9, + 13, 32, 44, 62, 9, 13, 32, 33, + 34, 37, 39, 44, 60, 62, 126, 42, + 46, 48, 57, 65, 90, 95, 96, 97, + 122, 9, 13, 32, 33, 37, 39, 44, + 62, 126, 42, 46, 48, 57, 65, 90, + 95, 122, 9, 13, 32, 33, 37, 39, + 44, 60, 62, 126, 42, 46, 48, 57, + 65, 90, 95, 122, 9, 13, 32, 44, + 60, 62, 9, 13, 32, 44, 62, 65, + 90, 97, 122, 9, 13, 32, 34, 44, + 62, 92, -64, -33, -32, -17, -16, -9, + -8, -5, -4, -3, 33, 126, 9, 13, + 32, 44, 62, -128, -65, 9, 13, 32, + 44, 62, -128, -65, 9, 13, 32, 44, + 62, -128, -65, 9, 13, 32, 44, 62, + -128, -65, 9, 13, 32, 44, 62, -128, + -65, 9, 13, 32, 44, 60, 62, 9, + 13, 32, 33, 34, 37, 39, 44, 47, + 60, 62, 92, 126, -64, -33, -32, -17, + -16, -9, -8, -5, -4, -3, 35, 41, + 42, 57, 58, 64, 65, 90, 91, 94, + 95, 96, 97, 122, 123, 125, 9, 13, + 32, 33, 34, 37, 39, 44, 47, 62, + 92, 126, -64, -33, -32, -17, -16, -9, + -8, -5, -4, -3, 35, 41, 42, 57, + 58, 64, 65, 90, 91, 94, 95, 122, + 123, 125, 9, 13, 32, 33, 34, 37, + 39, 44, 47, 60, 62, 92, 126, -64, + -33, -32, -17, -16, -9, -8, -5, -4, + -3, 35, 41, 42, 57, 58, 64, 65, + 90, 91, 94, 95, 122, 123, 125, 9, + 13, 32, 44, 62, 0, 8, 11, 127, + 9, 13, 32, 34, 44, 60, 62, 92, + -64, -33, -32, -17, -16, -9, -8, -5, + -4, -3, 33, 126, 9, 13, 32, 34, + 44, 47, 58, 62, 92, -64, -33, -32, + -17, -16, -9, -8, -5, -4, -3, 33, + 42, 43, 57, 59, 64, 65, 90, 91, + 96, 97, 122, 123, 126, 9, 13, 32, + 34, 44, 58, 62, 92, -64, -33, -32, + -17, -16, -9, -8, -5, -4, -3, 33, + 126, 9, 13, 32, 34, 44, 62, 92, + -64, -33, -32, -17, -16, -9, -8, -5, + -4, -3, 33, 126, 9, 13, 32, 44, + 62, -128, -65, 9, 13, 32, 34, 44, + 62, 92, -64, -33, -32, -17, -16, -9, + -8, -5, -4, -3, 33, 126, 9, 13, + 32, 44, 62, -128, -65, 9, 13, 32, + 44, 62, -128, -65, 9, 13, 32, 44, + 62, -128, -65, 9, 13, 32, 44, 62, + -128, -65, 9, 13, 32, 33, 34, 37, + 39, 44, 47, 60, 62, 92, 126, -64, + -33, -32, -17, -16, -9, -8, -5, -4, + -3, 35, 41, 42, 57, 58, 64, 65, + 90, 91, 94, 95, 96, 97, 122, 123, + 125, 9, 13, 32, 33, 34, 37, 39, + 44, 60, 62, 126, 42, 46, 48, 57, + 65, 90, 95, 96, 97, 122, 9, 13, + 32, 34, 44, 62, 92, -64, -33, -32, + -17, -16, -9, -8, -5, -4, -3, 33, + 126, 9, 13, 32, 44, 62, -128, -65, + 9, 13, 32, 44, 62, -128, -65, 9, + 13, 32, 44, 62, -128, -65, 9, 13, + 32, 44, 62, -128, -65, 9, 13, 32, + 44, 62, -128, -65, 9, 13, 32, 33, + 34, 37, 39, 44, 47, 60, 62, 92, + 126, -64, -33, -32, -17, -16, -9, -8, + -5, -4, -3, 35, 41, 42, 57, 58, + 64, 65, 90, 91, 94, 95, 96, 97, + 122, 123, 125, 9, 13, 32, 33, 34, + 37, 39, 44, 47, 62, 92, 126, -64, + -33, -32, -17, -16, -9, -8, -5, -4, + -3, 35, 41, 42, 57, 58, 64, 65, + 90, 91, 94, 95, 122, 123, 125, 9, + 13, 32, 33, 34, 37, 39, 44, 47, + 60, 62, 92, 126, -64, -33, -32, -17, + -16, -9, -8, -5, -4, -3, 35, 41, + 42, 57, 58, 64, 65, 90, 91, 94, + 95, 122, 123, 125, 9, 13, 32, 44, + 62, 0, 8, 11, 127, 9, 13, 32, + 44, 58, 62, 43, 46, 48, 57, 65, + 90, 97, 122, 9, 13, 32, 44, 58, + 62, 9, 13, 32, 44, 62, 9, 13, + 32, 33, 34, 37, 39, 44, 60, 62, + 126, 42, 46, 48, 57, 65, 90, 95, + 96, 97, 122, 9, 13, 32, 34, 44, + 62, 92, -64, -33, -32, -17, -16, -9, + -8, -5, -4, -3, 33, 126, 9, 13, + 32, 44, 62, -128, -65, 9, 13, 32, + 44, 62, -128, -65, 9, 13, 32, 44, + 62, -128, -65, 9, 13, 32, 44, 62, + -128, -65, 9, 13, 32, 44, 62, -128, + -65, 9, 13, 32, 33, 34, 37, 39, + 44, 47, 60, 62, 92, 126, -64, -33, + -32, -17, -16, -9, -8, -5, -4, -3, + 35, 41, 42, 57, 58, 64, 65, 90, + 91, 94, 95, 96, 97, 122, 123, 125, + 9, 13, 32, 33, 34, 37, 39, 44, + 60, 62, 126, 42, 46, 48, 57, 65, + 90, 95, 96, 97, 122, 9, 13, 32, + 34, 44, 62, 92, -64, -33, -32, -17, + -16, -9, -8, -5, -4, -3, 33, 126, + 9, 13, 32, 44, 62, -128, -65, 9, + 13, 32, 44, 62, -128, -65, 9, 13, + 32, 44, 62, -128, -65, 9, 13, 32, + 44, 62, -128, -65, 9, 13, 32, 44, + 62, -128, -65, 9, 13, 32, 33, 34, + 37, 39, 44, 47, 60, 62, 92, 126, + -64, -33, -32, -17, -16, -9, -8, -5, + -4, -3, 35, 41, 42, 57, 58, 64, + 65, 90, 91, 94, 95, 96, 97, 122, + 123, 125, 9, 13, 32, 33, 34, 37, + 39, 44, 47, 62, 92, 126, -64, -33, + -32, -17, -16, -9, -8, -5, -4, -3, + 35, 41, 42, 57, 58, 64, 65, 90, + 91, 94, 95, 122, 123, 125, 9, 13, + 32, 33, 34, 37, 39, 44, 47, 60, + 62, 92, 126, -64, -33, -32, -17, -16, + -9, -8, -5, -4, -3, 35, 41, 42, + 57, 58, 64, 65, 90, 91, 94, 95, + 122, 123, 125, 9, 13, 32, 44, 62, + 0, 8, 11, 127, 9, 13, 32, 34, + 44, 47, 58, 62, 92, -64, -33, -32, + -17, -16, -9, -8, -5, -4, -3, 33, + 42, 43, 57, 59, 64, 65, 90, 91, + 96, 97, 122, 123, 126, 9, 13, 32, + 34, 44, 58, 62, 92, -64, -33, -32, + -17, -16, -9, -8, -5, -4, -3, 33, + 126, 9, 13, 32, 34, 44, 62, 92, + -64, -33, -32, -17, -16, -9, -8, -5, + -4, -3, 33, 126, 9, 13, 32, 44, + 58, 62, 43, 46, 48, 57, 65, 90, + 97, 122, 9, 13, 32, 44, 58, 62, + 9, 13, 32, 44, 62, 9, 13, 32, + 33, 34, 37, 39, 44, 60, 62, 126, + 42, 46, 48, 57, 65, 90, 95, 96, + 97, 122, 9, 13, 32, 34, 44, 62, + 92, -64, -33, -32, -17, -16, -9, -8, + -5, -4, -3, 33, 126, 9, 13, 32, + 44, 62, -128, -65, 9, 13, 32, 44, + 62, -128, -65, 9, 13, 32, 44, 62, + -128, -65, 9, 13, 32, 44, 62, -128, + -65, 9, 13, 32, 44, 62, -128, -65, + 9, 13, 32, 33, 34, 37, 39, 44, + 47, 60, 62, 92, 126, -64, -33, -32, + -17, -16, -9, -8, -5, -4, -3, 35, + 41, 42, 57, 58, 64, 65, 90, 91, + 94, 95, 96, 97, 122, 123, 125, 9, + 13, 32, 33, 34, 37, 39, 44, 47, + 62, 92, 126, -64, -33, -32, -17, -16, + -9, -8, -5, -4, -3, 35, 41, 42, + 57, 58, 64, 65, 90, 91, 94, 95, + 122, 123, 125, 9, 13, 32, 33, 34, + 37, 39, 44, 47, 60, 62, 92, 126, + -64, -33, -32, -17, -16, -9, -8, -5, + -4, -3, 35, 41, 42, 57, 58, 64, + 65, 90, 91, 94, 95, 122, 123, 125, + 9, 13, 32, 44, 62, 0, 8, 11, + 127, 9, 13, 32, 34, 44, 60, 62, + 92, -64, -33, -32, -17, -16, -9, -8, + -5, -4, -3, 33, 126, 9, 13, 32, + 33, 34, 37, 39, 44, 47, 62, 92, + 126, -64, -33, -32, -17, -16, -9, -8, + -5, -4, -3, 35, 41, 42, 57, 58, + 64, 65, 90, 91, 94, 95, 122, 123, + 125, 9, 13, 32, 33, 34, 37, 39, + 44, 47, 60, 62, 92, 126, -64, -33, + -32, -17, -16, -9, -8, -5, -4, -3, + 35, 41, 42, 57, 58, 64, 65, 90, + 91, 94, 95, 122, 123, 125, 9, 13, + 32, 44, 62, 0, 8, 11, 127, 9, + 13, 32, 33, 34, 37, 39, 44, 47, + 62, 92, 126, -64, -33, -32, -17, -16, + -9, -8, -5, -4, -3, 35, 41, 42, + 57, 58, 64, 65, 90, 91, 94, 95, + 122, 123, 125, 9, 13, 32, 33, 34, + 37, 39, 44, 47, 60, 62, 92, 126, + -64, -33, -32, -17, -16, -9, -8, -5, + -4, -3, 35, 41, 42, 57, 58, 64, + 65, 90, 91, 94, 95, 122, 123, 125, + 9, 13, 32, 44, 62, 0, 8, 11, + 127, 9, 13, 32, 34, 44, 47, 58, 62, 92, -64, -33, -32, -17, -16, -9, -8, -5, -4, -3, 33, 42, 43, 57, 59, 64, 65, 90, 91, 96, 97, 122, @@ -757,45 +721,29 @@ static const char _tsip_machine_parser_header_P_Preferred_Identity_trans_keys[] -32, -17, -16, -9, -8, -5, -4, -3, 35, 41, 42, 57, 58, 64, 65, 90, 91, 94, 95, 96, 97, 122, 123, 125, - 9, 13, 32, 33, 34, 37, 39, 44, - 47, 62, 92, 126, -64, -33, -32, -17, - -16, -9, -8, -5, -4, -3, 35, 41, - 42, 57, 58, 64, 65, 90, 91, 94, - 95, 122, 123, 125, 9, 13, 32, 33, + 9, 13, 32, 34, 44, 60, 62, 92, + -64, -33, -32, -17, -16, -9, -8, -5, + -4, -3, 33, 126, 9, 13, 32, 33, 34, 37, 39, 44, 47, 60, 62, 92, 126, -64, -33, -32, -17, -16, -9, -8, -5, -4, -3, 35, 41, 42, 57, 58, - 64, 65, 90, 91, 94, 95, 122, 123, - 125, 9, 13, 32, 34, 44, 60, 62, - 92, -64, -33, -32, -17, -16, -9, -8, - -5, -4, -3, 33, 126, 9, 13, 32, - 33, 34, 37, 39, 44, 47, 60, 62, - 92, 126, -64, -33, -32, -17, -16, -9, - -8, -5, -4, -3, 35, 41, 42, 57, - 58, 64, 65, 90, 91, 94, 95, 96, - 97, 122, 123, 125, 9, 13, 32, 33, - 34, 37, 39, 44, 60, 62, 126, 42, - 46, 48, 57, 65, 90, 95, 96, 97, - 122, 9, 13, 32, 33, 37, 39, 44, - 62, 126, 42, 46, 48, 57, 65, 90, - 95, 122, 9, 13, 32, 33, 37, 39, - 44, 60, 62, 126, 42, 46, 48, 57, - 65, 90, 95, 122, 9, 13, 32, 33, - 34, 37, 39, 44, 47, 62, 92, 126, - -64, -33, -32, -17, -16, -9, -8, -5, - -4, -3, 35, 41, 42, 57, 58, 64, - 65, 90, 91, 94, 95, 122, 123, 125, - 9, 13, 32, 33, 34, 37, 39, 44, - 47, 60, 62, 92, 126, -64, -33, -32, - -17, -16, -9, -8, -5, -4, -3, 35, - 41, 42, 57, 58, 64, 65, 90, 91, - 94, 95, 122, 123, 125, 9, 13, 32, - 34, 44, 60, 62, 92, -64, -33, -32, - -17, -16, -9, -8, -5, -4, -3, 33, - 126, 9, 13, 32, 44, 58, 62, 43, - 46, 48, 57, 65, 90, 97, 122, 9, - 13, 32, 44, 58, 62, 9, 13, 32, - 44, 62, 9, 13, 32, 34, 44, 92, + 64, 65, 90, 91, 94, 95, 96, 97, + 122, 123, 125, 9, 13, 32, 33, 34, + 37, 39, 44, 47, 62, 92, 126, -64, + -33, -32, -17, -16, -9, -8, -5, -4, + -3, 35, 41, 42, 57, 58, 64, 65, + 90, 91, 94, 95, 122, 123, 125, 9, + 13, 32, 33, 34, 37, 39, 44, 47, + 60, 62, 92, 126, -64, -33, -32, -17, + -16, -9, -8, -5, -4, -3, 35, 41, + 42, 57, 58, 64, 65, 90, 91, 94, + 95, 122, 123, 125, 9, 13, 32, 44, + 58, 62, 43, 46, 48, 57, 65, 90, + 97, 122, 9, 13, 32, 44, 58, 62, + 9, 13, 32, 44, 62, 9, 13, 32, + 33, 34, 37, 39, 44, 60, 62, 126, + 42, 46, 48, 57, 65, 90, 95, 96, + 97, 122, 9, 13, 32, 34, 44, 92, -64, -33, -32, -17, -16, -9, -8, -5, -4, -3, 33, 126, 9, 13, 32, 44, -128, -65, 9, 13, 32, 44, -128, -65, @@ -833,12 +781,7 @@ static const char _tsip_machine_parser_header_P_Preferred_Identity_trans_keys[] -4, -3, 33, 126, 9, 13, 32, 44, -128, -65, 9, 13, 32, 44, -128, -65, 9, 13, 32, 44, -128, -65, 9, 13, - 32, 44, -128, -65, 9, 13, 32, 44, - 60, 9, 13, 32, 44, 60, 9, 13, - 32, 44, 65, 90, 97, 122, 9, 13, - 32, 44, 58, 43, 46, 48, 57, 65, - 90, 97, 122, 9, 13, 32, 44, 58, - 9, 13, 32, 44, 9, 13, 32, 33, + 32, 44, -128, -65, 9, 13, 32, 33, 34, 37, 39, 44, 47, 60, 92, 126, -64, -33, -32, -17, -16, -9, -8, -5, -4, -3, 35, 41, 42, 57, 58, 64, @@ -853,59 +796,350 @@ static const char _tsip_machine_parser_header_P_Preferred_Identity_trans_keys[] -5, -4, -3, 35, 41, 42, 57, 58, 64, 65, 90, 91, 94, 95, 122, 123, 125, 9, 13, 32, 44, 0, 8, 11, - 127, 9, 13, 32, 34, 44, 60, 92, + 127, 9, 13, 32, 34, 44, 47, 58, + 92, -64, -33, -32, -17, -16, -9, -8, + -5, -4, -3, 33, 42, 43, 57, 59, + 64, 65, 90, 91, 96, 97, 122, 123, + 126, 9, 13, 32, 34, 44, 58, 92, -64, -33, -32, -17, -16, -9, -8, -5, -4, -3, 33, 126, 9, 13, 32, 34, - 44, 47, 58, 92, -64, -33, -32, -17, - -16, -9, -8, -5, -4, -3, 33, 42, - 43, 57, 59, 64, 65, 90, 91, 96, - 97, 122, 123, 126, 9, 13, 32, 34, - 44, 58, 92, -64, -33, -32, -17, -16, - -9, -8, -5, -4, -3, 33, 126, 9, - 13, 32, 34, 44, 92, -64, -33, -32, - -17, -16, -9, -8, -5, -4, -3, 33, - 126, 9, 13, 32, 33, 34, 37, 39, - 44, 47, 60, 92, 126, -64, -33, -32, - -17, -16, -9, -8, -5, -4, -3, 35, - 41, 42, 57, 58, 64, 65, 90, 91, - 94, 95, 96, 97, 122, 123, 125, 9, - 13, 32, 33, 34, 37, 39, 44, 47, + 44, 92, -64, -33, -32, -17, -16, -9, + -8, -5, -4, -3, 33, 126, 9, 13, + 32, 33, 34, 37, 39, 44, 47, 60, 92, 126, -64, -33, -32, -17, -16, -9, -8, -5, -4, -3, 35, 41, 42, 57, - 58, 64, 65, 90, 91, 94, 95, 122, - 123, 125, 9, 13, 32, 33, 34, 37, - 39, 44, 47, 60, 92, 126, -64, -33, - -32, -17, -16, -9, -8, -5, -4, -3, - 35, 41, 42, 57, 58, 64, 65, 90, - 91, 94, 95, 122, 123, 125, 9, 13, - 32, 34, 44, 60, 92, -64, -33, -32, - -17, -16, -9, -8, -5, -4, -3, 33, - 126, 9, 13, 32, 33, 34, 37, 39, - 44, 47, 60, 92, 126, -64, -33, -32, - -17, -16, -9, -8, -5, -4, -3, 35, - 41, 42, 57, 58, 64, 65, 90, 91, - 94, 95, 96, 97, 122, 123, 125, 9, - 13, 32, 33, 34, 37, 39, 44, 60, - 126, 42, 46, 48, 57, 65, 90, 95, - 96, 97, 122, 9, 13, 32, 33, 37, - 39, 44, 126, 42, 46, 48, 57, 65, - 90, 95, 122, 9, 13, 32, 33, 37, - 39, 44, 60, 126, 42, 46, 48, 57, - 65, 90, 95, 122, 9, 13, 32, 33, - 34, 37, 39, 44, 47, 92, 126, -64, - -33, -32, -17, -16, -9, -8, -5, -4, - -3, 35, 41, 42, 57, 58, 64, 65, - 90, 91, 94, 95, 122, 123, 125, 9, + 58, 64, 65, 90, 91, 94, 95, 96, + 97, 122, 123, 125, 9, 13, 32, 34, + 44, 60, 92, -64, -33, -32, -17, -16, + -9, -8, -5, -4, -3, 33, 126, 9, 13, 32, 33, 34, 37, 39, 44, 47, 60, 92, 126, -64, -33, -32, -17, -16, -9, -8, -5, -4, -3, 35, 41, 42, 57, 58, 64, 65, 90, 91, 94, 95, - 122, 123, 125, 9, 13, 32, 34, 44, - 60, 92, -64, -33, -32, -17, -16, -9, - -8, -5, -4, -3, 33, 126, 9, 13, - 32, 44, 58, 43, 46, 48, 57, 65, + 96, 97, 122, 123, 125, 9, 13, 32, + 33, 34, 37, 39, 44, 47, 92, 126, + -64, -33, -32, -17, -16, -9, -8, -5, + -4, -3, 35, 41, 42, 57, 58, 64, + 65, 90, 91, 94, 95, 122, 123, 125, + 9, 13, 32, 33, 34, 37, 39, 44, + 47, 60, 92, 126, -64, -33, -32, -17, + -16, -9, -8, -5, -4, -3, 35, 41, + 42, 57, 58, 64, 65, 90, 91, 94, + 95, 122, 123, 125, 9, 13, 32, 44, + 58, 43, 46, 48, 57, 65, 90, 97, + 122, 9, 13, 32, 44, 58, 9, 13, + 32, 44, 9, 13, 32, 33, 34, 37, + 39, 44, 60, 126, 42, 46, 48, 57, + 65, 90, 95, 96, 97, 122, 9, 13, + 32, 44, 58, 62, 43, 46, 48, 57, + 65, 90, 97, 122, 9, 13, 32, 44, + 58, 62, 9, 13, 32, 44, 62, 9, + 13, 32, 34, 44, 62, 92, -64, -33, + -32, -17, -16, -9, -8, -5, -4, -3, + 33, 126, 9, 13, 32, 44, 62, -128, + -65, 9, 13, 32, 44, 62, -128, -65, + 9, 13, 32, 44, 62, -128, -65, 9, + 13, 32, 44, 62, -128, -65, 9, 13, + 32, 44, 62, -128, -65, 9, 13, 32, + 44, 60, 62, 9, 13, 32, 33, 34, + 37, 39, 44, 47, 60, 62, 92, 126, + -64, -33, -32, -17, -16, -9, -8, -5, + -4, -3, 35, 41, 42, 57, 58, 64, + 65, 90, 91, 94, 95, 96, 97, 122, + 123, 125, 9, 13, 32, 33, 34, 37, + 39, 44, 47, 62, 92, 126, -64, -33, + -32, -17, -16, -9, -8, -5, -4, -3, + 35, 41, 42, 57, 58, 64, 65, 90, + 91, 94, 95, 122, 123, 125, 9, 13, + 32, 33, 34, 37, 39, 44, 47, 60, + 62, 92, 126, -64, -33, -32, -17, -16, + -9, -8, -5, -4, -3, 35, 41, 42, + 57, 58, 64, 65, 90, 91, 94, 95, + 122, 123, 125, 9, 13, 32, 44, 62, + 0, 8, 11, 127, 9, 13, 32, 34, + 44, 60, 62, 92, -64, -33, -32, -17, + -16, -9, -8, -5, -4, -3, 33, 126, + 9, 13, 32, 34, 44, 47, 58, 62, + 92, -64, -33, -32, -17, -16, -9, -8, + -5, -4, -3, 33, 42, 43, 57, 59, + 64, 65, 90, 91, 96, 97, 122, 123, + 126, 9, 13, 32, 34, 44, 58, 62, + 92, -64, -33, -32, -17, -16, -9, -8, + -5, -4, -3, 33, 126, 9, 13, 32, + 34, 44, 62, 92, -64, -33, -32, -17, + -16, -9, -8, -5, -4, -3, 33, 126, + 9, 13, 32, 44, 62, -128, -65, 9, + 13, 32, 34, 44, 62, 92, -64, -33, + -32, -17, -16, -9, -8, -5, -4, -3, + 33, 126, 9, 13, 32, 44, 62, -128, + -65, 9, 13, 32, 44, 62, -128, -65, + 9, 13, 32, 44, 62, -128, -65, 9, + 13, 32, 44, 62, -128, -65, 9, 13, + 32, 44, 60, 62, 9, 13, 32, 44, + 60, 62, 9, 13, 32, 44, 62, 65, 90, 97, 122, 9, 13, 32, 44, 58, - 9, 13, 32, 44, 0 + 62, 43, 46, 48, 57, 65, 90, 97, + 122, 9, 13, 32, 44, 58, 62, 9, + 13, 32, 33, 34, 37, 39, 44, 47, + 60, 62, 92, 126, -64, -33, -32, -17, + -16, -9, -8, -5, -4, -3, 35, 41, + 42, 57, 58, 64, 65, 90, 91, 94, + 95, 96, 97, 122, 123, 125, 9, 13, + 32, 33, 34, 37, 39, 44, 60, 62, + 126, 42, 46, 48, 57, 65, 90, 95, + 96, 97, 122, 9, 13, 32, 44, 58, + 62, 43, 46, 48, 57, 65, 90, 97, + 122, 9, 13, 32, 44, 58, 62, 9, + 13, 32, 44, 62, 9, 13, 32, 33, + 34, 37, 39, 44, 60, 62, 126, 42, + 46, 48, 57, 65, 90, 95, 96, 97, + 122, 9, 13, 32, 33, 37, 39, 44, + 62, 126, 42, 46, 48, 57, 65, 90, + 95, 122, 9, 13, 32, 33, 37, 39, + 44, 60, 62, 126, 42, 46, 48, 57, + 65, 90, 95, 122, 9, 13, 32, 44, + 60, 62, 9, 13, 32, 44, 62, 65, + 90, 97, 122, 9, 13, 32, 44, 58, + 62, 43, 46, 48, 57, 65, 90, 97, + 122, 9, 13, 32, 44, 58, 62, 9, + 13, 32, 34, 44, 62, 92, -64, -33, + -32, -17, -16, -9, -8, -5, -4, -3, + 33, 126, 9, 13, 32, 44, 62, -128, + -65, 9, 13, 32, 44, 62, -128, -65, + 9, 13, 32, 44, 62, -128, -65, 9, + 13, 32, 44, 62, -128, -65, 9, 13, + 32, 44, 62, -128, -65, 9, 13, 32, + 44, 60, 62, 9, 13, 32, 33, 34, + 37, 39, 44, 47, 60, 62, 92, 126, + -64, -33, -32, -17, -16, -9, -8, -5, + -4, -3, 35, 41, 42, 57, 58, 64, + 65, 90, 91, 94, 95, 96, 97, 122, + 123, 125, 9, 13, 32, 33, 34, 37, + 39, 44, 47, 62, 92, 126, -64, -33, + -32, -17, -16, -9, -8, -5, -4, -3, + 35, 41, 42, 57, 58, 64, 65, 90, + 91, 94, 95, 122, 123, 125, 9, 13, + 32, 33, 34, 37, 39, 44, 47, 60, + 62, 92, 126, -64, -33, -32, -17, -16, + -9, -8, -5, -4, -3, 35, 41, 42, + 57, 58, 64, 65, 90, 91, 94, 95, + 122, 123, 125, 9, 13, 32, 44, 62, + 0, 8, 11, 127, 9, 13, 32, 34, + 44, 60, 62, 92, -64, -33, -32, -17, + -16, -9, -8, -5, -4, -3, 33, 126, + 9, 13, 32, 33, 34, 37, 39, 44, + 47, 62, 92, 126, -64, -33, -32, -17, + -16, -9, -8, -5, -4, -3, 35, 41, + 42, 57, 58, 64, 65, 90, 91, 94, + 95, 122, 123, 125, 9, 13, 32, 33, + 34, 37, 39, 44, 47, 60, 62, 92, + 126, -64, -33, -32, -17, -16, -9, -8, + -5, -4, -3, 35, 41, 42, 57, 58, + 64, 65, 90, 91, 94, 95, 122, 123, + 125, 9, 13, 32, 44, 62, 0, 8, + 11, 127, 9, 13, 32, 34, 44, 47, + 58, 62, 92, -64, -33, -32, -17, -16, + -9, -8, -5, -4, -3, 33, 42, 43, + 57, 59, 64, 65, 90, 91, 96, 97, + 122, 123, 126, 9, 13, 32, 34, 44, + 58, 62, 92, -64, -33, -32, -17, -16, + -9, -8, -5, -4, -3, 33, 126, 9, + 13, 32, 34, 44, 62, 92, -64, -33, + -32, -17, -16, -9, -8, -5, -4, -3, + 33, 126, 9, 13, 32, 33, 34, 37, + 39, 44, 47, 60, 62, 92, 126, -64, + -33, -32, -17, -16, -9, -8, -5, -4, + -3, 35, 41, 42, 57, 58, 64, 65, + 90, 91, 94, 95, 96, 97, 122, 123, + 125, 9, 13, 32, 34, 44, 60, 62, + 92, -64, -33, -32, -17, -16, -9, -8, + -5, -4, -3, 33, 126, 9, 13, 32, + 33, 34, 37, 39, 44, 47, 60, 62, + 92, 126, -64, -33, -32, -17, -16, -9, + -8, -5, -4, -3, 35, 41, 42, 57, + 58, 64, 65, 90, 91, 94, 95, 96, + 97, 122, 123, 125, 9, 13, 32, 33, + 34, 37, 39, 44, 47, 62, 92, 126, + -64, -33, -32, -17, -16, -9, -8, -5, + -4, -3, 35, 41, 42, 57, 58, 64, + 65, 90, 91, 94, 95, 122, 123, 125, + 9, 13, 32, 33, 34, 37, 39, 44, + 47, 60, 62, 92, 126, -64, -33, -32, + -17, -16, -9, -8, -5, -4, -3, 35, + 41, 42, 57, 58, 64, 65, 90, 91, + 94, 95, 122, 123, 125, 9, 13, 32, + 44, 58, 62, 43, 46, 48, 57, 65, + 90, 97, 122, 9, 13, 32, 44, 58, + 62, 9, 13, 32, 44, 62, 9, 13, + 32, 33, 34, 37, 39, 44, 60, 62, + 126, 42, 46, 48, 57, 65, 90, 95, + 96, 97, 122, 9, 13, 32, 33, 37, + 39, 44, 62, 126, 42, 46, 48, 57, + 65, 90, 95, 122, 9, 13, 32, 33, + 37, 39, 44, 60, 62, 126, 42, 46, + 48, 57, 65, 90, 95, 122, 9, 13, + 32, 44, 62, -128, -65, 9, 13, 32, + 34, 44, 62, 92, -64, -33, -32, -17, + -16, -9, -8, -5, -4, -3, 33, 126, + 9, 13, 32, 44, 62, -128, -65, 9, + 13, 32, 44, 62, -128, -65, 9, 13, + 32, 44, 62, -128, -65, 9, 13, 32, + 44, 62, -128, -65, 9, 13, 32, 44, + 60, 62, 9, 13, 32, 44, 60, 62, + 9, 13, 32, 44, 62, 65, 90, 97, + 122, 9, 13, 32, 33, 34, 37, 39, + 44, 47, 60, 62, 92, 126, -64, -33, + -32, -17, -16, -9, -8, -5, -4, -3, + 35, 41, 42, 57, 58, 64, 65, 90, + 91, 94, 95, 96, 97, 122, 123, 125, + 9, 13, 32, 33, 34, 37, 39, 44, + 47, 62, 92, 126, -64, -33, -32, -17, + -16, -9, -8, -5, -4, -3, 35, 41, + 42, 57, 58, 64, 65, 90, 91, 94, + 95, 122, 123, 125, 9, 13, 32, 33, + 34, 37, 39, 44, 47, 60, 62, 92, + 126, -64, -33, -32, -17, -16, -9, -8, + -5, -4, -3, 35, 41, 42, 57, 58, + 64, 65, 90, 91, 94, 95, 122, 123, + 125, 9, 13, 32, 44, 62, 0, 8, + 11, 127, 9, 13, 32, 34, 44, 47, + 58, 62, 92, -64, -33, -32, -17, -16, + -9, -8, -5, -4, -3, 33, 42, 43, + 57, 59, 64, 65, 90, 91, 96, 97, + 122, 123, 126, 9, 13, 32, 34, 44, + 58, 62, 92, -64, -33, -32, -17, -16, + -9, -8, -5, -4, -3, 33, 126, 9, + 13, 32, 34, 44, 62, 92, -64, -33, + -32, -17, -16, -9, -8, -5, -4, -3, + 33, 126, 9, 13, 32, 33, 34, 37, + 39, 44, 47, 60, 62, 92, 126, -64, + -33, -32, -17, -16, -9, -8, -5, -4, + -3, 35, 41, 42, 57, 58, 64, 65, + 90, 91, 94, 95, 96, 97, 122, 123, + 125, 9, 13, 32, 33, 34, 37, 39, + 44, 47, 60, 62, 92, 126, -64, -33, + -32, -17, -16, -9, -8, -5, -4, -3, + 35, 41, 42, 57, 58, 64, 65, 90, + 91, 94, 95, 96, 97, 122, 123, 125, + 9, 13, 32, 33, 34, 37, 39, 44, + 47, 62, 92, 126, -64, -33, -32, -17, + -16, -9, -8, -5, -4, -3, 35, 41, + 42, 57, 58, 64, 65, 90, 91, 94, + 95, 122, 123, 125, 9, 13, 32, 33, + 34, 37, 39, 44, 47, 60, 62, 92, + 126, -64, -33, -32, -17, -16, -9, -8, + -5, -4, -3, 35, 41, 42, 57, 58, + 64, 65, 90, 91, 94, 95, 122, 123, + 125, 9, 13, 32, 34, 44, 60, 62, + 92, -64, -33, -32, -17, -16, -9, -8, + -5, -4, -3, 33, 126, 9, 13, 32, + 44, 58, 62, 43, 46, 48, 57, 65, + 90, 97, 122, 9, 13, 32, 44, 58, + 62, 9, 13, 32, 44, 62, 9, 13, + 32, 33, 34, 37, 39, 44, 60, 62, + 126, 42, 46, 48, 57, 65, 90, 95, + 96, 97, 122, 9, 13, 32, 33, 37, + 39, 44, 62, 126, 42, 46, 48, 57, + 65, 90, 95, 122, 9, 13, 32, 33, + 37, 39, 44, 60, 62, 126, 42, 46, + 48, 57, 65, 90, 95, 122, 9, 13, + 32, 34, 44, 92, -64, -33, -32, -17, + -16, -9, -8, -5, -4, -3, 33, 126, + 9, 13, 32, 44, -128, -65, 9, 13, + 32, 44, -128, -65, 9, 13, 32, 44, + -128, -65, 9, 13, 32, 44, -128, -65, + 9, 13, 32, 44, -128, -65, 9, 13, + 32, 44, 60, 9, 13, 32, 33, 34, + 37, 39, 44, 47, 60, 92, 126, -64, + -33, -32, -17, -16, -9, -8, -5, -4, + -3, 35, 41, 42, 57, 58, 64, 65, + 90, 91, 94, 95, 96, 97, 122, 123, + 125, 9, 13, 32, 33, 34, 37, 39, + 44, 47, 92, 126, -64, -33, -32, -17, + -16, -9, -8, -5, -4, -3, 35, 41, + 42, 57, 58, 64, 65, 90, 91, 94, + 95, 122, 123, 125, 9, 13, 32, 33, + 34, 37, 39, 44, 47, 60, 92, 126, + -64, -33, -32, -17, -16, -9, -8, -5, + -4, -3, 35, 41, 42, 57, 58, 64, + 65, 90, 91, 94, 95, 122, 123, 125, + 9, 13, 32, 44, 0, 8, 11, 127, + 9, 13, 32, 34, 44, 60, 92, -64, + -33, -32, -17, -16, -9, -8, -5, -4, + -3, 33, 126, 9, 13, 32, 34, 44, + 47, 58, 92, -64, -33, -32, -17, -16, + -9, -8, -5, -4, -3, 33, 42, 43, + 57, 59, 64, 65, 90, 91, 96, 97, + 122, 123, 126, 9, 13, 32, 34, 44, + 58, 92, -64, -33, -32, -17, -16, -9, + -8, -5, -4, -3, 33, 126, 9, 13, + 32, 34, 44, 92, -64, -33, -32, -17, + -16, -9, -8, -5, -4, -3, 33, 126, + 9, 13, 32, 44, -128, -65, 9, 13, + 32, 34, 44, 92, -64, -33, -32, -17, + -16, -9, -8, -5, -4, -3, 33, 126, + 9, 13, 32, 44, -128, -65, 9, 13, + 32, 44, -128, -65, 9, 13, 32, 44, + -128, -65, 9, 13, 32, 44, -128, -65, + 9, 13, 32, 44, 60, 9, 13, 32, + 44, 60, 9, 13, 32, 44, 65, 90, + 97, 122, 9, 13, 32, 44, 58, 43, + 46, 48, 57, 65, 90, 97, 122, 9, + 13, 32, 44, 58, 9, 13, 32, 44, + 9, 13, 32, 33, 34, 37, 39, 44, + 47, 60, 92, 126, -64, -33, -32, -17, + -16, -9, -8, -5, -4, -3, 35, 41, + 42, 57, 58, 64, 65, 90, 91, 94, + 95, 96, 97, 122, 123, 125, 9, 13, + 32, 33, 34, 37, 39, 44, 47, 92, + 126, -64, -33, -32, -17, -16, -9, -8, + -5, -4, -3, 35, 41, 42, 57, 58, + 64, 65, 90, 91, 94, 95, 122, 123, + 125, 9, 13, 32, 33, 34, 37, 39, + 44, 47, 60, 92, 126, -64, -33, -32, + -17, -16, -9, -8, -5, -4, -3, 35, + 41, 42, 57, 58, 64, 65, 90, 91, + 94, 95, 122, 123, 125, 9, 13, 32, + 44, 0, 8, 11, 127, 9, 13, 32, + 34, 44, 47, 58, 92, -64, -33, -32, + -17, -16, -9, -8, -5, -4, -3, 33, + 42, 43, 57, 59, 64, 65, 90, 91, + 96, 97, 122, 123, 126, 9, 13, 32, + 34, 44, 58, 92, -64, -33, -32, -17, + -16, -9, -8, -5, -4, -3, 33, 126, + 9, 13, 32, 34, 44, 92, -64, -33, + -32, -17, -16, -9, -8, -5, -4, -3, + 33, 126, 9, 13, 32, 33, 34, 37, + 39, 44, 47, 60, 92, 126, -64, -33, + -32, -17, -16, -9, -8, -5, -4, -3, + 35, 41, 42, 57, 58, 64, 65, 90, + 91, 94, 95, 96, 97, 122, 123, 125, + 9, 13, 32, 33, 34, 37, 39, 44, + 47, 60, 92, 126, -64, -33, -32, -17, + -16, -9, -8, -5, -4, -3, 35, 41, + 42, 57, 58, 64, 65, 90, 91, 94, + 95, 96, 97, 122, 123, 125, 9, 13, + 32, 33, 34, 37, 39, 44, 47, 92, + 126, -64, -33, -32, -17, -16, -9, -8, + -5, -4, -3, 35, 41, 42, 57, 58, + 64, 65, 90, 91, 94, 95, 122, 123, + 125, 9, 13, 32, 33, 34, 37, 39, + 44, 47, 60, 92, 126, -64, -33, -32, + -17, -16, -9, -8, -5, -4, -3, 35, + 41, 42, 57, 58, 64, 65, 90, 91, + 94, 95, 122, 123, 125, 9, 13, 32, + 34, 44, 60, 92, -64, -33, -32, -17, + -16, -9, -8, -5, -4, -3, 33, 126, + 9, 13, 32, 44, 58, 43, 46, 48, + 57, 65, 90, 97, 122, 9, 13, 32, + 44, 58, 9, 13, 32, 44, 9, 13, + 32, 33, 34, 37, 39, 44, 60, 126, + 42, 46, 48, 57, 65, 90, 95, 96, + 97, 122, 9, 13, 32, 33, 37, 39, + 44, 126, 42, 46, 48, 57, 65, 90, + 95, 122, 9, 13, 32, 33, 37, 39, + 44, 60, 126, 42, 46, 48, 57, 65, + 90, 95, 122, 0 }; static const char _tsip_machine_parser_header_P_Preferred_Identity_single_lengths[] = { @@ -919,47 +1153,64 @@ static const char _tsip_machine_parser_header_P_Preferred_Identity_single_length 3, 0, 4, 10, 8, 9, 5, 4, 5, 5, 4, 5, 11, 9, 10, 6, 5, 7, 5, 5, 5, 5, 5, 6, - 13, 12, 13, 5, 8, 6, 4, 4, - 4, 4, 4, 5, 12, 11, 12, 4, - 7, 4, 3, 0, 4, 10, 8, 9, - 5, 4, 5, 5, 4, 5, 11, 9, - 10, 6, 5, 7, 5, 5, 5, 5, - 5, 6, 13, 12, 13, 5, 8, 9, - 8, 7, 5, 11, 9, 10, 6, 5, - 4, 10, 8, 9, 5, 4, 5, 5, - 4, 5, 11, 9, 10, 6, 5, 7, - 5, 5, 5, 5, 5, 6, 13, 12, - 13, 5, 8, 9, 8, 7, 5, 11, - 9, 10, 6, 5, 6, 6, 7, 5, + 13, 10, 2, 3, 10, 2, 3, 4, + 1, 8, 9, 5, 2, 3, 5, 1, + 1, 1, 1, 1, 2, 3, 5, 1, + 5, 4, 1, 12, 13, 5, 8, 9, + 8, 7, 6, 4, 4, 4, 4, 4, + 5, 12, 11, 12, 4, 7, 4, 3, + 0, 4, 10, 8, 9, 5, 4, 5, + 5, 4, 5, 11, 9, 10, 6, 5, + 7, 5, 5, 5, 5, 5, 6, 13, + 10, 2, 3, 10, 5, 4, 1, 5, + 11, 9, 10, 6, 5, 4, 10, 8, + 9, 5, 4, 5, 5, 4, 5, 11, + 9, 10, 6, 5, 7, 5, 5, 5, + 5, 5, 6, 13, 10, 2, 3, 10, + 5, 4, 1, 12, 13, 5, 8, 9, + 8, 7, 6, 4, 4, 4, 4, 4, + 5, 12, 11, 12, 4, 5, 5, 4, + 10, 6, 4, 4, 4, 4, 4, 12, + 11, 12, 4, 6, 6, 5, 7, 5, + 5, 5, 5, 5, 6, 13, 12, 13, + 5, 8, 12, 13, 5, 8, 9, 8, + 7, 5, 11, 9, 10, 6, 5, 4, + 10, 8, 9, 5, 4, 5, 5, 4, + 5, 11, 9, 10, 6, 5, 7, 5, 5, 5, 5, 5, 6, 13, 12, 13, 5, 8, 9, 8, 7, 5, 7, 5, - 5, 5, 5, 6, 6, 5, 13, 12, - 13, 5, 9, 8, 13, 11, 9, 10, - 6, 6, 5, 12, 13, 8, 5, 7, - 5, 5, 5, 5, 13, 12, 13, 5, - 8, 9, 8, 7, 13, 12, 13, 13, - 11, 8, 6, 6, 5, 6, 4, 4, - 4, 4, 4, 5, 12, 11, 12, 4, - 7, 8, 7, 6, 4, 6, 4, 4, - 4, 4, 5, 5, 4, 5, 5, 4, - 12, 11, 12, 4, 8, 7, 12, 10, - 8, 9, 5, 5, 4, 11, 12, 7, - 6, 6, 5, 7, 5, 5, 5, 5, - 5, 6, 13, 12, 13, 5, 8, 9, - 8, 7, 5, 7, 5, 5, 5, 5, - 6, 6, 5, 6, 6, 13, 12, 13, - 5, 9, 8, 13, 11, 9, 10, 6, - 6, 5, 12, 13, 8, 5, 7, 5, - 5, 5, 5, 6, 6, 5, 13, 12, - 13, 5, 8, 9, 8, 7, 13, 12, - 13, 8, 13, 11, 9, 10, 12, 13, - 8, 6, 6, 5, 6, 4, 4, 4, - 4, 4, 5, 12, 11, 12, 4, 7, - 8, 7, 6, 4, 6, 4, 4, 4, - 4, 5, 5, 4, 5, 5, 4, 12, - 11, 12, 4, 7, 8, 7, 6, 12, - 11, 12, 7, 12, 10, 8, 9, 11, - 12, 7, 5, 5, 4, 0 + 5, 5, 5, 13, 11, 7, 5, 5, + 5, 5, 5, 13, 12, 13, 5, 6, + 6, 5, 11, 7, 5, 5, 5, 5, + 5, 13, 11, 7, 5, 5, 5, 5, + 5, 13, 12, 13, 5, 9, 8, 7, + 6, 6, 5, 11, 7, 5, 5, 5, + 5, 5, 13, 12, 13, 5, 8, 12, + 13, 5, 12, 13, 5, 9, 8, 7, + 13, 8, 13, 12, 13, 6, 6, 5, + 11, 6, 4, 4, 4, 4, 4, 5, + 12, 11, 12, 4, 7, 8, 7, 6, + 4, 6, 4, 4, 4, 4, 12, 11, + 12, 4, 8, 7, 6, 12, 7, 12, + 11, 12, 5, 5, 4, 10, 6, 6, + 5, 7, 5, 5, 5, 5, 5, 6, + 13, 12, 13, 5, 8, 9, 8, 7, + 5, 7, 5, 5, 5, 5, 6, 6, + 5, 6, 6, 13, 11, 6, 6, 5, + 11, 9, 10, 6, 5, 6, 6, 7, + 5, 5, 5, 5, 5, 6, 13, 12, + 13, 5, 8, 12, 13, 5, 9, 8, + 7, 13, 8, 13, 12, 13, 6, 6, + 5, 11, 9, 10, 5, 7, 5, 5, + 5, 5, 6, 6, 5, 13, 12, 13, + 5, 9, 8, 7, 13, 13, 12, 13, + 8, 6, 6, 5, 11, 9, 10, 6, + 4, 4, 4, 4, 4, 5, 12, 11, + 12, 4, 7, 8, 7, 6, 4, 6, + 4, 4, 4, 4, 5, 5, 4, 5, + 5, 4, 12, 11, 12, 4, 8, 7, + 6, 12, 12, 11, 12, 7, 5, 5, + 4, 10, 8, 9, 0 }; static const char _tsip_machine_parser_header_P_Preferred_Identity_range_lengths[] = { @@ -973,47 +1224,64 @@ static const char _tsip_machine_parser_header_P_Preferred_Identity_range_lengths 0, 0, 0, 5, 4, 4, 0, 2, 4, 0, 0, 0, 5, 4, 4, 0, 2, 6, 1, 1, 1, 1, 1, 0, - 13, 12, 12, 2, 6, 6, 1, 1, - 1, 1, 1, 0, 13, 12, 12, 2, - 6, 4, 0, 0, 0, 5, 4, 4, - 0, 2, 4, 0, 0, 0, 5, 4, - 4, 0, 2, 6, 1, 1, 1, 1, - 1, 0, 13, 12, 12, 2, 6, 12, - 6, 6, 0, 5, 4, 4, 0, 2, - 0, 5, 4, 4, 0, 2, 4, 0, - 0, 0, 5, 4, 4, 0, 2, 6, - 1, 1, 1, 1, 1, 0, 13, 12, - 12, 2, 6, 12, 6, 6, 0, 5, - 4, 4, 0, 2, 4, 0, 6, 1, + 13, 6, 0, 0, 6, 0, 0, 0, + 2, 5, 5, 0, 0, 0, 6, 1, + 1, 1, 1, 1, 0, 0, 0, 3, + 4, 0, 0, 12, 12, 2, 6, 12, + 6, 6, 6, 1, 1, 1, 1, 1, + 0, 13, 12, 12, 2, 6, 4, 0, + 0, 0, 5, 4, 4, 0, 2, 4, + 0, 0, 0, 5, 4, 4, 0, 2, + 6, 1, 1, 1, 1, 1, 0, 13, + 6, 0, 0, 6, 4, 0, 0, 0, + 5, 4, 4, 0, 2, 0, 5, 4, + 4, 0, 2, 4, 0, 0, 0, 5, + 4, 4, 0, 2, 6, 1, 1, 1, + 1, 1, 0, 13, 6, 0, 0, 6, + 4, 0, 0, 12, 12, 2, 6, 12, + 6, 6, 6, 1, 1, 1, 1, 1, + 0, 13, 12, 12, 2, 4, 0, 0, + 5, 6, 1, 1, 1, 1, 1, 13, + 12, 12, 2, 4, 0, 0, 6, 1, + 1, 1, 1, 1, 0, 13, 12, 12, + 2, 6, 12, 12, 2, 6, 12, 6, + 6, 0, 5, 4, 4, 0, 2, 0, + 5, 4, 4, 0, 2, 4, 0, 0, + 0, 5, 4, 4, 0, 2, 6, 1, 1, 1, 1, 1, 0, 13, 12, 12, 2, 6, 12, 6, 6, 1, 6, 1, - 1, 1, 1, 0, 0, 2, 13, 12, - 12, 2, 12, 6, 13, 5, 4, 4, - 4, 0, 0, 12, 12, 6, 1, 6, - 1, 1, 1, 1, 13, 12, 12, 2, - 6, 12, 6, 6, 13, 12, 12, 13, - 5, 6, 4, 0, 0, 6, 1, 1, - 1, 1, 1, 0, 13, 12, 12, 2, - 6, 12, 6, 6, 1, 6, 1, 1, - 1, 1, 0, 0, 2, 4, 0, 0, - 13, 12, 12, 2, 12, 6, 13, 5, - 4, 4, 4, 0, 0, 12, 12, 6, - 4, 0, 0, 6, 1, 1, 1, 1, - 1, 0, 13, 12, 12, 2, 6, 12, - 6, 6, 1, 6, 1, 1, 1, 1, - 0, 0, 2, 4, 0, 13, 12, 12, - 2, 12, 6, 13, 5, 4, 4, 4, - 0, 0, 12, 12, 6, 1, 6, 1, - 1, 1, 1, 0, 0, 2, 13, 12, - 12, 2, 6, 12, 6, 6, 13, 12, - 12, 6, 13, 5, 4, 4, 12, 12, - 6, 4, 0, 0, 6, 1, 1, 1, - 1, 1, 0, 13, 12, 12, 2, 6, - 12, 6, 6, 1, 6, 1, 1, 1, - 1, 0, 0, 2, 4, 0, 0, 13, - 12, 12, 2, 6, 12, 6, 6, 13, - 12, 12, 6, 13, 5, 4, 4, 12, - 12, 6, 4, 0, 0, 0 + 1, 1, 1, 13, 5, 6, 1, 1, + 1, 1, 1, 13, 12, 12, 2, 4, + 0, 0, 5, 6, 1, 1, 1, 1, + 1, 13, 5, 6, 1, 1, 1, 1, + 1, 13, 12, 12, 2, 12, 6, 6, + 4, 0, 0, 5, 6, 1, 1, 1, + 1, 1, 13, 12, 12, 2, 6, 12, + 12, 2, 12, 12, 2, 12, 6, 6, + 13, 6, 13, 12, 12, 4, 0, 0, + 5, 6, 1, 1, 1, 1, 1, 0, + 13, 12, 12, 2, 6, 12, 6, 6, + 1, 6, 1, 1, 1, 1, 13, 12, + 12, 2, 12, 6, 6, 13, 6, 13, + 12, 12, 4, 0, 0, 5, 4, 0, + 0, 6, 1, 1, 1, 1, 1, 0, + 13, 12, 12, 2, 6, 12, 6, 6, + 1, 6, 1, 1, 1, 1, 0, 0, + 2, 4, 0, 13, 5, 4, 0, 0, + 5, 4, 4, 0, 2, 4, 0, 6, + 1, 1, 1, 1, 1, 0, 13, 12, + 12, 2, 6, 12, 12, 2, 12, 6, + 6, 13, 6, 13, 12, 12, 4, 0, + 0, 5, 4, 4, 1, 6, 1, 1, + 1, 1, 0, 0, 2, 13, 12, 12, + 2, 12, 6, 6, 13, 13, 12, 12, + 6, 4, 0, 0, 5, 4, 4, 6, + 1, 1, 1, 1, 1, 0, 13, 12, + 12, 2, 6, 12, 6, 6, 1, 6, + 1, 1, 1, 1, 0, 0, 2, 4, + 0, 0, 13, 12, 12, 2, 12, 6, + 6, 13, 13, 12, 12, 6, 4, 0, + 0, 5, 4, 4, 0 }; static const short _tsip_machine_parser_header_P_Preferred_Identity_index_offsets[] = { @@ -1027,47 +1295,64 @@ static const short _tsip_machine_parser_header_P_Preferred_Identity_index_offset 252, 256, 257, 262, 278, 291, 305, 311, 318, 328, 334, 339, 345, 362, 376, 391, 398, 406, 420, 427, 434, 441, 448, 455, - 462, 489, 514, 540, 548, 563, 576, 582, - 588, 594, 600, 606, 612, 638, 662, 687, - 694, 708, 717, 721, 722, 727, 743, 756, - 770, 776, 783, 793, 799, 804, 810, 827, - 841, 856, 863, 871, 885, 892, 899, 906, - 913, 920, 927, 954, 979, 1005, 1013, 1028, - 1050, 1065, 1079, 1085, 1102, 1116, 1131, 1138, - 1146, 1151, 1167, 1180, 1194, 1200, 1207, 1217, - 1223, 1228, 1234, 1251, 1265, 1280, 1287, 1295, - 1309, 1316, 1323, 1330, 1337, 1344, 1351, 1378, - 1403, 1429, 1437, 1452, 1474, 1489, 1503, 1509, - 1526, 1540, 1555, 1562, 1570, 1581, 1588, 1602, - 1609, 1616, 1623, 1630, 1637, 1644, 1671, 1696, - 1722, 1730, 1745, 1767, 1782, 1796, 1803, 1817, - 1824, 1831, 1838, 1845, 1852, 1859, 1867, 1894, - 1919, 1945, 1953, 1975, 1990, 2017, 2034, 2048, - 2063, 2074, 2081, 2087, 2112, 2138, 2153, 2160, - 2174, 2181, 2188, 2195, 2202, 2229, 2254, 2280, - 2288, 2303, 2325, 2340, 2354, 2381, 2406, 2432, - 2459, 2476, 2491, 2502, 2509, 2515, 2528, 2534, - 2540, 2546, 2552, 2558, 2564, 2590, 2614, 2639, - 2646, 2660, 2681, 2695, 2708, 2714, 2727, 2733, - 2739, 2745, 2751, 2757, 2763, 2770, 2780, 2786, - 2791, 2817, 2841, 2866, 2873, 2894, 2908, 2934, - 2950, 2963, 2977, 2987, 2993, 2998, 3022, 3047, - 3061, 3072, 3079, 3085, 3099, 3106, 3113, 3120, - 3127, 3134, 3141, 3168, 3193, 3219, 3227, 3242, - 3264, 3279, 3293, 3300, 3314, 3321, 3328, 3335, - 3342, 3349, 3356, 3364, 3375, 3382, 3409, 3434, - 3460, 3468, 3490, 3505, 3532, 3549, 3563, 3578, - 3589, 3596, 3602, 3627, 3653, 3668, 3675, 3689, - 3696, 3703, 3710, 3717, 3724, 3731, 3739, 3766, - 3791, 3817, 3825, 3840, 3862, 3877, 3891, 3918, - 3943, 3969, 3984, 4011, 4028, 4042, 4057, 4082, - 4108, 4123, 4134, 4141, 4147, 4160, 4166, 4172, - 4178, 4184, 4190, 4196, 4222, 4246, 4271, 4278, - 4292, 4313, 4327, 4340, 4346, 4359, 4365, 4371, - 4377, 4383, 4389, 4395, 4402, 4412, 4418, 4423, - 4449, 4473, 4498, 4505, 4519, 4540, 4554, 4567, - 4593, 4617, 4642, 4656, 4682, 4698, 4711, 4725, - 4749, 4774, 4788, 4798, 4804, 4809 + 462, 489, 506, 509, 513, 530, 533, 537, + 542, 546, 560, 575, 581, 584, 588, 600, + 603, 606, 609, 612, 615, 618, 622, 628, + 633, 643, 648, 650, 675, 701, 709, 724, + 746, 761, 775, 788, 794, 800, 806, 812, + 818, 824, 850, 874, 899, 906, 920, 929, + 933, 934, 939, 955, 968, 982, 988, 995, + 1005, 1011, 1016, 1022, 1039, 1053, 1068, 1075, + 1083, 1097, 1104, 1111, 1118, 1125, 1132, 1139, + 1166, 1183, 1186, 1190, 1207, 1217, 1222, 1224, + 1230, 1247, 1261, 1276, 1283, 1291, 1296, 1312, + 1325, 1339, 1345, 1352, 1362, 1368, 1373, 1379, + 1396, 1410, 1425, 1432, 1440, 1454, 1461, 1468, + 1475, 1482, 1489, 1496, 1523, 1540, 1543, 1547, + 1564, 1574, 1579, 1581, 1606, 1632, 1640, 1655, + 1677, 1692, 1706, 1719, 1725, 1731, 1737, 1743, + 1749, 1755, 1781, 1805, 1830, 1837, 1847, 1853, + 1858, 1874, 1887, 1893, 1899, 1905, 1911, 1917, + 1943, 1967, 1992, 1999, 2010, 2017, 2023, 2037, + 2044, 2051, 2058, 2065, 2072, 2079, 2106, 2131, + 2157, 2165, 2180, 2205, 2231, 2239, 2254, 2276, + 2291, 2305, 2311, 2328, 2342, 2357, 2364, 2372, + 2377, 2393, 2406, 2420, 2426, 2433, 2443, 2449, + 2454, 2460, 2477, 2491, 2506, 2513, 2521, 2535, + 2542, 2549, 2556, 2563, 2570, 2577, 2604, 2629, + 2655, 2663, 2678, 2700, 2715, 2729, 2736, 2750, + 2757, 2764, 2771, 2778, 2805, 2822, 2836, 2843, + 2850, 2857, 2864, 2871, 2898, 2923, 2949, 2957, + 2968, 2975, 2981, 2998, 3012, 3019, 3026, 3033, + 3040, 3047, 3074, 3091, 3105, 3112, 3119, 3126, + 3133, 3140, 3167, 3192, 3218, 3226, 3248, 3263, + 3277, 3288, 3295, 3301, 3318, 3332, 3339, 3346, + 3353, 3360, 3367, 3394, 3419, 3445, 3453, 3468, + 3493, 3519, 3527, 3552, 3578, 3586, 3608, 3623, + 3637, 3664, 3679, 3706, 3731, 3757, 3768, 3775, + 3781, 3798, 3811, 3817, 3823, 3829, 3835, 3841, + 3847, 3873, 3897, 3922, 3929, 3943, 3964, 3978, + 3991, 3997, 4010, 4016, 4022, 4028, 4034, 4060, + 4084, 4109, 4116, 4137, 4151, 4164, 4190, 4204, + 4230, 4254, 4279, 4289, 4295, 4300, 4316, 4327, + 4334, 4340, 4354, 4361, 4368, 4375, 4382, 4389, + 4396, 4423, 4448, 4474, 4482, 4497, 4519, 4534, + 4548, 4555, 4569, 4576, 4583, 4590, 4597, 4604, + 4611, 4619, 4630, 4637, 4664, 4681, 4692, 4699, + 4705, 4722, 4736, 4751, 4758, 4766, 4777, 4784, + 4798, 4805, 4812, 4819, 4826, 4833, 4840, 4867, + 4892, 4918, 4926, 4941, 4966, 4992, 5000, 5022, + 5037, 5051, 5078, 5093, 5120, 5145, 5171, 5182, + 5189, 5195, 5212, 5226, 5241, 5248, 5262, 5269, + 5276, 5283, 5290, 5297, 5304, 5312, 5339, 5364, + 5390, 5398, 5420, 5435, 5449, 5476, 5503, 5528, + 5554, 5569, 5580, 5587, 5593, 5610, 5624, 5639, + 5652, 5658, 5664, 5670, 5676, 5682, 5688, 5714, + 5738, 5763, 5770, 5784, 5805, 5819, 5832, 5838, + 5851, 5857, 5863, 5869, 5875, 5881, 5887, 5894, + 5904, 5910, 5915, 5941, 5965, 5990, 5997, 6018, + 6032, 6045, 6071, 6097, 6121, 6146, 6160, 6170, + 6176, 6181, 6197, 6210, 6224 }; static const short _tsip_machine_parser_header_P_Preferred_Identity_indicies[] = { @@ -1122,628 +1407,827 @@ static const short _tsip_machine_parser_header_P_Preferred_Identity_indicies[] = 68, 92, 92, 92, 92, 92, 84, 95, 69, 95, 86, 89, 68, 84, 85, 69, 85, 86, 68, 90, 90, 84, 101, 69, - 101, 103, 104, 68, 105, 96, 97, 98, + 101, 103, 104, 37, 105, 96, 97, 98, 99, 100, 102, 84, 85, 69, 85, 86, 68, 102, 84, 85, 69, 85, 86, 68, 96, 84, 85, 69, 85, 86, 68, 97, 84, 85, 69, 85, 86, 68, 98, 84, 85, 69, 85, 86, 68, 99, 84, 93, - 69, 93, 86, 94, 68, 84, 86, 69, - 86, 106, 107, 106, 106, 104, 102, 89, - 68, 105, 106, 96, 97, 98, 99, 100, - 102, 106, 102, 88, 102, 106, 88, 102, - 84, 108, 69, 108, 109, 103, 109, 109, - 104, 102, 68, 105, 109, 96, 97, 98, - 99, 100, 102, 109, 102, 109, 102, 109, - 102, 84, 93, 69, 93, 109, 103, 109, - 109, 104, 102, 94, 68, 105, 109, 96, - 97, 98, 99, 100, 102, 109, 102, 109, - 102, 109, 102, 84, 101, 69, 101, 104, - 68, 102, 102, 84, 93, 69, 93, 103, - 104, 94, 68, 105, 96, 97, 98, 99, - 100, 102, 84, 115, 69, 115, 117, 118, - 119, 110, 111, 112, 113, 114, 116, 67, - 68, 69, 68, 70, 116, 67, 68, 69, - 68, 70, 110, 67, 68, 69, 68, 70, - 111, 67, 68, 69, 68, 70, 112, 67, - 68, 69, 68, 70, 113, 67, 77, 69, - 77, 70, 78, 67, 70, 69, 70, 120, - 121, 120, 120, 118, 116, 73, 119, 120, - 110, 111, 112, 113, 114, 116, 120, 116, - 72, 116, 120, 72, 116, 67, 122, 69, - 122, 123, 117, 123, 123, 118, 116, 119, - 123, 110, 111, 112, 113, 114, 116, 123, - 116, 123, 116, 123, 116, 67, 77, 69, - 77, 123, 117, 123, 123, 118, 116, 78, - 119, 123, 110, 111, 112, 113, 114, 116, - 123, 116, 123, 116, 123, 116, 67, 115, - 69, 115, 118, 116, 116, 67, 77, 69, - 77, 117, 118, 78, 119, 110, 111, 112, - 113, 114, 116, 67, 124, 124, 125, 126, - 125, 125, 125, 125, 1, 124, 124, 126, - 1, 127, 128, 69, 128, 129, 127, 129, - 69, 129, 130, 131, 130, 130, 129, 132, - 130, 130, 130, 133, 130, 133, 127, 134, - 69, 134, 135, 135, 135, 129, 135, 135, - 135, 135, 135, 127, 136, 69, 136, 135, - 135, 135, 129, 137, 135, 135, 135, 135, - 135, 127, 138, 69, 138, 129, 132, 127, - 128, 69, 128, 129, 139, 139, 127, 140, - 69, 140, 129, 142, 141, 141, 141, 141, - 127, 140, 69, 140, 129, 142, 127, 144, - 69, 144, 145, 143, 144, 69, 144, 145, - 128, 143, 145, 69, 145, 146, 147, 146, - 146, 145, 148, 128, 146, 146, 146, 149, - 146, 149, 143, 150, 69, 150, 151, 151, - 151, 145, 128, 151, 151, 151, 151, 151, - 143, 152, 69, 152, 151, 151, 151, 145, - 153, 128, 151, 151, 151, 151, 151, 143, - 154, 69, 154, 145, 148, 128, 143, 144, - 69, 144, 145, 128, 155, 155, 143, 161, - 69, 161, 163, 164, 128, 165, 156, 157, - 158, 159, 160, 162, 143, 144, 69, 144, - 145, 128, 162, 143, 144, 69, 144, 145, - 128, 156, 143, 144, 69, 144, 145, 128, - 157, 143, 144, 69, 144, 145, 128, 158, - 143, 144, 69, 144, 145, 128, 159, 143, - 152, 69, 152, 145, 153, 128, 143, 145, - 69, 145, 166, 167, 166, 166, 164, 162, - 148, 128, 165, 166, 156, 157, 158, 159, - 160, 162, 166, 162, 168, 162, 166, 168, - 162, 143, 169, 69, 169, 170, 163, 170, - 170, 164, 162, 128, 165, 170, 156, 157, - 158, 159, 160, 162, 170, 162, 170, 162, - 170, 162, 143, 152, 69, 152, 170, 163, - 170, 170, 164, 162, 153, 128, 165, 170, - 156, 157, 158, 159, 160, 162, 170, 162, - 170, 162, 170, 162, 143, 161, 69, 161, - 164, 128, 162, 162, 143, 152, 69, 152, - 163, 164, 153, 128, 165, 156, 157, 158, - 159, 160, 162, 143, 171, 69, 171, 163, - 164, 162, 173, 128, 165, 156, 157, 158, - 159, 160, 162, 172, 162, 172, 162, 172, - 162, 143, 171, 69, 171, 163, 164, 173, - 128, 165, 156, 157, 158, 159, 160, 162, - 143, 180, 69, 180, 182, 183, 184, 185, - 175, 176, 177, 178, 179, 181, 174, 186, - 69, 186, 187, 184, 174, 187, 69, 187, - 188, 189, 188, 188, 187, 190, 184, 188, - 188, 188, 191, 188, 191, 174, 192, 69, - 192, 193, 193, 193, 187, 184, 193, 193, - 193, 193, 193, 174, 194, 69, 194, 193, - 193, 193, 187, 195, 184, 193, 193, 193, - 193, 193, 174, 196, 69, 196, 187, 190, - 184, 174, 186, 69, 186, 187, 184, 197, - 197, 174, 184, 69, 184, 199, 198, 199, - 69, 199, 200, 201, 200, 200, 199, 202, - 200, 200, 200, 203, 200, 203, 198, 204, - 69, 204, 205, 205, 205, 199, 205, 205, - 205, 205, 205, 198, 206, 69, 206, 205, - 205, 205, 199, 207, 205, 205, 205, 205, - 205, 198, 208, 69, 208, 199, 202, 198, - 184, 69, 184, 199, 209, 209, 198, 210, - 69, 210, 199, 212, 211, 211, 211, 211, - 198, 210, 69, 210, 199, 212, 198, 214, - 69, 214, 215, 213, 214, 69, 214, 215, - 184, 213, 215, 69, 215, 216, 217, 216, - 216, 215, 218, 184, 216, 216, 216, 219, - 216, 219, 213, 220, 69, 220, 221, 221, - 221, 215, 184, 221, 221, 221, 221, 221, - 213, 222, 69, 222, 221, 221, 221, 215, - 223, 184, 221, 221, 221, 221, 221, 213, - 224, 69, 224, 215, 218, 184, 213, 214, - 69, 214, 215, 184, 225, 225, 213, 231, - 69, 231, 233, 234, 184, 235, 226, 227, - 228, 229, 230, 232, 213, 214, 69, 214, - 215, 184, 232, 213, 214, 69, 214, 215, - 184, 226, 213, 214, 69, 214, 215, 184, - 227, 213, 214, 69, 214, 215, 184, 228, - 213, 214, 69, 214, 215, 184, 229, 213, - 222, 69, 222, 215, 223, 184, 213, 215, - 69, 215, 236, 237, 236, 236, 234, 232, - 218, 184, 235, 236, 226, 227, 228, 229, - 230, 232, 236, 232, 238, 232, 236, 238, - 232, 213, 239, 69, 239, 240, 233, 240, - 240, 234, 232, 184, 235, 240, 226, 227, - 228, 229, 230, 232, 240, 232, 240, 232, - 240, 232, 213, 222, 69, 222, 240, 233, - 240, 240, 234, 232, 223, 184, 235, 240, - 226, 227, 228, 229, 230, 232, 240, 232, - 240, 232, 240, 232, 213, 231, 69, 231, - 234, 184, 232, 232, 213, 222, 69, 222, - 233, 234, 223, 184, 235, 226, 227, 228, - 229, 230, 232, 213, 241, 69, 241, 233, - 234, 232, 243, 184, 235, 226, 227, 228, - 229, 230, 232, 242, 232, 242, 232, 242, - 232, 213, 241, 69, 241, 233, 234, 243, - 184, 235, 226, 227, 228, 229, 230, 232, - 213, 250, 69, 250, 252, 253, 184, 254, - 245, 246, 247, 248, 249, 251, 244, 255, - 69, 255, 256, 184, 244, 256, 69, 256, - 257, 258, 257, 257, 256, 259, 184, 257, - 257, 257, 260, 257, 260, 244, 261, 69, - 261, 262, 262, 262, 256, 184, 262, 262, - 262, 262, 262, 244, 263, 69, 263, 262, - 262, 262, 256, 264, 184, 262, 262, 262, - 262, 262, 244, 265, 69, 265, 256, 259, - 184, 244, 255, 69, 255, 256, 184, 266, - 266, 244, 267, 69, 267, 256, 213, 184, - 268, 268, 268, 268, 244, 267, 69, 267, - 256, 213, 184, 244, 274, 69, 274, 276, - 277, 184, 278, 269, 270, 271, 272, 273, - 275, 244, 255, 69, 255, 256, 184, 275, - 244, 255, 69, 255, 256, 184, 269, 244, - 255, 69, 255, 256, 184, 270, 244, 255, - 69, 255, 256, 184, 271, 244, 255, 69, - 255, 256, 184, 272, 244, 263, 69, 263, - 256, 264, 184, 244, 256, 69, 256, 279, - 280, 279, 279, 277, 275, 259, 68, 278, - 279, 269, 270, 271, 272, 273, 275, 279, - 275, 281, 275, 279, 281, 275, 244, 282, - 69, 282, 283, 276, 283, 283, 277, 275, - 184, 278, 283, 269, 270, 271, 272, 273, - 275, 283, 275, 283, 275, 283, 275, 244, - 263, 69, 263, 283, 276, 283, 283, 277, - 275, 264, 184, 278, 283, 269, 270, 271, - 272, 273, 275, 283, 275, 283, 275, 283, - 275, 244, 274, 69, 274, 277, 184, 275, - 275, 244, 263, 69, 263, 276, 277, 264, - 184, 278, 269, 270, 271, 272, 273, 275, - 244, 284, 69, 284, 276, 277, 275, 286, - 184, 278, 269, 270, 271, 272, 273, 275, - 285, 275, 285, 275, 285, 275, 244, 284, - 69, 284, 276, 277, 286, 184, 278, 269, - 270, 271, 272, 273, 275, 244, 292, 69, - 292, 252, 294, 184, 295, 287, 288, 289, - 290, 291, 293, 244, 255, 69, 255, 256, - 184, 293, 244, 292, 69, 292, 252, 296, - 184, 295, 287, 288, 289, 290, 291, 293, - 244, 255, 69, 255, 256, 184, 287, 244, - 255, 69, 255, 256, 184, 288, 244, 255, - 69, 255, 256, 184, 289, 244, 255, 69, - 255, 256, 184, 290, 244, 297, 69, 297, - 256, 298, 184, 244, 299, 69, 299, 256, - 300, 184, 244, 255, 69, 255, 256, 184, - 301, 301, 244, 256, 69, 256, 302, 280, - 302, 302, 296, 293, 259, 68, 295, 302, - 287, 288, 289, 290, 291, 293, 302, 293, - 303, 293, 302, 303, 293, 244, 304, 69, - 304, 305, 252, 305, 305, 296, 293, 184, - 295, 305, 287, 288, 289, 290, 291, 293, - 305, 293, 305, 293, 305, 293, 244, 263, - 69, 263, 305, 252, 305, 305, 296, 293, - 264, 184, 295, 305, 287, 288, 289, 290, - 291, 293, 305, 293, 305, 293, 305, 293, - 244, 292, 69, 292, 296, 184, 293, 293, - 244, 306, 69, 306, 252, 296, 293, 286, - 184, 295, 287, 288, 289, 290, 291, 293, - 307, 293, 307, 293, 307, 293, 244, 306, - 69, 306, 252, 296, 286, 184, 295, 287, - 288, 289, 290, 291, 293, 244, 308, 69, - 308, 309, 310, 309, 309, 296, 293, 300, - 68, 295, 309, 287, 288, 289, 290, 291, - 293, 309, 293, 303, 293, 309, 303, 293, - 244, 308, 69, 308, 311, 312, 311, 311, - 256, 300, 184, 311, 311, 311, 260, 311, - 260, 244, 313, 69, 313, 314, 314, 314, - 256, 184, 314, 314, 314, 314, 314, 244, - 297, 69, 297, 314, 314, 314, 256, 298, - 184, 314, 314, 314, 314, 314, 244, 315, - 69, 315, 256, 317, 184, 316, 316, 316, - 316, 244, 315, 69, 315, 256, 317, 184, - 244, 255, 69, 255, 308, 184, 244, 318, - 69, 318, 319, 252, 319, 319, 296, 293, - 184, 295, 319, 287, 288, 289, 290, 291, - 293, 319, 293, 319, 293, 319, 293, 244, - 297, 69, 297, 319, 252, 319, 319, 296, - 293, 298, 184, 295, 319, 287, 288, 289, - 290, 291, 293, 319, 293, 319, 293, 319, - 293, 244, 297, 69, 297, 252, 296, 298, - 184, 295, 287, 288, 289, 290, 291, 293, - 244, 255, 69, 255, 256, 184, 251, 244, - 250, 69, 250, 252, 320, 184, 254, 245, - 246, 247, 248, 249, 251, 244, 255, 69, - 255, 256, 184, 245, 244, 255, 69, 255, - 256, 184, 246, 244, 255, 69, 255, 256, - 184, 247, 244, 255, 69, 255, 256, 184, - 248, 244, 256, 69, 256, 321, 322, 321, - 321, 320, 251, 259, 184, 254, 321, 245, - 246, 247, 248, 249, 251, 321, 251, 323, - 251, 321, 323, 251, 244, 324, 69, 324, - 325, 252, 325, 325, 320, 251, 184, 254, - 325, 245, 246, 247, 248, 249, 251, 325, - 251, 325, 251, 325, 251, 244, 263, 69, - 263, 325, 252, 325, 325, 320, 251, 264, - 184, 254, 325, 245, 246, 247, 248, 249, - 251, 325, 251, 325, 251, 325, 251, 244, - 250, 69, 250, 320, 184, 251, 251, 244, - 222, 69, 222, 276, 277, 223, 184, 278, - 269, 270, 271, 272, 273, 275, 244, 326, - 69, 326, 252, 320, 251, 328, 184, 254, - 245, 246, 247, 248, 249, 251, 327, 251, - 327, 251, 327, 251, 244, 326, 69, 326, - 252, 320, 328, 184, 254, 245, 246, 247, - 248, 249, 251, 244, 250, 69, 250, 252, - 329, 184, 254, 245, 246, 247, 248, 249, - 251, 244, 308, 69, 308, 330, 310, 330, - 330, 320, 251, 300, 184, 254, 330, 245, - 246, 247, 248, 249, 251, 330, 251, 323, - 251, 330, 323, 251, 244, 331, 69, 331, - 332, 252, 332, 332, 320, 251, 184, 254, - 332, 245, 246, 247, 248, 249, 251, 332, - 251, 332, 251, 332, 251, 244, 297, 69, - 297, 332, 252, 332, 332, 320, 251, 298, - 184, 254, 332, 245, 246, 247, 248, 249, - 251, 332, 251, 332, 251, 332, 251, 244, - 333, 69, 333, 330, 334, 330, 330, 320, - 251, 300, 184, 254, 330, 245, 246, 247, - 248, 249, 251, 330, 251, 323, 251, 330, - 323, 251, 244, 333, 69, 333, 311, 335, - 311, 311, 256, 300, 184, 311, 311, 311, - 260, 311, 260, 244, 297, 69, 297, 252, - 320, 298, 184, 254, 245, 246, 247, 248, - 249, 251, 244, 336, 69, 336, 215, 338, - 184, 337, 337, 337, 337, 213, 336, 69, - 336, 215, 338, 184, 213, 255, 69, 255, - 333, 184, 244, 344, 69, 344, 346, 347, - 348, 339, 340, 341, 342, 343, 345, 198, - 184, 69, 184, 199, 345, 198, 184, 69, - 184, 199, 339, 198, 184, 69, 184, 199, - 340, 198, 184, 69, 184, 199, 341, 198, - 184, 69, 184, 199, 342, 198, 206, 69, - 206, 199, 207, 198, 199, 69, 199, 349, - 350, 349, 349, 347, 345, 202, 348, 349, - 339, 340, 341, 342, 343, 345, 349, 345, - 351, 345, 349, 351, 345, 198, 352, 69, - 352, 353, 346, 353, 353, 347, 345, 348, - 353, 339, 340, 341, 342, 343, 345, 353, - 345, 353, 345, 353, 345, 198, 206, 69, - 206, 353, 346, 353, 353, 347, 345, 207, - 348, 353, 339, 340, 341, 342, 343, 345, - 353, 345, 353, 345, 353, 345, 198, 344, - 69, 344, 347, 345, 345, 198, 206, 69, - 206, 346, 347, 207, 348, 339, 340, 341, - 342, 343, 345, 198, 354, 69, 354, 346, - 347, 345, 356, 348, 339, 340, 341, 342, - 343, 345, 355, 345, 355, 345, 355, 345, - 198, 354, 69, 354, 346, 347, 356, 348, - 339, 340, 341, 342, 343, 345, 198, 362, - 69, 362, 364, 365, 366, 357, 358, 359, - 360, 361, 363, 198, 184, 69, 184, 199, - 363, 198, 362, 69, 362, 364, 367, 366, - 357, 358, 359, 360, 361, 363, 198, 184, - 69, 184, 199, 357, 198, 184, 69, 184, - 199, 358, 198, 184, 69, 184, 199, 359, - 198, 184, 69, 184, 199, 360, 198, 368, - 69, 368, 199, 369, 198, 370, 69, 370, - 199, 371, 198, 184, 69, 184, 199, 372, - 372, 198, 373, 69, 373, 199, 375, 374, - 374, 374, 374, 198, 373, 69, 373, 199, - 375, 198, 255, 69, 255, 256, 244, 199, - 69, 199, 376, 350, 376, 376, 367, 363, - 202, 366, 376, 357, 358, 359, 360, 361, - 363, 376, 363, 377, 363, 376, 377, 363, - 198, 378, 69, 378, 379, 364, 379, 379, - 367, 363, 366, 379, 357, 358, 359, 360, - 361, 363, 379, 363, 379, 363, 379, 363, - 198, 206, 69, 206, 379, 364, 379, 379, - 367, 363, 207, 366, 379, 357, 358, 359, - 360, 361, 363, 379, 363, 379, 363, 379, - 363, 198, 362, 69, 362, 367, 363, 363, - 198, 380, 69, 380, 364, 367, 363, 356, - 366, 357, 358, 359, 360, 361, 363, 381, - 363, 381, 363, 381, 363, 198, 380, 69, - 380, 364, 367, 356, 366, 357, 358, 359, - 360, 361, 363, 198, 382, 69, 382, 383, - 384, 383, 383, 367, 363, 371, 366, 383, - 357, 358, 359, 360, 361, 363, 383, 363, - 377, 363, 383, 377, 363, 198, 382, 69, - 382, 385, 386, 385, 385, 199, 371, 385, - 385, 385, 203, 385, 203, 198, 387, 69, - 387, 388, 388, 388, 199, 388, 388, 388, - 388, 388, 198, 368, 69, 368, 388, 388, - 388, 199, 369, 388, 388, 388, 388, 388, - 198, 389, 69, 389, 199, 391, 390, 390, - 390, 390, 198, 389, 69, 389, 199, 391, - 198, 184, 69, 184, 382, 198, 392, 69, - 392, 393, 364, 393, 393, 367, 363, 366, - 393, 357, 358, 359, 360, 361, 363, 393, - 363, 393, 363, 393, 363, 198, 368, 69, - 368, 393, 364, 393, 393, 367, 363, 369, - 366, 393, 357, 358, 359, 360, 361, 363, - 393, 363, 393, 363, 393, 363, 198, 368, - 69, 368, 364, 367, 369, 366, 357, 358, - 359, 360, 361, 363, 198, 394, 69, 394, - 187, 396, 184, 395, 395, 395, 395, 174, - 394, 69, 394, 187, 396, 184, 174, 214, - 69, 214, 215, 128, 213, 402, 69, 402, - 404, 405, 128, 406, 397, 398, 399, 400, - 401, 403, 174, 186, 69, 186, 187, 184, - 403, 174, 186, 69, 186, 187, 184, 397, - 174, 186, 69, 186, 187, 184, 398, 174, - 186, 69, 186, 187, 184, 399, 174, 186, - 69, 186, 187, 184, 400, 174, 194, 69, - 194, 187, 195, 184, 174, 187, 69, 187, - 407, 408, 407, 407, 405, 403, 190, 37, - 406, 407, 397, 398, 399, 400, 401, 403, - 407, 403, 409, 403, 407, 409, 403, 174, - 410, 69, 410, 411, 404, 411, 411, 405, - 403, 128, 406, 411, 397, 398, 399, 400, - 401, 403, 411, 403, 411, 403, 411, 403, - 174, 194, 69, 194, 411, 404, 411, 411, - 405, 403, 195, 128, 406, 411, 397, 398, - 399, 400, 401, 403, 411, 403, 411, 403, - 411, 403, 174, 402, 69, 402, 405, 128, - 403, 403, 174, 194, 69, 194, 404, 405, - 195, 128, 406, 397, 398, 399, 400, 401, - 403, 174, 412, 69, 412, 404, 405, 403, - 414, 128, 406, 397, 398, 399, 400, 401, - 403, 413, 403, 413, 403, 413, 403, 174, - 412, 69, 412, 404, 405, 414, 128, 406, - 397, 398, 399, 400, 401, 403, 174, 420, - 69, 420, 422, 423, 184, 424, 415, 416, - 417, 418, 419, 421, 174, 186, 69, 186, - 187, 184, 421, 174, 420, 69, 420, 422, - 425, 184, 424, 415, 416, 417, 418, 419, - 421, 174, 186, 69, 186, 187, 184, 415, - 174, 186, 69, 186, 187, 184, 416, 174, - 186, 69, 186, 187, 184, 417, 174, 186, - 69, 186, 187, 184, 418, 174, 426, 69, - 426, 187, 427, 184, 174, 428, 69, 428, - 187, 429, 184, 174, 186, 69, 186, 187, - 184, 430, 430, 174, 431, 69, 431, 187, - 244, 184, 432, 432, 432, 432, 174, 431, - 69, 431, 187, 244, 184, 174, 187, 69, - 187, 433, 408, 433, 433, 425, 421, 190, - 68, 424, 433, 415, 416, 417, 418, 419, - 421, 433, 421, 434, 421, 433, 434, 421, - 174, 435, 69, 435, 436, 422, 436, 436, - 425, 421, 184, 424, 436, 415, 416, 417, - 418, 419, 421, 436, 421, 436, 421, 436, - 421, 174, 194, 69, 194, 436, 422, 436, - 436, 425, 421, 195, 184, 424, 436, 415, - 416, 417, 418, 419, 421, 436, 421, 436, - 421, 436, 421, 174, 420, 69, 420, 425, - 184, 421, 421, 174, 437, 69, 437, 422, - 425, 421, 414, 184, 424, 415, 416, 417, - 418, 419, 421, 438, 421, 438, 421, 438, - 421, 174, 437, 69, 437, 422, 425, 414, - 184, 424, 415, 416, 417, 418, 419, 421, - 174, 439, 69, 439, 440, 441, 440, 440, - 425, 421, 429, 68, 424, 440, 415, 416, - 417, 418, 419, 421, 440, 421, 434, 421, - 440, 434, 421, 174, 439, 69, 439, 442, - 443, 442, 442, 187, 429, 184, 442, 442, - 442, 191, 442, 191, 174, 444, 69, 444, - 445, 445, 445, 187, 184, 445, 445, 445, - 445, 445, 174, 426, 69, 426, 445, 445, - 445, 187, 427, 184, 445, 445, 445, 445, - 445, 174, 446, 69, 446, 187, 448, 184, - 447, 447, 447, 447, 174, 446, 69, 446, - 187, 448, 184, 174, 186, 69, 186, 439, - 184, 174, 449, 69, 449, 450, 422, 450, - 450, 425, 421, 184, 424, 450, 415, 416, - 417, 418, 419, 421, 450, 421, 450, 421, - 450, 421, 174, 426, 69, 426, 450, 422, - 450, 450, 425, 421, 427, 184, 424, 450, - 415, 416, 417, 418, 419, 421, 450, 421, - 450, 421, 450, 421, 174, 426, 69, 426, - 422, 425, 427, 184, 424, 415, 416, 417, - 418, 419, 421, 174, 186, 69, 186, 187, - 184, 181, 174, 180, 69, 180, 182, 451, - 184, 185, 175, 176, 177, 178, 179, 181, - 174, 186, 69, 186, 187, 184, 175, 174, - 186, 69, 186, 187, 184, 176, 174, 186, - 69, 186, 187, 184, 177, 174, 186, 69, - 186, 187, 184, 178, 174, 452, 69, 452, - 187, 453, 184, 174, 454, 69, 454, 187, - 455, 184, 174, 186, 69, 186, 187, 184, - 456, 456, 174, 187, 69, 187, 457, 458, - 457, 457, 451, 181, 190, 184, 185, 457, - 175, 176, 177, 178, 179, 181, 457, 181, - 459, 181, 457, 459, 181, 174, 460, 69, - 460, 461, 182, 461, 461, 451, 181, 184, - 185, 461, 175, 176, 177, 178, 179, 181, - 461, 181, 461, 181, 461, 181, 174, 194, - 69, 194, 461, 182, 461, 461, 451, 181, - 195, 184, 185, 461, 175, 176, 177, 178, - 179, 181, 461, 181, 461, 181, 461, 181, - 174, 180, 69, 180, 451, 184, 181, 181, - 174, 152, 69, 152, 404, 405, 153, 128, - 406, 397, 398, 399, 400, 401, 403, 174, - 462, 69, 462, 182, 451, 181, 464, 184, - 185, 175, 176, 177, 178, 179, 181, 463, - 181, 463, 181, 463, 181, 174, 462, 69, - 462, 182, 451, 464, 184, 185, 175, 176, - 177, 178, 179, 181, 174, 180, 69, 180, - 182, 465, 184, 185, 175, 176, 177, 178, - 179, 181, 174, 439, 69, 439, 466, 467, - 466, 466, 451, 181, 429, 184, 185, 466, - 175, 176, 177, 178, 179, 181, 466, 181, - 459, 181, 466, 459, 181, 174, 468, 69, - 468, 469, 182, 469, 469, 451, 181, 184, - 185, 469, 175, 176, 177, 178, 179, 181, - 469, 181, 469, 181, 469, 181, 174, 426, - 69, 426, 469, 182, 469, 469, 451, 181, - 427, 184, 185, 469, 175, 176, 177, 178, - 179, 181, 469, 181, 469, 181, 469, 181, - 174, 452, 69, 452, 422, 425, 453, 184, - 424, 415, 416, 417, 418, 419, 421, 174, - 470, 69, 470, 471, 472, 471, 471, 451, - 181, 455, 184, 185, 471, 175, 176, 177, - 178, 179, 181, 471, 181, 459, 181, 471, - 459, 181, 174, 470, 69, 470, 473, 474, - 473, 473, 187, 455, 184, 473, 473, 473, - 191, 473, 191, 174, 475, 69, 475, 476, - 476, 476, 187, 184, 476, 476, 476, 476, - 476, 174, 452, 69, 452, 476, 476, 476, - 187, 453, 184, 476, 476, 476, 476, 476, - 174, 477, 69, 477, 478, 182, 478, 478, - 451, 181, 184, 185, 478, 175, 176, 177, - 178, 179, 181, 478, 181, 478, 181, 478, - 181, 174, 452, 69, 452, 478, 182, 478, - 478, 451, 181, 453, 184, 185, 478, 175, - 176, 177, 178, 179, 181, 478, 181, 478, - 181, 478, 181, 174, 452, 69, 452, 182, - 451, 453, 184, 185, 175, 176, 177, 178, - 179, 181, 174, 479, 69, 479, 145, 481, - 128, 480, 480, 480, 480, 143, 479, 69, - 479, 145, 481, 128, 143, 186, 69, 186, - 470, 184, 174, 487, 69, 487, 489, 490, - 491, 482, 483, 484, 485, 486, 488, 127, - 128, 69, 128, 129, 488, 127, 128, 69, - 128, 129, 482, 127, 128, 69, 128, 129, - 483, 127, 128, 69, 128, 129, 484, 127, - 128, 69, 128, 129, 485, 127, 136, 69, - 136, 129, 137, 127, 129, 69, 129, 492, - 493, 492, 492, 490, 488, 132, 491, 492, - 482, 483, 484, 485, 486, 488, 492, 488, - 494, 488, 492, 494, 488, 127, 495, 69, - 495, 496, 489, 496, 496, 490, 488, 491, - 496, 482, 483, 484, 485, 486, 488, 496, - 488, 496, 488, 496, 488, 127, 136, 69, - 136, 496, 489, 496, 496, 490, 488, 137, - 491, 496, 482, 483, 484, 485, 486, 488, - 496, 488, 496, 488, 496, 488, 127, 487, - 69, 487, 490, 488, 488, 127, 136, 69, - 136, 489, 490, 137, 491, 482, 483, 484, - 485, 486, 488, 127, 497, 69, 497, 489, - 490, 488, 499, 491, 482, 483, 484, 485, - 486, 488, 498, 488, 498, 488, 498, 488, - 127, 497, 69, 497, 489, 490, 499, 491, - 482, 483, 484, 485, 486, 488, 127, 505, - 69, 505, 507, 508, 509, 500, 501, 502, - 503, 504, 506, 198, 184, 69, 184, 199, - 506, 198, 505, 69, 505, 507, 510, 509, - 500, 501, 502, 503, 504, 506, 198, 184, - 69, 184, 199, 500, 198, 184, 69, 184, - 199, 501, 198, 184, 69, 184, 199, 502, - 198, 184, 69, 184, 199, 503, 198, 511, - 69, 511, 199, 512, 198, 513, 69, 513, - 199, 514, 198, 184, 69, 184, 199, 515, - 515, 198, 516, 69, 516, 199, 518, 517, - 517, 517, 517, 198, 516, 69, 516, 199, - 518, 198, 186, 69, 186, 187, 174, 199, - 69, 199, 519, 520, 519, 519, 510, 506, - 202, 509, 519, 500, 501, 502, 503, 504, - 506, 519, 506, 521, 506, 519, 521, 506, - 198, 522, 69, 522, 523, 507, 523, 523, - 510, 506, 509, 523, 500, 501, 502, 503, - 504, 506, 523, 506, 523, 506, 523, 506, - 198, 206, 69, 206, 523, 507, 523, 523, - 510, 506, 207, 509, 523, 500, 501, 502, - 503, 504, 506, 523, 506, 523, 506, 523, - 506, 198, 505, 69, 505, 510, 506, 506, - 198, 136, 69, 136, 346, 347, 137, 348, - 339, 340, 341, 342, 343, 345, 198, 524, - 69, 524, 507, 510, 506, 526, 509, 500, - 501, 502, 503, 504, 506, 525, 506, 525, - 506, 525, 506, 198, 524, 69, 524, 507, - 510, 526, 509, 500, 501, 502, 503, 504, - 506, 198, 505, 69, 505, 507, 527, 509, - 500, 501, 502, 503, 504, 506, 198, 382, - 69, 382, 528, 529, 528, 528, 510, 506, - 371, 509, 528, 500, 501, 502, 503, 504, - 506, 528, 506, 521, 506, 528, 521, 506, - 198, 530, 69, 530, 531, 507, 531, 531, - 510, 506, 509, 531, 500, 501, 502, 503, - 504, 506, 531, 506, 531, 506, 531, 506, - 198, 368, 69, 368, 531, 507, 531, 531, - 510, 506, 369, 509, 531, 500, 501, 502, - 503, 504, 506, 531, 506, 531, 506, 531, - 506, 198, 511, 69, 511, 364, 367, 512, - 366, 357, 358, 359, 360, 361, 363, 198, - 532, 69, 532, 533, 534, 533, 533, 510, - 506, 514, 509, 533, 500, 501, 502, 503, - 504, 506, 533, 506, 521, 506, 533, 521, - 506, 198, 532, 69, 532, 535, 536, 535, - 535, 199, 514, 535, 535, 535, 203, 535, - 203, 198, 537, 69, 537, 538, 538, 538, - 199, 538, 538, 538, 538, 538, 198, 511, - 69, 511, 538, 538, 538, 199, 512, 538, - 538, 538, 538, 538, 198, 539, 69, 539, - 540, 507, 540, 540, 510, 506, 509, 540, - 500, 501, 502, 503, 504, 506, 540, 506, - 540, 506, 540, 506, 198, 511, 69, 511, - 540, 507, 540, 540, 510, 506, 512, 509, - 540, 500, 501, 502, 503, 504, 506, 540, - 506, 540, 506, 540, 506, 198, 511, 69, - 511, 507, 510, 512, 509, 500, 501, 502, - 503, 504, 506, 198, 541, 69, 541, 129, - 543, 542, 542, 542, 542, 127, 541, 69, - 541, 129, 543, 127, 184, 69, 184, 532, - 198, 1, 0 + 69, 93, 86, 94, 68, 84, 106, 69, + 106, 107, 108, 107, 107, 104, 102, 109, + 37, 105, 107, 96, 97, 98, 99, 100, + 102, 107, 102, 110, 102, 107, 110, 102, + 84, 106, 111, 106, 112, 113, 112, 112, + 109, 37, 112, 112, 112, 112, 114, 112, + 114, 36, 115, 37, 36, 116, 116, 37, + 36, 116, 117, 116, 112, 113, 112, 112, + 109, 37, 112, 112, 112, 112, 114, 112, + 114, 36, 118, 37, 36, 119, 119, 37, + 36, 119, 119, 109, 37, 36, 37, 120, + 120, 36, 121, 122, 121, 123, 123, 123, + 37, 123, 123, 123, 123, 123, 123, 36, + 124, 125, 124, 123, 123, 123, 126, 37, + 123, 123, 123, 123, 123, 123, 36, 127, + 117, 127, 109, 37, 36, 128, 37, 36, + 121, 121, 37, 36, 134, 135, 136, 37, + 137, 129, 130, 131, 132, 133, 134, 36, + 37, 134, 36, 37, 129, 36, 37, 130, + 36, 37, 131, 36, 37, 132, 36, 138, + 37, 36, 134, 134, 37, 36, 124, 125, + 124, 126, 37, 36, 37, 134, 134, 134, + 36, 139, 139, 140, 141, 37, 140, 140, + 140, 140, 36, 139, 139, 141, 37, 36, + 68, 84, 142, 69, 142, 143, 103, 143, + 143, 104, 102, 37, 105, 143, 96, 97, + 98, 99, 100, 102, 143, 102, 143, 102, + 143, 102, 84, 49, 69, 49, 143, 103, + 143, 143, 104, 102, 51, 37, 105, 143, + 96, 97, 98, 99, 100, 102, 143, 102, + 143, 102, 143, 102, 84, 101, 69, 101, + 104, 68, 102, 102, 84, 49, 69, 49, + 103, 104, 51, 37, 105, 96, 97, 98, + 99, 100, 102, 84, 144, 69, 144, 103, + 104, 102, 146, 37, 105, 96, 97, 98, + 99, 100, 102, 145, 102, 145, 102, 145, + 102, 84, 144, 69, 144, 103, 104, 146, + 37, 105, 96, 97, 98, 99, 100, 102, + 84, 101, 69, 101, 103, 104, 68, 105, + 96, 97, 98, 99, 100, 102, 84, 152, + 69, 152, 154, 155, 156, 147, 148, 149, + 150, 151, 153, 67, 68, 69, 68, 70, + 153, 67, 68, 69, 68, 70, 147, 67, + 68, 69, 68, 70, 148, 67, 68, 69, + 68, 70, 149, 67, 68, 69, 68, 70, + 150, 67, 77, 69, 77, 70, 78, 67, + 40, 69, 40, 157, 158, 157, 157, 155, + 153, 25, 156, 157, 147, 148, 149, 150, + 151, 153, 157, 153, 72, 153, 157, 72, + 153, 67, 159, 69, 159, 160, 154, 160, + 160, 155, 153, 156, 160, 147, 148, 149, + 150, 151, 153, 160, 153, 160, 153, 160, + 153, 67, 49, 69, 49, 160, 154, 160, + 160, 155, 153, 51, 156, 160, 147, 148, + 149, 150, 151, 153, 160, 153, 160, 153, + 160, 153, 67, 152, 69, 152, 155, 153, + 153, 67, 49, 69, 49, 154, 155, 51, + 156, 147, 148, 149, 150, 151, 153, 67, + 161, 161, 162, 163, 162, 162, 162, 162, + 1, 161, 161, 163, 1, 164, 165, 69, + 165, 166, 164, 166, 69, 166, 167, 168, + 167, 167, 166, 169, 167, 167, 167, 170, + 167, 170, 164, 171, 69, 171, 172, 172, + 172, 166, 172, 172, 172, 172, 172, 164, + 173, 69, 173, 172, 172, 172, 166, 174, + 172, 172, 172, 172, 172, 164, 175, 69, + 175, 166, 169, 164, 165, 69, 165, 166, + 176, 176, 164, 177, 69, 177, 166, 179, + 178, 178, 178, 178, 164, 177, 69, 177, + 166, 179, 164, 181, 69, 181, 182, 180, + 181, 69, 181, 182, 165, 180, 182, 69, + 182, 183, 184, 183, 183, 182, 185, 165, + 183, 183, 183, 186, 183, 186, 180, 187, + 69, 187, 188, 188, 188, 182, 165, 188, + 188, 188, 188, 188, 180, 189, 69, 189, + 188, 188, 188, 182, 190, 165, 188, 188, + 188, 188, 188, 180, 191, 69, 191, 182, + 185, 165, 180, 181, 69, 181, 182, 165, + 192, 192, 180, 198, 69, 198, 200, 201, + 37, 202, 193, 194, 195, 196, 197, 199, + 180, 181, 69, 181, 182, 165, 199, 180, + 181, 69, 181, 182, 165, 193, 180, 181, + 69, 181, 182, 165, 194, 180, 181, 69, + 181, 182, 165, 195, 180, 181, 69, 181, + 182, 165, 196, 180, 189, 69, 189, 182, + 190, 165, 180, 203, 69, 203, 204, 205, + 204, 204, 201, 199, 109, 37, 202, 204, + 193, 194, 195, 196, 197, 199, 204, 199, + 206, 199, 204, 206, 199, 180, 203, 207, + 203, 112, 113, 112, 112, 109, 37, 112, + 112, 112, 112, 208, 112, 208, 36, 209, + 37, 36, 210, 210, 37, 36, 210, 117, + 210, 112, 113, 112, 112, 109, 37, 112, + 112, 112, 112, 208, 112, 208, 36, 211, + 211, 212, 213, 37, 212, 212, 212, 212, + 36, 211, 211, 213, 37, 36, 215, 214, + 216, 69, 216, 217, 215, 214, 217, 69, + 217, 218, 219, 218, 218, 217, 220, 215, + 218, 218, 218, 221, 218, 221, 214, 222, + 69, 222, 223, 223, 223, 217, 215, 223, + 223, 223, 223, 223, 214, 224, 69, 224, + 223, 223, 223, 217, 225, 215, 223, 223, + 223, 223, 223, 214, 226, 69, 226, 217, + 220, 215, 214, 216, 69, 216, 217, 215, + 227, 227, 214, 215, 69, 215, 228, 67, + 228, 69, 228, 229, 230, 229, 229, 70, + 231, 229, 229, 229, 232, 229, 232, 67, + 233, 69, 233, 234, 234, 234, 70, 234, + 234, 234, 234, 234, 67, 235, 69, 235, + 234, 234, 234, 70, 236, 234, 234, 234, + 234, 234, 67, 237, 69, 237, 70, 231, + 67, 68, 69, 68, 70, 238, 238, 67, + 239, 69, 239, 70, 241, 240, 240, 240, + 240, 67, 239, 69, 239, 70, 241, 67, + 243, 69, 243, 244, 242, 243, 69, 243, + 244, 215, 242, 244, 69, 244, 245, 246, + 245, 245, 244, 247, 215, 245, 245, 245, + 248, 245, 248, 242, 249, 69, 249, 250, + 250, 250, 244, 215, 250, 250, 250, 250, + 250, 242, 251, 69, 251, 250, 250, 250, + 244, 252, 215, 250, 250, 250, 250, 250, + 242, 253, 69, 253, 244, 247, 215, 242, + 243, 69, 243, 244, 215, 248, 248, 242, + 259, 69, 259, 261, 262, 37, 263, 254, + 255, 256, 257, 258, 260, 242, 243, 69, + 243, 244, 215, 260, 242, 243, 69, 243, + 244, 215, 254, 242, 243, 69, 243, 244, + 215, 255, 242, 243, 69, 243, 244, 215, + 256, 242, 243, 69, 243, 244, 215, 257, + 242, 251, 69, 251, 244, 252, 215, 242, + 264, 69, 264, 265, 266, 265, 265, 262, + 260, 109, 37, 263, 265, 254, 255, 256, + 257, 258, 260, 265, 260, 267, 260, 265, + 267, 260, 242, 264, 268, 264, 112, 113, + 112, 112, 109, 37, 112, 112, 112, 112, + 269, 112, 269, 36, 270, 37, 36, 271, + 271, 37, 36, 271, 117, 271, 112, 113, + 112, 112, 109, 37, 112, 112, 112, 112, + 269, 112, 269, 36, 272, 272, 273, 274, + 37, 273, 273, 273, 273, 36, 272, 272, + 274, 37, 36, 215, 242, 275, 69, 275, + 276, 261, 276, 276, 262, 260, 37, 263, + 276, 254, 255, 256, 257, 258, 260, 276, + 260, 276, 260, 276, 260, 242, 124, 69, + 124, 276, 261, 276, 276, 262, 260, 126, + 37, 263, 276, 254, 255, 256, 257, 258, + 260, 276, 260, 276, 260, 276, 260, 242, + 259, 69, 259, 262, 215, 260, 260, 242, + 124, 69, 124, 261, 262, 126, 37, 263, + 254, 255, 256, 257, 258, 260, 242, 277, + 69, 277, 261, 262, 260, 279, 37, 263, + 254, 255, 256, 257, 258, 260, 278, 260, + 278, 260, 278, 260, 242, 277, 69, 277, + 261, 262, 279, 37, 263, 254, 255, 256, + 257, 258, 260, 242, 259, 69, 259, 261, + 262, 215, 263, 254, 255, 256, 257, 258, + 260, 242, 285, 69, 285, 287, 288, 289, + 280, 281, 282, 283, 284, 286, 67, 68, + 69, 68, 70, 286, 67, 68, 69, 68, + 70, 280, 67, 68, 69, 68, 70, 281, + 67, 68, 69, 68, 70, 282, 67, 68, + 69, 68, 70, 283, 67, 235, 69, 235, + 70, 236, 67, 40, 69, 40, 290, 158, + 290, 290, 288, 286, 25, 289, 290, 280, + 281, 282, 283, 284, 286, 290, 286, 230, + 286, 290, 230, 286, 67, 291, 69, 291, + 292, 287, 292, 292, 288, 286, 289, 292, + 280, 281, 282, 283, 284, 286, 292, 286, + 292, 286, 292, 286, 67, 49, 69, 49, + 292, 287, 292, 292, 288, 286, 51, 289, + 292, 280, 281, 282, 283, 284, 286, 292, + 286, 292, 286, 292, 286, 67, 285, 69, + 285, 288, 286, 286, 67, 293, 69, 293, + 70, 295, 294, 294, 294, 294, 67, 293, + 69, 293, 70, 295, 67, 68, 69, 68, + 296, 67, 296, 69, 296, 71, 297, 71, + 71, 70, 73, 71, 71, 71, 74, 71, + 74, 67, 303, 69, 303, 154, 305, 306, + 298, 299, 300, 301, 302, 304, 67, 68, + 69, 68, 70, 304, 67, 68, 69, 68, + 70, 298, 67, 68, 69, 68, 70, 299, + 67, 68, 69, 68, 70, 300, 67, 68, + 69, 68, 70, 301, 67, 228, 69, 228, + 307, 158, 307, 307, 305, 304, 231, 306, + 307, 298, 299, 300, 301, 302, 304, 307, + 304, 297, 304, 307, 297, 304, 67, 308, + 69, 308, 309, 154, 309, 309, 305, 304, + 306, 309, 298, 299, 300, 301, 302, 304, + 309, 304, 309, 304, 309, 304, 67, 235, + 69, 235, 309, 154, 309, 309, 305, 304, + 236, 306, 309, 298, 299, 300, 301, 302, + 304, 309, 304, 309, 304, 309, 304, 67, + 303, 69, 303, 305, 304, 304, 67, 310, + 69, 310, 217, 312, 215, 311, 311, 311, + 311, 214, 310, 69, 310, 217, 312, 215, + 214, 243, 69, 243, 244, 37, 242, 318, + 69, 318, 320, 321, 37, 322, 313, 314, + 315, 316, 317, 319, 214, 216, 69, 216, + 217, 215, 319, 214, 216, 69, 216, 217, + 215, 313, 214, 216, 69, 216, 217, 215, + 314, 214, 216, 69, 216, 217, 215, 315, + 214, 216, 69, 216, 217, 215, 316, 214, + 224, 69, 224, 217, 225, 215, 214, 203, + 69, 203, 323, 324, 323, 323, 321, 319, + 109, 37, 322, 323, 313, 314, 315, 316, + 317, 319, 323, 319, 219, 319, 323, 219, + 319, 214, 325, 69, 325, 326, 320, 326, + 326, 321, 319, 37, 322, 326, 313, 314, + 315, 316, 317, 319, 326, 319, 326, 319, + 326, 319, 214, 124, 69, 124, 326, 320, + 326, 326, 321, 319, 126, 37, 322, 326, + 313, 314, 315, 316, 317, 319, 326, 319, + 326, 319, 326, 319, 214, 318, 69, 318, + 321, 37, 319, 319, 214, 124, 69, 124, + 320, 321, 126, 37, 322, 313, 314, 315, + 316, 317, 319, 214, 327, 69, 327, 328, + 200, 328, 328, 201, 199, 37, 202, 328, + 193, 194, 195, 196, 197, 199, 328, 199, + 328, 199, 328, 199, 180, 49, 69, 49, + 328, 200, 328, 328, 201, 199, 51, 37, + 202, 328, 193, 194, 195, 196, 197, 199, + 328, 199, 328, 199, 328, 199, 180, 198, + 69, 198, 201, 165, 199, 199, 180, 49, + 69, 49, 200, 201, 51, 37, 202, 193, + 194, 195, 196, 197, 199, 180, 329, 69, + 329, 200, 201, 199, 331, 37, 202, 193, + 194, 195, 196, 197, 199, 330, 199, 330, + 199, 330, 199, 180, 329, 69, 329, 200, + 201, 331, 37, 202, 193, 194, 195, 196, + 197, 199, 180, 338, 69, 338, 340, 341, + 215, 342, 333, 334, 335, 336, 337, 339, + 332, 343, 69, 343, 344, 345, 332, 344, + 69, 344, 346, 347, 346, 346, 344, 348, + 345, 346, 346, 346, 349, 346, 349, 332, + 350, 69, 350, 351, 351, 351, 344, 345, + 351, 351, 351, 351, 351, 332, 352, 69, + 352, 351, 351, 351, 344, 353, 345, 351, + 351, 351, 351, 351, 332, 354, 69, 354, + 344, 348, 345, 332, 343, 69, 343, 344, + 345, 355, 355, 332, 345, 69, 345, 357, + 356, 357, 69, 357, 358, 359, 358, 358, + 357, 360, 358, 358, 358, 361, 358, 361, + 356, 362, 69, 362, 363, 363, 363, 357, + 363, 363, 363, 363, 363, 356, 364, 69, + 364, 363, 363, 363, 357, 365, 363, 363, + 363, 363, 363, 356, 366, 69, 366, 357, + 360, 356, 345, 69, 345, 357, 367, 367, + 356, 368, 69, 368, 357, 370, 369, 369, + 369, 369, 356, 368, 69, 368, 357, 370, + 356, 372, 69, 372, 373, 371, 372, 69, + 372, 373, 345, 371, 373, 69, 373, 374, + 375, 374, 374, 373, 376, 345, 374, 374, + 374, 377, 374, 377, 371, 378, 69, 378, + 379, 379, 379, 373, 345, 379, 379, 379, + 379, 379, 371, 380, 69, 380, 379, 379, + 379, 373, 381, 345, 379, 379, 379, 379, + 379, 371, 382, 69, 382, 373, 376, 345, + 371, 372, 69, 372, 373, 345, 383, 383, + 371, 389, 69, 389, 391, 392, 37, 393, + 384, 385, 386, 387, 388, 390, 371, 372, + 69, 372, 373, 345, 390, 371, 372, 69, + 372, 373, 345, 384, 371, 372, 69, 372, + 373, 345, 385, 371, 372, 69, 372, 373, + 345, 386, 371, 372, 69, 372, 373, 345, + 387, 371, 380, 69, 380, 373, 381, 345, + 371, 264, 69, 264, 394, 395, 394, 394, + 392, 390, 109, 37, 393, 394, 384, 385, + 386, 387, 388, 390, 394, 390, 396, 390, + 394, 396, 390, 371, 397, 69, 397, 398, + 391, 398, 398, 392, 390, 37, 393, 398, + 384, 385, 386, 387, 388, 390, 398, 390, + 398, 390, 398, 390, 371, 49, 69, 49, + 398, 391, 398, 398, 392, 390, 51, 37, + 393, 398, 384, 385, 386, 387, 388, 390, + 398, 390, 398, 390, 398, 390, 371, 389, + 69, 389, 392, 345, 390, 390, 371, 49, + 69, 49, 391, 392, 51, 37, 393, 384, + 385, 386, 387, 388, 390, 371, 399, 69, + 399, 391, 392, 390, 401, 37, 393, 384, + 385, 386, 387, 388, 390, 400, 390, 400, + 390, 400, 390, 371, 399, 69, 399, 391, + 392, 401, 37, 393, 384, 385, 386, 387, + 388, 390, 371, 407, 69, 407, 391, 409, + 215, 410, 402, 403, 404, 405, 406, 408, + 371, 372, 69, 372, 373, 345, 408, 371, + 407, 69, 407, 391, 411, 37, 410, 402, + 403, 404, 405, 406, 408, 371, 372, 69, + 372, 373, 345, 402, 371, 372, 69, 372, + 373, 345, 403, 371, 372, 69, 372, 373, + 345, 404, 371, 372, 69, 372, 373, 345, + 405, 371, 412, 69, 412, 413, 395, 413, + 413, 411, 408, 220, 215, 410, 413, 402, + 403, 404, 405, 406, 408, 413, 408, 414, + 408, 413, 414, 408, 371, 412, 69, 412, + 218, 415, 218, 218, 217, 220, 215, 218, + 218, 218, 416, 218, 416, 214, 422, 69, + 422, 320, 424, 37, 425, 417, 418, 419, + 420, 421, 423, 214, 216, 69, 216, 217, + 215, 423, 214, 216, 69, 216, 217, 215, + 417, 214, 216, 69, 216, 217, 215, 418, + 214, 216, 69, 216, 217, 215, 419, 214, + 216, 69, 216, 217, 215, 420, 214, 40, + 69, 40, 426, 324, 426, 426, 424, 423, + 25, 37, 425, 426, 417, 418, 419, 420, + 421, 423, 426, 423, 415, 423, 426, 415, + 423, 214, 427, 69, 427, 428, 320, 428, + 428, 424, 423, 37, 425, 428, 417, 418, + 419, 420, 421, 423, 428, 423, 428, 423, + 428, 423, 214, 49, 69, 49, 428, 320, + 428, 428, 424, 423, 51, 37, 425, 428, + 417, 418, 419, 420, 421, 423, 428, 423, + 428, 423, 428, 423, 214, 422, 69, 422, + 424, 37, 423, 423, 214, 429, 69, 429, + 217, 431, 215, 430, 430, 430, 430, 214, + 429, 69, 429, 217, 431, 215, 214, 243, + 69, 243, 432, 215, 242, 432, 69, 432, + 245, 433, 245, 245, 244, 247, 215, 245, + 245, 245, 248, 245, 248, 242, 439, 69, + 439, 261, 441, 215, 442, 434, 435, 436, + 437, 438, 440, 242, 243, 69, 243, 244, + 215, 440, 242, 243, 69, 243, 244, 215, + 434, 242, 243, 69, 243, 244, 215, 435, + 242, 243, 69, 243, 244, 215, 436, 242, + 243, 69, 243, 244, 215, 437, 242, 443, + 69, 443, 444, 445, 444, 444, 441, 440, + 247, 215, 442, 444, 434, 435, 436, 437, + 438, 440, 444, 440, 433, 440, 444, 433, + 440, 242, 443, 69, 443, 245, 446, 245, + 245, 244, 247, 215, 245, 245, 245, 447, + 245, 447, 242, 453, 69, 453, 261, 455, + 37, 456, 448, 449, 450, 451, 452, 454, + 242, 243, 69, 243, 244, 215, 454, 242, + 243, 69, 243, 244, 215, 448, 242, 243, + 69, 243, 244, 215, 449, 242, 243, 69, + 243, 244, 215, 450, 242, 243, 69, 243, + 244, 215, 451, 242, 106, 69, 106, 457, + 266, 457, 457, 455, 454, 109, 37, 456, + 457, 448, 449, 450, 451, 452, 454, 457, + 454, 458, 454, 457, 458, 454, 242, 459, + 69, 459, 460, 261, 460, 460, 455, 454, + 37, 456, 460, 448, 449, 450, 451, 452, + 454, 460, 454, 460, 454, 460, 454, 242, + 49, 69, 49, 460, 261, 460, 460, 455, + 454, 51, 37, 456, 460, 448, 449, 450, + 451, 452, 454, 460, 454, 460, 454, 460, + 454, 242, 453, 69, 453, 455, 215, 454, + 454, 242, 461, 69, 461, 261, 455, 454, + 463, 37, 456, 448, 449, 450, 451, 452, + 454, 462, 454, 462, 454, 462, 454, 242, + 461, 69, 461, 261, 455, 463, 37, 456, + 448, 449, 450, 451, 452, 454, 242, 453, + 69, 453, 261, 455, 215, 456, 448, 449, + 450, 451, 452, 454, 242, 464, 69, 464, + 244, 466, 215, 465, 465, 465, 465, 242, + 464, 69, 464, 244, 466, 215, 242, 243, + 69, 243, 467, 215, 242, 467, 69, 467, + 245, 468, 245, 245, 244, 247, 215, 245, + 245, 245, 248, 245, 248, 242, 474, 69, + 474, 261, 476, 215, 477, 469, 470, 471, + 472, 473, 475, 242, 243, 69, 243, 244, + 215, 475, 242, 243, 69, 243, 244, 215, + 469, 242, 243, 69, 243, 244, 215, 470, + 242, 243, 69, 243, 244, 215, 471, 242, + 243, 69, 243, 244, 215, 472, 242, 412, + 69, 412, 478, 445, 478, 478, 476, 475, + 220, 215, 477, 478, 469, 470, 471, 472, + 473, 475, 478, 475, 468, 475, 478, 468, + 475, 242, 479, 69, 479, 480, 261, 480, + 480, 476, 475, 215, 477, 480, 469, 470, + 471, 472, 473, 475, 480, 475, 480, 475, + 480, 475, 242, 224, 69, 224, 480, 261, + 480, 480, 476, 475, 225, 215, 477, 480, + 469, 470, 471, 472, 473, 475, 480, 475, + 480, 475, 480, 475, 242, 474, 69, 474, + 476, 215, 475, 475, 242, 49, 69, 49, + 261, 262, 51, 37, 263, 254, 255, 256, + 257, 258, 260, 242, 481, 69, 481, 482, + 261, 482, 482, 441, 440, 215, 442, 482, + 434, 435, 436, 437, 438, 440, 482, 440, + 482, 440, 482, 440, 242, 251, 69, 251, + 482, 261, 482, 482, 441, 440, 252, 215, + 442, 482, 434, 435, 436, 437, 438, 440, + 482, 440, 482, 440, 482, 440, 242, 439, + 69, 439, 441, 215, 440, 440, 242, 483, + 69, 483, 484, 391, 484, 484, 411, 408, + 215, 410, 484, 402, 403, 404, 405, 406, + 408, 484, 408, 484, 408, 484, 408, 371, + 235, 69, 235, 484, 391, 484, 484, 411, + 408, 236, 215, 410, 484, 402, 403, 404, + 405, 406, 408, 484, 408, 484, 408, 484, + 408, 371, 407, 69, 407, 411, 345, 408, + 408, 371, 485, 69, 485, 391, 411, 408, + 487, 37, 410, 402, 403, 404, 405, 406, + 408, 486, 408, 486, 408, 486, 408, 371, + 485, 69, 485, 391, 411, 487, 37, 410, + 402, 403, 404, 405, 406, 408, 371, 407, + 69, 407, 391, 488, 215, 410, 402, 403, + 404, 405, 406, 408, 371, 412, 69, 412, + 413, 489, 413, 413, 411, 408, 220, 215, + 410, 413, 402, 403, 404, 405, 406, 408, + 413, 408, 414, 408, 413, 414, 408, 371, + 49, 69, 49, 391, 411, 51, 37, 410, + 402, 403, 404, 405, 406, 408, 371, 264, + 69, 264, 490, 489, 490, 490, 411, 408, + 109, 37, 410, 490, 402, 403, 404, 405, + 406, 408, 490, 408, 414, 408, 490, 414, + 408, 371, 491, 69, 491, 492, 391, 492, + 492, 411, 408, 37, 410, 492, 402, 403, + 404, 405, 406, 408, 492, 408, 492, 408, + 492, 408, 371, 49, 69, 49, 492, 391, + 492, 492, 411, 408, 51, 37, 410, 492, + 402, 403, 404, 405, 406, 408, 492, 408, + 492, 408, 492, 408, 371, 493, 69, 493, + 373, 495, 345, 494, 494, 494, 494, 371, + 493, 69, 493, 373, 495, 345, 371, 372, + 69, 372, 496, 345, 371, 496, 69, 496, + 374, 497, 374, 374, 373, 376, 345, 374, + 374, 374, 377, 374, 377, 371, 503, 69, + 503, 505, 506, 507, 498, 499, 500, 501, + 502, 504, 356, 345, 69, 345, 357, 504, + 356, 345, 69, 345, 357, 498, 356, 345, + 69, 345, 357, 499, 356, 345, 69, 345, + 357, 500, 356, 345, 69, 345, 357, 501, + 356, 364, 69, 364, 357, 365, 356, 40, + 69, 40, 508, 509, 508, 508, 506, 504, + 25, 507, 508, 498, 499, 500, 501, 502, + 504, 508, 504, 510, 504, 508, 510, 504, + 356, 511, 69, 511, 512, 505, 512, 512, + 506, 504, 507, 512, 498, 499, 500, 501, + 502, 504, 512, 504, 512, 504, 512, 504, + 356, 49, 69, 49, 512, 505, 512, 512, + 506, 504, 51, 507, 512, 498, 499, 500, + 501, 502, 504, 512, 504, 512, 504, 512, + 504, 356, 503, 69, 503, 506, 504, 504, + 356, 49, 69, 49, 505, 506, 51, 507, + 498, 499, 500, 501, 502, 504, 356, 513, + 69, 513, 505, 506, 504, 515, 507, 498, + 499, 500, 501, 502, 504, 514, 504, 514, + 504, 514, 504, 356, 513, 69, 513, 505, + 506, 515, 507, 498, 499, 500, 501, 502, + 504, 356, 521, 69, 521, 505, 523, 524, + 516, 517, 518, 519, 520, 522, 356, 345, + 69, 345, 357, 522, 356, 521, 69, 521, + 505, 525, 524, 516, 517, 518, 519, 520, + 522, 356, 345, 69, 345, 357, 516, 356, + 345, 69, 345, 357, 517, 356, 345, 69, + 345, 357, 518, 356, 345, 69, 345, 357, + 519, 356, 228, 69, 228, 526, 509, 526, + 526, 525, 522, 231, 524, 526, 516, 517, + 518, 519, 520, 522, 526, 522, 527, 522, + 526, 527, 522, 356, 528, 69, 528, 529, + 505, 529, 529, 525, 522, 524, 529, 516, + 517, 518, 519, 520, 522, 529, 522, 529, + 522, 529, 522, 356, 235, 69, 235, 529, + 505, 529, 529, 525, 522, 236, 524, 529, + 516, 517, 518, 519, 520, 522, 529, 522, + 529, 522, 529, 522, 356, 521, 69, 521, + 525, 522, 522, 356, 530, 69, 530, 505, + 525, 522, 532, 524, 516, 517, 518, 519, + 520, 522, 531, 522, 531, 522, 531, 522, + 356, 530, 69, 530, 505, 525, 532, 524, + 516, 517, 518, 519, 520, 522, 356, 521, + 69, 521, 505, 533, 524, 516, 517, 518, + 519, 520, 522, 356, 228, 69, 228, 526, + 534, 526, 526, 525, 522, 231, 524, 526, + 516, 517, 518, 519, 520, 522, 526, 522, + 527, 522, 526, 527, 522, 356, 49, 69, + 49, 505, 525, 51, 524, 516, 517, 518, + 519, 520, 522, 356, 40, 69, 40, 535, + 534, 535, 535, 525, 522, 25, 524, 535, + 516, 517, 518, 519, 520, 522, 535, 522, + 527, 522, 535, 527, 522, 356, 536, 69, + 536, 537, 505, 537, 537, 525, 522, 524, + 537, 516, 517, 518, 519, 520, 522, 537, + 522, 537, 522, 537, 522, 356, 49, 69, + 49, 537, 505, 537, 537, 525, 522, 51, + 524, 537, 516, 517, 518, 519, 520, 522, + 537, 522, 537, 522, 537, 522, 356, 538, + 69, 538, 357, 540, 539, 539, 539, 539, + 356, 538, 69, 538, 357, 540, 356, 345, + 69, 345, 541, 356, 541, 69, 541, 358, + 542, 358, 358, 357, 360, 358, 358, 358, + 361, 358, 361, 356, 543, 69, 543, 344, + 545, 345, 544, 544, 544, 544, 332, 543, + 69, 543, 344, 545, 345, 332, 372, 69, + 372, 373, 165, 371, 551, 69, 551, 553, + 554, 37, 555, 546, 547, 548, 549, 550, + 552, 332, 343, 69, 343, 344, 345, 552, + 332, 343, 69, 343, 344, 345, 546, 332, + 343, 69, 343, 344, 345, 547, 332, 343, + 69, 343, 344, 345, 548, 332, 343, 69, + 343, 344, 345, 549, 332, 352, 69, 352, + 344, 353, 345, 332, 203, 69, 203, 556, + 557, 556, 556, 554, 552, 109, 37, 555, + 556, 546, 547, 548, 549, 550, 552, 556, + 552, 558, 552, 556, 558, 552, 332, 559, + 69, 559, 560, 553, 560, 560, 554, 552, + 37, 555, 560, 546, 547, 548, 549, 550, + 552, 560, 552, 560, 552, 560, 552, 332, + 49, 69, 49, 560, 553, 560, 560, 554, + 552, 51, 37, 555, 560, 546, 547, 548, + 549, 550, 552, 560, 552, 560, 552, 560, + 552, 332, 551, 69, 551, 554, 165, 552, + 552, 332, 49, 69, 49, 553, 554, 51, + 37, 555, 546, 547, 548, 549, 550, 552, + 332, 561, 69, 561, 553, 554, 552, 563, + 37, 555, 546, 547, 548, 549, 550, 552, + 562, 552, 562, 552, 562, 552, 332, 561, + 69, 561, 553, 554, 563, 37, 555, 546, + 547, 548, 549, 550, 552, 332, 569, 69, + 569, 571, 572, 215, 573, 564, 565, 566, + 567, 568, 570, 332, 343, 69, 343, 344, + 345, 570, 332, 569, 69, 569, 571, 574, + 37, 573, 564, 565, 566, 567, 568, 570, + 332, 343, 69, 343, 344, 345, 564, 332, + 343, 69, 343, 344, 345, 565, 332, 343, + 69, 343, 344, 345, 566, 332, 343, 69, + 343, 344, 345, 567, 332, 575, 69, 575, + 344, 576, 345, 332, 577, 69, 577, 344, + 578, 345, 332, 343, 69, 343, 344, 345, + 579, 579, 332, 580, 69, 580, 344, 371, + 345, 581, 581, 581, 581, 332, 580, 69, + 580, 344, 371, 345, 332, 582, 69, 582, + 583, 557, 583, 583, 574, 570, 220, 215, + 573, 583, 564, 565, 566, 567, 568, 570, + 583, 570, 584, 570, 583, 584, 570, 332, + 582, 69, 582, 218, 415, 218, 218, 217, + 220, 215, 218, 218, 218, 585, 218, 585, + 214, 586, 69, 586, 217, 588, 215, 587, + 587, 587, 587, 214, 586, 69, 586, 217, + 588, 215, 214, 216, 69, 216, 589, 215, + 214, 589, 69, 589, 590, 591, 590, 590, + 217, 592, 215, 590, 590, 590, 221, 590, + 221, 214, 593, 69, 593, 594, 594, 594, + 217, 215, 594, 594, 594, 594, 594, 214, + 595, 69, 595, 594, 594, 594, 217, 596, + 215, 594, 594, 594, 594, 594, 214, 597, + 69, 597, 217, 592, 215, 214, 216, 69, + 216, 217, 215, 598, 598, 214, 599, 69, + 599, 217, 242, 215, 600, 600, 600, 600, + 214, 599, 69, 599, 217, 242, 215, 214, + 606, 69, 606, 608, 609, 215, 610, 601, + 602, 603, 604, 605, 607, 214, 216, 69, + 216, 217, 215, 607, 214, 216, 69, 216, + 217, 215, 601, 214, 216, 69, 216, 217, + 215, 602, 214, 216, 69, 216, 217, 215, + 603, 214, 216, 69, 216, 217, 215, 604, + 214, 595, 69, 595, 217, 596, 215, 214, + 582, 69, 582, 611, 612, 611, 611, 609, + 607, 220, 215, 610, 611, 601, 602, 603, + 604, 605, 607, 611, 607, 591, 607, 611, + 591, 607, 214, 613, 69, 613, 614, 608, + 614, 614, 609, 607, 215, 610, 614, 601, + 602, 603, 604, 605, 607, 614, 607, 614, + 607, 614, 607, 214, 224, 69, 224, 614, + 608, 614, 614, 609, 607, 225, 215, 610, + 614, 601, 602, 603, 604, 605, 607, 614, + 607, 614, 607, 614, 607, 214, 606, 69, + 606, 609, 215, 607, 607, 214, 49, 69, + 49, 320, 321, 51, 37, 322, 313, 314, + 315, 316, 317, 319, 214, 615, 69, 615, + 616, 571, 616, 616, 574, 570, 215, 573, + 616, 564, 565, 566, 567, 568, 570, 616, + 570, 616, 570, 616, 570, 332, 235, 69, + 235, 616, 571, 616, 616, 574, 570, 236, + 215, 573, 616, 564, 565, 566, 567, 568, + 570, 616, 570, 616, 570, 616, 570, 332, + 569, 69, 569, 574, 345, 570, 570, 332, + 617, 69, 617, 571, 574, 570, 619, 37, + 573, 564, 565, 566, 567, 568, 570, 618, + 570, 618, 570, 618, 570, 332, 617, 69, + 617, 571, 574, 619, 37, 573, 564, 565, + 566, 567, 568, 570, 332, 569, 69, 569, + 571, 620, 215, 573, 564, 565, 566, 567, + 568, 570, 332, 582, 69, 582, 583, 621, + 583, 583, 574, 570, 220, 215, 573, 583, + 564, 565, 566, 567, 568, 570, 583, 570, + 584, 570, 583, 584, 570, 332, 49, 69, + 49, 571, 574, 51, 37, 573, 564, 565, + 566, 567, 568, 570, 332, 203, 69, 203, + 622, 621, 622, 622, 574, 570, 109, 37, + 573, 622, 564, 565, 566, 567, 568, 570, + 622, 570, 584, 570, 622, 584, 570, 332, + 623, 69, 623, 624, 571, 624, 624, 574, + 570, 37, 573, 624, 564, 565, 566, 567, + 568, 570, 624, 570, 624, 570, 624, 570, + 332, 49, 69, 49, 624, 571, 624, 624, + 574, 570, 51, 37, 573, 624, 564, 565, + 566, 567, 568, 570, 624, 570, 624, 570, + 624, 570, 332, 625, 69, 625, 344, 627, + 345, 626, 626, 626, 626, 332, 625, 69, + 625, 344, 627, 345, 332, 343, 69, 343, + 628, 345, 332, 628, 69, 628, 629, 630, + 629, 629, 344, 578, 345, 629, 629, 629, + 349, 629, 349, 332, 631, 69, 631, 632, + 632, 632, 344, 345, 632, 632, 632, 632, + 632, 332, 575, 69, 575, 632, 632, 632, + 344, 576, 345, 632, 632, 632, 632, 632, + 332, 343, 69, 343, 344, 345, 339, 332, + 338, 69, 338, 340, 633, 37, 342, 333, + 334, 335, 336, 337, 339, 332, 343, 69, + 343, 344, 345, 333, 332, 343, 69, 343, + 344, 345, 334, 332, 343, 69, 343, 344, + 345, 335, 332, 343, 69, 343, 344, 345, + 336, 332, 634, 69, 634, 344, 635, 345, + 332, 636, 69, 636, 344, 637, 345, 332, + 343, 69, 343, 344, 345, 638, 638, 332, + 582, 69, 582, 639, 557, 639, 639, 633, + 339, 220, 215, 342, 639, 333, 334, 335, + 336, 337, 339, 639, 339, 640, 339, 639, + 640, 339, 332, 641, 69, 641, 642, 340, + 642, 642, 633, 339, 215, 342, 642, 333, + 334, 335, 336, 337, 339, 642, 339, 642, + 339, 642, 339, 332, 235, 69, 235, 642, + 340, 642, 642, 633, 339, 236, 215, 342, + 642, 333, 334, 335, 336, 337, 339, 642, + 339, 642, 339, 642, 339, 332, 338, 69, + 338, 633, 345, 339, 339, 332, 643, 69, + 643, 340, 633, 339, 645, 37, 342, 333, + 334, 335, 336, 337, 339, 644, 339, 644, + 339, 644, 339, 332, 643, 69, 643, 340, + 633, 645, 37, 342, 333, 334, 335, 336, + 337, 339, 332, 338, 69, 338, 340, 646, + 215, 342, 333, 334, 335, 336, 337, 339, + 332, 582, 69, 582, 639, 621, 639, 639, + 633, 339, 220, 215, 342, 639, 333, 334, + 335, 336, 337, 339, 639, 339, 640, 339, + 639, 640, 339, 332, 203, 69, 203, 647, + 648, 647, 647, 633, 339, 109, 37, 342, + 647, 333, 334, 335, 336, 337, 339, 647, + 339, 640, 339, 647, 640, 339, 332, 649, + 69, 649, 650, 340, 650, 650, 633, 339, + 37, 342, 650, 333, 334, 335, 336, 337, + 339, 650, 339, 650, 339, 650, 339, 332, + 49, 69, 49, 650, 340, 650, 650, 633, + 339, 51, 37, 342, 650, 333, 334, 335, + 336, 337, 339, 650, 339, 650, 339, 650, + 339, 332, 49, 69, 49, 340, 633, 51, + 37, 342, 333, 334, 335, 336, 337, 339, + 332, 651, 69, 651, 182, 653, 165, 652, + 652, 652, 652, 180, 651, 69, 651, 182, + 653, 165, 180, 343, 69, 343, 654, 345, + 332, 654, 69, 654, 655, 656, 655, 655, + 344, 637, 345, 655, 655, 655, 349, 655, + 349, 332, 657, 69, 657, 658, 658, 658, + 344, 345, 658, 658, 658, 658, 658, 332, + 634, 69, 634, 658, 658, 658, 344, 635, + 345, 658, 658, 658, 658, 658, 332, 664, + 69, 664, 666, 667, 668, 659, 660, 661, + 662, 663, 665, 164, 165, 69, 165, 166, + 665, 164, 165, 69, 165, 166, 659, 164, + 165, 69, 165, 166, 660, 164, 165, 69, + 165, 166, 661, 164, 165, 69, 165, 166, + 662, 164, 173, 69, 173, 166, 174, 164, + 40, 69, 40, 669, 670, 669, 669, 667, + 665, 25, 668, 669, 659, 660, 661, 662, + 663, 665, 669, 665, 671, 665, 669, 671, + 665, 164, 672, 69, 672, 673, 666, 673, + 673, 667, 665, 668, 673, 659, 660, 661, + 662, 663, 665, 673, 665, 673, 665, 673, + 665, 164, 49, 69, 49, 673, 666, 673, + 673, 667, 665, 51, 668, 673, 659, 660, + 661, 662, 663, 665, 673, 665, 673, 665, + 673, 665, 164, 664, 69, 664, 667, 665, + 665, 164, 49, 69, 49, 666, 667, 51, + 668, 659, 660, 661, 662, 663, 665, 164, + 674, 69, 674, 666, 667, 665, 676, 668, + 659, 660, 661, 662, 663, 665, 675, 665, + 675, 665, 675, 665, 164, 674, 69, 674, + 666, 667, 676, 668, 659, 660, 661, 662, + 663, 665, 164, 682, 69, 682, 684, 685, + 686, 677, 678, 679, 680, 681, 683, 356, + 345, 69, 345, 357, 683, 356, 682, 69, + 682, 684, 687, 686, 677, 678, 679, 680, + 681, 683, 356, 345, 69, 345, 357, 677, + 356, 345, 69, 345, 357, 678, 356, 345, + 69, 345, 357, 679, 356, 345, 69, 345, + 357, 680, 356, 688, 69, 688, 357, 689, + 356, 690, 69, 690, 357, 691, 356, 345, + 69, 345, 357, 692, 692, 356, 693, 69, + 693, 357, 695, 694, 694, 694, 694, 356, + 693, 69, 693, 357, 695, 356, 343, 69, + 343, 344, 332, 228, 69, 228, 696, 509, + 696, 696, 687, 683, 231, 686, 696, 677, + 678, 679, 680, 681, 683, 696, 683, 697, + 683, 696, 697, 683, 356, 698, 69, 698, + 699, 684, 699, 699, 687, 683, 686, 699, + 677, 678, 679, 680, 681, 683, 699, 683, + 699, 683, 699, 683, 356, 235, 69, 235, + 699, 684, 699, 699, 687, 683, 236, 686, + 699, 677, 678, 679, 680, 681, 683, 699, + 683, 699, 683, 699, 683, 356, 682, 69, + 682, 687, 683, 683, 356, 700, 69, 700, + 684, 687, 683, 702, 686, 677, 678, 679, + 680, 681, 683, 701, 683, 701, 683, 701, + 683, 356, 700, 69, 700, 684, 687, 702, + 686, 677, 678, 679, 680, 681, 683, 356, + 682, 69, 682, 684, 703, 686, 677, 678, + 679, 680, 681, 683, 356, 228, 69, 228, + 696, 534, 696, 696, 687, 683, 231, 686, + 696, 677, 678, 679, 680, 681, 683, 696, + 683, 697, 683, 696, 697, 683, 356, 40, + 69, 40, 704, 705, 704, 704, 687, 683, + 25, 686, 704, 677, 678, 679, 680, 681, + 683, 704, 683, 697, 683, 704, 697, 683, + 356, 706, 69, 706, 707, 684, 707, 707, + 687, 683, 686, 707, 677, 678, 679, 680, + 681, 683, 707, 683, 707, 683, 707, 683, + 356, 49, 69, 49, 707, 684, 707, 707, + 687, 683, 51, 686, 707, 677, 678, 679, + 680, 681, 683, 707, 683, 707, 683, 707, + 683, 356, 49, 69, 49, 684, 687, 51, + 686, 677, 678, 679, 680, 681, 683, 356, + 708, 69, 708, 166, 710, 709, 709, 709, + 709, 164, 708, 69, 708, 166, 710, 164, + 345, 69, 345, 711, 356, 711, 69, 711, + 712, 713, 712, 712, 357, 691, 712, 712, + 712, 361, 712, 361, 356, 714, 69, 714, + 715, 715, 715, 357, 715, 715, 715, 715, + 715, 356, 688, 69, 688, 715, 715, 715, + 357, 689, 715, 715, 715, 715, 715, 356, + 1, 0 }; static const short _tsip_machine_parser_header_P_Preferred_Identity_trans_targs[] = { 2, 0, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 40, - 45, 29, 97, 24, 25, 26, 27, 28, + 45, 29, 126, 24, 25, 26, 27, 28, 30, 31, 30, 32, 33, 34, 34, 35, - 36, 405, 37, 55, 38, 39, 41, 43, + 36, 540, 37, 55, 38, 39, 41, 43, 40, 42, 26, 29, 42, 44, 46, 47, 48, 49, 50, 45, 51, 53, 54, 52, 56, 55, 57, 58, 58, 35, 59, 60, - 85, 63, 58, 61, 60, 62, 63, 62, + 114, 63, 58, 61, 60, 62, 63, 62, 64, 65, 64, 66, 67, 67, 68, 69, 73, 72, 67, 70, 69, 71, 72, 71, 74, 75, 76, 77, 78, 73, 73, 79, - 80, 83, 81, 84, 82, 81, 86, 87, - 88, 89, 90, 85, 85, 91, 92, 95, - 93, 96, 94, 93, 98, 97, 99, 100, - 100, 101, 102, 356, 105, 402, 103, 102, - 104, 105, 104, 106, 107, 106, 108, 109, - 109, 110, 111, 115, 114, 353, 112, 111, - 113, 114, 113, 109, 116, 117, 118, 119, - 120, 115, 115, 121, 122, 125, 123, 126, - 127, 124, 123, 128, 127, 129, 130, 325, - 327, 328, 329, 330, 326, 326, 331, 346, - 136, 337, 130, 131, 132, 283, 135, 319, - 133, 132, 134, 135, 134, 280, 136, 137, - 138, 237, 141, 274, 139, 138, 140, 141, - 140, 142, 143, 142, 144, 145, 145, 146, - 147, 151, 150, 234, 148, 147, 149, 150, - 149, 145, 152, 153, 154, 155, 156, 151, - 151, 157, 158, 161, 159, 162, 163, 160, - 159, 164, 163, 165, 166, 214, 216, 217, - 218, 219, 215, 215, 195, 231, 223, 166, - 167, 168, 174, 171, 208, 169, 168, 170, - 171, 170, 172, 173, 172, 175, 176, 177, - 178, 179, 174, 174, 180, 181, 184, 182, - 185, 186, 183, 182, 187, 186, 188, 189, - 191, 192, 193, 194, 190, 190, 204, 201, - 198, 196, 197, 196, 197, 166, 199, 202, - 200, 199, 203, 202, 205, 211, 213, 206, - 190, 207, 206, 209, 208, 210, 212, 211, - 220, 221, 224, 225, 222, 221, 226, 225, - 227, 228, 229, 230, 229, 232, 233, 215, - 235, 234, 236, 238, 239, 240, 241, 242, - 237, 237, 243, 244, 247, 245, 248, 249, - 246, 245, 250, 249, 251, 252, 254, 255, - 256, 257, 253, 253, 258, 270, 267, 264, - 259, 260, 259, 260, 261, 262, 261, 263, - 265, 268, 266, 265, 269, 268, 271, 277, - 279, 272, 253, 273, 272, 275, 274, 276, - 278, 277, 281, 280, 282, 284, 285, 286, - 287, 288, 283, 283, 289, 290, 293, 291, - 294, 295, 292, 291, 296, 295, 297, 298, - 300, 301, 302, 303, 299, 299, 304, 315, - 312, 309, 305, 306, 305, 306, 307, 308, - 307, 310, 313, 311, 310, 314, 313, 316, - 322, 324, 317, 299, 318, 317, 320, 319, - 321, 323, 322, 334, 332, 333, 332, 333, - 130, 335, 338, 339, 336, 335, 340, 339, - 341, 342, 343, 345, 344, 343, 347, 350, - 352, 348, 326, 349, 348, 351, 350, 354, - 353, 355, 357, 358, 359, 360, 361, 356, - 356, 362, 363, 366, 364, 367, 368, 365, - 364, 369, 368, 370, 371, 373, 374, 375, - 376, 372, 372, 377, 395, 386, 383, 378, - 379, 378, 379, 380, 381, 380, 382, 384, - 387, 388, 385, 384, 389, 388, 390, 391, - 392, 394, 393, 392, 396, 399, 401, 397, - 372, 398, 397, 400, 399, 403, 402, 404 + 80, 109, 81, 107, 110, 88, 111, 82, + 89, 94, 104, 83, 84, 85, 86, 87, + 33, 90, 92, 89, 91, 85, 88, 91, + 93, 95, 96, 97, 98, 99, 94, 100, + 102, 103, 101, 105, 104, 106, 108, 107, + 112, 111, 113, 115, 116, 117, 118, 119, + 114, 114, 120, 121, 124, 122, 125, 123, + 122, 127, 126, 128, 129, 129, 130, 131, + 495, 134, 534, 132, 131, 133, 134, 133, + 135, 136, 135, 137, 138, 138, 139, 140, + 144, 143, 489, 141, 140, 142, 143, 142, + 138, 145, 146, 147, 148, 149, 144, 144, + 150, 151, 244, 152, 242, 245, 246, 153, + 156, 154, 155, 157, 156, 158, 159, 165, + 159, 160, 161, 230, 164, 159, 162, 161, + 163, 164, 163, 227, 166, 167, 202, 170, + 213, 168, 167, 169, 170, 169, 171, 172, + 171, 173, 174, 174, 175, 176, 180, 179, + 174, 177, 176, 178, 179, 178, 181, 182, + 183, 184, 185, 180, 180, 186, 187, 197, + 188, 195, 198, 199, 189, 192, 190, 191, + 193, 192, 194, 196, 195, 200, 199, 201, + 203, 204, 205, 206, 207, 202, 202, 208, + 209, 212, 210, 211, 210, 214, 213, 215, + 216, 217, 218, 219, 220, 221, 222, 217, + 217, 223, 226, 224, 225, 224, 228, 227, + 229, 231, 232, 233, 234, 235, 230, 230, + 236, 237, 240, 238, 241, 239, 238, 243, + 242, 247, 246, 248, 249, 468, 470, 471, + 472, 473, 469, 469, 474, 485, 480, 249, + 250, 255, 251, 401, 254, 462, 252, 251, + 253, 254, 253, 398, 255, 256, 257, 361, + 260, 394, 258, 257, 259, 260, 259, 261, + 262, 261, 263, 264, 264, 265, 266, 270, + 269, 357, 267, 266, 268, 269, 268, 264, + 271, 272, 273, 274, 275, 270, 270, 276, + 277, 280, 278, 281, 282, 279, 278, 283, + 282, 284, 285, 287, 288, 289, 290, 286, + 286, 354, 348, 291, 292, 346, 349, 293, + 303, 294, 295, 296, 297, 298, 293, 293, + 299, 302, 300, 301, 300, 304, 303, 305, + 306, 307, 308, 309, 310, 311, 312, 307, + 307, 313, 345, 314, 343, 342, 315, 328, + 316, 317, 318, 319, 320, 315, 315, 321, + 324, 322, 325, 323, 322, 326, 325, 327, + 329, 328, 330, 331, 332, 333, 334, 335, + 336, 337, 332, 332, 338, 341, 339, 340, + 339, 344, 343, 347, 346, 350, 349, 351, + 352, 353, 355, 356, 355, 358, 357, 359, + 360, 286, 362, 363, 364, 365, 366, 361, + 361, 367, 368, 371, 369, 372, 373, 370, + 369, 374, 373, 375, 376, 378, 379, 380, + 381, 377, 377, 391, 385, 382, 383, 386, + 384, 383, 387, 386, 388, 389, 390, 392, + 393, 392, 395, 394, 396, 397, 377, 399, + 398, 400, 402, 403, 404, 405, 406, 401, + 401, 407, 408, 411, 409, 412, 413, 410, + 409, 414, 413, 415, 416, 418, 419, 420, + 421, 417, 417, 422, 459, 453, 427, 423, + 424, 423, 424, 425, 426, 425, 428, 451, + 454, 429, 430, 429, 431, 432, 433, 439, + 436, 434, 433, 435, 436, 435, 437, 438, + 437, 440, 441, 442, 443, 444, 439, 439, + 445, 446, 449, 447, 450, 448, 447, 452, + 451, 455, 454, 456, 457, 458, 460, 461, + 460, 463, 462, 464, 465, 466, 417, 467, + 466, 477, 475, 476, 475, 476, 249, 478, + 481, 479, 478, 482, 481, 483, 484, 486, + 488, 487, 486, 490, 489, 491, 492, 493, + 469, 494, 493, 496, 497, 498, 499, 500, + 495, 495, 501, 502, 505, 503, 506, 507, + 504, 503, 508, 507, 509, 510, 512, 513, + 514, 515, 511, 511, 516, 530, 525, 522, + 517, 518, 517, 518, 519, 520, 519, 521, + 523, 526, 524, 523, 527, 526, 528, 529, + 531, 533, 532, 531, 535, 534, 536, 537, + 538, 511, 539, 538 }; static const char _tsip_machine_parser_header_P_Preferred_Identity_trans_actions[] = { @@ -1760,65 +2244,87 @@ static const char _tsip_machine_parser_header_P_Preferred_Identity_trans_actions 1, 3, 0, 0, 0, 3, 3, 1, 1, 0, 1, 3, 0, 12, 5, 3, 0, 0, 0, 0, 0, 3, 0, 0, - 3, 0, 1, 1, 3, 0, 0, 0, + 3, 0, 0, 1, 1, 0, 1, 0, + 1, 1, 1, 0, 0, 0, 0, 0, + 1, 0, 0, 0, 5, 5, 5, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 3, 0, + 3, 0, 0, 0, 0, 0, 0, 0, + 3, 0, 0, 3, 0, 1, 1, 3, + 0, 0, 0, 0, 0, 3, 3, 1, + 1, 0, 1, 3, 0, 9, 5, 3, + 1, 3, 0, 0, 0, 3, 3, 1, + 1, 0, 1, 3, 0, 9, 5, 3, + 1, 0, 0, 0, 0, 0, 3, 0, + 0, 3, 0, 0, 1, 1, 1, 0, + 1, 0, 0, 0, 0, 0, 0, 3, + 3, 3, 1, 1, 0, 1, 3, 0, + 12, 5, 3, 1, 3, 1, 1, 0, + 1, 3, 0, 12, 5, 3, 1, 3, + 0, 0, 0, 3, 3, 1, 1, 0, + 1, 3, 0, 12, 5, 3, 0, 0, 0, 0, 0, 3, 0, 0, 3, 0, - 1, 1, 3, 0, 0, 0, 0, 0, + 0, 1, 1, 1, 0, 1, 0, 0, + 0, 0, 0, 3, 0, 3, 0, 0, + 0, 0, 0, 0, 0, 3, 0, 0, + 3, 0, 1, 3, 0, 3, 0, 0, + 3, 1, 0, 0, 0, 0, 0, 3, + 0, 3, 0, 1, 3, 0, 3, 0, + 0, 0, 0, 0, 0, 0, 3, 0, + 0, 3, 0, 1, 1, 3, 0, 3, + 0, 3, 0, 0, 0, 0, 0, 0, + 0, 0, 3, 0, 0, 3, 0, 3, 3, 3, 1, 1, 0, 1, 3, 0, - 9, 5, 3, 1, 3, 0, 0, 0, - 3, 3, 1, 1, 0, 1, 3, 0, - 9, 5, 3, 1, 0, 0, 0, 0, - 0, 3, 0, 0, 3, 0, 1, 1, - 1, 3, 0, 3, 0, 0, 0, 0, - 0, 0, 0, 0, 3, 0, 0, 3, - 3, 0, 3, 3, 1, 1, 0, 1, - 3, 0, 9, 5, 3, 1, 0, 3, - 1, 1, 0, 1, 3, 0, 9, 5, - 3, 1, 3, 0, 0, 0, 3, 3, - 1, 1, 0, 1, 3, 0, 9, 5, + 9, 5, 3, 1, 0, 3, 1, 1, + 0, 1, 3, 0, 9, 5, 3, 1, + 3, 0, 0, 0, 3, 3, 1, 1, + 0, 1, 3, 0, 9, 5, 3, 1, + 0, 0, 0, 0, 0, 3, 0, 0, + 3, 0, 1, 1, 1, 3, 0, 3, + 0, 0, 0, 0, 0, 0, 0, 3, + 0, 3, 0, 3, 3, 1, 1, 1, + 1, 0, 0, 0, 0, 0, 3, 0, + 3, 0, 1, 3, 0, 3, 0, 0, + 3, 1, 0, 0, 0, 0, 0, 3, + 0, 3, 0, 3, 1, 1, 1, 1, + 0, 0, 0, 0, 0, 3, 0, 3, + 0, 1, 1, 3, 0, 3, 0, 0, + 3, 0, 0, 3, 1, 0, 0, 0, + 0, 0, 3, 0, 3, 0, 1, 3, + 0, 3, 0, 3, 0, 3, 0, 0, + 3, 1, 1, 3, 0, 3, 0, 0, 3, 1, 0, 0, 0, 0, 0, 3, 0, 0, 3, 0, 1, 1, 1, 3, 0, 3, 0, 0, 0, 0, 0, 0, - 0, 0, 3, 0, 0, 3, 0, 3, - 3, 1, 1, 0, 1, 3, 0, 9, - 5, 3, 1, 3, 0, 0, 0, 0, - 0, 0, 3, 0, 0, 3, 0, 1, - 1, 1, 3, 0, 3, 0, 0, 0, - 0, 0, 0, 0, 3, 0, 3, 0, - 3, 9, 5, 3, 0, 1, 1, 1, - 3, 0, 3, 0, 3, 1, 1, 1, - 1, 3, 0, 3, 0, 0, 3, 0, - 3, 1, 1, 1, 3, 0, 3, 0, - 0, 3, 1, 3, 0, 3, 1, 1, - 3, 0, 0, 0, 0, 0, 0, 0, - 3, 0, 0, 3, 0, 1, 1, 1, - 3, 0, 3, 0, 0, 0, 0, 0, - 0, 0, 3, 0, 0, 3, 0, 3, - 9, 5, 3, 0, 1, 3, 0, 0, - 1, 1, 3, 0, 3, 0, 3, 1, - 1, 1, 1, 3, 0, 3, 0, 0, - 3, 0, 3, 0, 0, 0, 0, 0, - 0, 0, 3, 0, 0, 3, 0, 1, - 1, 1, 3, 0, 3, 0, 0, 0, - 0, 0, 0, 0, 3, 0, 0, 3, - 0, 3, 9, 5, 3, 0, 1, 3, - 0, 1, 1, 3, 0, 3, 0, 3, - 1, 1, 1, 1, 3, 0, 3, 0, - 0, 3, 0, 3, 9, 5, 3, 0, - 1, 1, 1, 1, 3, 0, 3, 0, - 0, 3, 1, 1, 3, 0, 3, 1, - 1, 1, 1, 3, 0, 3, 0, 3, + 0, 3, 0, 3, 0, 3, 1, 1, + 3, 0, 3, 0, 0, 3, 1, 1, + 3, 0, 3, 0, 0, 3, 1, 3, 0, 0, 0, 0, 0, 0, 0, 3, 0, 0, 3, 0, 1, 1, 1, 3, 0, 3, 0, 0, 0, 0, 0, 0, 0, 3, 0, 0, 3, 0, 3, 9, - 5, 3, 0, 1, 3, 0, 0, 1, + 5, 3, 0, 1, 3, 0, 3, 1, + 1, 1, 3, 0, 0, 3, 1, 1, + 0, 3, 0, 12, 5, 3, 1, 3, + 0, 0, 0, 0, 0, 0, 3, 0, + 0, 3, 0, 1, 1, 3, 0, 3, + 0, 3, 0, 0, 3, 1, 1, 3, + 0, 3, 0, 0, 3, 1, 1, 3, + 0, 3, 9, 5, 3, 0, 1, 1, + 1, 3, 0, 3, 0, 0, 3, 1, + 1, 3, 0, 3, 0, 0, 3, 1, + 1, 3, 0, 0, 0, 0, 0, 0, + 3, 0, 0, 3, 0, 1, 1, 1, + 3, 0, 3, 0, 0, 0, 0, 0, + 0, 0, 3, 0, 0, 3, 0, 3, + 9, 5, 3, 0, 1, 3, 0, 0, 1, 1, 3, 0, 3, 0, 0, 3, - 1, 1, 3, 0, 3, 1, 1, 1, - 1, 3, 0, 3, 0, 3, 0, 0 + 1, 1, 3, 0, 3, 0, 0, 3, + 1, 1, 3, 0 }; static const int tsip_machine_parser_header_P_Preferred_Identity_start = 1; -static const int tsip_machine_parser_header_P_Preferred_Identity_first_final = 405; +static const int tsip_machine_parser_header_P_Preferred_Identity_first_final = 540; static const int tsip_machine_parser_header_P_Preferred_Identity_error = 0; static const int tsip_machine_parser_header_P_Preferred_Identity_en_main = 1; @@ -1826,14 +2332,14 @@ static const int tsip_machine_parser_header_P_Preferred_Identity_en_main = 1; /* #line 124 "tsip_parser_header_P_Preferred_Identity.rl" */ -/* #line 1830 "../src/headers/tsip_header_P_Preferred_Identity.c" */ +/* #line 2336 "../src/headers/tsip_header_P_Preferred_Identity.c" */ { cs = tsip_machine_parser_header_P_Preferred_Identity_start; } /* #line 125 "tsip_parser_header_P_Preferred_Identity.rl" */ -/* #line 1837 "../src/headers/tsip_header_P_Preferred_Identity.c" */ +/* #line 2343 "../src/headers/tsip_header_P_Preferred_Identity.c" */ { int _klen; unsigned int _trans; @@ -1938,7 +2444,7 @@ _match: { } break; -/* #line 1942 "../src/headers/tsip_header_P_Preferred_Identity.c" */ +/* #line 2448 "../src/headers/tsip_header_P_Preferred_Identity.c" */ } } @@ -1954,8 +2460,8 @@ _again: /* #line 126 "tsip_parser_header_P_Preferred_Identity.rl" */ if( cs < -/* #line 1958 "../src/headers/tsip_header_P_Preferred_Identity.c" */ -405 +/* #line 2464 "../src/headers/tsip_header_P_Preferred_Identity.c" */ +540 /* #line 127 "tsip_parser_header_P_Preferred_Identity.rl" */ ) { diff --git a/trunk/tinySIP/src/headers/tsip_header_Path.c b/trunk/tinySIP/src/headers/tsip_header_Path.c index 14e62e14..a1f00a48 100644 --- a/trunk/tinySIP/src/headers/tsip_header_Path.c +++ b/trunk/tinySIP/src/headers/tsip_header_Path.c @@ -421,7 +421,7 @@ _match: { if(!curr_path) { - curr_path = TSIP_HEADER_PATH_CREATE(); + curr_path = TSIP_HEADER_PATH_CREATE_NULL(); } } break; @@ -510,8 +510,13 @@ static void* tsip_header_Path_create(void *self, va_list * app) tsip_header_Path_t *Path = self; if(Path) { + const tsip_uri_t* uri = va_arg(*app, const tsip_uri_t*); + TSIP_HEADER(Path)->type = tsip_htype_Path; TSIP_HEADER(Path)->tostring = tsip_header_Path_tostring; + if(uri){ + Path->uri = tsk_object_ref((void*)uri); + } } else { diff --git a/trunk/tinySIP/src/headers/tsip_header_Route.c b/trunk/tinySIP/src/headers/tsip_header_Route.c index 3fa14247..1dfe4190 100644 --- a/trunk/tinySIP/src/headers/tsip_header_Route.c +++ b/trunk/tinySIP/src/headers/tsip_header_Route.c @@ -23,7 +23,7 @@ */ /**@file tsip_header_Route.c - * @brief SIP Service-Route header as per RFC 3608. + * @brief SIP Route header. * * @author Mamadou Diop * @@ -39,7 +39,7 @@ #include -/**@defgroup tsip_header_Route_group SIP Service-Route header. +/**@defgroup tsip_header_Route_group SIP Route header. */ /*********************************** @@ -421,7 +421,7 @@ _match: { if(!curr_route) { - curr_route = TSIP_HEADER_ROUTE_CREATE(); + curr_route = TSIP_HEADER_ROUTE_CREATE_NULL(); } } break; @@ -510,8 +510,14 @@ static void* tsip_header_Route_create(void *self, va_list * app) tsip_header_Route_t *Route = self; if(Route) { + const tsip_uri_t* uri = va_arg(*app, const tsip_uri_t*); + TSIP_HEADER(Route)->type = tsip_htype_Route; TSIP_HEADER(Route)->tostring = tsip_header_Route_tostring; + + if(uri){ + Route->uri = tsk_object_ref((void*)uri); + } } else { diff --git a/trunk/tinySIP/src/headers/tsip_header_Server.c b/trunk/tinySIP/src/headers/tsip_header_Server.c index 8b137891..83a5c384 100644 --- a/trunk/tinySIP/src/headers/tsip_header_Server.c +++ b/trunk/tinySIP/src/headers/tsip_header_Server.c @@ -1 +1,310 @@ - + +/* #line 1 "tsip_parser_header_Server.rl" */ +/* +* 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 Lesser General Public License for more details. +* +* You should have received a copy of the GNU General Public License +* along with DOUBANGO. +* +*/ + +/**@file tsip_header_Server.c + * @brief SIP Server header. + * + * @author Mamadou Diop + * + * @date Created: Sat Nov 8 16:54:58 2009 mdiop + */ +#include "tinysip/headers/tsip_header_Server.h" + +#include "tinysip/parsers/tsip_parser_uri.h" + +#include "tsk_debug.h" +#include "tsk_memory.h" + +#include + +/**@defgroup tsip_header_Server_group SIP Server header. +*/ + +/*********************************** +* Ragel state machine. +*/ + +/* #line 75 "tsip_parser_header_Server.rl" */ + + +int tsip_header_Server_tostring(const void* header, tsk_buffer_t* output) +{ + if(header) + { + const tsip_header_Server_t *Server = header; + if(Server->value) + { + return tsk_buffer_append(output, Server->value, strlen(Server->value)); + } + return 0; + } + + return -1; +} + +tsip_header_Server_t *tsip_header_Server_parse(const char *data, size_t size) +{ + int cs = 0; + const char *p = data; + const char *pe = p + size; + const char *eof = pe; + tsip_header_Server_t *hdr_server = TSIP_HEADER_SERVER_CREATE(0); + + const char *tag_start; + + +/* #line 78 "../src/headers/tsip_header_Server.c" */ +static const char _tsip_machine_parser_header_Server_actions[] = { + 0, 1, 0, 1, 1, 1, 2, 2, + 0, 1 +}; + +static const char _tsip_machine_parser_header_Server_key_offsets[] = { + 0, 0, 2, 4, 6, 8, 10, 12, + 15, 18, 19, 20 +}; + +static const char _tsip_machine_parser_header_Server_trans_keys[] = { + 83, 115, 69, 101, 82, 114, 86, 118, + 69, 101, 82, 114, 9, 32, 58, 9, + 13, 32, 13, 10, 0 +}; + +static const char _tsip_machine_parser_header_Server_single_lengths[] = { + 0, 2, 2, 2, 2, 2, 2, 3, + 3, 1, 1, 0 +}; + +static const char _tsip_machine_parser_header_Server_range_lengths[] = { + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0 +}; + +static const char _tsip_machine_parser_header_Server_index_offsets[] = { + 0, 0, 3, 6, 9, 12, 15, 18, + 22, 26, 28, 30 +}; + +static const char _tsip_machine_parser_header_Server_indicies[] = { + 0, 0, 1, 2, 2, 1, 3, 3, + 1, 4, 4, 1, 5, 5, 1, 6, + 6, 1, 6, 6, 7, 1, 9, 10, + 9, 8, 12, 11, 13, 1, 1, 0 +}; + +static const char _tsip_machine_parser_header_Server_trans_targs[] = { + 2, 0, 3, 4, 5, 6, 7, 8, + 9, 8, 10, 9, 10, 11 +}; + +static const char _tsip_machine_parser_header_Server_trans_actions[] = { + 0, 0, 0, 0, 0, 0, 0, 0, + 1, 1, 7, 0, 3, 5 +}; + +static const int tsip_machine_parser_header_Server_start = 1; +static const int tsip_machine_parser_header_Server_first_final = 11; +static const int tsip_machine_parser_header_Server_error = 0; + +static const int tsip_machine_parser_header_Server_en_main = 1; + + +/* #line 103 "tsip_parser_header_Server.rl" */ + +/* #line 136 "../src/headers/tsip_header_Server.c" */ + { + cs = tsip_machine_parser_header_Server_start; + } + +/* #line 104 "tsip_parser_header_Server.rl" */ + +/* #line 143 "../src/headers/tsip_header_Server.c" */ + { + int _klen; + unsigned int _trans; + const char *_acts; + unsigned int _nacts; + const char *_keys; + + if ( p == pe ) + goto _test_eof; + if ( cs == 0 ) + goto _out; +_resume: + _keys = _tsip_machine_parser_header_Server_trans_keys + _tsip_machine_parser_header_Server_key_offsets[cs]; + _trans = _tsip_machine_parser_header_Server_index_offsets[cs]; + + _klen = _tsip_machine_parser_header_Server_single_lengths[cs]; + if ( _klen > 0 ) { + const char *_lower = _keys; + const char *_mid; + const char *_upper = _keys + _klen - 1; + while (1) { + if ( _upper < _lower ) + break; + + _mid = _lower + ((_upper-_lower) >> 1); + if ( (*p) < *_mid ) + _upper = _mid - 1; + else if ( (*p) > *_mid ) + _lower = _mid + 1; + else { + _trans += (_mid - _keys); + goto _match; + } + } + _keys += _klen; + _trans += _klen; + } + + _klen = _tsip_machine_parser_header_Server_range_lengths[cs]; + if ( _klen > 0 ) { + const char *_lower = _keys; + const char *_mid; + const char *_upper = _keys + (_klen<<1) - 2; + while (1) { + if ( _upper < _lower ) + break; + + _mid = _lower + (((_upper-_lower) >> 1) & ~1); + if ( (*p) < _mid[0] ) + _upper = _mid - 2; + else if ( (*p) > _mid[1] ) + _lower = _mid + 2; + else { + _trans += ((_mid - _keys)>>1); + goto _match; + } + } + _trans += _klen; + } + +_match: + _trans = _tsip_machine_parser_header_Server_indicies[_trans]; + cs = _tsip_machine_parser_header_Server_trans_targs[_trans]; + + if ( _tsip_machine_parser_header_Server_trans_actions[_trans] == 0 ) + goto _again; + + _acts = _tsip_machine_parser_header_Server_actions + _tsip_machine_parser_header_Server_trans_actions[_trans]; + _nacts = (unsigned int) *_acts++; + while ( _nacts-- > 0 ) + { + switch ( *_acts++ ) + { + case 0: +/* #line 52 "tsip_parser_header_Server.rl" */ + { + tag_start = p; + } + break; + case 1: +/* #line 57 "tsip_parser_header_Server.rl" */ + { + TSK_PARSER_SET_STRING(hdr_server->value); + } + break; + case 2: +/* #line 62 "tsip_parser_header_Server.rl" */ + { + } + break; +/* #line 234 "../src/headers/tsip_header_Server.c" */ + } + } + +_again: + if ( cs == 0 ) + goto _out; + if ( ++p != pe ) + goto _resume; + _test_eof: {} + _out: {} + } + +/* #line 105 "tsip_parser_header_Server.rl" */ + + if( cs < +/* #line 250 "../src/headers/tsip_header_Server.c" */ +11 +/* #line 106 "tsip_parser_header_Server.rl" */ + ) + { + TSK_OBJECT_SAFE_FREE(hdr_server); + } + + return hdr_server; +} + + + + + + + +//======================================================== +// Server header object definition +// + +/**@ingroup tsip_header_Server_group +*/ +static void* tsip_header_Server_create(void *self, va_list * app) +{ + tsip_header_Server_t *Server = self; + if(Server) + { + TSIP_HEADER(Server)->type = tsip_htype_Server; + TSIP_HEADER(Server)->tostring = tsip_header_Server_tostring; + Server->value = tsk_strdup(va_arg(*app, const char*)); + } + else + { + TSK_DEBUG_ERROR("Failed to create new Server header."); + } + return self; +} + +/**@ingroup tsip_header_Server_group +*/ +static void* tsip_header_Server_destroy(void *self) +{ + tsip_header_Server_t *Server = self; + if(Server) + { + TSK_FREE(Server->value); + TSK_OBJECT_SAFE_FREE(TSIP_HEADER_PARAMS(Server)); + } + else TSK_DEBUG_ERROR("Null Server header."); + + return self; +} + +static const tsk_object_def_t tsip_header_Server_def_s = +{ + sizeof(tsip_header_Server_t), + tsip_header_Server_create, + tsip_header_Server_destroy, + 0 +}; +const void *tsip_header_Server_def_t = &tsip_header_Server_def_s; \ No newline at end of file diff --git a/trunk/tinySIP/src/headers/tsip_header_Service_Route.c b/trunk/tinySIP/src/headers/tsip_header_Service_Route.c index ff076296..f567cf2c 100644 --- a/trunk/tinySIP/src/headers/tsip_header_Service_Route.c +++ b/trunk/tinySIP/src/headers/tsip_header_Service_Route.c @@ -430,7 +430,7 @@ _match: { if(!curr_service) { - curr_service = TSIP_HEADER_SERVICE_ROUTE_CREATE(); + curr_service = TSIP_HEADER_SERVICE_ROUTE_CREATE_NULL(); } } break; @@ -519,8 +519,13 @@ static void* tsip_header_Service_Route_create(void *self, va_list * app) tsip_header_Service_Route_t *Service_Route = self; if(Service_Route) { + const tsip_uri_t* uri = va_arg(*app, const tsip_uri_t*); + TSIP_HEADER(Service_Route)->type = tsip_htype_Service_Route; TSIP_HEADER(Service_Route)->tostring = tsip_header_Service_Route_tostring; + if(uri){ + Service_Route->uri = tsk_object_ref((void*)uri); + } } else { diff --git a/trunk/tinySIP/src/headers/tsip_header_User_Agent.c b/trunk/tinySIP/src/headers/tsip_header_User_Agent.c index c4404470..14e18875 100644 --- a/trunk/tinySIP/src/headers/tsip_header_User_Agent.c +++ b/trunk/tinySIP/src/headers/tsip_header_User_Agent.c @@ -298,6 +298,7 @@ static void* tsip_header_User_Agent_destroy(void *self) if(User_Agent) { TSK_FREE(User_Agent->value); + TSK_OBJECT_SAFE_FREE(TSIP_HEADER_PARAMS(User_Agent)); } else TSK_DEBUG_ERROR("Null User_Agent header."); diff --git a/trunk/tinySIP/src/headers/tsip_header_Warning.c b/trunk/tinySIP/src/headers/tsip_header_Warning.c index 8b137891..97ca8ab6 100644 --- a/trunk/tinySIP/src/headers/tsip_header_Warning.c +++ b/trunk/tinySIP/src/headers/tsip_header_Warning.c @@ -1 +1,564 @@ - + +/* #line 1 "tsip_parser_header_Warning.rl" */ +/* +* 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 Lesser General Public License for more details. +* +* You should have received a copy of the GNU General Public License +* along with DOUBANGO. +* +*/ + +/**@file tsip_header_Warning.c + * @brief SIP Warning header. + * + * @author Mamadou Diop + * + * @date Created: Sat Nov 8 16:54:58 2009 mdiop + */ +#include "tinysip/headers/tsip_header_Warning.h" + +#include "tinysip/parsers/tsip_parser_uri.h" + +#include "tsk_debug.h" +#include "tsk_memory.h" +#include "tsk_time.h" + +#include + +/**@defgroup tsip_header_Warning_group SIP Warning header. +*/ + +/*********************************** +* Ragel state machine. +*/ + +/* #line 111 "tsip_parser_header_Warning.rl" */ + + +int tsip_header_Warning_tostring(const void* header, tsk_buffer_t* output) +{ + if(header) + { + const tsip_header_Warning_t *Warning = header; + return tsk_buffer_appendEx(output, "%d %s %s", + Warning->code, Warning->agent, Warning->text); /* warn-code SP warn-agent SP warn-text */ + } + + return -1; +} + +tsip_header_Warnings_L_t *tsip_header_Warning_parse(const char *data, size_t size) +{ + int cs = 0; + const char *p = data; + const char *pe = p + size; + const char *eof = pe; + tsip_header_Warnings_L_t *hdr_warnings = TSK_LIST_CREATE(); + + const char *tag_start; + tsip_header_Warning_t *curr_warning = 0; + + +/* #line 77 "../src/headers/tsip_header_Warning.c" */ +static const char _tsip_machine_parser_header_Warning_actions[] = { + 0, 1, 0, 1, 2, 1, 4, 1, + 6, 2, 1, 0, 2, 3, 5 +}; + +static const short _tsip_machine_parser_header_Warning_key_offsets[] = { + 0, 0, 2, 4, 6, 8, 10, 12, + 14, 17, 22, 23, 25, 29, 31, 33, + 34, 51, 66, 70, 74, 75, 77, 80, + 96, 98, 100, 102, 104, 106, 107, 109, + 113, 117, 118, 120, 123, 124, 130, 147, + 164, 181, 198, 216, 233, 251, 253, 256, + 273, 290, 307, 324, 341, 359, 377, 395, + 412, 429, 446, 463, 480, 497, 504, 512, + 520, 528, 530, 537, 546, 548, 551, 553, + 556, 558, 561, 564, 565, 567, 570, 571, + 574, 575, 584, 593, 601, 609, 617, 625, + 627, 633, 642, 651, 660, 662, 665, 668, + 669, 670 +}; + +static const char _tsip_machine_parser_header_Warning_trans_keys[] = { + 87, 119, 65, 97, 82, 114, 78, 110, + 73, 105, 78, 110, 71, 103, 9, 32, + 58, 9, 13, 32, 48, 57, 10, 9, + 32, 9, 32, 48, 57, 48, 57, 48, + 57, 32, 33, 37, 39, 91, 126, 42, + 43, 45, 46, 48, 57, 65, 90, 95, + 96, 97, 122, 32, 33, 37, 39, 126, + 42, 43, 45, 46, 48, 57, 65, 90, + 95, 122, 9, 13, 32, 34, 9, 13, + 32, 34, 10, 9, 32, 9, 32, 34, + 9, 13, 34, 92, -64, -33, -32, -17, + -16, -9, -8, -5, -4, -3, 32, 126, + -128, -65, -128, -65, -128, -65, -128, -65, + -128, -65, 10, 9, 32, 9, 13, 32, + 44, 9, 13, 32, 44, 10, 9, 32, + 9, 32, 44, 10, 0, 9, 11, 12, + 14, 127, 32, 33, 37, 39, 45, 46, + 126, 42, 43, 48, 57, 65, 90, 95, + 96, 97, 122, 32, 33, 37, 39, 45, + 46, 126, 42, 43, 48, 57, 65, 90, + 95, 96, 97, 122, 32, 33, 37, 39, + 45, 46, 126, 42, 43, 48, 57, 65, + 90, 95, 96, 97, 122, 32, 33, 37, + 39, 126, 42, 43, 45, 46, 48, 57, + 65, 90, 95, 96, 97, 122, 32, 33, + 37, 39, 45, 46, 58, 126, 42, 43, + 48, 57, 65, 90, 95, 96, 97, 122, + 32, 33, 37, 39, 45, 46, 126, 42, + 43, 48, 57, 65, 90, 95, 96, 97, + 122, 32, 33, 37, 39, 58, 126, 42, + 43, 45, 46, 48, 57, 65, 90, 95, + 96, 97, 122, 48, 57, 32, 48, 57, + 32, 33, 37, 39, 126, 42, 43, 45, + 46, 48, 57, 65, 90, 95, 96, 97, + 122, 32, 33, 37, 39, 45, 46, 126, + 42, 43, 48, 57, 65, 90, 95, 96, + 97, 122, 32, 33, 37, 39, 126, 42, + 43, 45, 46, 48, 57, 65, 90, 95, + 96, 97, 122, 32, 33, 37, 39, 45, + 46, 126, 42, 43, 48, 57, 65, 90, + 95, 96, 97, 122, 32, 33, 37, 39, + 126, 42, 43, 45, 46, 48, 57, 65, + 90, 95, 96, 97, 122, 32, 33, 37, + 39, 45, 46, 58, 126, 42, 43, 48, + 57, 65, 90, 95, 96, 97, 122, 32, + 33, 37, 39, 45, 46, 58, 126, 42, + 43, 48, 57, 65, 90, 95, 96, 97, + 122, 32, 33, 37, 39, 45, 46, 58, + 126, 42, 43, 48, 57, 65, 90, 95, + 96, 97, 122, 32, 33, 37, 39, 45, + 46, 126, 42, 43, 48, 57, 65, 90, + 95, 96, 97, 122, 32, 33, 37, 39, + 45, 46, 126, 42, 43, 48, 57, 65, + 90, 95, 96, 97, 122, 32, 33, 37, + 39, 45, 46, 126, 42, 43, 48, 57, + 65, 90, 95, 96, 97, 122, 32, 33, + 37, 39, 45, 46, 126, 42, 43, 48, + 57, 65, 90, 95, 96, 97, 122, 32, + 33, 37, 39, 45, 46, 126, 42, 43, + 48, 57, 65, 90, 95, 96, 97, 122, + 32, 33, 37, 39, 45, 46, 126, 42, + 43, 48, 57, 65, 90, 95, 96, 97, + 122, 58, 48, 57, 65, 70, 97, 102, + 58, 93, 48, 57, 65, 70, 97, 102, + 58, 93, 48, 57, 65, 70, 97, 102, + 58, 93, 48, 57, 65, 70, 97, 102, + 58, 93, 58, 48, 57, 65, 70, 97, + 102, 46, 58, 93, 48, 57, 65, 70, + 97, 102, 48, 57, 46, 48, 57, 48, + 57, 46, 48, 57, 48, 57, 93, 48, + 57, 93, 48, 57, 93, 32, 58, 46, + 48, 57, 46, 46, 48, 57, 46, 46, + 58, 93, 48, 57, 65, 70, 97, 102, + 46, 58, 93, 48, 57, 65, 70, 97, + 102, 58, 93, 48, 57, 65, 70, 97, + 102, 58, 93, 48, 57, 65, 70, 97, + 102, 58, 93, 48, 57, 65, 70, 97, + 102, 58, 93, 48, 57, 65, 70, 97, + 102, 58, 93, 48, 57, 65, 70, 97, + 102, 46, 58, 93, 48, 57, 65, 70, + 97, 102, 46, 58, 93, 48, 57, 65, + 70, 97, 102, 46, 58, 93, 48, 57, + 65, 70, 97, 102, 48, 57, 46, 48, + 57, 46, 48, 57, 46, 58, 0 +}; + +static const char _tsip_machine_parser_header_Warning_single_lengths[] = { + 0, 2, 2, 2, 2, 2, 2, 2, + 3, 3, 1, 2, 2, 0, 0, 1, + 5, 5, 4, 4, 1, 2, 3, 4, + 0, 0, 0, 0, 0, 1, 2, 4, + 4, 1, 2, 3, 1, 0, 7, 7, + 7, 5, 8, 7, 6, 0, 1, 5, + 7, 5, 7, 5, 8, 8, 8, 7, + 7, 7, 7, 7, 7, 1, 2, 2, + 2, 2, 1, 3, 0, 1, 0, 1, + 0, 1, 1, 1, 2, 1, 1, 1, + 1, 3, 3, 2, 2, 2, 2, 2, + 0, 3, 3, 3, 0, 1, 1, 1, + 1, 0 +}; + +static const char _tsip_machine_parser_header_Warning_range_lengths[] = { + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 1, 0, 0, 1, 1, 1, 0, + 6, 5, 0, 0, 0, 0, 0, 6, + 1, 1, 1, 1, 1, 0, 0, 0, + 0, 0, 0, 0, 0, 3, 5, 5, + 5, 6, 5, 5, 6, 1, 1, 6, + 5, 6, 5, 6, 5, 5, 5, 5, + 5, 5, 5, 5, 5, 3, 3, 3, + 3, 0, 3, 3, 1, 1, 1, 1, + 1, 1, 1, 0, 0, 1, 0, 1, + 0, 3, 3, 3, 3, 3, 3, 0, + 3, 3, 3, 3, 1, 1, 1, 0, + 0, 0 +}; + +static const short _tsip_machine_parser_header_Warning_index_offsets[] = { + 0, 0, 3, 6, 9, 12, 15, 18, + 21, 25, 30, 32, 35, 39, 41, 43, + 45, 57, 68, 73, 78, 80, 83, 87, + 98, 100, 102, 104, 106, 108, 110, 113, + 118, 123, 125, 128, 132, 134, 138, 151, + 164, 177, 189, 203, 216, 229, 231, 234, + 246, 259, 271, 284, 296, 310, 324, 338, + 351, 364, 377, 390, 403, 416, 421, 427, + 433, 439, 442, 447, 454, 456, 459, 461, + 464, 466, 469, 472, 474, 477, 480, 482, + 485, 487, 494, 501, 507, 513, 519, 525, + 528, 532, 539, 546, 553, 555, 558, 561, + 563, 565 +}; + +static const char _tsip_machine_parser_header_Warning_indicies[] = { + 0, 0, 1, 2, 2, 1, 3, 3, + 1, 4, 4, 1, 5, 5, 1, 6, + 6, 1, 7, 7, 1, 7, 7, 8, + 1, 8, 9, 8, 10, 1, 11, 1, + 12, 12, 1, 12, 12, 10, 1, 13, + 1, 14, 1, 15, 1, 16, 16, 16, + 19, 16, 16, 16, 17, 18, 16, 18, + 1, 20, 21, 21, 21, 21, 21, 21, + 21, 21, 21, 1, 22, 23, 22, 24, + 1, 25, 26, 25, 27, 1, 28, 1, + 29, 29, 1, 29, 29, 27, 1, 27, + 35, 36, 37, 30, 31, 32, 33, 34, + 27, 1, 27, 1, 30, 1, 31, 1, + 32, 1, 33, 1, 38, 1, 27, 27, + 1, 39, 40, 39, 41, 1, 42, 43, + 42, 8, 1, 44, 1, 45, 45, 1, + 45, 45, 8, 1, 46, 1, 27, 27, + 27, 1, 20, 21, 21, 21, 47, 48, + 21, 21, 49, 50, 21, 50, 1, 20, + 21, 21, 21, 47, 21, 21, 21, 50, + 50, 21, 50, 1, 20, 21, 21, 21, + 47, 51, 21, 21, 50, 50, 21, 50, + 1, 20, 21, 21, 21, 21, 21, 21, + 50, 52, 21, 52, 1, 20, 21, 21, + 21, 53, 54, 55, 21, 21, 52, 52, + 21, 52, 1, 20, 21, 21, 21, 53, + 21, 21, 21, 52, 52, 21, 52, 1, + 20, 21, 21, 21, 55, 21, 21, 21, + 50, 52, 21, 52, 1, 56, 1, 20, + 56, 1, 20, 21, 21, 21, 21, 21, + 21, 57, 52, 21, 52, 1, 20, 21, + 21, 21, 47, 58, 21, 21, 59, 50, + 21, 50, 1, 20, 21, 21, 21, 21, + 21, 21, 60, 52, 21, 52, 1, 20, + 21, 21, 21, 47, 61, 21, 21, 62, + 50, 21, 50, 1, 20, 21, 21, 21, + 21, 21, 21, 63, 52, 21, 52, 1, + 20, 21, 21, 21, 47, 51, 55, 21, + 21, 64, 50, 21, 50, 1, 20, 21, + 21, 21, 47, 51, 55, 21, 21, 65, + 50, 21, 50, 1, 20, 21, 21, 21, + 47, 51, 55, 21, 21, 50, 50, 21, + 50, 1, 20, 21, 21, 21, 47, 61, + 21, 21, 66, 50, 21, 50, 1, 20, + 21, 21, 21, 47, 61, 21, 21, 50, + 50, 21, 50, 1, 20, 21, 21, 21, + 47, 58, 21, 21, 67, 50, 21, 50, + 1, 20, 21, 21, 21, 47, 58, 21, + 21, 50, 50, 21, 50, 1, 20, 21, + 21, 21, 47, 48, 21, 21, 68, 50, + 21, 50, 1, 20, 21, 21, 21, 47, + 48, 21, 21, 50, 50, 21, 50, 1, + 70, 69, 69, 69, 1, 72, 73, 71, + 71, 71, 1, 72, 73, 74, 74, 74, + 1, 72, 73, 75, 75, 75, 1, 72, + 73, 1, 77, 76, 69, 69, 1, 78, + 72, 73, 79, 71, 71, 1, 80, 1, + 81, 82, 1, 83, 1, 84, 85, 1, + 86, 1, 73, 87, 1, 73, 88, 1, + 73, 1, 20, 55, 1, 84, 89, 1, + 84, 1, 81, 90, 1, 81, 1, 78, + 72, 73, 91, 74, 74, 1, 78, 72, + 73, 75, 75, 75, 1, 93, 73, 92, + 92, 92, 1, 95, 73, 94, 94, 94, + 1, 95, 73, 96, 96, 96, 1, 95, + 73, 97, 97, 97, 1, 95, 73, 1, + 98, 92, 92, 1, 78, 95, 73, 99, + 94, 94, 1, 78, 95, 73, 100, 96, + 96, 1, 78, 95, 73, 97, 97, 97, + 1, 101, 1, 78, 102, 1, 78, 103, + 1, 78, 1, 77, 1, 1, 0 +}; + +static const char _tsip_machine_parser_header_Warning_trans_targs[] = { + 2, 0, 3, 4, 5, 6, 7, 8, + 9, 10, 13, 11, 12, 14, 15, 16, + 17, 38, 42, 61, 18, 17, 19, 20, + 23, 19, 20, 23, 21, 22, 24, 25, + 26, 27, 28, 29, 31, 37, 30, 32, + 36, 9, 32, 33, 34, 35, 97, 39, + 47, 59, 40, 41, 42, 43, 44, 45, + 46, 48, 49, 57, 50, 51, 55, 52, + 53, 54, 56, 58, 60, 62, 96, 63, + 66, 76, 64, 65, 67, 83, 68, 81, + 69, 70, 79, 71, 72, 77, 73, 74, + 75, 78, 80, 82, 84, 92, 85, 88, + 86, 87, 89, 90, 91, 93, 94, 95 +}; + +static const char _tsip_machine_parser_header_Warning_trans_actions[] = { + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 9, 0, 0, 0, 0, 5, + 1, 1, 1, 1, 3, 0, 1, 1, + 1, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 12, + 12, 12, 0, 0, 0, 0, 7, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0 +}; + +static const int tsip_machine_parser_header_Warning_start = 1; +static const int tsip_machine_parser_header_Warning_first_final = 97; +static const int tsip_machine_parser_header_Warning_error = 0; + +static const int tsip_machine_parser_header_Warning_en_main = 1; + + +/* #line 137 "tsip_parser_header_Warning.rl" */ + +/* #line 349 "../src/headers/tsip_header_Warning.c" */ + { + cs = tsip_machine_parser_header_Warning_start; + } + +/* #line 138 "tsip_parser_header_Warning.rl" */ + +/* #line 356 "../src/headers/tsip_header_Warning.c" */ + { + int _klen; + unsigned int _trans; + const char *_acts; + unsigned int _nacts; + const char *_keys; + + if ( p == pe ) + goto _test_eof; + if ( cs == 0 ) + goto _out; +_resume: + _keys = _tsip_machine_parser_header_Warning_trans_keys + _tsip_machine_parser_header_Warning_key_offsets[cs]; + _trans = _tsip_machine_parser_header_Warning_index_offsets[cs]; + + _klen = _tsip_machine_parser_header_Warning_single_lengths[cs]; + if ( _klen > 0 ) { + const char *_lower = _keys; + const char *_mid; + const char *_upper = _keys + _klen - 1; + while (1) { + if ( _upper < _lower ) + break; + + _mid = _lower + ((_upper-_lower) >> 1); + if ( (*p) < *_mid ) + _upper = _mid - 1; + else if ( (*p) > *_mid ) + _lower = _mid + 1; + else { + _trans += (_mid - _keys); + goto _match; + } + } + _keys += _klen; + _trans += _klen; + } + + _klen = _tsip_machine_parser_header_Warning_range_lengths[cs]; + if ( _klen > 0 ) { + const char *_lower = _keys; + const char *_mid; + const char *_upper = _keys + (_klen<<1) - 2; + while (1) { + if ( _upper < _lower ) + break; + + _mid = _lower + (((_upper-_lower) >> 1) & ~1); + if ( (*p) < _mid[0] ) + _upper = _mid - 2; + else if ( (*p) > _mid[1] ) + _lower = _mid + 2; + else { + _trans += ((_mid - _keys)>>1); + goto _match; + } + } + _trans += _klen; + } + +_match: + _trans = _tsip_machine_parser_header_Warning_indicies[_trans]; + cs = _tsip_machine_parser_header_Warning_trans_targs[_trans]; + + if ( _tsip_machine_parser_header_Warning_trans_actions[_trans] == 0 ) + goto _again; + + _acts = _tsip_machine_parser_header_Warning_actions + _tsip_machine_parser_header_Warning_trans_actions[_trans]; + _nacts = (unsigned int) *_acts++; + while ( _nacts-- > 0 ) + { + switch ( *_acts++ ) + { + case 0: +/* #line 53 "tsip_parser_header_Warning.rl" */ + { + tag_start = p; + } + break; + case 1: +/* #line 58 "tsip_parser_header_Warning.rl" */ + { + if(!curr_warning) + { + curr_warning = TSIP_HEADER_WARNING_CREATE(); + } + } + break; + case 2: +/* #line 66 "tsip_parser_header_Warning.rl" */ + { + if(curr_warning) + { + TSK_PARSER_SET_STRING(curr_warning->agent); + } + } + break; + case 3: +/* #line 74 "tsip_parser_header_Warning.rl" */ + { + if(curr_warning) + { + TSK_PARSER_SET_STRING(curr_warning->text); + } + } + break; + case 4: +/* #line 82 "tsip_parser_header_Warning.rl" */ + { + if(curr_warning) + { + TSK_PARSER_SET_INTEGER(curr_warning->code); + } + } + break; + case 5: +/* #line 90 "tsip_parser_header_Warning.rl" */ + { + if(curr_warning) + { + tsk_list_push_back_data(hdr_warnings, ((void**) &curr_warning)); + } + } + break; + case 6: +/* #line 98 "tsip_parser_header_Warning.rl" */ + { + } + break; +/* #line 486 "../src/headers/tsip_header_Warning.c" */ + } + } + +_again: + if ( cs == 0 ) + goto _out; + if ( ++p != pe ) + goto _resume; + _test_eof: {} + _out: {} + } + +/* #line 139 "tsip_parser_header_Warning.rl" */ + + if( cs < +/* #line 502 "../src/headers/tsip_header_Warning.c" */ +97 +/* #line 140 "tsip_parser_header_Warning.rl" */ + ) + { + TSK_OBJECT_SAFE_FREE(curr_warning); + TSK_OBJECT_SAFE_FREE(hdr_warnings); + } + + return hdr_warnings; +} + + + + + +//======================================================== +// Warning header object definition +// + +/**@ingroup tsip_header_Warning_group +*/ +static void* tsip_header_Warning_create(void *self, va_list * app) +{ + tsip_header_Warning_t *Warning = self; + if(Warning) + { + TSIP_HEADER(Warning)->type = tsip_htype_Warning; + TSIP_HEADER(Warning)->tostring = tsip_header_Warning_tostring; + + Warning->code = -1; + } + else + { + TSK_DEBUG_ERROR("Failed to create new Warning header."); + } + return self; +} + +/**@ingroup tsip_header_Warning_group +*/ +static void* tsip_header_Warning_destroy(void *self) +{ + tsip_header_Warning_t *Warning = self; + if(Warning) + { + TSK_FREE(Warning->agent); + TSK_FREE(Warning->text); + + TSK_OBJECT_SAFE_FREE(TSIP_HEADER_PARAMS(Warning)); + } + else TSK_DEBUG_ERROR("Null Warning header."); + + return self; +} + +static const tsk_object_def_t tsip_header_Warning_def_s = +{ + sizeof(tsip_header_Warning_t), + tsip_header_Warning_create, + tsip_header_Warning_destroy, + 0 +}; +const void *tsip_header_Warning_def_t = &tsip_header_Warning_def_s; \ No newline at end of file diff --git a/trunk/tinySIP/src/parsers/tsip_parser_header.c b/trunk/tinySIP/src/parsers/tsip_parser_header.c index a98861a2..d188b603 100644 --- a/trunk/tinySIP/src/parsers/tsip_parser_header.c +++ b/trunk/tinySIP/src/parsers/tsip_parser_header.c @@ -37,12 +37,16 @@ #include "tinysip/headers/tsip_header_Call_ID.h" #include "tinysip/headers/tsip_header_Contact.h" #include "tinysip/headers/tsip_header_CSeq.h" +#include "tinysip/headers/tsip_header_Event.h" #include "tinysip/headers/tsip_header_Expires.h" #include "tinysip/headers/tsip_header_From.h" #include "tinysip/headers/tsip_header_Max_Forwards.h" #include "tinysip/headers/tsip_header_Min_Expires.h" #include "tinysip/headers/tsip_header_Path.h" #include "tinysip/headers/tsip_header_P_Access_Network_Info.h" +#include "tinysip/headers/tsip_header_P_Asserted_Identity.h" +#include "tinysip/headers/tsip_header_P_Associated_URI.h" +#include "tinysip/headers/tsip_header_P_Charging_Function_Addresses.h" #include "tinysip/headers/tsip_header_P_Preferred_Identity.h" #include "tinysip/headers/tsip_header_Privacy.h" #include "tinysip/headers/tsip_header_Proxy_Authenticate.h" @@ -50,20 +54,44 @@ #include "tinysip/headers/tsip_header_Record_Route.h" #include "tinysip/headers/tsip_header_Require.h" #include "tinysip/headers/tsip_header_Route.h" +#include "tinysip/headers/tsip_header_Server.h" #include "tinysip/headers/tsip_header_Service_Route.h" #include "tinysip/headers/tsip_header_Supported.h" #include "tinysip/headers/tsip_header_To.h" #include "tinysip/headers/tsip_header_User_Agent.h" #include "tinysip/headers/tsip_header_Via.h" +#include "tinysip/headers/tsip_header_Warning.h" #include "tinysip/headers/tsip_header_WWW_Authenticate.h" #include "tsk_debug.h" +#undef ADD_HEADERS +#undef ADD_HEADER + +#define ADD_HEADERS(headers)\ + if(headers)\ + {\ + tsk_list_item_t *item;\ + tsk_list_foreach(item, headers)\ + {\ + tsip_header_t *hdr = tsk_object_ref(item->data);\ + tsk_list_push_back_data(message->headers, ((void**) &hdr));\ + }\ + \ + TSK_OBJECT_SAFE_FREE(headers);\ + } +#define ADD_HEADER(header)\ + if(header)\ + {\ + tsk_list_push_back_data(message->headers, ((void**) &header));\ + } + + /*********************************** * Ragel state machine. */ -/* #line 775 "tsip_parser_header.rl" */ +/* #line 720 "tsip_parser_header.rl" */ TSIP_BOOLEAN tsip_header_parse(tsk_ragel_state_t *state, tsip_message_t *message) @@ -74,7 +102,7 @@ TSIP_BOOLEAN tsip_header_parse(tsk_ragel_state_t *state, tsip_message_t *message const char *eof = pe; -/* #line 78 "../src/parsers/tsip_parser_header.c" */ +/* #line 106 "../src/parsers/tsip_parser_header.c" */ static const char _tsip_machine_parser_headers_actions[] = { 0, 1, 0, 1, 1, 1, 2, 1, 3, 1, 4, 1, 5, 1, 6, 1, @@ -2135,16 +2163,16 @@ static const int tsip_machine_parser_headers_error = 0; static const int tsip_machine_parser_headers_en_main = 1; -/* #line 785 "tsip_parser_header.rl" */ +/* #line 730 "tsip_parser_header.rl" */ -/* #line 2141 "../src/parsers/tsip_parser_header.c" */ +/* #line 2169 "../src/parsers/tsip_parser_header.c" */ { cs = tsip_machine_parser_headers_start; } -/* #line 786 "tsip_parser_header.rl" */ +/* #line 731 "tsip_parser_header.rl" */ -/* #line 2148 "../src/parsers/tsip_parser_header.c" */ +/* #line 2176 "../src/parsers/tsip_parser_header.c" */ { int _klen; unsigned int _trans; @@ -2218,79 +2246,70 @@ _match: switch ( *_acts++ ) { case 0: -/* #line 69 "tsip_parser_header.rl" */ +/* #line 97 "tsip_parser_header.rl" */ { TSK_DEBUG_ERROR("parse_header_Accept NOT IMPLEMENTED"); } break; case 1: -/* #line 75 "tsip_parser_header.rl" */ +/* #line 103 "tsip_parser_header.rl" */ { TSK_DEBUG_ERROR("parse_header_Accept_Contact NOT IMPLEMENTED"); } break; case 2: -/* #line 81 "tsip_parser_header.rl" */ +/* #line 109 "tsip_parser_header.rl" */ { TSK_DEBUG_ERROR("parse_header_Accept_Encoding NOT IMPLEMENTED"); } break; case 3: -/* #line 87 "tsip_parser_header.rl" */ +/* #line 115 "tsip_parser_header.rl" */ { TSK_DEBUG_ERROR("parse_header_Accept_Language NOT IMPLEMENTED"); } break; case 4: -/* #line 93 "tsip_parser_header.rl" */ +/* #line 121 "tsip_parser_header.rl" */ { TSK_DEBUG_ERROR("parse_header_Accept_Resource_Priority NOT IMPLEMENTED"); } break; case 5: -/* #line 99 "tsip_parser_header.rl" */ +/* #line 127 "tsip_parser_header.rl" */ { TSK_DEBUG_ERROR("parse_header_Alert_Info NOT IMPLEMENTED"); } break; case 6: -/* #line 105 "tsip_parser_header.rl" */ +/* #line 133 "tsip_parser_header.rl" */ { tsip_header_Allow_t *header = tsip_header_Allow_parse(state->tag_start, (state->tag_end-state->tag_start)); - if(header) - { - tsk_list_push_back_data(message->headers, ((void**) &header)); - } + ADD_HEADER(header); } break; case 7: -/* #line 115 "tsip_parser_header.rl" */ +/* #line 140 "tsip_parser_header.rl" */ { tsip_header_Allow_Events_t *header = tsip_header_Allow_Events_parse(state->tag_start, (state->tag_end-state->tag_start)); - if(header) - { - tsk_list_push_back_data(message->headers, ((void**) &header)); - } + ADD_HEADER(header); } break; case 8: -/* #line 125 "tsip_parser_header.rl" */ +/* #line 147 "tsip_parser_header.rl" */ { TSK_DEBUG_ERROR("parse_header_Authentication_Info NOT IMPLEMENTED"); } break; case 9: -/* #line 131 "tsip_parser_header.rl" */ +/* #line 153 "tsip_parser_header.rl" */ { tsip_header_Authorization_t *header = tsip_header_Authorization_parse(state->tag_start, (state->tag_end-state->tag_start)); - if(header) - { - tsk_list_push_back_data(message->headers, ((void**) &header)); - } + ADD_HEADER(header); } break; case 10: -/* #line 141 "tsip_parser_header.rl" */ +/* #line 160 "tsip_parser_header.rl" */ { if(!message->Call_ID) { @@ -2299,55 +2318,38 @@ _match: } break; case 11: -/* #line 150 "tsip_parser_header.rl" */ +/* #line 169 "tsip_parser_header.rl" */ { TSK_DEBUG_ERROR("parse_header_Call_Info NOT IMPLEMENTED"); } break; case 12: -/* #line 156 "tsip_parser_header.rl" */ +/* #line 175 "tsip_parser_header.rl" */ { tsip_header_Contacts_L_t* headers = tsip_header_Contact_parse(state->tag_start, (state->tag_end-state->tag_start)); - if(headers) - { - tsk_list_item_t *item; - tsk_list_foreach(item, headers) - { - tsip_header_Contact_t *hdr = tsk_object_ref(item->data); - if(!message->Contact) - { - message->Contact = hdr; - } - else - { - tsk_list_push_back_data(message->headers, ((void**) &hdr)); - } - } - - TSK_OBJECT_SAFE_FREE(headers); - } + ADD_HEADERS(headers); } break; case 13: -/* #line 180 "tsip_parser_header.rl" */ +/* #line 182 "tsip_parser_header.rl" */ { TSK_DEBUG_ERROR("parse_header_Content_Disposition NOT IMPLEMENTED"); } break; case 14: -/* #line 186 "tsip_parser_header.rl" */ +/* #line 188 "tsip_parser_header.rl" */ { TSK_DEBUG_ERROR("PARSE_HEADER_ACCEPT NOT IMPLEMENTED"); } break; case 15: -/* #line 192 "tsip_parser_header.rl" */ +/* #line 194 "tsip_parser_header.rl" */ { TSK_DEBUG_ERROR("parse_header_Content_Language NOT IMPLEMENTED"); } break; case 16: -/* #line 198 "tsip_parser_header.rl" */ +/* #line 200 "tsip_parser_header.rl" */ { if(!message->Content_Length) { @@ -2356,7 +2358,7 @@ _match: } break; case 17: -/* #line 207 "tsip_parser_header.rl" */ +/* #line 209 "tsip_parser_header.rl" */ { if(!message->Content_Type) { @@ -2365,7 +2367,7 @@ _match: } break; case 18: -/* #line 216 "tsip_parser_header.rl" */ +/* #line 218 "tsip_parser_header.rl" */ { if(!message->CSeq) { @@ -2374,25 +2376,26 @@ _match: } break; case 19: -/* #line 225 "tsip_parser_header.rl" */ +/* #line 227 "tsip_parser_header.rl" */ { TSK_DEBUG_ERROR("parse_header_Date NOT IMPLEMENTED"); } break; case 20: -/* #line 231 "tsip_parser_header.rl" */ +/* #line 233 "tsip_parser_header.rl" */ { TSK_DEBUG_ERROR("parse_header_Error_Info NOT IMPLEMENTED"); } break; case 21: -/* #line 237 "tsip_parser_header.rl" */ +/* #line 239 "tsip_parser_header.rl" */ { - TSK_DEBUG_ERROR("parse_header_Event NOT IMPLEMENTED"); + tsip_header_Event_t *header = tsip_header_Event_parse(state->tag_start, (state->tag_end-state->tag_start)); + ADD_HEADER(header); } break; case 22: -/* #line 243 "tsip_parser_header.rl" */ +/* #line 246 "tsip_parser_header.rl" */ { if(!message->Expires) { @@ -2401,7 +2404,7 @@ _match: } break; case 23: -/* #line 252 "tsip_parser_header.rl" */ +/* #line 255 "tsip_parser_header.rl" */ { if(!message->From) { @@ -2410,43 +2413,40 @@ _match: } break; case 24: -/* #line 261 "tsip_parser_header.rl" */ +/* #line 264 "tsip_parser_header.rl" */ { TSK_DEBUG_ERROR("parse_header_History_Info NOT IMPLEMENTED"); } break; case 25: -/* #line 267 "tsip_parser_header.rl" */ +/* #line 270 "tsip_parser_header.rl" */ { TSK_DEBUG_ERROR("parse_header_Identity NOT IMPLEMENTED"); } break; case 26: -/* #line 273 "tsip_parser_header.rl" */ +/* #line 276 "tsip_parser_header.rl" */ { TSK_DEBUG_ERROR("parse_header_Identity_Info NOT IMPLEMENTED"); } break; case 27: -/* #line 279 "tsip_parser_header.rl" */ +/* #line 282 "tsip_parser_header.rl" */ { TSK_DEBUG_ERROR("parse_header_In_Reply_To NOT IMPLEMENTED"); } break; case 28: -/* #line 285 "tsip_parser_header.rl" */ +/* #line 288 "tsip_parser_header.rl" */ { TSK_DEBUG_ERROR("parse_header_Join NOT IMPLEMENTED"); } break; case 29: -/* #line 291 "tsip_parser_header.rl" */ +/* #line 294 "tsip_parser_header.rl" */ { tsip_header_Max_Forwards_t *header = tsip_header_Max_Forwards_parse(state->tag_start, (state->tag_end-state->tag_start)); - if(header) - { - tsk_list_push_back_data(message->headers, ((void**) &header)); - } + ADD_HEADER(header); } break; case 30: @@ -2459,265 +2459,237 @@ _match: /* #line 307 "tsip_parser_header.rl" */ { tsip_header_Min_Expires_t *header = tsip_header_Min_Expires_parse(state->tag_start, (state->tag_end-state->tag_start)); - if(header) - { - tsk_list_push_back_data(message->headers, ((void**) &header)); - } + ADD_HEADER(header); } break; case 32: -/* #line 317 "tsip_parser_header.rl" */ +/* #line 314 "tsip_parser_header.rl" */ { TSK_DEBUG_ERROR("parse_header_Min_SE NOT IMPLEMENTED"); } break; case 33: -/* #line 323 "tsip_parser_header.rl" */ +/* #line 320 "tsip_parser_header.rl" */ { TSK_DEBUG_ERROR("parse_header_Organization NOT IMPLEMENTED"); } break; case 34: -/* #line 329 "tsip_parser_header.rl" */ +/* #line 326 "tsip_parser_header.rl" */ { tsip_header_P_Access_Network_Info_t *header = tsip_header_P_Access_Network_Info_parse(state->tag_start, (state->tag_end-state->tag_start)); - if(header) - { - tsk_list_push_back_data(message->headers, ((void**) &header)); - } + ADD_HEADER(header); } break; case 35: -/* #line 339 "tsip_parser_header.rl" */ +/* #line 333 "tsip_parser_header.rl" */ { TSK_DEBUG_ERROR("parse_header_P_Answer_State NOT IMPLEMENTED"); } break; case 36: -/* #line 345 "tsip_parser_header.rl" */ +/* #line 339 "tsip_parser_header.rl" */ { - TSK_DEBUG_ERROR("parse_header_P_Asserted_Identity NOT IMPLEMENTED"); + tsip_header_P_Asserted_Identities_L_t* headers = tsip_header_P_Asserted_Identity_parse(state->tag_start, (state->tag_end-state->tag_start)); + ADD_HEADERS(headers); } break; case 37: -/* #line 351 "tsip_parser_header.rl" */ +/* #line 346 "tsip_parser_header.rl" */ { - TSK_DEBUG_ERROR("parse_header_P_Associated_URI NOT IMPLEMENTED"); + tsip_header_P_Associated_URIs_L_t* headers = tsip_header_P_Associated_URI_parse(state->tag_start, (state->tag_end-state->tag_start)); + ADD_HEADERS(headers); } break; case 38: -/* #line 357 "tsip_parser_header.rl" */ +/* #line 353 "tsip_parser_header.rl" */ { TSK_DEBUG_ERROR("parse_header_P_Called_Party_ID NOT IMPLEMENTED"); } break; case 39: -/* #line 363 "tsip_parser_header.rl" */ +/* #line 359 "tsip_parser_header.rl" */ { - TSK_DEBUG_ERROR("parse_header_P_Charging_Function_Addresses NOT IMPLEMENTED"); + tsip_header_P_Charging_Function_Addressess_L_t* headers = tsip_header_P_Charging_Function_Addresses_parse(state->tag_start, (state->tag_end-state->tag_start)); + ADD_HEADERS(headers); } break; case 40: -/* #line 369 "tsip_parser_header.rl" */ +/* #line 366 "tsip_parser_header.rl" */ { TSK_DEBUG_ERROR("parse_header_P_Charging_Vector NOT IMPLEMENTED"); } break; case 41: -/* #line 375 "tsip_parser_header.rl" */ +/* #line 372 "tsip_parser_header.rl" */ { TSK_DEBUG_ERROR("parse_header_P_DCS_Billing_Info NOT IMPLEMENTED"); } break; case 42: -/* #line 381 "tsip_parser_header.rl" */ +/* #line 378 "tsip_parser_header.rl" */ { TSK_DEBUG_ERROR("parse_header_P_DCS_LAES NOT IMPLEMENTED"); } break; case 43: -/* #line 387 "tsip_parser_header.rl" */ +/* #line 384 "tsip_parser_header.rl" */ { TSK_DEBUG_ERROR("parse_header_P_DCS_OSPS NOT IMPLEMENTED"); } break; case 44: -/* #line 393 "tsip_parser_header.rl" */ +/* #line 390 "tsip_parser_header.rl" */ { TSK_DEBUG_ERROR("parse_header_P_DCS_Redirect NOT IMPLEMENTED"); } break; case 45: -/* #line 399 "tsip_parser_header.rl" */ +/* #line 396 "tsip_parser_header.rl" */ { TSK_DEBUG_ERROR("parse_header_P_DCS_Trace_Party_ID NOT IMPLEMENTED"); } break; case 46: -/* #line 405 "tsip_parser_header.rl" */ +/* #line 402 "tsip_parser_header.rl" */ { TSK_DEBUG_ERROR("parse_header_P_Early_Media NOT IMPLEMENTED"); } break; case 47: -/* #line 411 "tsip_parser_header.rl" */ +/* #line 408 "tsip_parser_header.rl" */ { TSK_DEBUG_ERROR("parse_header_P_Media_Authorization NOT IMPLEMENTED"); } break; case 48: -/* #line 417 "tsip_parser_header.rl" */ +/* #line 414 "tsip_parser_header.rl" */ { tsip_header_P_Preferred_Identity_t *header = tsip_header_P_Preferred_Identity_parse(state->tag_start, (state->tag_end-state->tag_start)); - if(header) - { - tsk_list_push_back_data(message->headers, ((void**) &header)); - } + ADD_HEADER(header); } break; case 49: -/* #line 427 "tsip_parser_header.rl" */ +/* #line 421 "tsip_parser_header.rl" */ { TSK_DEBUG_ERROR("parse_header_P_Profile_Key NOT IMPLEMENTED"); } break; case 50: -/* #line 433 "tsip_parser_header.rl" */ +/* #line 427 "tsip_parser_header.rl" */ { TSK_DEBUG_ERROR("parse_header_P_User_Database NOT IMPLEMENTED"); } break; case 51: -/* #line 439 "tsip_parser_header.rl" */ +/* #line 433 "tsip_parser_header.rl" */ { TSK_DEBUG_ERROR("parse_header_P_Visited_Network_ID NOT IMPLEMENTED"); } break; case 52: -/* #line 445 "tsip_parser_header.rl" */ +/* #line 439 "tsip_parser_header.rl" */ { tsip_header_Paths_L_t* headers = tsip_header_Path_parse(state->tag_start, (state->tag_end-state->tag_start)); - if(headers) - { - tsk_list_item_t *item; - tsk_list_foreach(item, headers) - { - tsip_header_Route_t *hdr = tsk_object_ref(item->data); - tsk_list_push_back_data(message->headers, ((void**) &hdr)); - } - - TSK_OBJECT_SAFE_FREE(headers); - } + ADD_HEADERS(headers); } break; case 53: -/* #line 462 "tsip_parser_header.rl" */ +/* #line 446 "tsip_parser_header.rl" */ { TSK_DEBUG_ERROR("parse_header_Priority NOT IMPLEMENTED"); } break; case 54: -/* #line 468 "tsip_parser_header.rl" */ +/* #line 452 "tsip_parser_header.rl" */ { tsip_header_Privacy_t *header = tsip_header_Privacy_parse(state->tag_start, (state->tag_end-state->tag_start)); - if(header) - { - tsk_list_push_back_data(message->headers, ((void**) &header)); - } + ADD_HEADER(header); } break; case 55: -/* #line 478 "tsip_parser_header.rl" */ +/* #line 459 "tsip_parser_header.rl" */ { tsip_header_Proxy_Authenticate_t *header = tsip_header_Proxy_Authenticate_parse(state->tag_start, (state->tag_end-state->tag_start)); - if(header) - { - tsk_list_push_back_data(message->headers, ((void**) &header)); - } + ADD_HEADER(header); } break; case 56: -/* #line 488 "tsip_parser_header.rl" */ +/* #line 466 "tsip_parser_header.rl" */ { tsip_header_Proxy_Authorization_t *header = tsip_header_Proxy_Authorization_parse(state->tag_start, (state->tag_end-state->tag_start)); - if(header) - { - tsk_list_push_back_data(message->headers, ((void**) &header)); - } + ADD_HEADER(header); } break; case 57: -/* #line 498 "tsip_parser_header.rl" */ +/* #line 473 "tsip_parser_header.rl" */ { TSK_DEBUG_ERROR("parse_header_Proxy_Require NOT IMPLEMENTED"); } break; case 58: -/* #line 504 "tsip_parser_header.rl" */ +/* #line 479 "tsip_parser_header.rl" */ { TSK_DEBUG_ERROR("parse_header_RAck NOT IMPLEMENTED"); } break; case 59: -/* #line 510 "tsip_parser_header.rl" */ +/* #line 485 "tsip_parser_header.rl" */ { TSK_DEBUG_ERROR("parse_header_Reason NOT IMPLEMENTED"); } break; case 60: -/* #line 516 "tsip_parser_header.rl" */ +/* #line 491 "tsip_parser_header.rl" */ { tsip_header_Record_Route_t *header = tsip_header_Record_Route_parse(state->tag_start, (state->tag_end-state->tag_start)); - if(header) - { - tsk_list_push_back_data(message->headers, ((void**) &header)); - } + ADD_HEADER(header); } break; case 61: -/* #line 526 "tsip_parser_header.rl" */ +/* #line 498 "tsip_parser_header.rl" */ { TSK_DEBUG_ERROR("parse_header_Refer_Sub NOT IMPLEMENTED"); } break; case 62: -/* #line 532 "tsip_parser_header.rl" */ +/* #line 504 "tsip_parser_header.rl" */ { TSK_DEBUG_ERROR("parse_header_Refer_To NOT IMPLEMENTED"); } break; case 63: -/* #line 538 "tsip_parser_header.rl" */ +/* #line 510 "tsip_parser_header.rl" */ { TSK_DEBUG_ERROR("parse_header_Referred_By NOT IMPLEMENTED"); } break; case 64: -/* #line 544 "tsip_parser_header.rl" */ +/* #line 516 "tsip_parser_header.rl" */ { TSK_DEBUG_ERROR("parse_header_Reject_Contact NOT IMPLEMENTED"); } break; case 65: -/* #line 550 "tsip_parser_header.rl" */ +/* #line 522 "tsip_parser_header.rl" */ { TSK_DEBUG_ERROR("parse_header_Replaces NOT IMPLEMENTED"); } break; case 66: -/* #line 556 "tsip_parser_header.rl" */ +/* #line 528 "tsip_parser_header.rl" */ { TSK_DEBUG_ERROR("parse_header_Reply_To NOT IMPLEMENTED"); } break; case 67: -/* #line 562 "tsip_parser_header.rl" */ +/* #line 534 "tsip_parser_header.rl" */ { TSK_DEBUG_ERROR("parse_header_Request_Disposition NOT IMPLEMENTED"); } break; case 68: -/* #line 568 "tsip_parser_header.rl" */ +/* #line 540 "tsip_parser_header.rl" */ { tsip_header_Require_t *header = tsip_header_Require_parse(state->tag_start, (state->tag_end-state->tag_start)); if(header) @@ -2727,135 +2699,113 @@ _match: } break; case 69: -/* #line 578 "tsip_parser_header.rl" */ +/* #line 550 "tsip_parser_header.rl" */ { TSK_DEBUG_ERROR("parse_header_Resource_Priority NOT IMPLEMENTED"); } break; case 70: -/* #line 584 "tsip_parser_header.rl" */ +/* #line 556 "tsip_parser_header.rl" */ { TSK_DEBUG_ERROR("parse_header_Retry_After NOT IMPLEMENTED"); } break; case 71: -/* #line 590 "tsip_parser_header.rl" */ +/* #line 562 "tsip_parser_header.rl" */ { tsip_header_Routes_L_t* headers = tsip_header_Route_parse(state->tag_start, (state->tag_end-state->tag_start)); - if(headers) - { - tsk_list_item_t *item; - tsk_list_foreach(item, headers) - { - tsip_header_Route_t *hdr = tsk_object_ref(item->data); - tsk_list_push_back_data(message->headers, ((void**) &hdr)); - } - - TSK_OBJECT_SAFE_FREE(headers); - } + ADD_HEADERS(headers); } break; case 72: -/* #line 607 "tsip_parser_header.rl" */ +/* #line 569 "tsip_parser_header.rl" */ { TSK_DEBUG_ERROR("parse_header_RSeq NOT IMPLEMENTED"); } break; case 73: -/* #line 613 "tsip_parser_header.rl" */ +/* #line 575 "tsip_parser_header.rl" */ { TSK_DEBUG_ERROR("parse_header_Security_Client NOT IMPLEMENTED"); } break; case 74: -/* #line 619 "tsip_parser_header.rl" */ +/* #line 581 "tsip_parser_header.rl" */ { TSK_DEBUG_ERROR("parse_header_Security_Server NOT IMPLEMENTED"); } break; case 75: -/* #line 625 "tsip_parser_header.rl" */ +/* #line 587 "tsip_parser_header.rl" */ { TSK_DEBUG_ERROR("parse_header_Security_Verify NOT IMPLEMENTED"); } break; case 76: -/* #line 631 "tsip_parser_header.rl" */ +/* #line 593 "tsip_parser_header.rl" */ { - TSK_DEBUG_ERROR("parse_header_Server NOT IMPLEMENTED"); + tsip_header_Server_t *header = tsip_header_Server_parse(state->tag_start, (state->tag_end-state->tag_start)); + ADD_HEADER(header); } break; case 77: -/* #line 637 "tsip_parser_header.rl" */ +/* #line 600 "tsip_parser_header.rl" */ { tsip_header_Service_Routes_L_t* headers = tsip_header_Service_Route_parse(state->tag_start, (state->tag_end-state->tag_start)); - if(headers) - { - tsk_list_item_t *item; - tsk_list_foreach(item, headers) - { - tsip_header_Service_Route_t *hdr = tsk_object_ref(item->data); - tsk_list_push_back_data(message->headers, ((void**) &hdr)); - } - - TSK_OBJECT_SAFE_FREE(headers); - } + ADD_HEADERS(headers); } break; case 78: -/* #line 654 "tsip_parser_header.rl" */ +/* #line 607 "tsip_parser_header.rl" */ { TSK_DEBUG_ERROR("parse_header_Session_Expires NOT IMPLEMENTED"); } break; case 79: -/* #line 660 "tsip_parser_header.rl" */ +/* #line 613 "tsip_parser_header.rl" */ { TSK_DEBUG_ERROR("parse_header_SIP_ETag NOT IMPLEMENTED"); } break; case 80: -/* #line 666 "tsip_parser_header.rl" */ +/* #line 619 "tsip_parser_header.rl" */ { TSK_DEBUG_ERROR("parse_header_SIP_If_Match NOT IMPLEMENTED"); } break; case 81: -/* #line 672 "tsip_parser_header.rl" */ +/* #line 625 "tsip_parser_header.rl" */ { TSK_DEBUG_ERROR("parse_header_Subject NOT IMPLEMENTED"); } break; case 82: -/* #line 678 "tsip_parser_header.rl" */ +/* #line 631 "tsip_parser_header.rl" */ { TSK_DEBUG_ERROR("PARSE_HEADER_ACCEPT NOT IMPLEMENTED"); } break; case 83: -/* #line 684 "tsip_parser_header.rl" */ +/* #line 637 "tsip_parser_header.rl" */ { tsip_header_Supported_t *header = tsip_header_Supported_parse(state->tag_start, (state->tag_end-state->tag_start)); - if(header) - { - tsk_list_push_back_data(message->headers, ((void**) &header)); - } + ADD_HEADER(header); } break; case 84: -/* #line 694 "tsip_parser_header.rl" */ +/* #line 644 "tsip_parser_header.rl" */ { TSK_DEBUG_ERROR("parse_header_Target_Dialog NOT IMPLEMENTED"); } break; case 85: -/* #line 700 "tsip_parser_header.rl" */ +/* #line 650 "tsip_parser_header.rl" */ { TSK_DEBUG_ERROR("parse_header_Timestamp NOT IMPLEMENTED"); } break; case 86: -/* #line 706 "tsip_parser_header.rl" */ +/* #line 656 "tsip_parser_header.rl" */ { if(!message->To) { @@ -2864,23 +2814,20 @@ _match: } break; case 87: -/* #line 715 "tsip_parser_header.rl" */ +/* #line 665 "tsip_parser_header.rl" */ { TSK_DEBUG_ERROR("parse_header_Unsupported NOT IMPLEMENTED"); } break; case 88: -/* #line 721 "tsip_parser_header.rl" */ +/* #line 671 "tsip_parser_header.rl" */ { tsip_header_User_Agent_t *header = tsip_header_User_Agent_parse(state->tag_start, (state->tag_end-state->tag_start)); - if(header) - { - tsk_list_push_back_data(message->headers, ((void**) &header)); - } + ADD_HEADER(header); } break; case 89: -/* #line 731 "tsip_parser_header.rl" */ +/* #line 678 "tsip_parser_header.rl" */ { if(!message->firstVia) { @@ -2897,22 +2844,20 @@ _match: } break; case 90: -/* #line 748 "tsip_parser_header.rl" */ +/* #line 695 "tsip_parser_header.rl" */ { - TSK_DEBUG_ERROR("parse_header_Warning NOT IMPLEMENTED"); + tsip_header_Warnings_L_t* headers = tsip_header_Warning_parse(state->tag_start, (state->tag_end-state->tag_start)); + ADD_HEADERS(headers); } break; case 91: -/* #line 754 "tsip_parser_header.rl" */ +/* #line 702 "tsip_parser_header.rl" */ { tsip_header_WWW_Authenticate_t *header = tsip_header_WWW_Authenticate_parse(state->tag_start, (state->tag_end-state->tag_start)); - if(header) - { - tsk_list_push_back_data(message->headers, ((void**) &header)); - } + ADD_HEADER(header); } break; -/* #line 2916 "../src/parsers/tsip_parser_header.c" */ +/* #line 2861 "../src/parsers/tsip_parser_header.c" */ } } @@ -2925,12 +2870,12 @@ _again: _out: {} } -/* #line 787 "tsip_parser_header.rl" */ +/* #line 732 "tsip_parser_header.rl" */ return ( cs >= -/* #line 2932 "../src/parsers/tsip_parser_header.c" */ +/* #line 2877 "../src/parsers/tsip_parser_header.c" */ 1306 -/* #line 788 "tsip_parser_header.rl" */ +/* #line 733 "tsip_parser_header.rl" */ ); //return (cs == tsip_machine_parser_headers_first_final); } \ No newline at end of file diff --git a/trunk/tinySIP/src/smc/tsip_dialog_subscribe_sm.c b/trunk/tinySIP/src/smc/tsip_dialog_subscribe_sm.c new file mode 100644 index 00000000..80c3d3dc --- /dev/null +++ b/trunk/tinySIP/src/smc/tsip_dialog_subscribe_sm.c @@ -0,0 +1,627 @@ +/* + * ex: set ro: + * DO NOT EDIT. + * generated by smc (http://smc.sourceforge.net/) + * from file : tsip_dialog_subscribe.sm + */ + + +/* +* 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 Lesser General Public License for more details. +* +* You should have received a copy of the GNU General Public License +* along with DOUBANGO. +* +*/ + +/**@file tsip_dialog_subscribe.sm. + * @brief SIP dialog SUBSCRIBE (RFC 2543). + * + * @author Mamadou Diop + * + * @date Created: Sat Nov 8 16:54:58 2009 mdiop + */ + + + +#include +#include "tinysip/dialogs/tsip_dialog_subscribe.h" +#include "tsk_debug.h" +#include "tinySIP/smc/tsip_dialog_subscribe_sm.h" + +#define getOwner(fsm) \ + (fsm)->_owner + +#define POPULATE_STATE(state) \ + state##_Entry, \ + state##_sm_1xx, \ + state##_sm_2xx, \ + state##_sm_300_to_699, \ + state##_sm_401_407_421_494, \ + state##_sm_423, \ + state##_sm_NOTIFY, \ + state##_sm_cancel, \ + state##_sm_error, \ + state##_sm_hangup, \ + state##_sm_refresh, \ + state##_sm_send, \ + state##_sm_transportError, \ + state##_sm_unsubscribe, \ + state##_Default + +#define ENTRY_STATE(state) \ + if ((state)->Entry != NULL) { \ + (state)->Entry(fsm); \ + } + +#define EXIT_STATE(state) + +static void tsip_dialog_subscribeState_sm_1xx(struct tsip_dialog_subscribeContext *fsm, const tsip_message_t* msg) +{ + getState(fsm)->Default(fsm); +} + +static void tsip_dialog_subscribeState_sm_2xx(struct tsip_dialog_subscribeContext *fsm, int unsubscribeing, const tsip_response_t* response) +{ + getState(fsm)->Default(fsm); +} + +static void tsip_dialog_subscribeState_sm_300_to_699(struct tsip_dialog_subscribeContext *fsm, const tsip_response_t* response) +{ + getState(fsm)->Default(fsm); +} + +static void tsip_dialog_subscribeState_sm_401_407_421_494(struct tsip_dialog_subscribeContext *fsm, const tsip_response_t* response) +{ + getState(fsm)->Default(fsm); +} + +static void tsip_dialog_subscribeState_sm_423(struct tsip_dialog_subscribeContext *fsm, const tsip_response_t* response) +{ + getState(fsm)->Default(fsm); +} + +static void tsip_dialog_subscribeState_sm_NOTIFY(struct tsip_dialog_subscribeContext *fsm, int sterminated, const tsip_request_t* request) +{ + getState(fsm)->Default(fsm); +} + +static void tsip_dialog_subscribeState_sm_cancel(struct tsip_dialog_subscribeContext *fsm) +{ + getState(fsm)->Default(fsm); +} + +static void tsip_dialog_subscribeState_sm_error(struct tsip_dialog_subscribeContext *fsm) +{ + getState(fsm)->Default(fsm); +} + +static void tsip_dialog_subscribeState_sm_hangup(struct tsip_dialog_subscribeContext *fsm) +{ + getState(fsm)->Default(fsm); +} + +static void tsip_dialog_subscribeState_sm_refresh(struct tsip_dialog_subscribeContext *fsm) +{ + getState(fsm)->Default(fsm); +} + +static void tsip_dialog_subscribeState_sm_send(struct tsip_dialog_subscribeContext *fsm) +{ + getState(fsm)->Default(fsm); +} + +static void tsip_dialog_subscribeState_sm_transportError(struct tsip_dialog_subscribeContext *fsm) +{ + getState(fsm)->Default(fsm); +} + +static void tsip_dialog_subscribeState_sm_unsubscribe(struct tsip_dialog_subscribeContext *fsm) +{ + getState(fsm)->Default(fsm); +} + +static void tsip_dialog_subscribeState_Default(struct tsip_dialog_subscribeContext *fsm) +{ + State_Default(fsm); +} + +#define tsip_dialog_subscribe_Started_sm_1xx tsip_dialog_subscribeState_sm_1xx +#define tsip_dialog_subscribe_Started_sm_2xx tsip_dialog_subscribeState_sm_2xx +#define tsip_dialog_subscribe_Started_sm_300_to_699 tsip_dialog_subscribeState_sm_300_to_699 +#define tsip_dialog_subscribe_Started_sm_401_407_421_494 tsip_dialog_subscribeState_sm_401_407_421_494 +#define tsip_dialog_subscribe_Started_sm_423 tsip_dialog_subscribeState_sm_423 +#define tsip_dialog_subscribe_Started_sm_NOTIFY tsip_dialog_subscribeState_sm_NOTIFY +#define tsip_dialog_subscribe_Started_sm_cancel tsip_dialog_subscribeState_sm_cancel +#define tsip_dialog_subscribe_Started_sm_error tsip_dialog_subscribeState_sm_error +#define tsip_dialog_subscribe_Started_sm_hangup tsip_dialog_subscribeState_sm_hangup +#define tsip_dialog_subscribe_Started_sm_refresh tsip_dialog_subscribeState_sm_refresh +#define tsip_dialog_subscribe_Started_sm_send tsip_dialog_subscribeState_sm_send +#define tsip_dialog_subscribe_Started_sm_transportError tsip_dialog_subscribeState_sm_transportError +#define tsip_dialog_subscribe_Started_sm_unsubscribe tsip_dialog_subscribeState_sm_unsubscribe +#define tsip_dialog_subscribe_Started_Default tsip_dialog_subscribeState_Default +#define tsip_dialog_subscribe_Started_Entry NULL +#define tsip_dialog_subscribe_Started_Exit NULL +#define tsip_dialog_subscribe_Trying_sm_1xx tsip_dialog_subscribeState_sm_1xx +#define tsip_dialog_subscribe_Trying_sm_2xx tsip_dialog_subscribeState_sm_2xx +#define tsip_dialog_subscribe_Trying_sm_300_to_699 tsip_dialog_subscribeState_sm_300_to_699 +#define tsip_dialog_subscribe_Trying_sm_401_407_421_494 tsip_dialog_subscribeState_sm_401_407_421_494 +#define tsip_dialog_subscribe_Trying_sm_423 tsip_dialog_subscribeState_sm_423 +#define tsip_dialog_subscribe_Trying_sm_NOTIFY tsip_dialog_subscribeState_sm_NOTIFY +#define tsip_dialog_subscribe_Trying_sm_cancel tsip_dialog_subscribeState_sm_cancel +#define tsip_dialog_subscribe_Trying_sm_error tsip_dialog_subscribeState_sm_error +#define tsip_dialog_subscribe_Trying_sm_hangup tsip_dialog_subscribeState_sm_hangup +#define tsip_dialog_subscribe_Trying_sm_refresh tsip_dialog_subscribeState_sm_refresh +#define tsip_dialog_subscribe_Trying_sm_send tsip_dialog_subscribeState_sm_send +#define tsip_dialog_subscribe_Trying_sm_transportError tsip_dialog_subscribeState_sm_transportError +#define tsip_dialog_subscribe_Trying_sm_unsubscribe tsip_dialog_subscribeState_sm_unsubscribe +#define tsip_dialog_subscribe_Trying_Default tsip_dialog_subscribeState_Default +#define tsip_dialog_subscribe_Trying_Entry NULL +#define tsip_dialog_subscribe_Trying_Exit NULL +#define tsip_dialog_subscribe_Connected_sm_1xx tsip_dialog_subscribeState_sm_1xx +#define tsip_dialog_subscribe_Connected_sm_2xx tsip_dialog_subscribeState_sm_2xx +#define tsip_dialog_subscribe_Connected_sm_300_to_699 tsip_dialog_subscribeState_sm_300_to_699 +#define tsip_dialog_subscribe_Connected_sm_401_407_421_494 tsip_dialog_subscribeState_sm_401_407_421_494 +#define tsip_dialog_subscribe_Connected_sm_423 tsip_dialog_subscribeState_sm_423 +#define tsip_dialog_subscribe_Connected_sm_NOTIFY tsip_dialog_subscribeState_sm_NOTIFY +#define tsip_dialog_subscribe_Connected_sm_cancel tsip_dialog_subscribeState_sm_cancel +#define tsip_dialog_subscribe_Connected_sm_error tsip_dialog_subscribeState_sm_error +#define tsip_dialog_subscribe_Connected_sm_hangup tsip_dialog_subscribeState_sm_hangup +#define tsip_dialog_subscribe_Connected_sm_refresh tsip_dialog_subscribeState_sm_refresh +#define tsip_dialog_subscribe_Connected_sm_send tsip_dialog_subscribeState_sm_send +#define tsip_dialog_subscribe_Connected_sm_transportError tsip_dialog_subscribeState_sm_transportError +#define tsip_dialog_subscribe_Connected_sm_unsubscribe tsip_dialog_subscribeState_sm_unsubscribe +#define tsip_dialog_subscribe_Connected_Default tsip_dialog_subscribeState_Default +#define tsip_dialog_subscribe_Connected_Entry NULL +#define tsip_dialog_subscribe_Connected_Exit NULL +#define tsip_dialog_subscribe_Terminated_sm_1xx tsip_dialog_subscribeState_sm_1xx +#define tsip_dialog_subscribe_Terminated_sm_2xx tsip_dialog_subscribeState_sm_2xx +#define tsip_dialog_subscribe_Terminated_sm_300_to_699 tsip_dialog_subscribeState_sm_300_to_699 +#define tsip_dialog_subscribe_Terminated_sm_401_407_421_494 tsip_dialog_subscribeState_sm_401_407_421_494 +#define tsip_dialog_subscribe_Terminated_sm_423 tsip_dialog_subscribeState_sm_423 +#define tsip_dialog_subscribe_Terminated_sm_NOTIFY tsip_dialog_subscribeState_sm_NOTIFY +#define tsip_dialog_subscribe_Terminated_sm_cancel tsip_dialog_subscribeState_sm_cancel +#define tsip_dialog_subscribe_Terminated_sm_error tsip_dialog_subscribeState_sm_error +#define tsip_dialog_subscribe_Terminated_sm_hangup tsip_dialog_subscribeState_sm_hangup +#define tsip_dialog_subscribe_Terminated_sm_refresh tsip_dialog_subscribeState_sm_refresh +#define tsip_dialog_subscribe_Terminated_sm_send tsip_dialog_subscribeState_sm_send +#define tsip_dialog_subscribe_Terminated_sm_transportError tsip_dialog_subscribeState_sm_transportError +#define tsip_dialog_subscribe_Terminated_sm_unsubscribe tsip_dialog_subscribeState_sm_unsubscribe +#define tsip_dialog_subscribe_Terminated_Default tsip_dialog_subscribeState_Default +#define tsip_dialog_subscribe_Terminated_Entry NULL +#define tsip_dialog_subscribe_Terminated_Exit NULL +#define tsip_dialog_subscribe_DefaultState_sm_1xx tsip_dialog_subscribeState_sm_1xx +#define tsip_dialog_subscribe_DefaultState_sm_2xx tsip_dialog_subscribeState_sm_2xx +#define tsip_dialog_subscribe_DefaultState_sm_300_to_699 tsip_dialog_subscribeState_sm_300_to_699 +#define tsip_dialog_subscribe_DefaultState_sm_401_407_421_494 tsip_dialog_subscribeState_sm_401_407_421_494 +#define tsip_dialog_subscribe_DefaultState_sm_423 tsip_dialog_subscribeState_sm_423 +#define tsip_dialog_subscribe_DefaultState_sm_NOTIFY tsip_dialog_subscribeState_sm_NOTIFY +#define tsip_dialog_subscribe_DefaultState_sm_cancel tsip_dialog_subscribeState_sm_cancel +#define tsip_dialog_subscribe_DefaultState_sm_error tsip_dialog_subscribeState_sm_error +#define tsip_dialog_subscribe_DefaultState_sm_hangup tsip_dialog_subscribeState_sm_hangup +#define tsip_dialog_subscribe_DefaultState_sm_refresh tsip_dialog_subscribeState_sm_refresh +#define tsip_dialog_subscribe_DefaultState_sm_send tsip_dialog_subscribeState_sm_send +#define tsip_dialog_subscribe_DefaultState_sm_transportError tsip_dialog_subscribeState_sm_transportError +#define tsip_dialog_subscribe_DefaultState_sm_unsubscribe tsip_dialog_subscribeState_sm_unsubscribe + +#undef tsip_dialog_subscribe_Started_sm_hangup +#define tsip_dialog_subscribe_Started_sm_hangup tsip_dialog_subscribe_DefaultState_sm_hangup +#undef tsip_dialog_subscribe_Trying_sm_hangup +#define tsip_dialog_subscribe_Trying_sm_hangup tsip_dialog_subscribe_DefaultState_sm_hangup +#undef tsip_dialog_subscribe_Connected_sm_hangup +#define tsip_dialog_subscribe_Connected_sm_hangup tsip_dialog_subscribe_DefaultState_sm_hangup +#undef tsip_dialog_subscribe_Terminated_sm_hangup +#define tsip_dialog_subscribe_Terminated_sm_hangup tsip_dialog_subscribe_DefaultState_sm_hangup +#undef tsip_dialog_subscribe_DefaultState_sm_hangup +static void tsip_dialog_subscribe_DefaultState_sm_hangup(struct tsip_dialog_subscribeContext *fsm) +{ + struct tsip_dialog_subscribe* ctxt = getOwner(fsm); + + EXIT_STATE(getState(fsm)); + clearState(fsm); + tsip_dialog_subscribe_Any_2_Trying_X_hangup(ctxt); + setState(fsm, &tsip_dialog_subscribe_Trying); + ENTRY_STATE(getState(fsm)); +} + +#undef tsip_dialog_subscribe_Started_sm_transportError +#define tsip_dialog_subscribe_Started_sm_transportError tsip_dialog_subscribe_DefaultState_sm_transportError +#undef tsip_dialog_subscribe_Trying_sm_transportError +#define tsip_dialog_subscribe_Trying_sm_transportError tsip_dialog_subscribe_DefaultState_sm_transportError +#undef tsip_dialog_subscribe_Connected_sm_transportError +#define tsip_dialog_subscribe_Connected_sm_transportError tsip_dialog_subscribe_DefaultState_sm_transportError +#undef tsip_dialog_subscribe_Terminated_sm_transportError +#define tsip_dialog_subscribe_Terminated_sm_transportError tsip_dialog_subscribe_DefaultState_sm_transportError +#undef tsip_dialog_subscribe_DefaultState_sm_transportError +static void tsip_dialog_subscribe_DefaultState_sm_transportError(struct tsip_dialog_subscribeContext *fsm) +{ + struct tsip_dialog_subscribe* ctxt = getOwner(fsm); + + EXIT_STATE(getState(fsm)); + clearState(fsm); + tsip_dialog_subscribe_Any_2_Terminated_X_transportError(ctxt); + setState(fsm, &tsip_dialog_subscribe_Terminated); + ENTRY_STATE(getState(fsm)); +} + +#undef tsip_dialog_subscribe_Started_sm_error +#define tsip_dialog_subscribe_Started_sm_error tsip_dialog_subscribe_DefaultState_sm_error +#undef tsip_dialog_subscribe_Trying_sm_error +#define tsip_dialog_subscribe_Trying_sm_error tsip_dialog_subscribe_DefaultState_sm_error +#undef tsip_dialog_subscribe_Connected_sm_error +#define tsip_dialog_subscribe_Connected_sm_error tsip_dialog_subscribe_DefaultState_sm_error +#undef tsip_dialog_subscribe_Terminated_sm_error +#define tsip_dialog_subscribe_Terminated_sm_error tsip_dialog_subscribe_DefaultState_sm_error +#undef tsip_dialog_subscribe_DefaultState_sm_error +static void tsip_dialog_subscribe_DefaultState_sm_error(struct tsip_dialog_subscribeContext *fsm) +{ + + EXIT_STATE(getState(fsm)); + setState(fsm, &tsip_dialog_subscribe_Terminated); + ENTRY_STATE(getState(fsm)); +} + +#undef tsip_dialog_subscribe_Started_Default +#define tsip_dialog_subscribe_Started_Default tsip_dialog_subscribe_DefaultState_Default +#undef tsip_dialog_subscribe_Trying_Default +#define tsip_dialog_subscribe_Trying_Default tsip_dialog_subscribe_DefaultState_Default +#undef tsip_dialog_subscribe_Connected_Default +#define tsip_dialog_subscribe_Connected_Default tsip_dialog_subscribe_DefaultState_Default +#undef tsip_dialog_subscribe_Terminated_Default +#define tsip_dialog_subscribe_Terminated_Default tsip_dialog_subscribe_DefaultState_Default +#undef tsip_dialog_subscribe_DefaultState_Default +static void tsip_dialog_subscribe_DefaultState_Default(struct tsip_dialog_subscribeContext *fsm) +{ + +} + +#undef tsip_dialog_subscribe_Started_Default +static void tsip_dialog_subscribe_Started_Default(struct tsip_dialog_subscribeContext *fsm) +{ + +} + +#undef tsip_dialog_subscribe_Started_sm_send +static void tsip_dialog_subscribe_Started_sm_send(struct tsip_dialog_subscribeContext *fsm) +{ + struct tsip_dialog_subscribe* ctxt = getOwner(fsm); + + EXIT_STATE(getState(fsm)); + clearState(fsm); + tsip_dialog_subscribe_Started_2_Trying_X_send(ctxt); + setState(fsm, &tsip_dialog_subscribe_Trying); + ENTRY_STATE(getState(fsm)); +} + +const struct tsip_dialog_subscribeState tsip_dialog_subscribe_Started = { POPULATE_STATE(tsip_dialog_subscribe_Started), "tsip_dialog_subscribe_Started", 0 }; + +#undef tsip_dialog_subscribe_Trying_Default +static void tsip_dialog_subscribe_Trying_Default(struct tsip_dialog_subscribeContext *fsm) +{ + +} + +#undef tsip_dialog_subscribe_Trying_sm_1xx +static void tsip_dialog_subscribe_Trying_sm_1xx(struct tsip_dialog_subscribeContext *fsm, const tsip_message_t* msg) +{ + struct tsip_dialog_subscribe* ctxt = getOwner(fsm); + const struct tsip_dialog_subscribeState* EndStateName = getState(fsm); + + clearState(fsm); + tsip_dialog_subscribe_Trying_2_Trying_X_1xx(ctxt, msg); + setState(fsm, EndStateName); +} + +#undef tsip_dialog_subscribe_Trying_sm_2xx +static void tsip_dialog_subscribe_Trying_sm_2xx(struct tsip_dialog_subscribeContext *fsm, int unsubscribeing, const tsip_response_t* response) +{ + struct tsip_dialog_subscribe* ctxt = getOwner(fsm); + + if (unsubscribeing) { + EXIT_STATE(getState(fsm)); + clearState(fsm); + tsip_dialog_subscribe_Trying_2_Terminated_X_2xx(ctxt, response); + setState(fsm, &tsip_dialog_subscribe_Terminated); + ENTRY_STATE(getState(fsm)); + } + else if (!unsubscribeing) { + EXIT_STATE(getState(fsm)); + clearState(fsm); + tsip_dialog_subscribe_Trying_2_Connected_X_2xx(ctxt, response); + setState(fsm, &tsip_dialog_subscribe_Connected); + ENTRY_STATE(getState(fsm)); + } else { + tsip_dialog_subscribe_DefaultState_sm_2xx(fsm, unsubscribeing, response); + } +} + +#undef tsip_dialog_subscribe_Trying_sm_300_to_699 +static void tsip_dialog_subscribe_Trying_sm_300_to_699(struct tsip_dialog_subscribeContext *fsm, const tsip_response_t* response) +{ + struct tsip_dialog_subscribe* ctxt = getOwner(fsm); + + EXIT_STATE(getState(fsm)); + clearState(fsm); + tsip_dialog_subscribe_Trying_2_Terminated_X_300_to_699(ctxt, response); + setState(fsm, &tsip_dialog_subscribe_Terminated); + ENTRY_STATE(getState(fsm)); +} + +#undef tsip_dialog_subscribe_Trying_sm_401_407_421_494 +static void tsip_dialog_subscribe_Trying_sm_401_407_421_494(struct tsip_dialog_subscribeContext *fsm, const tsip_response_t* response) +{ + struct tsip_dialog_subscribe* ctxt = getOwner(fsm); + const struct tsip_dialog_subscribeState* EndStateName = getState(fsm); + + clearState(fsm); + tsip_dialog_subscribe_Trying_2_Trying_X_401_407_421_494(ctxt, response); + setState(fsm, EndStateName); +} + +#undef tsip_dialog_subscribe_Trying_sm_423 +static void tsip_dialog_subscribe_Trying_sm_423(struct tsip_dialog_subscribeContext *fsm, const tsip_response_t* response) +{ + struct tsip_dialog_subscribe* ctxt = getOwner(fsm); + const struct tsip_dialog_subscribeState* EndStateName = getState(fsm); + + clearState(fsm); + tsip_dialog_subscribe_Trying_2_Trying_X_423(ctxt, response); + setState(fsm, EndStateName); +} + +#undef tsip_dialog_subscribe_Trying_sm_NOTIFY +static void tsip_dialog_subscribe_Trying_sm_NOTIFY(struct tsip_dialog_subscribeContext *fsm, int sterminated, const tsip_request_t* request) +{ + struct tsip_dialog_subscribe* ctxt = getOwner(fsm); + const struct tsip_dialog_subscribeState* EndStateName = getState(fsm); + + clearState(fsm); + tsip_dialog_subscribe_Trying_2_Trying_X_NOTIFY(ctxt, request); + setState(fsm, EndStateName); +} + +#undef tsip_dialog_subscribe_Trying_sm_cancel +static void tsip_dialog_subscribe_Trying_sm_cancel(struct tsip_dialog_subscribeContext *fsm) +{ + struct tsip_dialog_subscribe* ctxt = getOwner(fsm); + + EXIT_STATE(getState(fsm)); + clearState(fsm); + tsip_dialog_subscribe_Trying_2_Terminated_X_cancel(ctxt); + setState(fsm, &tsip_dialog_subscribe_Terminated); + ENTRY_STATE(getState(fsm)); +} + +const struct tsip_dialog_subscribeState tsip_dialog_subscribe_Trying = { POPULATE_STATE(tsip_dialog_subscribe_Trying), "tsip_dialog_subscribe_Trying", 1 }; + +#undef tsip_dialog_subscribe_Connected_Default +static void tsip_dialog_subscribe_Connected_Default(struct tsip_dialog_subscribeContext *fsm) +{ + +} + +#undef tsip_dialog_subscribe_Connected_sm_NOTIFY +static void tsip_dialog_subscribe_Connected_sm_NOTIFY(struct tsip_dialog_subscribeContext *fsm, int sterminated, const tsip_request_t* request) +{ + struct tsip_dialog_subscribe* ctxt = getOwner(fsm); + + if (!sterminated) { + const struct tsip_dialog_subscribeState* EndStateName = getState(fsm); + + clearState(fsm); + tsip_dialog_subscribe_Connected_2_Connected_X_NOTIFY(ctxt, request); + setState(fsm, EndStateName); + } + else if (sterminated) { + EXIT_STATE(getState(fsm)); + clearState(fsm); + tsip_dialog_subscribe_Connected_2_Terminated_X_NOTIFY(ctxt, request); + setState(fsm, &tsip_dialog_subscribe_Terminated); + ENTRY_STATE(getState(fsm)); + } else { + tsip_dialog_subscribe_DefaultState_sm_NOTIFY(fsm, sterminated, request); + } +} + +#undef tsip_dialog_subscribe_Connected_sm_refresh +static void tsip_dialog_subscribe_Connected_sm_refresh(struct tsip_dialog_subscribeContext *fsm) +{ + struct tsip_dialog_subscribe* ctxt = getOwner(fsm); + + EXIT_STATE(getState(fsm)); + clearState(fsm); + tsip_dialog_subscribe_Connected_2_Trying_X_refresh(ctxt); + setState(fsm, &tsip_dialog_subscribe_Trying); + ENTRY_STATE(getState(fsm)); +} + +#undef tsip_dialog_subscribe_Connected_sm_unsubscribe +static void tsip_dialog_subscribe_Connected_sm_unsubscribe(struct tsip_dialog_subscribeContext *fsm) +{ + struct tsip_dialog_subscribe* ctxt = getOwner(fsm); + + EXIT_STATE(getState(fsm)); + clearState(fsm); + tsip_dialog_subscribe_Connected_2_Trying_X_unsubscribe(ctxt); + setState(fsm, &tsip_dialog_subscribe_Trying); + ENTRY_STATE(getState(fsm)); +} + +const struct tsip_dialog_subscribeState tsip_dialog_subscribe_Connected = { POPULATE_STATE(tsip_dialog_subscribe_Connected), "tsip_dialog_subscribe_Connected", 2 }; + +#undef tsip_dialog_subscribe_Terminated_Entry +void tsip_dialog_subscribe_Terminated_Entry(struct tsip_dialog_subscribeContext *fsm) +{ + struct tsip_dialog_subscribe *ctxt = getOwner(fsm); + + tsip_dialog_subscribe_OnTerminated(ctxt); +} + +#undef tsip_dialog_subscribe_Terminated_Default +static void tsip_dialog_subscribe_Terminated_Default(struct tsip_dialog_subscribeContext *fsm) +{ + +} + +const struct tsip_dialog_subscribeState tsip_dialog_subscribe_Terminated = { POPULATE_STATE(tsip_dialog_subscribe_Terminated), "tsip_dialog_subscribe_Terminated", 3 }; + +void tsip_dialog_subscribeContext_Init(struct tsip_dialog_subscribeContext* fsm, struct tsip_dialog_subscribe* owner) +{ + FSM_INIT(fsm, &tsip_dialog_subscribe_Started); + fsm->_owner = owner; +} + +void tsip_dialog_subscribeContext_EnterStartState(struct tsip_dialog_subscribeContext* fsm) +{ + ENTRY_STATE(getState(fsm)); +} + +void tsip_dialog_subscribeContext_sm_1xx(struct tsip_dialog_subscribeContext* fsm, const tsip_message_t* msg) +{ + const struct tsip_dialog_subscribeState* state = getState(fsm); + + assert(state != NULL); + setTransition(fsm, "sm_1xx"); + state->sm_1xx(fsm, msg); + setTransition(fsm, NULL); +} + +void tsip_dialog_subscribeContext_sm_2xx(struct tsip_dialog_subscribeContext* fsm, int unsubscribeing, const tsip_response_t* response) +{ + const struct tsip_dialog_subscribeState* state = getState(fsm); + + assert(state != NULL); + setTransition(fsm, "sm_2xx"); + state->sm_2xx(fsm, unsubscribeing, response); + setTransition(fsm, NULL); +} + +void tsip_dialog_subscribeContext_sm_300_to_699(struct tsip_dialog_subscribeContext* fsm, const tsip_response_t* response) +{ + const struct tsip_dialog_subscribeState* state = getState(fsm); + + assert(state != NULL); + setTransition(fsm, "sm_300_to_699"); + state->sm_300_to_699(fsm, response); + setTransition(fsm, NULL); +} + +void tsip_dialog_subscribeContext_sm_401_407_421_494(struct tsip_dialog_subscribeContext* fsm, const tsip_response_t* response) +{ + const struct tsip_dialog_subscribeState* state = getState(fsm); + + assert(state != NULL); + setTransition(fsm, "sm_401_407_421_494"); + state->sm_401_407_421_494(fsm, response); + setTransition(fsm, NULL); +} + +void tsip_dialog_subscribeContext_sm_423(struct tsip_dialog_subscribeContext* fsm, const tsip_response_t* response) +{ + const struct tsip_dialog_subscribeState* state = getState(fsm); + + assert(state != NULL); + setTransition(fsm, "sm_423"); + state->sm_423(fsm, response); + setTransition(fsm, NULL); +} + +void tsip_dialog_subscribeContext_sm_NOTIFY(struct tsip_dialog_subscribeContext* fsm, int sterminated, const tsip_request_t* request) +{ + const struct tsip_dialog_subscribeState* state = getState(fsm); + + assert(state != NULL); + setTransition(fsm, "sm_NOTIFY"); + state->sm_NOTIFY(fsm, sterminated, request); + setTransition(fsm, NULL); +} + +void tsip_dialog_subscribeContext_sm_cancel(struct tsip_dialog_subscribeContext* fsm) +{ + const struct tsip_dialog_subscribeState* state = getState(fsm); + + assert(state != NULL); + setTransition(fsm, "sm_cancel"); + state->sm_cancel(fsm); + setTransition(fsm, NULL); +} + +void tsip_dialog_subscribeContext_sm_error(struct tsip_dialog_subscribeContext* fsm) +{ + const struct tsip_dialog_subscribeState* state = getState(fsm); + + assert(state != NULL); + setTransition(fsm, "sm_error"); + state->sm_error(fsm); + setTransition(fsm, NULL); +} + +void tsip_dialog_subscribeContext_sm_hangup(struct tsip_dialog_subscribeContext* fsm) +{ + const struct tsip_dialog_subscribeState* state = getState(fsm); + + assert(state != NULL); + setTransition(fsm, "sm_hangup"); + state->sm_hangup(fsm); + setTransition(fsm, NULL); +} + +void tsip_dialog_subscribeContext_sm_refresh(struct tsip_dialog_subscribeContext* fsm) +{ + const struct tsip_dialog_subscribeState* state = getState(fsm); + + assert(state != NULL); + setTransition(fsm, "sm_refresh"); + state->sm_refresh(fsm); + setTransition(fsm, NULL); +} + +void tsip_dialog_subscribeContext_sm_send(struct tsip_dialog_subscribeContext* fsm) +{ + const struct tsip_dialog_subscribeState* state = getState(fsm); + + assert(state != NULL); + setTransition(fsm, "sm_send"); + state->sm_send(fsm); + setTransition(fsm, NULL); +} + +void tsip_dialog_subscribeContext_sm_transportError(struct tsip_dialog_subscribeContext* fsm) +{ + const struct tsip_dialog_subscribeState* state = getState(fsm); + + assert(state != NULL); + setTransition(fsm, "sm_transportError"); + state->sm_transportError(fsm); + setTransition(fsm, NULL); +} + +void tsip_dialog_subscribeContext_sm_unsubscribe(struct tsip_dialog_subscribeContext* fsm) +{ + const struct tsip_dialog_subscribeState* state = getState(fsm); + + assert(state != NULL); + setTransition(fsm, "sm_unsubscribe"); + state->sm_unsubscribe(fsm); + setTransition(fsm, NULL); +} + +/* + * Local variables: + * buffer-read-only: t + * End: + */ diff --git a/trunk/tinySIP/src/tsip.c b/trunk/tinySIP/src/tsip.c index eb331979..fc4dd7bd 100644 --- a/trunk/tinySIP/src/tsip.c +++ b/trunk/tinySIP/src/tsip.c @@ -29,8 +29,6 @@ */ #include "tsip.h" -#include "tinysip/tsip_uri.h" - #include "tinysip/parsers/tsip_parser_uri.h" #include "tinysip/transactions/tsip_transac_layer.h" @@ -442,6 +440,19 @@ int tsip_stack_set_callback_register(tsip_stack_handle_t *self, tsip_register_ca return -1; } +int tsip_stack_set_callback_subscribe(tsip_stack_handle_t *self, tsip_subscribe_callback callback) +{ + if(self) + { + tsip_stack_t *stack = self; + stack->callback_subscribe = callback; + + return 0; + } + + return -1; +} + int tsip_stack_alert(const tsip_stack_handle_t *self, tsip_operation_id_t opid, short status_code, char *reason_phrase, int incoming, tsip_event_type_t type) { if(self) @@ -504,6 +515,7 @@ int tsip_stack_destroy(tsip_stack_handle_t *self) TSK_OBJECT_SAFE_FREE(stack->service_routes); TSK_OBJECT_SAFE_FREE(stack->paths); + TSK_OBJECT_SAFE_FREE(stack->associated_uris); TSK_OBJECT_SAFE_FREE(stack->layer_dialog); TSK_OBJECT_SAFE_FREE(stack->layer_transac); @@ -519,6 +531,42 @@ int tsip_stack_destroy(tsip_stack_handle_t *self) return -1; } +tsip_uri_t* tsip_stack_get_contacturi(const tsip_stack_handle_t *self, const char* protocol) +{ + if(self) + { + const tsip_stack_t *stack = self; + tsk_list_item_t *item; + + if(stack->layer_transport && stack->layer_transport->transports) + { + tsk_list_foreach(item, stack->layer_transport->transports) + { + tsip_transport_t *transport = item->data; + + if(transport) + { + if(tsk_strequals(transport->protocol, protocol)) + { + tnet_ip_t ip; + tnet_port_t port; + + if(!tsip_transport_get_ip_n_port(transport, &ip, &port)) + { + tsip_uri_t* uri = TSIP_URI_CREATE(tsk_striequals(protocol, "tls") ? uri_sips : uri_sip); + uri->host = tsk_strdup(ip); + uri->port = port; + uri->host_type = host_ipv4; // FIXME + uri->user_name = tsk_strdup(stack->public_identity->user_name); + return uri; + } + } + } + } + } + } + return 0; +} const tsk_timer_manager_handle_t* tsip_stack_get_timer_mgr(const tsip_stack_handle_t *self) { @@ -588,17 +636,23 @@ void *run(void* self) { if(stack->callback_register){ stack->callback_register(TSIP_REGISTER_EVENT(sipevent)); + break; } - else if(stack->callback){ - stack->callback(sipevent); + } + + case tsip_event_subscribe: + { + if(stack->callback_subscribe){ + stack->callback_subscribe(TSIP_SUBSCRIBE_EVENT(sipevent)); + break; } - break; } default: { if(stack->callback){ stack->callback(sipevent); } + break; } } diff --git a/trunk/tinySIP/src/tsip_message.c b/trunk/tinySIP/src/tsip_message.c index 85615c09..eefddd39 100644 --- a/trunk/tinySIP/src/tsip_message.c +++ b/trunk/tinySIP/src/tsip_message.c @@ -125,21 +125,77 @@ int tsip_message_add_headers(tsip_message_t *self, const tsip_headers_L_t *heade const tsip_header_t *tsip_message_get_headerAt(const tsip_message_t *self, tsip_header_type_t type, size_t index) { size_t pos = 0; - tsk_list_item_t *item = 0; + tsk_list_item_t *item; + const tsip_header_t* hdr = 0; + if(self) - { + { + switch(type) + { + case tsip_htype_Via: + if(index == 0){ + hdr = (const tsip_header_t*)self->firstVia; + goto bail; + } + case tsip_htype_From: + if(index == 0){ + hdr = (const tsip_header_t*)self->From; + goto bail; + }else pos++; + case tsip_htype_To: + if(index == 0){ + hdr = (const tsip_header_t*)self->To; + goto bail; + }else pos++; + case tsip_htype_Contact: + if(index == 0){ + hdr = (const tsip_header_t*)self->Contact; + goto bail; + }else pos++; + case tsip_htype_Call_ID: + if(index == 0){ + hdr = (const tsip_header_t*)self->Call_ID; + goto bail; + }else pos++; + case tsip_htype_CSeq: + if(index == 0){ + hdr = (const tsip_header_t*)self->CSeq; + goto bail; + }else pos++; + case tsip_htype_Expires: + if(index == 0){ + hdr = (const tsip_header_t*)self->Expires; + goto bail; + }else pos++; + case tsip_htype_Content_Type: + if(index == 0){ + hdr = (const tsip_header_t*)self->Content_Type; + goto bail; + }else pos++; + case tsip_htype_Content_Length: + if(index == 0){ + hdr = (const tsip_header_t*)self->Content_Length; + goto bail; + }else pos++; + default: + break; + } + tsk_list_foreach(item, self->headers) { if(!pred_find_header_by_type(item, &type)) { if(pos++ >= index) { + hdr = item->data; break; } } } } - return item ? item->data : 0; + +bail: + return hdr; } const tsip_header_t *tsip_message_get_header(const tsip_message_t *self, tsip_header_type_t type) @@ -332,7 +388,7 @@ tsip_request_t *tsip_request_new(const char* method, const tsip_uri_t *request_u TSIP_MESSAGE_ADD_HEADER(request, TSIP_HEADER_CALL_ID_VA_ARGS(call_id)); TSIP_MESSAGE_ADD_HEADER(request, TSIP_HEADER_CSEQ_VA_ARGS(cseq, method)); TSIP_MESSAGE_ADD_HEADER(request, TSIP_HEADER_MAX_FORWARDS_VA_ARGS(TSIP_HEADER_MAX_FORWARDS_DEFAULT)); - TSIP_MESSAGE_ADD_HEADER(request, TSIP_HEADER_USER_AGENT_VA_ARGS(TSIP_HEADER_USER_AGENT_DEFAULT)); + TSIP_MESSAGE_ADD_HEADER(request, TSIP_HEADER_USER_AGENT_VA_ARGS(/*TSIP_HEADER_USER_AGENT_DEFAULT*/"IM-client/OMA1.0 Mercuro-Gold/v4.0.1610.0")); /*request->From = TSIP_HEADER_FROM_CREATE(0, from, 0); diff --git a/trunk/tinySIP/src/tsip_operation.c b/trunk/tinySIP/src/tsip_operation.c index bb707af8..c36c4709 100644 --- a/trunk/tinySIP/src/tsip_operation.c +++ b/trunk/tinySIP/src/tsip_operation.c @@ -63,7 +63,15 @@ tsip_operation_id_t tsip_operation_get_id(const tsip_operation_handle_t *self) return TSIP_OPERATION_INVALID_ID; } - +const tsk_param_t* tsip_operation_get_param(const tsip_operation_handle_t *self, const char* pname) +{ + if(self) + { + const tsip_operation_t *operation = self; + return tsk_params_get_param_by_name(operation->params, pname); + } + return 0; +} diff --git a/trunk/tinySIP/test/test/test_sipmessages.h b/trunk/tinySIP/test/test/test_sipmessages.h index e5689205..700f6ee7 100644 --- a/trunk/tinySIP/test/test/test_sipmessages.h +++ b/trunk/tinySIP/test/test/test_sipmessages.h @@ -98,12 +98,19 @@ "Route: ,\r\n" \ "P-Preferred-Identity: , , \r\n" \ + "P-Charging-Function-Addresses: ccf=pri_ccf_address\r\n" \ + "Server: Sip EXpress router (2.0.0-dev1 OpenIMSCore (i386/linux))\r\n" \ + "Warning: 392 192.168.0.15:6060 \"Noisy feedback tells: pid=4521 req_src_ip=192.168.0.15 req_src_port=5060 in_uri=sip:scscf.open-ims.test:6060 out_uri=sip:scscf.open-ims.test:6060 via_cnt==3\"\r\n" \ + "P-Asserted-Identity: \"Cullen Jennings\" \r\n" \ + "P-Asserted-Identity: tel:+14085264000\r\n" \ "Content-Length: 11\r\n" \ "\r\n" \ "How are you" -#define SIP_MSG_2_TEST SIP_RESPONSE +#define SIP_MSG_2_TEST SIP_MESSAGE void test_parser() { diff --git a/trunk/tinySIP/test/test/test_stack.h b/trunk/tinySIP/test/test/test_stack.h index 956c5104..34ad268c 100644 --- a/trunk/tinySIP/test/test/test_stack.h +++ b/trunk/tinySIP/test/test/test_stack.h @@ -44,6 +44,15 @@ int test_stack_callback(const tsip_event_t *sipevent) return 0; } +int tsip_subscribtion_callback(const tsip_subscribe_event_t *sipevent) +{ + /* common part */ + TSK_DEBUG_INFO("\n====\nSUBSCRIBTION event: %d [%s]\n=====", TSIP_EVENT(sipevent)->code, TSIP_EVENT(sipevent)->phrase); + /* registration part */ + + return 0; +} + int tsip_registration_callback(const tsip_register_event_t *sipevent) { /* common part */ @@ -77,6 +86,7 @@ int tsip_registration_callback(const tsip_register_event_t *sipevent) void test_stack() { + /* tsip_stack_handle_t *stack = tsip_stack_create(test_stack_callback, TSIP_STACK_SET_DISPLAY_NAME("2233392625"), TSIP_STACK_SET_PUBLIC_IDENTITY("sip:2233392625@sip2sip.info"), @@ -92,7 +102,7 @@ void test_stack() TSIP_STACK_SET_MOBILITY("fixed"), TSIP_STACK_SET_DEVICE_ID("DD1289FA-C3D7-47bd-A40D-F1F1B2CC5FFC"), TSIP_STACK_SET_NETINFO("ADSL;utran-cell-id-3gpp=00000000"), - +*/ /* tsip_stack_handle_t *stack = tsip_stack_create(test_stack_callback, TSIP_STACK_SET_DISPLAY_NAME("Mamadou"), @@ -110,11 +120,26 @@ void test_stack() TSIP_STACK_SET_DEVICE_ID("DD1289FA-C3D7-47bd-A40D-F1F1B2CC5FFC"), TSIP_STACK_SET_NETINFO("ADSL;utran-cell-id-3gpp=00000000"), */ + tsip_stack_handle_t *stack = tsip_stack_create(test_stack_callback, + TSIP_STACK_SET_DISPLAY_NAME("Mamadou"), + TSIP_STACK_SET_PUBLIC_IDENTITY("sip:mamadou@ims.inexbee.com"), + TSIP_STACK_SET_PRIVATE_IDENTITY("mamadou@ims.inexbee.com"), + TSIP_STACK_SET_PASSWORD("mamadou"), + TSIP_STACK_SET_REALM("sip:ims.inexbee.com"), // FIXME: without sip: + TSIP_STACK_SET_LOCAL_IP(LOCAL_IP), + //TSIP_STACK_SET_DISCOVERY_NAPTR(1), + TSIP_STACK_SET_PROXY_CSCF("192.168.16.225", "udp", 0), + //TSIP_STACK_SET_PROXY_CSCF("192.168.0.15", "udp", 0), + TSIP_STACK_SET_PROXY_CSCF_PORT(4060), + TSIP_STACK_SET_SEC_AGREE_MECH("ipsec-3gpp"), + TSIP_STACK_SET_MOBILITY("fixed"), + TSIP_STACK_SET_DEVICE_ID("DD1289FA-C3D7-47bd-A40D-F1F1B2CC5FFC"), + TSIP_STACK_SET_NETINFO("ADSL;utran-cell-id-3gpp=00000000"), TSIP_STACK_SET_NULL()); tsip_operation_handle_t *op = TSIP_OPERATION_CREATE(stack, - TSIP_OPERATION_SET_PARAM("expires", "600000"), + TSIP_OPERATION_SET_PARAM("expires", "30"), TSIP_OPERATION_SET_NULL()); @@ -122,11 +147,24 @@ void test_stack() /* Callbacks */ tsip_stack_set_callback_register(stack, tsip_registration_callback); + tsip_stack_set_callback_subscribe(stack, tsip_subscribtion_callback); tsip_stack_start(stack); tsip_register(stack, op); + tsk_thread_sleep(2000); + + { + tsip_operation_handle_t *op2 = TSIP_OPERATION_CREATE(stack, + TSIP_OPERATION_SET_PARAM("expires", "30"), + TSIP_OPERATION_SET_PARAM("package", "reg"), + TSIP_OPERATION_SET_PARAM("accept", "application/reginfo+xml"), + + TSIP_OPERATION_SET_NULL()); + tsip_subscribe(stack, op2); + } + //while(1);//tsk_thread_sleep(500); //while(1) //tsk_thread_sleep(50000); diff --git a/trunk/vs_2005/tinyHTTP/tinyHTTP.vcproj b/trunk/vs_2005/tinyHTTP/tinyHTTP.vcproj index 6cbd5eaf..9ecd44dd 100644 --- a/trunk/vs_2005/tinyHTTP/tinyHTTP.vcproj +++ b/trunk/vs_2005/tinyHTTP/tinyHTTP.vcproj @@ -6,12 +6,14 @@ ProjectGUID="{B3E45009-C7C3-4090-837C-2D30C9058443}" RootNamespace="tinyHTTP" Keyword="Win32Proj" - TargetFrameworkVersion="196613" > + @@ -42,7 +44,7 @@ Name="VCCLCompilerTool" Optimization="0" AdditionalIncludeDirectories=""$(DOUBANGO_HOME)\thirdparties\win32\include";"$(DOUBANGO_HOME)\tinyHTTP\include";"$(DOUBANGO_HOME)\tinySAK\src";"$(DOUBANGO_HOME)\tinyNET\src"" - PreprocessorDefinitions="DEBUG_LEVEL=DEBUG_LEVEL_INFO;WIN32;_DEBUG;_WINDOWS;_USRDLL;TINYHTTP_EXPORTS;_WIN32_WINNT 0x0501" + PreprocessorDefinitions="DEBUG_LEVEL=DEBUG_LEVEL_INFO;WIN32;_DEBUG;TINYHTTP_EXPORTS" MinimalRebuild="true" BasicRuntimeChecks="3" RuntimeLibrary="3" @@ -65,8 +67,8 @@ AdditionalDependencies="$(OutDir)\tinySAK.lib $(OutDir)\tinyNET.lib" LinkIncremental="2" GenerateDebugInformation="true" - SubSystem="2" - TargetMachine="1" + SubSystem="0" + TargetMachine="0" /> + @@ -161,10 +166,172 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -181,7 +348,7 @@ > + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/trunk/vs_2005/tinyNET/tinyNET.vcproj b/trunk/vs_2005/tinyNET/tinyNET.vcproj index c0169c7b..82e02030 100644 --- a/trunk/vs_2005/tinyNET/tinyNET.vcproj +++ b/trunk/vs_2005/tinyNET/tinyNET.vcproj @@ -122,9 +122,10 @@ Name="VCCLCompilerTool" ExecutionBucket="7" Optimization="0" - AdditionalIncludeDirectories=""$(DOUBANGO_HOME)\thirdparties\win32\include";"$(DOUBANGO_HOME)\tinySAK\src"" - PreprocessorDefinitions="DEBUG_LEVEL=DEBUG_LEVEL_INFO;TINYNET_EXPORTS;_DEBUG;_WIN32_WCE=$(CEVER);UNDER_CE;$(PLATFORMDEFINES);WINCE;DEBUG;_WINDOWS;_USRDLL;$(ARCHFAM);$(_ARCHFAM_)" + AdditionalIncludeDirectories=""$(DOUBANGO_HOME)\tinyNET\src";"$(DOUBANGO_HOME)\thirdparties\wince\include";"$(DOUBANGO_HOME)\tinySAK\src"" + PreprocessorDefinitions="DEBUG_LEVEL=DEBUG_LEVEL_INFO;TINYNET_EXPORTS;_DEBUG;_WIN32_WCE=$(CEVER);UNDER_CE;$(PLATFORMDEFINES);$(ARCHFAM);$(_ARCHFAM_);WINCE;DEBUG;_WINDOWS;_USRDLL" MinimalRebuild="true" + ExceptionHandling="0" RuntimeLibrary="3" TreatWChar_tAsBuiltInType="false" UsePrecompiledHeader="0" @@ -144,7 +145,8 @@ /> + + @@ -534,6 +539,10 @@ RelativePath="..\..\tinySAK\src\tsk_ppfcs32.c" > + + diff --git a/trunk/vs_2005/tinySIP/tinySIP.sln b/trunk/vs_2005/tinySIP/tinySIP.sln index 17fa4f06..6ca73627 100644 --- a/trunk/vs_2005/tinySIP/tinySIP.sln +++ b/trunk/vs_2005/tinySIP/tinySIP.sln @@ -51,7 +51,7 @@ Global {7522A458-92F4-4259-B906-E84C2A65D9F1}.Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Deploy.0 = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) {B3E45009-C7C3-4090-837C-2D30C9058443}.Debug|Win32.ActiveCfg = Debug|Win32 {B3E45009-C7C3-4090-837C-2D30C9058443}.Debug|Win32.Build.0 = Debug|Win32 - {B3E45009-C7C3-4090-837C-2D30C9058443}.Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug|Win32 + {B3E45009-C7C3-4090-837C-2D30C9058443}.Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) {B3E45009-C7C3-4090-837C-2D30C9058443}.Release|Win32.ActiveCfg = Release|Win32 {B3E45009-C7C3-4090-837C-2D30C9058443}.Release|Win32.Build.0 = Release|Win32 {B3E45009-C7C3-4090-837C-2D30C9058443}.Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release|Win32 diff --git a/trunk/vs_2005/tinySIP/tinySIP.vcproj b/trunk/vs_2005/tinySIP/tinySIP.vcproj index 35d11ccb..3189b870 100644 --- a/trunk/vs_2005/tinySIP/tinySIP.vcproj +++ b/trunk/vs_2005/tinySIP/tinySIP.vcproj @@ -123,9 +123,10 @@ Name="VCCLCompilerTool" ExecutionBucket="7" Optimization="0" - AdditionalIncludeDirectories=""$(DOUBANGO_HOME)\thirdparties\wince\include\smc";"$(DOUBANGO_HOME)\thirdparties\wince\include";"$(DOUBANGO_HOME)\tinySIP\include";"$(DOUBANGO_HOME)\tinySAK\src";"$(DOUBANGO_HOME)\tinyNET\src"" + AdditionalIncludeDirectories=""$(DOUBANGO_HOME)\thirdparties\wince\include\smc";"$(DOUBANGO_HOME)\thirdparties\wince\include";"$(DOUBANGO_HOME)\tinySIP\include";"$(DOUBANGO_HOME)\tinySAK\src";"$(DOUBANGO_HOME)\tinyNET\src";"$(DOUBANGO_HOME)\tinyHTTP\include"" PreprocessorDefinitions="DEBUG_LEVEL=DEBUG_LEVEL_INFO;TINYSIP_EXPORTS;_DEBUG;_WIN32_WCE=$(CEVER);UNDER_CE;$(PLATFORMDEFINES);WINCE;DEBUG;_WINDOWS;_USRDLL;$(ARCHFAM);$(_ARCHFAM_)" MinimalRebuild="true" + ExceptionHandling="0" RuntimeLibrary="3" UsePrecompiledHeader="0" WarningLevel="3" @@ -144,7 +145,8 @@ /> - - + + @@ -1377,10 +1379,6 @@ RelativePath="..\..\tinySIP\include\tinysip\parsers\tsip_parser_uri.h" > - - + + @@ -1930,6 +1932,10 @@ RelativePath="..\..\tinySIP\smc\tsip_dialog_register.sm" > + +