From 5743765ea1a767578f3cf87d5c7dcc5ff9be60a0 Mon Sep 17 00:00:00 2001 From: bossiel Date: Mon, 12 Apr 2010 17:08:48 +0000 Subject: [PATCH] Update GSM SMS. --- .../ragel/thttp_parser_header_Dummy.rl | 2 +- .../tinyHTTP/src/headers/thttp_header_Dummy.c | 2 +- trunk/tinyIPSec/test/stdafx.c | 2 +- trunk/tinyIPSec/test/stdafx.h | 2 +- trunk/tinyIPSec/test/test.c | 2 +- trunk/tinyNET/test/stdafx.c | 2 +- trunk/tinyNET/test/stdafx.h | 2 +- trunk/tinyNET/test/test.c | 2 +- trunk/tinyNET/test/test_auth.h | 2 +- trunk/tinyNET/test/test_dhcp.h | 2 +- trunk/tinyNET/test/test_dhcp6.h | 2 +- trunk/tinyNET/test/test_dns.h | 2 +- trunk/tinyNET/test/test_nat.h | 2 +- trunk/tinyNET/test/test_sockets.h | 2 +- trunk/tinyNET/test/test_stun.h | 2 +- trunk/tinyNET/test/test_tls.h | 2 +- trunk/tinyNET/test/test_transport.h | 2 +- trunk/tinySAK/src/tsk_object.c | 3 +- trunk/tinySAK/src/tsk_string.c | 56 +++- trunk/tinySAK/src/tsk_string.h | 2 + trunk/tinySDP/test/stdafx.c | 2 +- trunk/tinySDP/test/stdafx.h | 2 +- trunk/tinySDP/test/targetver.h | 22 ++ trunk/tinySDP/test/test.c | 2 +- trunk/tinySDP/test/test_parser.h | 2 +- trunk/tinySIGCOMP/src/tcomp.c | 2 +- trunk/tinySIGCOMP/src/tcomp.h | 2 +- trunk/tinySIGCOMP/src/tcomp_buffer.c | 2 +- trunk/tinySIGCOMP/src/tcomp_buffer.h | 2 +- trunk/tinySIGCOMP/src/tcomp_compartment.c | 2 +- trunk/tinySIGCOMP/src/tcomp_compartment.h | 2 +- trunk/tinySIGCOMP/src/tcomp_compressor.h | 2 +- .../src/tcomp_compressor_deflate.c | 2 +- .../src/tcomp_compressor_deflate.h | 2 +- .../tinySIGCOMP/src/tcomp_compressor_dummy.c | 2 +- .../tinySIGCOMP/src/tcomp_compressor_dummy.h | 2 +- trunk/tinySIGCOMP/src/tcomp_compressordata.c | 2 +- trunk/tinySIGCOMP/src/tcomp_compressordata.h | 2 +- trunk/tinySIGCOMP/src/tcomp_compressordisp.c | 2 +- trunk/tinySIGCOMP/src/tcomp_compressordisp.h | 2 +- .../tinySIGCOMP/src/tcomp_decompressordisp.c | 2 +- .../tinySIGCOMP/src/tcomp_decompressordisp.h | 2 +- trunk/tinySIGCOMP/src/tcomp_deflatedata.c | 2 +- .../tinySIGCOMP/src/tcomp_deflatedata.ghost.c | 2 +- trunk/tinySIGCOMP/src/tcomp_deflatedata.h | 2 +- .../tinySIGCOMP/src/tcomp_deflatedata.zlib.c | 2 +- trunk/tinySIGCOMP/src/tcomp_dicts.c | 2 +- trunk/tinySIGCOMP/src/tcomp_dicts.h | 2 +- trunk/tinySIGCOMP/src/tcomp_headers_index.h | 2 +- trunk/tinySIGCOMP/src/tcomp_instructions.h | 2 +- trunk/tinySIGCOMP/src/tcomp_manager.c | 2 +- trunk/tinySIGCOMP/src/tcomp_manager.h | 2 +- trunk/tinySIGCOMP/src/tcomp_message.c | 2 +- trunk/tinySIGCOMP/src/tcomp_message.h | 2 +- trunk/tinySIGCOMP/src/tcomp_nack_codes.h | 2 +- trunk/tinySIGCOMP/src/tcomp_nackinfo.c | 2 +- trunk/tinySIGCOMP/src/tcomp_nackinfo.h | 2 +- trunk/tinySIGCOMP/src/tcomp_operands.h | 2 +- trunk/tinySIGCOMP/src/tcomp_params.c | 2 +- trunk/tinySIGCOMP/src/tcomp_params.h | 2 +- trunk/tinySIGCOMP/src/tcomp_reqfeed.c | 2 +- trunk/tinySIGCOMP/src/tcomp_reqfeed.h | 2 +- trunk/tinySIGCOMP/src/tcomp_result.c | 2 +- trunk/tinySIGCOMP/src/tcomp_result.h | 2 +- .../src/tcomp_rfc3485_dictionary_sip.h | 2 +- trunk/tinySIGCOMP/src/tcomp_rfc5049_sip.h | 2 +- .../src/tcomp_rfc5112_dictionary_presence.h | 2 +- trunk/tinySIGCOMP/src/tcomp_state.c | 2 +- trunk/tinySIGCOMP/src/tcomp_state.h | 2 +- trunk/tinySIGCOMP/src/tcomp_statehandler.c | 2 +- trunk/tinySIGCOMP/src/tcomp_statehandler.h | 2 +- trunk/tinySIGCOMP/src/tcomp_types.h | 2 +- trunk/tinySIGCOMP/src/tcomp_udvm.bytecopy.c | 2 +- trunk/tinySIGCOMP/src/tcomp_udvm.c | 2 +- trunk/tinySIGCOMP/src/tcomp_udvm.h | 2 +- .../tinySIGCOMP/src/tcomp_udvm.instructions.c | 2 +- trunk/tinySIGCOMP/src/tcomp_udvm.nack.c | 2 +- trunk/tinySIGCOMP/src/tcomp_udvm.operands.c | 2 +- .../src/tcomp_udvm.statemanagment.c | 2 +- trunk/tinySIGCOMP/src/tinysigcomp_config.h | 2 +- .../tinySIGCOMP/test/rfc4465_torture_tests.h | 2 +- trunk/tinySIGCOMP/test/stdafx.c | 2 +- trunk/tinySIGCOMP/test/stdafx.h | 2 +- trunk/tinySIGCOMP/test/test.c | 2 +- trunk/tinySIP/include/tinysip/api/tsip_api.h | 2 +- trunk/tinySMS/include/tinysms.h | 25 ++ .../tinySMS/include/tinysms/tpdu/tsms_tpdu.h | 23 +- .../include/tinysms/tpdu/tsms_tpdu_command.h | 8 +- .../include/tinysms/tpdu/tsms_tpdu_deliver.h | 2 +- .../tinysms/tpdu/tsms_tpdu_status_report.h | 2 +- .../include/tinysms/tpdu/tsms_tpdu_submit.h | 11 +- trunk/tinySMS/include/tinysms/tsms_common.h | 15 +- .../include/tinysms/tsms_etsi_gsm_03_38.h | 2 +- trunk/tinySMS/include/tinysms/tsms_packing.h | 49 +++ trunk/tinySMS/src/tpdu/tsms_tpdu.c | 126 +++++++- trunk/tinySMS/src/tpdu/tsms_tpdu_command.c | 69 ++++ trunk/tinySMS/src/tpdu/tsms_tpdu_submit.c | 156 +++++++++ trunk/tinySMS/src/tsms_packing.c | Bin 0 -> 17846 bytes trunk/tinySMS/test/stdafx.c | 26 ++ trunk/tinySMS/test/stdafx.h | 41 +++ trunk/tinySMS/test/targetver.h | 14 + trunk/tinySMS/test/test.c | 94 ++++++ trunk/tinySMS/test/test_packing.h | 141 +++++++++ trunk/tinySMS/test/test_rpdu.h | 31 ++ trunk/tinySMS/test/test_tpdu.h | 42 +++ trunk/vs_2005/tinySMS/test.vcproj | 227 +++++++++++++ trunk/vs_2005/tinySMS/tinySMS.sln | 44 +++ trunk/vs_2005/tinySMS/tinySMS.vcproj | 298 ++++++++++++++++++ 108 files changed, 1580 insertions(+), 111 deletions(-) create mode 100644 trunk/tinySMS/include/tinysms.h create mode 100644 trunk/tinySMS/include/tinysms/tsms_packing.h create mode 100644 trunk/tinySMS/src/tsms_packing.c create mode 100644 trunk/tinySMS/test/stdafx.c create mode 100644 trunk/tinySMS/test/stdafx.h create mode 100644 trunk/tinySMS/test/targetver.h create mode 100644 trunk/tinySMS/test/test.c create mode 100644 trunk/tinySMS/test/test_packing.h create mode 100644 trunk/tinySMS/test/test_rpdu.h create mode 100644 trunk/tinySMS/test/test_tpdu.h create mode 100644 trunk/vs_2005/tinySMS/test.vcproj create mode 100644 trunk/vs_2005/tinySMS/tinySMS.sln create mode 100644 trunk/vs_2005/tinySMS/tinySMS.vcproj diff --git a/trunk/tinyHTTP/ragel/thttp_parser_header_Dummy.rl b/trunk/tinyHTTP/ragel/thttp_parser_header_Dummy.rl index c51bd4f7..f5b033f2 100644 --- a/trunk/tinyHTTP/ragel/thttp_parser_header_Dummy.rl +++ b/trunk/tinyHTTP/ragel/thttp_parser_header_Dummy.rl @@ -1,7 +1,7 @@ /* * Copyright (C) 2009 Mamadou Diop. * -* Contact: Mamadou Diop +* Contact: Mamadou Diop * * This file is part of Open Source Doubango Framework. * diff --git a/trunk/tinyHTTP/src/headers/thttp_header_Dummy.c b/trunk/tinyHTTP/src/headers/thttp_header_Dummy.c index 3b1e3214..15cb52de 100644 --- a/trunk/tinyHTTP/src/headers/thttp_header_Dummy.c +++ b/trunk/tinyHTTP/src/headers/thttp_header_Dummy.c @@ -3,7 +3,7 @@ /* * Copyright (C) 2009 Mamadou Diop. * -* Contact: Mamadou Diop +* Contact: Mamadou Diop * * This file is part of Open Source Doubango Framework. * diff --git a/trunk/tinyIPSec/test/stdafx.c b/trunk/tinyIPSec/test/stdafx.c index 6c4f115f..781cdcff 100644 --- a/trunk/tinyIPSec/test/stdafx.c +++ b/trunk/tinyIPSec/test/stdafx.c @@ -1,7 +1,7 @@ /* * Copyright (C) 2009 Mamadou Diop. * -* Contact: Mamadou Diop +* Contact: Mamadou Diop * * This file is part of Open Source Doubango Framework. * diff --git a/trunk/tinyIPSec/test/stdafx.h b/trunk/tinyIPSec/test/stdafx.h index 46ad2381..1dce1972 100644 --- a/trunk/tinyIPSec/test/stdafx.h +++ b/trunk/tinyIPSec/test/stdafx.h @@ -1,7 +1,7 @@ /* * Copyright (C) 2009 Mamadou Diop. * -* Contact: Mamadou Diop +* Contact: Mamadou Diop * * This file is part of Open Source Doubango Framework. * diff --git a/trunk/tinyIPSec/test/test.c b/trunk/tinyIPSec/test/test.c index 74d32fb2..8392431d 100644 --- a/trunk/tinyIPSec/test/test.c +++ b/trunk/tinyIPSec/test/test.c @@ -1,7 +1,7 @@ /* * Copyright (C) 2009 Mamadou Diop. * -* Contact: Mamadou Diop +* Contact: Mamadou Diop * * This file is part of Open Source Doubango Framework. * diff --git a/trunk/tinyNET/test/stdafx.c b/trunk/tinyNET/test/stdafx.c index e08d6070..df71e1b8 100644 --- a/trunk/tinyNET/test/stdafx.c +++ b/trunk/tinyNET/test/stdafx.c @@ -1,7 +1,7 @@ /* * Copyright (C) 2009 Mamadou Diop. * -* Contact: Mamadou Diop +* Contact: Mamadou Diop * * This file is part of Open Source Doubango Framework. * diff --git a/trunk/tinyNET/test/stdafx.h b/trunk/tinyNET/test/stdafx.h index 07b1ff6c..b1200be5 100644 --- a/trunk/tinyNET/test/stdafx.h +++ b/trunk/tinyNET/test/stdafx.h @@ -1,7 +1,7 @@ /* * Copyright (C) 2009 Mamadou Diop. * -* Contact: Mamadou Diop +* Contact: Mamadou Diop * * This file is part of Open Source Doubango Framework. * diff --git a/trunk/tinyNET/test/test.c b/trunk/tinyNET/test/test.c index 808b095d..c3db31b8 100644 --- a/trunk/tinyNET/test/test.c +++ b/trunk/tinyNET/test/test.c @@ -1,7 +1,7 @@ /* * Copyright (C) 2009 Mamadou Diop. * -* Contact: Mamadou Diop +* Contact: Mamadou Diop * * This file is part of Open Source Doubango Framework. * diff --git a/trunk/tinyNET/test/test_auth.h b/trunk/tinyNET/test/test_auth.h index e4406663..20e96af7 100644 --- a/trunk/tinyNET/test/test_auth.h +++ b/trunk/tinyNET/test/test_auth.h @@ -1,7 +1,7 @@ /* * Copyright (C) 2009 Mamadou Diop. * -* Contact: Mamadou Diop +* Contact: Mamadou Diop * * This file is part of Open Source Doubango Framework. * diff --git a/trunk/tinyNET/test/test_dhcp.h b/trunk/tinyNET/test/test_dhcp.h index 5ab7b7fa..5edb36f3 100644 --- a/trunk/tinyNET/test/test_dhcp.h +++ b/trunk/tinyNET/test/test_dhcp.h @@ -1,7 +1,7 @@ /* * Copyright (C) 2009 Mamadou Diop. * -* Contact: Mamadou Diop +* Contact: Mamadou Diop * * This file is part of Open Source Doubango Framework. * diff --git a/trunk/tinyNET/test/test_dhcp6.h b/trunk/tinyNET/test/test_dhcp6.h index 8f30616f..67ffa5d4 100644 --- a/trunk/tinyNET/test/test_dhcp6.h +++ b/trunk/tinyNET/test/test_dhcp6.h @@ -1,7 +1,7 @@ /* * Copyright (C) 2009 Mamadou Diop. * -* Contact: Mamadou Diop +* Contact: Mamadou Diop * * This file is part of Open Source Doubango Framework. * diff --git a/trunk/tinyNET/test/test_dns.h b/trunk/tinyNET/test/test_dns.h index 25c098ea..ffa8811c 100644 --- a/trunk/tinyNET/test/test_dns.h +++ b/trunk/tinyNET/test/test_dns.h @@ -1,7 +1,7 @@ /* * Copyright (C) 2009 Mamadou Diop. * -* Contact: Mamadou Diop +* Contact: Mamadou Diop * * This file is part of Open Source Doubango Framework. * diff --git a/trunk/tinyNET/test/test_nat.h b/trunk/tinyNET/test/test_nat.h index 8b918613..3473c28c 100644 --- a/trunk/tinyNET/test/test_nat.h +++ b/trunk/tinyNET/test/test_nat.h @@ -1,7 +1,7 @@ /* * Copyright (C) 2009 Mamadou Diop. * -* Contact: Mamadou Diop +* Contact: Mamadou Diop * * This file is part of Open Source Doubango Framework. * diff --git a/trunk/tinyNET/test/test_sockets.h b/trunk/tinyNET/test/test_sockets.h index f3f19c66..bef4e74b 100644 --- a/trunk/tinyNET/test/test_sockets.h +++ b/trunk/tinyNET/test/test_sockets.h @@ -1,7 +1,7 @@ /* * Copyright (C) 2009 Mamadou Diop. * -* Contact: Mamadou Diop +* Contact: Mamadou Diop * * This file is part of Open Source Doubango Framework. * diff --git a/trunk/tinyNET/test/test_stun.h b/trunk/tinyNET/test/test_stun.h index 8807728a..03f23eed 100644 --- a/trunk/tinyNET/test/test_stun.h +++ b/trunk/tinyNET/test/test_stun.h @@ -1,7 +1,7 @@ /* * Copyright (C) 2009 Mamadou Diop. * -* Contact: Mamadou Diop +* Contact: Mamadou Diop * * This file is part of Open Source Doubango Framework. * diff --git a/trunk/tinyNET/test/test_tls.h b/trunk/tinyNET/test/test_tls.h index 31ce4adb..235297dc 100644 --- a/trunk/tinyNET/test/test_tls.h +++ b/trunk/tinyNET/test/test_tls.h @@ -1,7 +1,7 @@ /* * Copyright (C) 2009 Mamadou Diop. * -* Contact: Mamadou Diop +* Contact: Mamadou Diop * * This file is part of Open Source Doubango Framework. * diff --git a/trunk/tinyNET/test/test_transport.h b/trunk/tinyNET/test/test_transport.h index 6901c963..d57c7335 100644 --- a/trunk/tinyNET/test/test_transport.h +++ b/trunk/tinyNET/test/test_transport.h @@ -1,7 +1,7 @@ /* * Copyright (C) 2009 Mamadou Diop. * -* Contact: Mamadou Diop +* Contact: Mamadou Diop * * This file is part of Open Source Doubango Framework. * diff --git a/trunk/tinySAK/src/tsk_object.c b/trunk/tinySAK/src/tsk_object.c index 0da81c23..12992d13 100644 --- a/trunk/tinySAK/src/tsk_object.c +++ b/trunk/tinySAK/src/tsk_object.c @@ -184,8 +184,7 @@ tsk_object_t* tsk_object_ref(tsk_object_t *self) */ tsk_object_t* tsk_object_unref(tsk_object_t *self) { - if(self) - { + if(self){ tsk_object_header_t* objhdr = TSK_OBJECT_HEADER(self); if(objhdr->refCount && !--objhdr->refCount){ // If refCount is == 0 then, nothing should happen. tsk_object_delete(self); diff --git a/trunk/tinySAK/src/tsk_string.c b/trunk/tinySAK/src/tsk_string.c index a35cc659..cb2f5858 100644 --- a/trunk/tinySAK/src/tsk_string.c +++ b/trunk/tinySAK/src/tsk_string.c @@ -213,6 +213,25 @@ void tsk_strcat(char** destination, const char* source) tsk_strncat(destination, source, strlen(source)); } +/**@ingroup tsk_string_group +*/ +void tsk_strcat_2(char** destination, const char* format, ...) +{ + char* temp = tsk_null; + int len; + va_list ap; + + /* initialize variable arguments */ + va_start(ap, format); + /* compute */ + if((len = tsk_sprintf_2(&temp, format, &ap))){ + tsk_strncat(destination, temp, len); + } + /* reset variable arguments */ + va_end(ap); + TSK_FREE(temp); +} + /**@ingroup tsk_string_group */ void tsk_strncat(char** destination, const char* source, size_t n) @@ -247,11 +266,24 @@ void tsk_strncat(char** destination, const char* source, size_t n) */ int tsk_sprintf(char** str, const char* format, ...) { - int len = 0; - va_list list; + int len; + va_list ap; /* initialize variable arguments */ - va_start(list, format); + va_start(ap, format); + /* compute */ + len = tsk_sprintf_2(str, format, &ap); + /* reset variable arguments */ + va_end(ap); + + return len; +} + +/**@ingroup tsk_string_group +*/ +int tsk_sprintf_2(char** str, const char* format, va_list* ap) +{ + int len = 0; /* free previous value */ if(*str){ @@ -265,16 +297,13 @@ int tsk_sprintf(char** str, const char* format, ...) int n; len = (strlen(format)*2); *str = (char*)tsk_calloc(1, len+1); - for(;;) - { - if( (n = vsnprintf(*str, len, format, list)) >= 0 && (n= 0 && (n +* Contact: Mamadou Diop * * This file is part of Open Source Doubango Framework. * diff --git a/trunk/tinySDP/test/stdafx.h b/trunk/tinySDP/test/stdafx.h index 95def460..9c538412 100644 --- a/trunk/tinySDP/test/stdafx.h +++ b/trunk/tinySDP/test/stdafx.h @@ -1,7 +1,7 @@ /* * Copyright (C) 2009 Mamadou Diop. * -* Contact: Mamadou Diop +* Contact: Mamadou Diop * * This file is part of Open Source Doubango Framework. * diff --git a/trunk/tinySDP/test/targetver.h b/trunk/tinySDP/test/targetver.h index ad813a78..a5c9fb4e 100644 --- a/trunk/tinySDP/test/targetver.h +++ b/trunk/tinySDP/test/targetver.h @@ -1,3 +1,25 @@ +/* +* Copyright (C) 2009 Mamadou Diop. +* +* Contact: Mamadou Diop +* +* This file is part of Open Source Doubango Framework. +* +* DOUBANGO is free software: you can redistribute it and/or modify +* it under the terms of the GNU General Public License as published by +* the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* DOUBANGO is distributed in the hope that it will be useful, +* but WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +* GNU General Public License for more details. +* +* You should have received a copy of the GNU General Public License +* along with DOUBANGO. +* +*/ + #ifndef TSDP_TEST_TARGETVER_H #define TSDP_TEST_TARGETVER_H // The following macros define the minimum required platform. The minimum required platform diff --git a/trunk/tinySDP/test/test.c b/trunk/tinySDP/test/test.c index 347c4ef8..182138cd 100644 --- a/trunk/tinySDP/test/test.c +++ b/trunk/tinySDP/test/test.c @@ -1,7 +1,7 @@ /* * Copyright (C) 2009 Mamadou Diop. * -* Contact: Mamadou Diop +* Contact: Mamadou Diop * * This file is part of Open Source Doubango Framework. * diff --git a/trunk/tinySDP/test/test_parser.h b/trunk/tinySDP/test/test_parser.h index f96c6ab3..34d900a6 100644 --- a/trunk/tinySDP/test/test_parser.h +++ b/trunk/tinySDP/test/test_parser.h @@ -1,7 +1,7 @@ /* * Copyright (C) 2009 Mamadou Diop. * -* Contact: Mamadou Diop +* Contact: Mamadou Diop * * This file is part of Open Source Doubango Framework. * diff --git a/trunk/tinySIGCOMP/src/tcomp.c b/trunk/tinySIGCOMP/src/tcomp.c index 9e18f325..998da4e2 100644 --- a/trunk/tinySIGCOMP/src/tcomp.c +++ b/trunk/tinySIGCOMP/src/tcomp.c @@ -1,7 +1,7 @@ /* * Copyright (C) 2009 Mamadou Diop. * -* Contact: Mamadou Diop +* Contact: Mamadou Diop * * This file is part of Open Source Doubango Framework. * diff --git a/trunk/tinySIGCOMP/src/tcomp.h b/trunk/tinySIGCOMP/src/tcomp.h index 01a5737c..8f953ff8 100644 --- a/trunk/tinySIGCOMP/src/tcomp.h +++ b/trunk/tinySIGCOMP/src/tcomp.h @@ -1,7 +1,7 @@ /* * Copyright (C) 2009 Mamadou Diop. * -* Contact: Mamadou Diop +* Contact: Mamadou Diop * * This file is part of Open Source Doubango Framework. * diff --git a/trunk/tinySIGCOMP/src/tcomp_buffer.c b/trunk/tinySIGCOMP/src/tcomp_buffer.c index dc492ee8..ff7d9565 100644 --- a/trunk/tinySIGCOMP/src/tcomp_buffer.c +++ b/trunk/tinySIGCOMP/src/tcomp_buffer.c @@ -1,7 +1,7 @@ /* * Copyright (C) 2009 Mamadou Diop. * -* Contact: Mamadou Diop +* Contact: Mamadou Diop * * This file is part of Open Source Doubango Framework. * diff --git a/trunk/tinySIGCOMP/src/tcomp_buffer.h b/trunk/tinySIGCOMP/src/tcomp_buffer.h index 6144f614..49c4ff5d 100644 --- a/trunk/tinySIGCOMP/src/tcomp_buffer.h +++ b/trunk/tinySIGCOMP/src/tcomp_buffer.h @@ -1,7 +1,7 @@ /* * Copyright (C) 2009 Mamadou Diop. * -* Contact: Mamadou Diop +* Contact: Mamadou Diop * * This file is part of Open Source Doubango Framework. * diff --git a/trunk/tinySIGCOMP/src/tcomp_compartment.c b/trunk/tinySIGCOMP/src/tcomp_compartment.c index 8a556b91..e2963ab6 100644 --- a/trunk/tinySIGCOMP/src/tcomp_compartment.c +++ b/trunk/tinySIGCOMP/src/tcomp_compartment.c @@ -1,7 +1,7 @@ /* * Copyright (C) 2009 Mamadou Diop. * -* Contact: Mamadou Diop +* Contact: Mamadou Diop * * This file is part of Open Source Doubango Framework. * diff --git a/trunk/tinySIGCOMP/src/tcomp_compartment.h b/trunk/tinySIGCOMP/src/tcomp_compartment.h index 16675705..0d469f5e 100644 --- a/trunk/tinySIGCOMP/src/tcomp_compartment.h +++ b/trunk/tinySIGCOMP/src/tcomp_compartment.h @@ -1,7 +1,7 @@ /* * Copyright (C) 2009 Mamadou Diop. * -* Contact: Mamadou Diop +* Contact: Mamadou Diop * * This file is part of Open Source Doubango Framework. * diff --git a/trunk/tinySIGCOMP/src/tcomp_compressor.h b/trunk/tinySIGCOMP/src/tcomp_compressor.h index 6d1b40de..cc75a145 100644 --- a/trunk/tinySIGCOMP/src/tcomp_compressor.h +++ b/trunk/tinySIGCOMP/src/tcomp_compressor.h @@ -1,7 +1,7 @@ /* * Copyright (C) 2009 Mamadou Diop. * -* Contact: Mamadou Diop +* Contact: Mamadou Diop * * This file is part of Open Source Doubango Framework. * diff --git a/trunk/tinySIGCOMP/src/tcomp_compressor_deflate.c b/trunk/tinySIGCOMP/src/tcomp_compressor_deflate.c index 77a9faa6..48a391a5 100644 --- a/trunk/tinySIGCOMP/src/tcomp_compressor_deflate.c +++ b/trunk/tinySIGCOMP/src/tcomp_compressor_deflate.c @@ -1,7 +1,7 @@ /* * Copyright (C) 2009 Mamadou Diop. * -* Contact: Mamadou Diop +* Contact: Mamadou Diop * * This file is part of Open Source Doubango Framework. * diff --git a/trunk/tinySIGCOMP/src/tcomp_compressor_deflate.h b/trunk/tinySIGCOMP/src/tcomp_compressor_deflate.h index bf17fc12..d7df268a 100644 --- a/trunk/tinySIGCOMP/src/tcomp_compressor_deflate.h +++ b/trunk/tinySIGCOMP/src/tcomp_compressor_deflate.h @@ -1,7 +1,7 @@ /* * Copyright (C) 2009 Mamadou Diop. * -* Contact: Mamadou Diop +* Contact: Mamadou Diop * * This file is part of Open Source Doubango Framework. * diff --git a/trunk/tinySIGCOMP/src/tcomp_compressor_dummy.c b/trunk/tinySIGCOMP/src/tcomp_compressor_dummy.c index e118bc2f..621b6f65 100644 --- a/trunk/tinySIGCOMP/src/tcomp_compressor_dummy.c +++ b/trunk/tinySIGCOMP/src/tcomp_compressor_dummy.c @@ -1,7 +1,7 @@ /* * Copyright (C) 2009 Mamadou Diop. * -* Contact: Mamadou Diop +* Contact: Mamadou Diop * * This file is part of Open Source Doubango Framework. * diff --git a/trunk/tinySIGCOMP/src/tcomp_compressor_dummy.h b/trunk/tinySIGCOMP/src/tcomp_compressor_dummy.h index 750ec289..005fe900 100644 --- a/trunk/tinySIGCOMP/src/tcomp_compressor_dummy.h +++ b/trunk/tinySIGCOMP/src/tcomp_compressor_dummy.h @@ -1,7 +1,7 @@ /* * Copyright (C) 2009 Mamadou Diop. * -* Contact: Mamadou Diop +* Contact: Mamadou Diop * * This file is part of Open Source Doubango Framework. * diff --git a/trunk/tinySIGCOMP/src/tcomp_compressordata.c b/trunk/tinySIGCOMP/src/tcomp_compressordata.c index 0d74400d..846aba8a 100644 --- a/trunk/tinySIGCOMP/src/tcomp_compressordata.c +++ b/trunk/tinySIGCOMP/src/tcomp_compressordata.c @@ -1,7 +1,7 @@ ///* //* Copyright (C) 2009 Mamadou Diop. //* -//* Contact: Mamadou Diop +//* Contact: Mamadou Diop //* //* This file is part of Open Source Doubango Framework. //* diff --git a/trunk/tinySIGCOMP/src/tcomp_compressordata.h b/trunk/tinySIGCOMP/src/tcomp_compressordata.h index ad84ff9a..63c4b385 100644 --- a/trunk/tinySIGCOMP/src/tcomp_compressordata.h +++ b/trunk/tinySIGCOMP/src/tcomp_compressordata.h @@ -1,7 +1,7 @@ /* * Copyright (C) 2009 Mamadou Diop. * -* Contact: Mamadou Diop +* Contact: Mamadou Diop * * This file is part of Open Source Doubango Framework. * diff --git a/trunk/tinySIGCOMP/src/tcomp_compressordisp.c b/trunk/tinySIGCOMP/src/tcomp_compressordisp.c index 1bed2a15..70e0d779 100644 --- a/trunk/tinySIGCOMP/src/tcomp_compressordisp.c +++ b/trunk/tinySIGCOMP/src/tcomp_compressordisp.c @@ -1,7 +1,7 @@ /* * Copyright (C) 2009 Mamadou Diop. * -* Contact: Mamadou Diop +* Contact: Mamadou Diop * * This file is part of Open Source Doubango Framework. * diff --git a/trunk/tinySIGCOMP/src/tcomp_compressordisp.h b/trunk/tinySIGCOMP/src/tcomp_compressordisp.h index 56663891..c00fafde 100644 --- a/trunk/tinySIGCOMP/src/tcomp_compressordisp.h +++ b/trunk/tinySIGCOMP/src/tcomp_compressordisp.h @@ -1,7 +1,7 @@ /* * Copyright (C) 2009 Mamadou Diop. * -* Contact: Mamadou Diop +* Contact: Mamadou Diop * * This file is part of Open Source Doubango Framework. * diff --git a/trunk/tinySIGCOMP/src/tcomp_decompressordisp.c b/trunk/tinySIGCOMP/src/tcomp_decompressordisp.c index c77f75ae..ab8588a8 100644 --- a/trunk/tinySIGCOMP/src/tcomp_decompressordisp.c +++ b/trunk/tinySIGCOMP/src/tcomp_decompressordisp.c @@ -1,7 +1,7 @@ /* * Copyright (C) 2009 Mamadou Diop. * -* Contact: Mamadou Diop +* Contact: Mamadou Diop * * This file is part of Open Source Doubango Framework. * diff --git a/trunk/tinySIGCOMP/src/tcomp_decompressordisp.h b/trunk/tinySIGCOMP/src/tcomp_decompressordisp.h index bac51d3a..8fa2d406 100644 --- a/trunk/tinySIGCOMP/src/tcomp_decompressordisp.h +++ b/trunk/tinySIGCOMP/src/tcomp_decompressordisp.h @@ -1,7 +1,7 @@ /* * Copyright (C) 2009 Mamadou Diop. * -* Contact: Mamadou Diop +* Contact: Mamadou Diop * * This file is part of Open Source Doubango Framework. * diff --git a/trunk/tinySIGCOMP/src/tcomp_deflatedata.c b/trunk/tinySIGCOMP/src/tcomp_deflatedata.c index fb952cda..2a73568e 100644 --- a/trunk/tinySIGCOMP/src/tcomp_deflatedata.c +++ b/trunk/tinySIGCOMP/src/tcomp_deflatedata.c @@ -1,7 +1,7 @@ /* * Copyright (C) 2009 Mamadou Diop. * -* Contact: Mamadou Diop +* Contact: Mamadou Diop * * This file is part of Open Source Doubango Framework. * diff --git a/trunk/tinySIGCOMP/src/tcomp_deflatedata.ghost.c b/trunk/tinySIGCOMP/src/tcomp_deflatedata.ghost.c index 2f3c5135..5bb2ab78 100644 --- a/trunk/tinySIGCOMP/src/tcomp_deflatedata.ghost.c +++ b/trunk/tinySIGCOMP/src/tcomp_deflatedata.ghost.c @@ -1,7 +1,7 @@ /* * Copyright (C) 2009 Mamadou Diop. * -* Contact: Mamadou Diop +* Contact: Mamadou Diop * * This file is part of Open Source Doubango Framework. * diff --git a/trunk/tinySIGCOMP/src/tcomp_deflatedata.h b/trunk/tinySIGCOMP/src/tcomp_deflatedata.h index 2f920773..85964534 100644 --- a/trunk/tinySIGCOMP/src/tcomp_deflatedata.h +++ b/trunk/tinySIGCOMP/src/tcomp_deflatedata.h @@ -1,7 +1,7 @@ /* * Copyright (C) 2009 Mamadou Diop. * -* Contact: Mamadou Diop +* Contact: Mamadou Diop * * This file is part of Open Source Doubango Framework. * diff --git a/trunk/tinySIGCOMP/src/tcomp_deflatedata.zlib.c b/trunk/tinySIGCOMP/src/tcomp_deflatedata.zlib.c index 56dd6cb5..2d2b1c28 100644 --- a/trunk/tinySIGCOMP/src/tcomp_deflatedata.zlib.c +++ b/trunk/tinySIGCOMP/src/tcomp_deflatedata.zlib.c @@ -1,7 +1,7 @@ /* * Copyright (C) 2009 Mamadou Diop. * -* Contact: Mamadou Diop +* Contact: Mamadou Diop * * This file is part of Open Source Doubango Framework. * diff --git a/trunk/tinySIGCOMP/src/tcomp_dicts.c b/trunk/tinySIGCOMP/src/tcomp_dicts.c index 6e255a18..283cfb8a 100644 --- a/trunk/tinySIGCOMP/src/tcomp_dicts.c +++ b/trunk/tinySIGCOMP/src/tcomp_dicts.c @@ -1,7 +1,7 @@ /* * Copyright (C) 2009 Mamadou Diop. * -* Contact: Mamadou Diop +* Contact: Mamadou Diop * * This file is part of Open Source Doubango Framework. * diff --git a/trunk/tinySIGCOMP/src/tcomp_dicts.h b/trunk/tinySIGCOMP/src/tcomp_dicts.h index f909c80c..67f81bfc 100644 --- a/trunk/tinySIGCOMP/src/tcomp_dicts.h +++ b/trunk/tinySIGCOMP/src/tcomp_dicts.h @@ -1,7 +1,7 @@ /* * Copyright (C) 2009 Mamadou Diop. * -* Contact: Mamadou Diop +* Contact: Mamadou Diop * * This file is part of Open Source Doubango Framework. * diff --git a/trunk/tinySIGCOMP/src/tcomp_headers_index.h b/trunk/tinySIGCOMP/src/tcomp_headers_index.h index 0a68ea82..43042c5a 100644 --- a/trunk/tinySIGCOMP/src/tcomp_headers_index.h +++ b/trunk/tinySIGCOMP/src/tcomp_headers_index.h @@ -1,7 +1,7 @@ /* * Copyright (C) 2009 Mamadou Diop. * -* Contact: Mamadou Diop +* Contact: Mamadou Diop * * This file is part of Open Source Doubango Framework. * diff --git a/trunk/tinySIGCOMP/src/tcomp_instructions.h b/trunk/tinySIGCOMP/src/tcomp_instructions.h index b45b010b..654bba4a 100644 --- a/trunk/tinySIGCOMP/src/tcomp_instructions.h +++ b/trunk/tinySIGCOMP/src/tcomp_instructions.h @@ -1,7 +1,7 @@ /* * Copyright (C) 2009 Mamadou Diop. * -* Contact: Mamadou Diop +* Contact: Mamadou Diop * * This file is part of Open Source Doubango Framework. * diff --git a/trunk/tinySIGCOMP/src/tcomp_manager.c b/trunk/tinySIGCOMP/src/tcomp_manager.c index 6480a735..5f01550d 100644 --- a/trunk/tinySIGCOMP/src/tcomp_manager.c +++ b/trunk/tinySIGCOMP/src/tcomp_manager.c @@ -1,7 +1,7 @@ /* * Copyright (C) 2009 Mamadou Diop. * -* Contact: Mamadou Diop +* Contact: Mamadou Diop * * This file is part of Open Source Doubango Framework. * diff --git a/trunk/tinySIGCOMP/src/tcomp_manager.h b/trunk/tinySIGCOMP/src/tcomp_manager.h index d3a21da2..14554766 100644 --- a/trunk/tinySIGCOMP/src/tcomp_manager.h +++ b/trunk/tinySIGCOMP/src/tcomp_manager.h @@ -1,7 +1,7 @@ /* * Copyright (C) 2009 Mamadou Diop. * -* Contact: Mamadou Diop +* Contact: Mamadou Diop * * This file is part of Open Source Doubango Framework. * diff --git a/trunk/tinySIGCOMP/src/tcomp_message.c b/trunk/tinySIGCOMP/src/tcomp_message.c index d943b775..44270b8e 100644 --- a/trunk/tinySIGCOMP/src/tcomp_message.c +++ b/trunk/tinySIGCOMP/src/tcomp_message.c @@ -1,7 +1,7 @@ /* * Copyright (C) 2009 Mamadou Diop. * -* Contact: Mamadou Diop +* Contact: Mamadou Diop * * This file is part of Open Source Doubango Framework. * diff --git a/trunk/tinySIGCOMP/src/tcomp_message.h b/trunk/tinySIGCOMP/src/tcomp_message.h index fab3e1ad..ba8b363f 100644 --- a/trunk/tinySIGCOMP/src/tcomp_message.h +++ b/trunk/tinySIGCOMP/src/tcomp_message.h @@ -1,7 +1,7 @@ /* * Copyright (C) 2009 Mamadou Diop. * -* Contact: Mamadou Diop +* Contact: Mamadou Diop * * This file is part of Open Source Doubango Framework. * diff --git a/trunk/tinySIGCOMP/src/tcomp_nack_codes.h b/trunk/tinySIGCOMP/src/tcomp_nack_codes.h index 4e0ac451..91d8318c 100644 --- a/trunk/tinySIGCOMP/src/tcomp_nack_codes.h +++ b/trunk/tinySIGCOMP/src/tcomp_nack_codes.h @@ -1,7 +1,7 @@ /* * Copyright (C) 2009 Mamadou Diop. * -* Contact: Mamadou Diop +* Contact: Mamadou Diop * * This file is part of Open Source Doubango Framework. * diff --git a/trunk/tinySIGCOMP/src/tcomp_nackinfo.c b/trunk/tinySIGCOMP/src/tcomp_nackinfo.c index f13d1b67..5a442078 100644 --- a/trunk/tinySIGCOMP/src/tcomp_nackinfo.c +++ b/trunk/tinySIGCOMP/src/tcomp_nackinfo.c @@ -1,7 +1,7 @@ /* * Copyright (C) 2009 Mamadou Diop. * -* Contact: Mamadou Diop +* Contact: Mamadou Diop * * This file is part of Open Source Doubango Framework. * diff --git a/trunk/tinySIGCOMP/src/tcomp_nackinfo.h b/trunk/tinySIGCOMP/src/tcomp_nackinfo.h index 81b2940b..e5609d07 100644 --- a/trunk/tinySIGCOMP/src/tcomp_nackinfo.h +++ b/trunk/tinySIGCOMP/src/tcomp_nackinfo.h @@ -1,7 +1,7 @@ /* * Copyright (C) 2009 Mamadou Diop. * -* Contact: Mamadou Diop +* Contact: Mamadou Diop * * This file is part of Open Source Doubango Framework. * diff --git a/trunk/tinySIGCOMP/src/tcomp_operands.h b/trunk/tinySIGCOMP/src/tcomp_operands.h index 6a44c594..65d38261 100644 --- a/trunk/tinySIGCOMP/src/tcomp_operands.h +++ b/trunk/tinySIGCOMP/src/tcomp_operands.h @@ -1,7 +1,7 @@ /* * Copyright (C) 2009 Mamadou Diop. * -* Contact: Mamadou Diop +* Contact: Mamadou Diop * * This file is part of Open Source Doubango Framework. * diff --git a/trunk/tinySIGCOMP/src/tcomp_params.c b/trunk/tinySIGCOMP/src/tcomp_params.c index aff27c27..58b6500f 100644 --- a/trunk/tinySIGCOMP/src/tcomp_params.c +++ b/trunk/tinySIGCOMP/src/tcomp_params.c @@ -1,7 +1,7 @@ /* * Copyright (C) 2009 Mamadou Diop. * -* Contact: Mamadou Diop +* Contact: Mamadou Diop * * This file is part of Open Source Doubango Framework. * diff --git a/trunk/tinySIGCOMP/src/tcomp_params.h b/trunk/tinySIGCOMP/src/tcomp_params.h index 51ff5861..36cbef0e 100644 --- a/trunk/tinySIGCOMP/src/tcomp_params.h +++ b/trunk/tinySIGCOMP/src/tcomp_params.h @@ -1,7 +1,7 @@ /* * Copyright (C) 2009 Mamadou Diop. * -* Contact: Mamadou Diop +* Contact: Mamadou Diop * * This file is part of Open Source Doubango Framework. * diff --git a/trunk/tinySIGCOMP/src/tcomp_reqfeed.c b/trunk/tinySIGCOMP/src/tcomp_reqfeed.c index 44d2c5ed..1d420532 100644 --- a/trunk/tinySIGCOMP/src/tcomp_reqfeed.c +++ b/trunk/tinySIGCOMP/src/tcomp_reqfeed.c @@ -1,7 +1,7 @@ /* * Copyright (C) 2009 Mamadou Diop. * -* Contact: Mamadou Diop +* Contact: Mamadou Diop * * This file is part of Open Source Doubango Framework. * diff --git a/trunk/tinySIGCOMP/src/tcomp_reqfeed.h b/trunk/tinySIGCOMP/src/tcomp_reqfeed.h index 049b5f5f..1d312b8e 100644 --- a/trunk/tinySIGCOMP/src/tcomp_reqfeed.h +++ b/trunk/tinySIGCOMP/src/tcomp_reqfeed.h @@ -1,7 +1,7 @@ /* * Copyright (C) 2009 Mamadou Diop. * -* Contact: Mamadou Diop +* Contact: Mamadou Diop * * This file is part of Open Source Doubango Framework. * diff --git a/trunk/tinySIGCOMP/src/tcomp_result.c b/trunk/tinySIGCOMP/src/tcomp_result.c index 0927ea4c..9c618e72 100644 --- a/trunk/tinySIGCOMP/src/tcomp_result.c +++ b/trunk/tinySIGCOMP/src/tcomp_result.c @@ -1,7 +1,7 @@ /* * Copyright (C) 2009 Mamadou Diop. * -* Contact: Mamadou Diop +* Contact: Mamadou Diop * * This file is part of Open Source Doubango Framework. * diff --git a/trunk/tinySIGCOMP/src/tcomp_result.h b/trunk/tinySIGCOMP/src/tcomp_result.h index cb0d91b8..2b3cbb88 100644 --- a/trunk/tinySIGCOMP/src/tcomp_result.h +++ b/trunk/tinySIGCOMP/src/tcomp_result.h @@ -1,7 +1,7 @@ /* * Copyright (C) 2009 Mamadou Diop. * -* Contact: Mamadou Diop +* Contact: Mamadou Diop * * This file is part of Open Source Doubango Framework. * diff --git a/trunk/tinySIGCOMP/src/tcomp_rfc3485_dictionary_sip.h b/trunk/tinySIGCOMP/src/tcomp_rfc3485_dictionary_sip.h index 85d9d058..f90e2a27 100644 --- a/trunk/tinySIGCOMP/src/tcomp_rfc3485_dictionary_sip.h +++ b/trunk/tinySIGCOMP/src/tcomp_rfc3485_dictionary_sip.h @@ -1,7 +1,7 @@ /* * Copyright (C) 2009 Mamadou Diop. * -* Contact: Mamadou Diop +* Contact: Mamadou Diop * * This file is part of Open Source Doubango Framework. * diff --git a/trunk/tinySIGCOMP/src/tcomp_rfc5049_sip.h b/trunk/tinySIGCOMP/src/tcomp_rfc5049_sip.h index 97a09dc0..d335d72b 100644 --- a/trunk/tinySIGCOMP/src/tcomp_rfc5049_sip.h +++ b/trunk/tinySIGCOMP/src/tcomp_rfc5049_sip.h @@ -1,7 +1,7 @@ /* * Copyright (C) 2009 Mamadou Diop. * -* Contact: Mamadou Diop +* Contact: Mamadou Diop * * This file is part of Open Source Doubango Framework. * diff --git a/trunk/tinySIGCOMP/src/tcomp_rfc5112_dictionary_presence.h b/trunk/tinySIGCOMP/src/tcomp_rfc5112_dictionary_presence.h index 5a20e13f..df88604f 100644 --- a/trunk/tinySIGCOMP/src/tcomp_rfc5112_dictionary_presence.h +++ b/trunk/tinySIGCOMP/src/tcomp_rfc5112_dictionary_presence.h @@ -1,7 +1,7 @@ /* * Copyright (C) 2009 Mamadou Diop. * -* Contact: Mamadou Diop +* Contact: Mamadou Diop * * This file is part of Open Source Doubango Framework. * diff --git a/trunk/tinySIGCOMP/src/tcomp_state.c b/trunk/tinySIGCOMP/src/tcomp_state.c index b07707ac..a8c5f05c 100644 --- a/trunk/tinySIGCOMP/src/tcomp_state.c +++ b/trunk/tinySIGCOMP/src/tcomp_state.c @@ -1,7 +1,7 @@ /* * Copyright (C) 2009 Mamadou Diop. * -* Contact: Mamadou Diop +* Contact: Mamadou Diop * * This file is part of Open Source Doubango Framework. * diff --git a/trunk/tinySIGCOMP/src/tcomp_state.h b/trunk/tinySIGCOMP/src/tcomp_state.h index 3bd0d9ab..33677258 100644 --- a/trunk/tinySIGCOMP/src/tcomp_state.h +++ b/trunk/tinySIGCOMP/src/tcomp_state.h @@ -1,7 +1,7 @@ /* * Copyright (C) 2009 Mamadou Diop. * -* Contact: Mamadou Diop +* Contact: Mamadou Diop * * This file is part of Open Source Doubango Framework. * diff --git a/trunk/tinySIGCOMP/src/tcomp_statehandler.c b/trunk/tinySIGCOMP/src/tcomp_statehandler.c index d3630b02..61916b06 100644 --- a/trunk/tinySIGCOMP/src/tcomp_statehandler.c +++ b/trunk/tinySIGCOMP/src/tcomp_statehandler.c @@ -1,7 +1,7 @@ /* * Copyright (C) 2009 Mamadou Diop. * -* Contact: Mamadou Diop +* Contact: Mamadou Diop * * This file is part of Open Source Doubango Framework. * diff --git a/trunk/tinySIGCOMP/src/tcomp_statehandler.h b/trunk/tinySIGCOMP/src/tcomp_statehandler.h index 208d5190..2677b216 100644 --- a/trunk/tinySIGCOMP/src/tcomp_statehandler.h +++ b/trunk/tinySIGCOMP/src/tcomp_statehandler.h @@ -1,7 +1,7 @@ /* * Copyright (C) 2009 Mamadou Diop. * -* Contact: Mamadou Diop +* Contact: Mamadou Diop * * This file is part of Open Source Doubango Framework. * diff --git a/trunk/tinySIGCOMP/src/tcomp_types.h b/trunk/tinySIGCOMP/src/tcomp_types.h index f39eab84..4ee4d948 100644 --- a/trunk/tinySIGCOMP/src/tcomp_types.h +++ b/trunk/tinySIGCOMP/src/tcomp_types.h @@ -1,7 +1,7 @@ /* * Copyright (C) 2009 Mamadou Diop. * -* Contact: Mamadou Diop +* Contact: Mamadou Diop * * This file is part of Open Source Doubango Framework. * diff --git a/trunk/tinySIGCOMP/src/tcomp_udvm.bytecopy.c b/trunk/tinySIGCOMP/src/tcomp_udvm.bytecopy.c index 3aeab058..696c362c 100644 --- a/trunk/tinySIGCOMP/src/tcomp_udvm.bytecopy.c +++ b/trunk/tinySIGCOMP/src/tcomp_udvm.bytecopy.c @@ -1,7 +1,7 @@ /* * Copyright (C) 2009 Mamadou Diop. * -* Contact: Mamadou Diop +* Contact: Mamadou Diop * * This file is part of Open Source Doubango Framework. * diff --git a/trunk/tinySIGCOMP/src/tcomp_udvm.c b/trunk/tinySIGCOMP/src/tcomp_udvm.c index 0f9097d7..8f34d83d 100644 --- a/trunk/tinySIGCOMP/src/tcomp_udvm.c +++ b/trunk/tinySIGCOMP/src/tcomp_udvm.c @@ -1,7 +1,7 @@ /* * Copyright (C) 2009 Mamadou Diop. * -* Contact: Mamadou Diop +* Contact: Mamadou Diop * * This file is part of Open Source Doubango Framework. * diff --git a/trunk/tinySIGCOMP/src/tcomp_udvm.h b/trunk/tinySIGCOMP/src/tcomp_udvm.h index ceadf33e..73a4cffc 100644 --- a/trunk/tinySIGCOMP/src/tcomp_udvm.h +++ b/trunk/tinySIGCOMP/src/tcomp_udvm.h @@ -1,7 +1,7 @@ /* * Copyright (C) 2009 Mamadou Diop. * -* Contact: Mamadou Diop +* Contact: Mamadou Diop * * This file is part of Open Source Doubango Framework. * diff --git a/trunk/tinySIGCOMP/src/tcomp_udvm.instructions.c b/trunk/tinySIGCOMP/src/tcomp_udvm.instructions.c index b6d3e5e9..1a3a74cf 100644 --- a/trunk/tinySIGCOMP/src/tcomp_udvm.instructions.c +++ b/trunk/tinySIGCOMP/src/tcomp_udvm.instructions.c @@ -1,7 +1,7 @@ /* * Copyright (C) 2009 Mamadou Diop. * -* Contact: Mamadou Diop +* Contact: Mamadou Diop * * This file is part of Open Source Doubango Framework. * diff --git a/trunk/tinySIGCOMP/src/tcomp_udvm.nack.c b/trunk/tinySIGCOMP/src/tcomp_udvm.nack.c index 50a3a50f..fa31391d 100644 --- a/trunk/tinySIGCOMP/src/tcomp_udvm.nack.c +++ b/trunk/tinySIGCOMP/src/tcomp_udvm.nack.c @@ -1,7 +1,7 @@ /* * Copyright (C) 2009 Mamadou Diop. * -* Contact: Mamadou Diop +* Contact: Mamadou Diop * * This file is part of Open Source Doubango Framework. * diff --git a/trunk/tinySIGCOMP/src/tcomp_udvm.operands.c b/trunk/tinySIGCOMP/src/tcomp_udvm.operands.c index a2e5996f..91243efb 100644 --- a/trunk/tinySIGCOMP/src/tcomp_udvm.operands.c +++ b/trunk/tinySIGCOMP/src/tcomp_udvm.operands.c @@ -1,7 +1,7 @@ /* * Copyright (C) 2009 Mamadou Diop. * -* Contact: Mamadou Diop +* Contact: Mamadou Diop * * This file is part of Open Source Doubango Framework. * diff --git a/trunk/tinySIGCOMP/src/tcomp_udvm.statemanagment.c b/trunk/tinySIGCOMP/src/tcomp_udvm.statemanagment.c index 8589a3b4..8632337b 100644 --- a/trunk/tinySIGCOMP/src/tcomp_udvm.statemanagment.c +++ b/trunk/tinySIGCOMP/src/tcomp_udvm.statemanagment.c @@ -1,7 +1,7 @@ /* * Copyright (C) 2009 Mamadou Diop. * -* Contact: Mamadou Diop +* Contact: Mamadou Diop * * This file is part of Open Source Doubango Framework. * diff --git a/trunk/tinySIGCOMP/src/tinysigcomp_config.h b/trunk/tinySIGCOMP/src/tinysigcomp_config.h index 1fba2521..4de78705 100644 --- a/trunk/tinySIGCOMP/src/tinysigcomp_config.h +++ b/trunk/tinySIGCOMP/src/tinysigcomp_config.h @@ -1,7 +1,7 @@ /* * Copyright (C) 2009 Mamadou Diop. * -* Contact: Mamadou Diop +* Contact: Mamadou Diop * * This file is part of Open Source Doubango Framework. * diff --git a/trunk/tinySIGCOMP/test/rfc4465_torture_tests.h b/trunk/tinySIGCOMP/test/rfc4465_torture_tests.h index 601e1202..ae88f7a9 100644 --- a/trunk/tinySIGCOMP/test/rfc4465_torture_tests.h +++ b/trunk/tinySIGCOMP/test/rfc4465_torture_tests.h @@ -1,7 +1,7 @@ /* * Copyright (C) 2009 Mamadou Diop. * -* Contact: Mamadou Diop +* Contact: Mamadou Diop * * This file is part of Open Source Doubango Framework. * diff --git a/trunk/tinySIGCOMP/test/stdafx.c b/trunk/tinySIGCOMP/test/stdafx.c index d0955518..59df1b5e 100644 --- a/trunk/tinySIGCOMP/test/stdafx.c +++ b/trunk/tinySIGCOMP/test/stdafx.c @@ -1,7 +1,7 @@ /* * Copyright (C) 2009 Mamadou Diop. * -* Contact: Mamadou Diop +* Contact: Mamadou Diop * * This file is part of Open Source Doubango Framework. * diff --git a/trunk/tinySIGCOMP/test/stdafx.h b/trunk/tinySIGCOMP/test/stdafx.h index 7bc970e6..541dbbb8 100644 --- a/trunk/tinySIGCOMP/test/stdafx.h +++ b/trunk/tinySIGCOMP/test/stdafx.h @@ -1,7 +1,7 @@ /* * Copyright (C) 2009 Mamadou Diop. * -* Contact: Mamadou Diop +* Contact: Mamadou Diop * * This file is part of Open Source Doubango Framework. * diff --git a/trunk/tinySIGCOMP/test/test.c b/trunk/tinySIGCOMP/test/test.c index 5facd357..33eb7c59 100644 --- a/trunk/tinySIGCOMP/test/test.c +++ b/trunk/tinySIGCOMP/test/test.c @@ -1,7 +1,7 @@ /* * Copyright (C) 2009 Mamadou Diop. * -* Contact: Mamadou Diop +* Contact: Mamadou Diop * * This file is part of Open Source Doubango Framework. * diff --git a/trunk/tinySIP/include/tinysip/api/tsip_api.h b/trunk/tinySIP/include/tinysip/api/tsip_api.h index b7e5e433..9611c30f 100644 --- a/trunk/tinySIP/include/tinysip/api/tsip_api.h +++ b/trunk/tinySIP/include/tinysip/api/tsip_api.h @@ -1,7 +1,7 @@ /* * Copyright (C) 2009 Mamadou Diop. * -* Contact: Mamadou Diop +* Contact: Mamadou Diop * * This file is part of Open Source Doubango Framework. * diff --git a/trunk/tinySMS/include/tinysms.h b/trunk/tinySMS/include/tinysms.h new file mode 100644 index 00000000..4143e743 --- /dev/null +++ b/trunk/tinySMS/include/tinysms.h @@ -0,0 +1,25 @@ +/* +* Copyright (C) 2009 Mamadou Diop. +* +* Contact: Mamadou Diop +* +* This file is part of Open Source Doubango Framework. +* +* DOUBANGO is free software: you can redistribute it and/or modify +* it under the terms of the GNU General Public License as published by +* the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* DOUBANGO is distributed in the hope that it will be useful, +* but WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +* GNU General Public License for more details. +* +* You should have received a copy of the GNU General Public License +* along with DOUBANGO. +* +*/ +#include "tinySMS/tsms_packing.h" + +#include "tinySMS/rpdu/tsms_rpdu.h" +#include "tinySMS/tpdu/tsms_tpdu.h" \ No newline at end of file diff --git a/trunk/tinySMS/include/tinysms/tpdu/tsms_tpdu.h b/trunk/tinySMS/include/tinysms/tpdu/tsms_tpdu.h index 24247378..12b9c061 100644 --- a/trunk/tinySMS/include/tinysms/tpdu/tsms_tpdu.h +++ b/trunk/tinySMS/include/tinysms/tpdu/tsms_tpdu.h @@ -32,18 +32,33 @@ #include "tinysms_config.h" -#include "tsk_object.h" +#include "tinySMS/tsms_common.h" + +#include "tsk_buffer.h" TSMS_BEGIN_DECLS -typedef struct tsms_tpdu_s +typedef struct tsms_tpdu_ctx_s { TSK_DECLARE_OBJECT; - + uint8_t mr; + char* smsc; /**< SMSC*/ + char* phone; /**< Remote Phone number. */ + tsms_alphabet_t alphabet; /**< User data. */ + tsk_buffer_t* usrdata; /**< User data. */ } -tsms_tpdu_t; +tsms_tpdu_ctx_t; + +typedef void tsms_tpdu_ctx_handle_t; + +TINYSMS_API tsms_tpdu_ctx_handle_t* tsms_pdu_ctx_create(uint8_t mr, tsms_address_t smsc, tsms_address_t phone); +TINYSMS_API int tsms_pdu_ctx_set_alphabet(tsms_tpdu_ctx_handle_t* handle, tsms_alphabet_t alphabet); +TINYSMS_API int tsms_pdu_ctx_set_usrdata(tsms_tpdu_ctx_handle_t* handle, const void* data, size_t size); +TINYSMS_API tsk_buffer_t* tsms_pdu_ctx_getSUBMIT(tsms_tpdu_ctx_handle_t* handle); + +TINYSMS_GEXTERN const tsk_object_def_t *tsms_tpdu_ctx_def_t; TSMS_END_DECLS diff --git a/trunk/tinySMS/include/tinysms/tpdu/tsms_tpdu_command.h b/trunk/tinySMS/include/tinysms/tpdu/tsms_tpdu_command.h index 6d8bda8d..ee78de0a 100644 --- a/trunk/tinySMS/include/tinysms/tpdu/tsms_tpdu_command.h +++ b/trunk/tinySMS/include/tinysms/tpdu/tsms_tpdu_command.h @@ -20,7 +20,7 @@ * */ -/**@file tsms_tpdu.h +/**@file tsms_tpdu_command.h * @brief SMS TPDU SMS-COMMAND message as per 3GPP TS 23.040 section 9.2.2.4. * * @author Mamadou Diop @@ -37,6 +37,8 @@ TSMS_BEGIN_DECLS +#define TSMS_TPDU_COMMAND_CREATE() tsk_object_new(tsms_tpdu_command_def_t) + /** SMS TPDU SMS-COMMAND message as per 3GPP TS 23.040 section 9.2.2.4. */ typedef struct tsms_tpdu_command_s @@ -63,7 +65,7 @@ typedef struct tsms_tpdu_command_s uint8_t mn; /** TP Destination Address (M - 2-12o) * Parameter indicating the Destination Address to which the TP Command refers. */ - uint8_t da[12]; + tsms_address_t da; /** TP Command Data Length (M - o) * Parameter indicating the length of the TP-CD field in octets. */ uint8_t cdl; @@ -73,4 +75,6 @@ typedef struct tsms_tpdu_command_s } tsms_tpdu_command_t; +TINYSMS_GEXTERN const tsk_object_def_t *tsms_tpdu_command_def_t; + #endif /* TINYSMS_TSMS_TPDU_COMMAND_H */ diff --git a/trunk/tinySMS/include/tinysms/tpdu/tsms_tpdu_deliver.h b/trunk/tinySMS/include/tinysms/tpdu/tsms_tpdu_deliver.h index 9bb8f877..080f780a 100644 --- a/trunk/tinySMS/include/tinysms/tpdu/tsms_tpdu_deliver.h +++ b/trunk/tinySMS/include/tinysms/tpdu/tsms_tpdu_deliver.h @@ -60,7 +60,7 @@ typedef struct tsms_tpdu_deliver_s unsigned sri:1; /** TP Originating Address (M - 2-12o) * Address of the originating SME. */ - uint8_t oa[12]; + tsms_address_t oa; /** TP Protocol Identifier (M - o) * Parameter identifying the above layer protocol, if any. */ uint8_t pid; diff --git a/trunk/tinySMS/include/tinysms/tpdu/tsms_tpdu_status_report.h b/trunk/tinySMS/include/tinysms/tpdu/tsms_tpdu_status_report.h index ed8042f1..9ca49c02 100644 --- a/trunk/tinySMS/include/tinysms/tpdu/tsms_tpdu_status_report.h +++ b/trunk/tinySMS/include/tinysms/tpdu/tsms_tpdu_status_report.h @@ -60,7 +60,7 @@ typedef struct tsms_tpdu_status_report_s unsigned mr; /** TP Recipient Address (M - 2-12o) * Address of the recipient of the previously submitted mobile originated short message. */ - uint8_t ra[12]; + tsms_address_t ra; /** TP Service Centre Time Stamp (M - 7o) * Parameter identifying time when the SC received the previously sent SMS SUBMIT. */ uint8_t scts[7]; diff --git a/trunk/tinySMS/include/tinysms/tpdu/tsms_tpdu_submit.h b/trunk/tinySMS/include/tinysms/tpdu/tsms_tpdu_submit.h index 29f36d37..59bd4f22 100644 --- a/trunk/tinySMS/include/tinysms/tpdu/tsms_tpdu_submit.h +++ b/trunk/tinySMS/include/tinysms/tpdu/tsms_tpdu_submit.h @@ -37,6 +37,9 @@ TSMS_BEGIN_DECLS + +#define TSMS_TPDU_SUBMIT_CREATE() tsk_object_new(tsms_tpdu_submit_def_t) + /** SMS TPDU SMS-SUBMIT message as per 3GPP TS 23.040 section 9.2.2.2 */ typedef struct tsms_tpdu_submit_s @@ -65,7 +68,10 @@ typedef struct tsms_tpdu_submit_s unsigned mr; /** TP Destination Address (M - 2-12o) * Address of the destination SME. */ - uint8_t da[12]; + tsms_address_t da; + /** TP Protocol Identifier (M - o) + * Parameter identifying the above layer protocol, if any. */ + uint8_t pid; /** TP Data Coding Scheme (M - o) * Parameter identifying the coding scheme within the TP User Data. */ uint8_t dcs; @@ -81,6 +87,9 @@ typedef struct tsms_tpdu_submit_s } tsms_tpdu_submit_t; + +TINYSMS_GEXTERN const tsk_object_def_t *tsms_tpdu_submit_def_t; + TSMS_END_DECLS #endif /* TINYSMS_TSMS_TPDU_SUBMIT_H */ diff --git a/trunk/tinySMS/include/tinysms/tsms_common.h b/trunk/tinySMS/include/tinysms/tsms_common.h index 081c42b7..071caedf 100644 --- a/trunk/tinySMS/include/tinysms/tsms_common.h +++ b/trunk/tinySMS/include/tinysms/tsms_common.h @@ -32,16 +32,22 @@ #include "tinysms_config.h" -#include "tsk_object.h" +#include "tsk_buffer.h" TSMS_BEGIN_DECLS +typedef uint8_t tsms_address_t[12]; +typedef int (*tsms_tpdu_message_serialize_f)(const struct tsms_tpdu_message_s* self, const tsk_buffer_t* output); + /** SMS alphabet values as per 3GPP TS 23.038 v911 section 4. * Part of TP-DCS (SMS Data Coding Scheme). */ typedef enum tsms_alphabet_e { - + /*11*/ tsms_alpha_reserved = 0x03, + /*00*/ tsms_alpha_7bit = 0x00, + /*01*/ tsms_alpha_8bit = 0x01, + /*10*/ tsms_alpha_ucs2 = 0x02 } tsms_alphabet_t; @@ -65,10 +71,15 @@ typedef struct tsms_tpdu_message_s { TSK_DECLARE_OBJECT; tsms_tpdu_mti_t mti; /**< TP Message Type Indicator (TP MTI) as per TS 23.040 section 9.2.3.1. 2-bit field. */ + tsms_tpdu_message_serialize_f serialize; } tsms_tpdu_message_t; #define TSMS_DECLARE_TPDU_MESSAGE tsms_tpdu_message_t tpdu +#define TSMS_TPDU_MESSAGE(self) ((tsms_tpdu_message_t*)(self)) +#define TSMS_TPDU_MESSAGE_SERIALIZE_F(self) ((tsms_tpdu_message_serialize_f)(self)) + +#define TSMS_TPDU_APPEND_SMSC 1 TSMS_END_DECLS diff --git a/trunk/tinySMS/include/tinysms/tsms_etsi_gsm_03_38.h b/trunk/tinySMS/include/tinysms/tsms_etsi_gsm_03_38.h index 82d3bded..57b408c2 100644 --- a/trunk/tinySMS/include/tinysms/tsms_etsi_gsm_03_38.h +++ b/trunk/tinySMS/include/tinysms/tsms_etsi_gsm_03_38.h @@ -35,7 +35,7 @@ TSMS_BEGIN_DECLS #define TSMS_ETSI_GSM_03_38_COUNT 123 -static const uint16_t TSMS_ETSI_GSM_03_38[TSMS_ETSI_GSM_03_38_COUNT][2] = +static uint16_t TSMS_ETSI_GSM_03_38[TSMS_ETSI_GSM_03_38_COUNT][2] = { 0x00, 0x0040 ,//# COMMERCIAL AT 0x01, 0x00A3 ,//# POUND SIGN diff --git a/trunk/tinySMS/include/tinysms/tsms_packing.h b/trunk/tinySMS/include/tinysms/tsms_packing.h new file mode 100644 index 00000000..9f52f2ba --- /dev/null +++ b/trunk/tinySMS/include/tinysms/tsms_packing.h @@ -0,0 +1,49 @@ +/* +* Copyright (C) 2009 Mamadou Diop. +* +* Contact: Mamadou Diop +* +* This file is part of Open Source Doubango Framework. +* +* DOUBANGO is free software: you can redistribute it and/or modify +* it under the terms of the GNU General Public License as published by +* the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* DOUBANGO is distributed in the hope that it will be useful, +* but WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +* GNU General Public License for more details. +* +* You should have received a copy of the GNU General Public License +* along with DOUBANGO. +* +*/ + +/**@file tsms_packing.h + * @brief SMS Packing (3GPP TS 23.038 subclause 6.1.2). + * + * @author Mamadou Diop + * + * @date Created: Sat Nov 8 16:54:58 2009 mdiop + */ +#ifndef TINYSMS_TSMS_PACKING_H +#define TINYSMS_TSMS_PACKING_H + +#include "tinysms_config.h" + +#include "tsk_buffer.h" + +TSMS_BEGIN_DECLS + +TINYSMS_API tsk_buffer_t* tsms_pack_to_7bit(const char* ascii); +TINYSMS_API tsk_buffer_t* tsms_pack_to_ucs2(const char* ascii); +TINYSMS_API tsk_buffer_t* tsms_pack_to_8bit(const char* ascii); + +TINYSMS_API char* tsms_pack_from_7bit(const void* gsm7bit, size_t size); +TINYSMS_API char* tsms_pack_from_ucs2(const void* ucs2, size_t size); +TINYSMS_API char* tsms_pack_from_8bit(const void* gsm8bit, size_t size); + +TSMS_END_DECLS + +#endif /* TINYSMS_TSMS_PACKING_H */ diff --git a/trunk/tinySMS/src/tpdu/tsms_tpdu.c b/trunk/tinySMS/src/tpdu/tsms_tpdu.c index 1bf7f876..1b40fea4 100644 --- a/trunk/tinySMS/src/tpdu/tsms_tpdu.c +++ b/trunk/tinySMS/src/tpdu/tsms_tpdu.c @@ -20,7 +20,7 @@ * */ -/**@file tsms_tpdu.c +/**@file tsms_tpdu_ctx.c * @brief SMS TPDU encoder/decoder as per 3GPP TS 23.040. * * @author Mamadou Diop @@ -28,3 +28,127 @@ * @date Created: Sat Nov 8 16:54:58 2009 mdiop */ #include "tinySMS/tpdu/tsms_tpdu.h" + +#include "tinySMS/tpdu/tsms_tpdu_submit.h" + +#include "tsk_string.h" +#include "tsk_memory.h" +#include "tsk_debug.h" + +/**@defgroup tsms_pdu_group SMS TPDU encoder/decoder +*/ + +/**@ingroup tsms_pdu_group +*/ +tsms_tpdu_ctx_handle_t* tsms_pdu_ctx_create(uint8_t mr, tsms_address_t smsc, tsms_address_t phone) +{ + tsms_tpdu_ctx_t* ret = tsk_null; + + if(!smsc){ + TSK_DEBUG_ERROR("SMSC is Null."); + goto bail; + } + + if(!(ret = tsk_object_new(tsms_tpdu_ctx_def_t, mr, smsc, phone))){ + goto bail; + } + +bail: + return ret; +} + +/**@ingroup tsms_pdu_group +*/ +int tsms_pdu_ctx_set_alphabet(tsms_tpdu_ctx_handle_t* handle, tsms_alphabet_t alphabet) +{ + tsms_tpdu_ctx_t* ctx = handle; + if(ctx){ + ctx->alphabet = alphabet; + return 0; + } + return -1; +} + +/**@ingroup tsms_pdu_group +*/ +int tsms_pdu_ctx_set_usrdata(tsms_tpdu_ctx_handle_t* handle, const void* data, size_t size) +{ + tsms_tpdu_ctx_t* ctx = handle; + if(ctx && data && size){ + TSK_OBJECT_SAFE_FREE(ctx->usrdata); + ctx->usrdata = TSK_BUFFER_CREATE(data, size); + return 0; + } + return -1; +} + +/**@ingroup tsms_pdu_group +*/ +tsk_buffer_t* tsms_pdu_ctx_getSUBMIT(tsms_tpdu_ctx_handle_t* handle) +{ + tsk_buffer_t* output = tsk_null; + tsms_tpdu_submit_t* submit = tsk_null; + + tsms_tpdu_ctx_t* ctx = handle; + + if(!ctx){ + TSK_DEBUG_ERROR("TPDU handle is Null."); + goto bail; + } + + if((submit = TSMS_TPDU_SUBMIT_CREATE())){ + output = TSK_BUFFER_CREATE_NULL(); + TSMS_TPDU_MESSAGE(submit)->serialize(TSMS_TPDU_MESSAGE(submit), output); + } + else{ + goto bail; + } + + + + +bail: + TSK_OBJECT_SAFE_FREE(submit); + return output; +} + +//================================================================================================= +// SMS TPDU object definition +// +static tsk_object_t* _tsms_tpdu_ctx_create(tsk_object_t * self, va_list * app) +{ + tsms_tpdu_ctx_t *ctx = self; + if(ctx){ +#if defined(__GNUC__) + ctx->mr = va_arg(*app, unsigned); +#else + ctx->mr = va_arg(*app, uint8_t); +#endif + ctx->smsc = tsk_strdup( va_arg(*app, const char*) ); + ctx->phone = tsk_strdup( va_arg(*app, const char*) ); + ctx->alphabet = tsms_alpha_7bit; + } + return self; +} + +static tsk_object_t* tsms_tpdu_ctx_destroy(tsk_object_t * self) +{ + tsms_tpdu_ctx_t *ctx = self; + if(ctx){ + TSK_FREE(ctx->smsc); + TSK_FREE(ctx->phone); + + TSK_OBJECT_SAFE_FREE(ctx->usrdata); + } + + return self; +} + +static const tsk_object_def_t tsms_tpdu_ctx_def_s = +{ + sizeof(tsms_tpdu_ctx_t), + _tsms_tpdu_ctx_create, + tsms_tpdu_ctx_destroy, + tsk_null, +}; +const tsk_object_def_t *tsms_tpdu_ctx_def_t = &tsms_tpdu_ctx_def_s; diff --git a/trunk/tinySMS/src/tpdu/tsms_tpdu_command.c b/trunk/tinySMS/src/tpdu/tsms_tpdu_command.c index e69de29b..7a481e0d 100644 --- a/trunk/tinySMS/src/tpdu/tsms_tpdu_command.c +++ b/trunk/tinySMS/src/tpdu/tsms_tpdu_command.c @@ -0,0 +1,69 @@ +/* +* Copyright (C) 2009 Mamadou Diop. +* +* Contact: Mamadou Diop +* +* This file is part of Open Source Doubango Framework. +* +* DOUBANGO is free software: you can redistribute it and/or modify +* it under the terms of the GNU General Public License as published by +* the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* DOUBANGO is distributed in the hope that it will be useful, +* but WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +* GNU General Public License for more details. +* +* You should have received a copy of the GNU General Public License +* along with DOUBANGO. +* +*/ + +/**@file tsms_tpdu_command.c + * @brief SMS TPDU SMS-COMMAND message as per 3GPP TS 23.040 section 9.2.2.4. + * + * @author Mamadou Diop + * + * @date Created: Sat Nov 8 16:54:58 2009 mdiop + */ +#include "tinySMS/tpdu/tsms_tpdu_command.h" + + + + + + + + +//================================================================================================= +// SMS TPDU SMS-COMMAND object definition +// +static tsk_object_t* tsms_tpdu_command_create(tsk_object_t * self, va_list * app) +{ + tsms_tpdu_command_t *command = self; + if(command){ + //tsk_bool_t orig = va_arg(*app, tsk_bool_t); + TSMS_TPDU_MESSAGE(command)->mti = tsms_tpdu_mti_command_mo; + } + return self; +} + +static tsk_object_t* tsms_tpdu_command_destroy(tsk_object_t * self) +{ + tsms_tpdu_command_t *command = self; + if(command){ + + } + + return self; +} + +static const tsk_object_def_t tsms_tpdu_command_def_s = +{ + sizeof(tsms_tpdu_command_t), + tsms_tpdu_command_create, + tsms_tpdu_command_destroy, + tsk_null, +}; +const tsk_object_def_t *tsms_tpdu_command_def_t = &tsms_tpdu_command_def_s; diff --git a/trunk/tinySMS/src/tpdu/tsms_tpdu_submit.c b/trunk/tinySMS/src/tpdu/tsms_tpdu_submit.c index e69de29b..8ba0606a 100644 --- a/trunk/tinySMS/src/tpdu/tsms_tpdu_submit.c +++ b/trunk/tinySMS/src/tpdu/tsms_tpdu_submit.c @@ -0,0 +1,156 @@ +/* +* Copyright (C) 2009 Mamadou Diop. +* +* Contact: Mamadou Diop +* +* This file is part of Open Source Doubango Framework. +* +* DOUBANGO is free software: you can redistribute it and/or modify +* it under the terms of the GNU General Public License as published by +* the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* DOUBANGO is distributed in the hope that it will be useful, +* but WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +* GNU General Public License for more details. +* +* You should have received a copy of the GNU General Public License +* along with DOUBANGO. +* +*/ + +/**@file tsms_tpdu_submit.c + * @brief SMS TPDU SMS-SUBMIT message as per 3GPP TS 23.040 section 9.2.2.2. + * + * @author Mamadou Diop + * + * @date Created: Sat Nov 8 16:54:58 2009 mdiop + */ +#include "tinySMS/tpdu/tsms_tpdu_submit.h" + +#include "tsk_memory.h" +#include "tsk_debug.h" + +int tsms_tpdu_submit_serialize(const tsms_tpdu_submit_t* self, const tsk_buffer_t* output) +{ + uint8_t _1byte; + + /* SMSC address */ +#if TSMS_TPDU_APPEND_SMSC + //address addr_smsc(this->smsc, true); + //result.append(addr_smsc.getString()); +#endif + + /* SMS-SUBMIT first Octect: + - TP-Message-Type-Indicator(2b) + - TP-Reject-Duplicates(1b) + - TP-Validity-Period-Format(1b) + - TP-Reply-Path(1b) + - TP-User-Data-Header-Indicator(1b) + - TP-Status-Report-Request(1b) + */ + _1byte = (TSMS_TPDU_MESSAGE(self)->mti & 0xF3); /*2b*/ + _1byte |= ((uint8_t)self->rd) << 2; /*1b*/ + _1byte |= ((uint8_t)self->vpf) << 3; /*1b*/ + _1byte |= ((uint8_t)self->rp) << 4; /*1b*/ + _1byte |= ((uint8_t)self->udhi) << 5; /*1b*/ + _1byte |= ((uint8_t)self->srr) << 6; /*1b*/ + tsk_buffer_append(output, &_1byte, 1); + + /* 3GPP TS 23.040 ==> 9.2.3.6 TP-Message-Reference (TP-MR) */ + tsk_buffer_append(output, &self->mr, 1); /*0-255 ==> 1o*/ + + /* 3GPP TS 23.040 ==> 9.2.3.8 TP-Destination-Address (TP-DA) */ + //address addr_desta(this->remote, false); + //result.append(addr_desta.getString()); + + /* GSM 03.40 ==> 9.2.3.9 TP-Protocol-Identifier (TP-PID) */ + tsk_buffer_append(output, &self->pid, 1); /*1o*/ + + /* 3GPP TS 23.040 ==> 9.2.3.10 TP-Data-Coding-Scheme (TP-DCS) */ + tsk_buffer_append(output, &self->dcs, 1); /*1o*/ + + /* 3GPP TS 23.040 ==> 9.2.3.12 TP-Validity-Period + * Only TP-VP (Relative format) is supported. 1o + */ + tsk_buffer_append(output, &self->vp, 1); /*1o*/ + + + /* 3GPP TS 23.040 ==> 9.2.3.16 TP-User-Data-Length (TP-UDL) + * (alpha = SMS_ALPHA_7bit) ==> number of septets. + * ((alpha == SMS_ALPHA_8bit) || (alpha == SMS_ALPHA_UCS2)) ==> number of octes. + */ + // result.append(b10_to_b16(this->userdata.length()/2)); ==> see the switch below + // this->userdata ==> The ascii string to send/encode + + /* 3GPP TS 23.040 ==> 9.2.3.24 TP-User Data (TP-UD) */ + switch(this->alpha) + { + case SMS_ALPHA_7bit: + { + string pdu; + ascii_to_pdu(this->userdata, pdu); + result.append(b10_to_b16(this->userdata.length())); /* TP-UDL */ + result.append(pdu); /* TP-UD */ + } + break; + + case SMS_ALPHA_8bit: + { + string bit8; + ascii_to_bit8(this->userdata, bit8); + result.append(b10_to_b16(bit8.length()/2)); /* TP-UDL */ + result.append(bit8); /* TP-UD */ + } + break; + + case SMS_ALPHA_UCS2: + { + string ucs2; + ascii_to_ucs2(this->userdata, ucs2); + result.append(b10_to_b16(ucs2.length()/2)); /* TP-UDL */ + result.append(ucs2); /* TP-UD */ + } + break; + + default: + throw "Unsupported alphabet"; + } + + return result; +} + + + +//================================================================================================= +// SMS TPDU SMS-COMMAND object definition +// +static tsk_object_t* tsms_tpdu_submit_create(tsk_object_t * self, va_list * app) +{ + tsms_tpdu_submit_t *submit = self; + if(submit){ + //tsk_bool_t orig = va_arg(*app, tsk_bool_t); + TSMS_TPDU_MESSAGE(submit)->mti = tsms_tpdu_mti_submit_mo; + TSMS_TPDU_MESSAGE(submit)->serialize = TSMS_TPDU_MESSAGE_SERIALIZE_F(tsms_tpdu_submit_serialize); + } + return self; +} + +static tsk_object_t* tsms_tpdu_submit_destroy(tsk_object_t * self) +{ + tsms_tpdu_submit_t *submit = self; + if(submit){ + TSK_FREE(submit->ud); + } + return self; +} + +static const tsk_object_def_t tsms_tpdu_submit_def_s = +{ + sizeof(tsms_tpdu_submit_t), + tsms_tpdu_submit_create, + tsms_tpdu_submit_destroy, + tsk_null, +}; +const tsk_object_def_t *tsms_tpdu_submit_def_t = &tsms_tpdu_submit_def_s; diff --git a/trunk/tinySMS/src/tsms_packing.c b/trunk/tinySMS/src/tsms_packing.c new file mode 100644 index 0000000000000000000000000000000000000000..5300d8d7ab9bb22c7207217c0e917274b954523f GIT binary patch literal 17846 zcmeI3`)^d&5y#K3TdDuUO{!LFDBxW`n*iYzC~87bfJPCDEZeMMiDM%c^JwV*%wN#< z`C_wJcF^PV{~*Z=*`rF1U+G5tZ;D&0)`=|y^%UZ#F}nx3Us zy4Tj-1-*CEqF#T~r*G3{`bB?FwE95bZ)r7f7l(LCY?p|uf6s~<YX-K@ z6Rq4T=!rd$pvwVSmvTV5*b$teYph@|{Z)8+`t0!V@!BXG41cfElJ3>{s8a|AY$PP( zmQ;y0b^{|e8~b75NcWxIca090UVYcF@N8|<^gc<8$fmD7vQC~E4cHuf!aXavzR~-x zX<^HxePB}G5#_s*P4MLQQKcW!-Sja1-E8oops~Uq_5OoCeXkeaAL`DRL(J@k6xgX} zk}av~%Sv8opT2&BX17>80B=S@$USKIHhrxfZfbYm<+{A!uB-)$paC7AW4_XK=U&qVxl>6&yH@$r>-A~I}UW`R}uTzHZHyP=FP>H9SOJkx6M@pm*#*gDa4LwW}LhG}TSv~*GSbQs=& ztYkxQJ^kT9@1(hanoNm9L~e8Yng;^EB+_Azv3@eYm&J)^&cJ?EI>6qsJAR=a*prPC z@6YL%kX`r$d+lham*VL_-hjVOmOXOIt0sE`Rn_<&?pqmlo*kewDzrU|FH|z*^6Rpa zn~I%xM?5-yDBst;J7z^yT1yusMb9qVk|VW{S7u~7Fhxf9%s1PMU#k-A=!IN+^5)2+ zr7ycr2j$l+ws;-odu@xFzA)UAq{(#`6fe9+frIe1`r1;z!66Yg%Os*+r3gn{e;XpE?W+G2)euz4J z&otmVLf1&e>tgBvtZ&~m<5ob$^G-25_G}5`n)cojKU`Prx@^}ayLRo`DIhjKZ0g?T zhb_Bq+x3ZEdv@Ki>(dd$!y!HO3>?x4YO|EkOOt=R*ty%+ujDF^5q|#R3`KqK6}nd@ zUg@zeJRo+eW5`v;zf89KvI}S{B}r_hvUkfyS5)@sp_krDqOsS&s{1;hWYo0Hrg zN1StYeU^N1;v)`^^O3a`YceN;!un2@m#%1p()qbTlP&|~&^5@e$)Rg<=$ah5CWo%% z0QYqXJhMoQ<;|8tUUzg!c%AOF;;ZxM^|-QFGHoxJBg|Xa$GVwE}0yc zB*&%%$rqe4@U~eJEZ2RS5?nSbTQ>PGoBR)xqf36pWV>R}D+aw{(95QUWz)j4X<=C_ z!+NnIJbl%mR}FgApjQog#h_OVdPOTU966f!0`!_euNm~3L9ZF~szI-6Wro8trv0sH zebX{HZAPc=%rc1L#NkiTGS3JY z@iW~o_x5v~-)R@?7o^vP6sL@qb&&oc8QoG3@P;~qcl6o2n)ih9^V$iEO7m;0GQCUb zRC0QW)4$ia7X`O4(r8P1;dDlgM$ey~Sa9|4q1K%{mu|^LeCDJR{9%=J7tZUiGr|;- zX^Z|zcE$w2Pa)gFRPKbf!&d0Kwq+Zo4Z6fina#`38=W7#1K2ii_jt%fhWJUV-Juj*Cz3wQ=s&YLYk zly+L;JTE2l0XuXv}?=5-QuB6{9Eb=f8kx6?7HBjOlwQCeOO&!s( zFsB4c?!C&v)8>-{QlKA{V@*>6V2mB&-8*S?zu#ylrgT0rVd6tv^NfKfMQ7Ljie2LL z$GT}J$FKBDj@2#M1@?YkuaZ(?5K<-w9EMLp{Fl_365P{aP}KC_;3o z$BPTH_N>c@XmRQd+_w!|i7DH^Q|%NnDdW`P-<)sfj#be$MG9p%biCu_E6ScJ@W<lbhbn;?m=Uu;>V_g!TBQaH;e3~jdbHtR7y=R%_F_|B#EV_!P z(W|68I*^uJ+rOn(8JLdVtHgF^)n0vz63<6o9oe>7nYj-{&c{<1M=+2! zyD&TEDFLuQAHyEGc)a?|c1O)cb>rE2d}Vu1Y94Fq{oN`8ZCKY-Uo}7SZAC=Zc^kkJFk*9>&jU=5~5fNE#c8 z$TcgYjaP+aSmuy{=`6QL@1dUma*RF8?cOyznNG-Q=5^0ARFFr>?IqOzLw-N4eBByW za6T75P<=K}Hjj=;^TdCa&!?UB=YQVDYvyTBJ59^$%`?f3;!F}%`thFu%H6G~^g=CblD`SSWLo@TlyPW-8<$yLfUNkt{d^ZT4)%Cm?++4@G+ zPTY^DLFm=8KU0d5rg@%R@*E%M!m?V3nGMpKR2_^z^Hi@8UaNZOix1%Inl8_QevS`m z*Pml5DJU!JsAHNZcGk@5B~0o;5)DpfdJ{b4EZ`Z;Pn%TfbY7`e%L&zshHMaNj}zTo-#P5C-s`B-Slar@)J2iU zW=)7f2Bi%+U6Ut2eyVQTVmYUwcfbj{Ir}MnDtERy&%4a9cb{FAw8SZO7B#czjcHN2 zdpV=2M$-`}iOEadzDn-s%fn&JekM(!Vrp3Dvg{N@ui)foF!_JJCQo5XInZgrKGEsC zQ;{>PTY2DeE5HWwY`CPe*^4P-(rNTt@@(PvnYBcnF|ArDYmIUi6Vrf7 zQ?lG;o>tLiE~ZUL&MLY2E4h$8wi$j?)={%7xqzNt$;FB?ug$9A@Wxp+S#!Qq((0aE z&$Z2(&wX%Gjm5J^P)7a9e?t1K%dy2bk93YBa(w*udskG^SF3lEf9ot}lFaJ$NkluI zyePGJGS!L8GUgri2}$gHnllo57Ns?iEBiKWj>*V;Q<<29Fk2X(e6Wjaf~OmfJGbzf zWcu9VczqBw)XZc~>uKb$!+Yo+{g0Z1yw=M;Hcuvse#g8tm2 +* +* This file is part of Open Source Doubango Framework. +* +* DOUBANGO is free software: you can redistribute it and/or modify +* it under the terms of the GNU General Public License as published by +* the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* DOUBANGO is distributed in the hope that it will be useful, +* but WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +* GNU General Public License for more details. +* +* You should have received a copy of the GNU General Public License +* along with DOUBANGO. +* +*/ + +#include "stdafx.h" + +// TODO: reference any additional headers you need in STDAFX.H +// and not in this file diff --git a/trunk/tinySMS/test/stdafx.h b/trunk/tinySMS/test/stdafx.h new file mode 100644 index 00000000..13e27fad --- /dev/null +++ b/trunk/tinySMS/test/stdafx.h @@ -0,0 +1,41 @@ +/* +* Copyright (C) 2009 Mamadou Diop. +* +* Contact: Mamadou Diop +* +* This file is part of Open Source Doubango Framework. +* +* DOUBANGO is free software: you can redistribute it and/or modify +* it under the terms of the GNU General Public License as published by +* the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* DOUBANGO is distributed in the hope that it will be useful, +* but WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +* GNU General Public License for more details. +* +* You should have received a copy of the GNU General Public License +* along with DOUBANGO. +* +*/ + +#ifndef TEST_SMS_STDAFX_H +#define TEST_SMS_STDAFX_H + +#ifdef WIN32 +#include "targetver.h" +#endif + +#include + +#if (defined(_WIN32) || defined(WIN32) || defined(_WIN32_WCE)) && !defined(__SYMBIAN32__) +#include +#endif + + + +// TODO: reference additional headers your program requires here +#include + +#endif /* TEST_SMS_STDAFX_H */ diff --git a/trunk/tinySMS/test/targetver.h b/trunk/tinySMS/test/targetver.h new file mode 100644 index 00000000..83ed1acc --- /dev/null +++ b/trunk/tinySMS/test/targetver.h @@ -0,0 +1,14 @@ +#ifndef SMS_TEST_TARGETVER_H +#define SMS_TEST_TARGETVER_H +// The following macros define the minimum required platform. The minimum required platform +// is the earliest version of Windows, Internet Explorer etc. that has the necessary features to run +// your application. The macros work by enabling all features available on platform versions up to and +// including the version specified. + +// Modify the following defines if you have to target a platform prior to the ones specified below. +// Refer to MSDN for the latest info on corresponding values for different platforms. +#ifndef _WIN32_WINNT // Specifies that the minimum required platform is Windows Vista. +#define _WIN32_WINNT 0x0501 // Change this to the appropriate value to target other versions of Windows. +#endif + +#endif /* SMS_TEST_TARGETVER_H */ diff --git a/trunk/tinySMS/test/test.c b/trunk/tinySMS/test/test.c new file mode 100644 index 00000000..7289e996 --- /dev/null +++ b/trunk/tinySMS/test/test.c @@ -0,0 +1,94 @@ +/* +* Copyright (C) 2009 Mamadou Diop. +* +* Contact: Mamadou Diop +* +* This file is part of Open Source Doubango Framework. +* +* DOUBANGO is free software: you can redistribute it and/or modify +* it under the terms of the GNU General Public License as published by +* the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* DOUBANGO is distributed in the hope that it will be useful, +* but WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +* GNU General Public License for more details. +* +* You should have received a copy of the GNU General Public License +* along with DOUBANGO. +* +*/ + +#include "stdafx.h" + +#include "tsk.h" +#include "tinysms.h" + +char* tohex(uint8_t* ptr, size_t size) +{ + char* ret = tsk_null; + size_t i; + for(i=0;i +* +* This file is part of Open Source Doubango Framework. +* +* DOUBANGO is free software: you can redistribute it and/or modify +* it under the terms of the GNU General Public License as published by +* the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* DOUBANGO is distributed in the hope that it will be useful, +* but WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +* GNU General Public License for more details. +* +* You should have received a copy of the GNU General Public License +* along with DOUBANGO. +* +*/ +#ifndef _TEST_SMSPACKING_H +#define _TEST_SMSPACKING_H + + +typedef struct test_message_7bit_s{ + const char* ascii; + const char* _7bit; +} +test_message_7bit_t; + +test_message_7bit_t test_messages_7bit[] = +{ + "a","\x61", + "ab","\x61\x31", + "abc","\x61\xF1\x18", + "abcdefg","\x61\xF1\x98\x5C\x36\x9F\x01", + "abcdefgh","\x61\xF1\x98\x5C\x36\x9F\xD1", + "abcdefghi","\x61\xF1\x98\x5C\x36\x9F\xD1\x69", + "abcdefgh12345678","\x61\xF1\x98\x5C\x36\x9F\xD1\x31\xD9\x8C\x56\xB3\xDD\x70", + "abcdefgh123456789","\x61\xF1\x98\x5C\x36\x9F\xD1\x31\xD9\x8C\x56\xB3\xDD\x70\x39", + "This is a test sms message","\x54\x74\x7A\x0E\x4A\xCF\x41\x61\x10\xBD\x3C\xA7\x83\xE6\xED\x39\xA8\x5D\x9E\xCF\xC3\xE7\x32", + "salut","\xF3\x30\xBB\x4E\x07", + "hellohello","\xE8\x32\x9B\xFD\x46\x97\xD9\xEC\x37", +}; + +void test_7bit() +{ + size_t i; + tsk_buffer_t* buffer; + char* temp; + + /* To 7bit */ + for(i=0; idata, buffer->size))){ + if(!tsk_striequals(temp, test_messages_7bit[i]._7bit)){ + TSK_DEBUG_ERROR("tsms_pack_to_7bit(\"%s\") Failed.\n", test_messages_7bit[i].ascii); + } + TSK_FREE(temp); + }*/ + if(!bin_equals(buffer->data, test_messages_7bit[i]._7bit, buffer->size)){ + TSK_DEBUG_ERROR("tsms_pack_to_7bit(\"%s\") Failed.\n", test_messages_7bit[i].ascii); + } + TSK_OBJECT_SAFE_FREE(buffer); + } + } + + /* From 7bit */ + for(i=0; idata, test_messages_7bit[i].ascii)){ + TSK_DEBUG_INFO("tsms_pack_to_8bit(%s) Failed", test_messages_7bit[i].ascii); + } + TSK_OBJECT_SAFE_FREE(buffer); + } + } + + /* From 8bit */ + for(i=0; idata, test_messages_7bit[i].ascii)){ + TSK_DEBUG_INFO("tsms_pack_to_ucs2(%s) Failed", test_messages_7bit[i].ascii); + } + TSK_OBJECT_SAFE_FREE(buffer); + } + } + + /* From ucs2 */ + for(i=0; i +* +* This file is part of Open Source Doubango Framework. +* +* DOUBANGO is free software: you can redistribute it and/or modify +* it under the terms of the GNU General Public License as published by +* the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* DOUBANGO is distributed in the hope that it will be useful, +* but WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +* GNU General Public License for more details. +* +* You should have received a copy of the GNU General Public License +* along with DOUBANGO. +* +*/ +#ifndef _TEST_SMSRPDU_H +#define _TEST_SMSRPDU_H + + +void test_rpdu() +{ + +} + +#endif /* _TEST_SMSRPDU_H */ diff --git a/trunk/tinySMS/test/test_tpdu.h b/trunk/tinySMS/test/test_tpdu.h new file mode 100644 index 00000000..d59006ae --- /dev/null +++ b/trunk/tinySMS/test/test_tpdu.h @@ -0,0 +1,42 @@ +/* +* Copyright (C) 2009 Mamadou Diop. +* +* Contact: Mamadou Diop +* +* This file is part of Open Source Doubango Framework. +* +* DOUBANGO is free software: you can redistribute it and/or modify +* it under the terms of the GNU General Public License as published by +* the Free Software Foundation, either version 3 of the License, or +* (at your option) any later version. +* +* DOUBANGO is distributed in the hope that it will be useful, +* but WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +* GNU General Public License for more details. +* +* You should have received a copy of the GNU General Public License +* along with DOUBANGO. +* +*/ +#ifndef _TEST_SMSTPDU_H +#define _TEST_SMSTPDU_H + + +void test_tpdu() +{ + static uint8_t __pdu_last_mr = 1; + + tsms_tpdu_ctx_handle_t* handle; + tsk_buffer_t* buffer = tsk_null; + + handle = tsms_pdu_ctx_create(__pdu_last_mr++, "+331000000", "+3361234567"); + + if((buffer = tsms_pdu_ctx_getSUBMIT(handle))){ + TSK_OBJECT_SAFE_FREE(buffer); + } + + TSK_OBJECT_SAFE_FREE(handle); +} + +#endif /* _TEST_SMSTPDU_H */ diff --git a/trunk/vs_2005/tinySMS/test.vcproj b/trunk/vs_2005/tinySMS/test.vcproj new file mode 100644 index 00000000..60468cf0 --- /dev/null +++ b/trunk/vs_2005/tinySMS/test.vcproj @@ -0,0 +1,227 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/trunk/vs_2005/tinySMS/tinySMS.sln b/trunk/vs_2005/tinySMS/tinySMS.sln new file mode 100644 index 00000000..fa732b77 --- /dev/null +++ b/trunk/vs_2005/tinySMS/tinySMS.sln @@ -0,0 +1,44 @@ + +Microsoft Visual Studio Solution File, Format Version 9.00 +# Visual Studio 2005 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "tinySMS", "tinySMS.vcproj", "{9A3A5AF3-2333-4477-B880-7F901F9D8972}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "test", "test.vcproj", "{BD24A663-4018-41EC-A250-4A57CDD2F13B}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "tinySAK", "..\tinySAK\tinySAK.vcproj", "{6BC9B796-10C6-4CF7-A6E4-E2DACCDA84DA}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Win32 = Debug|Win32 + Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) + Release|Win32 = Release|Win32 + Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {9A3A5AF3-2333-4477-B880-7F901F9D8972}.Debug|Win32.ActiveCfg = Debug|Win32 + {9A3A5AF3-2333-4477-B880-7F901F9D8972}.Debug|Win32.Build.0 = Debug|Win32 + {9A3A5AF3-2333-4477-B880-7F901F9D8972}.Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug|Win32 + {9A3A5AF3-2333-4477-B880-7F901F9D8972}.Release|Win32.ActiveCfg = Release|Win32 + {9A3A5AF3-2333-4477-B880-7F901F9D8972}.Release|Win32.Build.0 = Release|Win32 + {9A3A5AF3-2333-4477-B880-7F901F9D8972}.Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release|Win32 + {BD24A663-4018-41EC-A250-4A57CDD2F13B}.Debug|Win32.ActiveCfg = Debug|Win32 + {BD24A663-4018-41EC-A250-4A57CDD2F13B}.Debug|Win32.Build.0 = Debug|Win32 + {BD24A663-4018-41EC-A250-4A57CDD2F13B}.Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug|Win32 + {BD24A663-4018-41EC-A250-4A57CDD2F13B}.Release|Win32.ActiveCfg = Release|Win32 + {BD24A663-4018-41EC-A250-4A57CDD2F13B}.Release|Win32.Build.0 = Release|Win32 + {BD24A663-4018-41EC-A250-4A57CDD2F13B}.Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release|Win32 + {6BC9B796-10C6-4CF7-A6E4-E2DACCDA84DA}.Debug|Win32.ActiveCfg = Debug|Win32 + {6BC9B796-10C6-4CF7-A6E4-E2DACCDA84DA}.Debug|Win32.Build.0 = Debug|Win32 + {6BC9B796-10C6-4CF7-A6E4-E2DACCDA84DA}.Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) + {6BC9B796-10C6-4CF7-A6E4-E2DACCDA84DA}.Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) + {6BC9B796-10C6-4CF7-A6E4-E2DACCDA84DA}.Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Deploy.0 = Debug|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) + {6BC9B796-10C6-4CF7-A6E4-E2DACCDA84DA}.Release|Win32.ActiveCfg = Release|Win32 + {6BC9B796-10C6-4CF7-A6E4-E2DACCDA84DA}.Release|Win32.Build.0 = Release|Win32 + {6BC9B796-10C6-4CF7-A6E4-E2DACCDA84DA}.Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).ActiveCfg = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) + {6BC9B796-10C6-4CF7-A6E4-E2DACCDA84DA}.Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Build.0 = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) + {6BC9B796-10C6-4CF7-A6E4-E2DACCDA84DA}.Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I).Deploy.0 = Release|Windows Mobile 5.0 Pocket PC SDK (ARMV4I) + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/trunk/vs_2005/tinySMS/tinySMS.vcproj b/trunk/vs_2005/tinySMS/tinySMS.vcproj new file mode 100644 index 00000000..32ccfeff --- /dev/null +++ b/trunk/vs_2005/tinySMS/tinySMS.vcproj @@ -0,0 +1,298 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +