You can subscribe to this list here.
2004 |
Jan
|
Feb
|
Mar
|
Apr
(19) |
May
(23) |
Jun
(24) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(3) |
Dec
(4) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2005 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(4) |
Sep
|
Oct
|
Nov
|
Dec
|
From: Kidong L. <bri...@us...> - 2005-08-10 10:34:51
|
Update of /cvsroot/syncml-ctoolkit/toolkit/src/sml/mgr/inc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv889/sml/mgr/inc Modified Files: mgr.h Log Message: Removed compiler warning on declaring function prototype if NOWSM is defined. Index: mgr.h =================================================================== RCS file: /cvsroot/syncml-ctoolkit/toolkit/src/sml/mgr/inc/mgr.h,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** mgr.h 13 Jun 2004 00:49:57 -0000 1.7 --- mgr.h 10 Aug 2005 10:34:40 -0000 1.8 *************** *** 147,151 **** InstanceInfoPtr_t mgrGetInstanceListAnchor(void) MGR_FUNC; void mgrSetInstanceListAnchor(InstanceInfoPtr_t newListAnchor) MGR_FUNC; - Ret_t mgrResetWorkspace (InstanceID_t id) MGR_FUNC; #ifndef __SML_LITE__ /* these API calls are NOT included in the Toolkit lite version */ --- 147,150 ---- *************** *** 158,161 **** --- 157,161 ---- #endif // !defined(NOWSM) + Ret_t mgrResetWorkspace (InstanceID_t id) MGR_FUNC; #endif // ifndef _MGR_H |
From: Kidong L. <bri...@us...> - 2005-08-10 10:33:08
|
Update of /cvsroot/syncml-ctoolkit/toolkit/src/examples In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv725/examples Modified Files: dynamicTransports Log Message: Added wsp transport. Index: dynamicTransports =================================================================== RCS file: /cvsroot/syncml-ctoolkit/toolkit/src/examples/dynamicTransports,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** dynamicTransports 4 Jun 2004 01:10:44 -0000 1.2 --- dynamicTransports 10 Aug 2005 10:32:58 -0000 1.3 *************** *** 1,2 **** --- 1,3 ---- xpthttp xptobex + xptwsp |
From: Kidong L. <bri...@us...> - 2005-08-10 03:10:11
|
Update of /cvsroot/syncml-ctoolkit/toolkit/src/bld/win In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19432/bld/win Modified Files: Makefile Log Message: Removed -pedantic compile option. Index: Makefile =================================================================== RCS file: /cvsroot/syncml-ctoolkit/toolkit/src/bld/win/Makefile,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** Makefile 3 Apr 2004 22:51:52 -0000 1.2 --- Makefile 8 Aug 2005 23:58:06 -0000 1.3 *************** *** 50,54 **** # some flags ! CFLAGS = -g -pedantic -DDEBUG_CHECK -DTRACE DLL_CFLAGS = -DBUILDING_DLL=1 --- 50,54 ---- # some flags ! CFLAGS = -g -DDEBUG_CHECK -DTRACE DLL_CFLAGS = -DBUILDING_DLL=1 |
From: Kidong L. <bri...@us...> - 2005-08-08 09:20:22
|
Update of /cvsroot/syncml-ctoolkit/toolkit/src/xpt/bindings/common/tcp/all In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1001/xpt/bindings/common/tcp/all Modified Files: xpttypes.h Log Message: Fixed compilation error on GCC('true' is undeclared). Index: xpttypes.h =================================================================== RCS file: /cvsroot/syncml-ctoolkit/toolkit/src/xpt/bindings/common/tcp/all/xpttypes.h,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** xpttypes.h 18 Jan 2005 21:01:39 -0000 1.4 --- xpttypes.h 8 Aug 2005 09:20:05 -0000 1.5 *************** *** 90,93 **** --- 90,101 ---- #endif + #ifndef true + #define true 1 + #endif + #ifndef false + #define false 0 + #endif + + typedef unsigned char *DataBuffer_t; typedef DataBuffer_t *DataPtr_t; |
From: Lukas Z. <lu...@us...> - 2005-01-18 21:02:07
|
Update of /cvsroot/syncml-ctoolkit/toolkit/src/xpt/bindings/common/tcp/all In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7869/syncml_tk_sf_checkout/toolkit/src/xpt/bindings/common/tcp/all Modified Files: xpttypes.h Log Message: added propagation of user abort error condition from tcp->http->xpt->sysync to avoid retries when user abort is detected on tcp level (e.g. for Symbian) Index: xpttypes.h =================================================================== RCS file: /cvsroot/syncml-ctoolkit/toolkit/src/xpt/bindings/common/tcp/all/xpttypes.h,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** xpttypes.h 24 May 2004 01:33:41 -0000 1.3 --- xpttypes.h 18 Jan 2005 21:01:39 -0000 1.4 *************** *** 53,69 **** #endif ! #ifndef Bool_t ! #if defined(__INIT_SML_XPT_GLOBALS) || defined(__cplusplus) typedef bool Bool_t; #else ! #if defined(_WIN32) || defined(linux) || defined(__GCC32__) // for C compilers without C99 extensions ! typedef enum { false = 0, true = 1 } Bool_t; #else ! typedef int Bool_t; #endif #endif #endif --- 53,91 ---- #endif ! /* %%% dangerous, we should not try too much magic here, as ! it might cause VERY strange linking issues #ifndef Bool_t ! #if defined(__INIT_SML_XPT_GLOBALS) typedef bool Bool_t; #else ! //#if defined(_WIN32) || defined(linux) || defined(__GCC32__) ! #if defined(linux) || defined(__GCC32__) // for C compilers without C99 extensions ! typedef enum { FALSE = 0, true = 1 } Bool_t; + #elif (defined(_WIN32) && !defined(__cplusplus)) + // MSVC does not like typedef enum with "false" and "true" keywords + #define false 0 + #define true 1 + typedef short int Bool_t; #else ! // compilers that alread know "true" and "false" ! typedef short int Bool_t; #endif + #endif + // make sure it is defined now + #define Bool_t Bool_t + #endif + */ + + // Simple short for booleans + typedef short int Bool_t; + // make sure we can #ifdef it + #define Bool_t Bool_t + #ifndef TRUE + #define TRUE 1 #endif + #ifndef FALSE + #define FALSE 0 #endif |
From: Kidong L. <bri...@us...> - 2004-12-20 09:53:47
|
Update of /cvsroot/syncml-ctoolkit/toolkit/src/sml/wsm/all In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1754/wsm/all Modified Files: wsm.c Log Message: Included "..prefix.h" file to be compiled correctly Index: wsm.c =================================================================== RCS file: /cvsroot/syncml-ctoolkit/toolkit/src/sml/wsm/all/wsm.c,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** wsm.c 24 May 2004 01:33:38 -0000 1.4 --- wsm.c 20 Dec 2004 09:53:36 -0000 1.5 *************** *** 46,49 **** --- 46,50 ---- */ + #include "syncml_tk_prefix_file.h" #ifndef NOWSM |
From: Kidong L. <bri...@us...> - 2004-12-20 09:53:46
|
Update of /cvsroot/syncml-ctoolkit/toolkit/src/sml/wsm/win In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1754/wsm/win Modified Files: wsm_sm.c Log Message: Included "..prefix.h" file to be compiled correctly Index: wsm_sm.c =================================================================== RCS file: /cvsroot/syncml-ctoolkit/toolkit/src/sml/wsm/win/wsm_sm.c,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** wsm_sm.c 24 May 2004 01:33:38 -0000 1.4 --- wsm_sm.c 20 Dec 2004 09:53:37 -0000 1.5 *************** *** 45,49 **** */ ! #ifndef NOWSM --- 45,49 ---- */ ! #include "syncml_tk_prefix_file.h" #ifndef NOWSM |
From: Kidong L. <bri...@us...> - 2004-12-18 08:29:51
|
Update of /cvsroot/syncml-ctoolkit/toolkit/src/xpt/bindings/obex/smlobex In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7687/xpt/bindings/obex/smlobex Modified Files: buffer.c obex.c Log Message: Removed compiler warning Index: buffer.c =================================================================== RCS file: /cvsroot/syncml-ctoolkit/toolkit/src/xpt/bindings/obex/smlobex/buffer.c,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** buffer.c 24 May 2004 01:33:46 -0000 1.2 --- buffer.c 18 Dec 2004 08:29:42 -0000 1.3 *************** *** 45,48 **** --- 45,49 ---- #include <stdlib.h> #include <stdio.h> + #include <string.h> #define BUFFER_SIZE 1024 Index: obex.c =================================================================== RCS file: /cvsroot/syncml-ctoolkit/toolkit/src/xpt/bindings/obex/smlobex/obex.c,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** obex.c 24 May 2004 01:33:46 -0000 1.5 --- obex.c 18 Dec 2004 08:29:42 -0000 1.6 *************** *** 56,59 **** --- 56,60 ---- #include <time.h> /* for time() */ + #include <string.h> #ifndef min |
From: Kidong L. <bri...@us...> - 2004-12-18 08:21:16
|
Update of /cvsroot/syncml-ctoolkit/toolkit/src/examples In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6233 Modified Files: Makefile Log Message: Removed "-pedantic" compiling flag. Index: Makefile =================================================================== RCS file: /cvsroot/syncml-ctoolkit/toolkit/src/examples/Makefile,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** Makefile 17 Apr 2004 12:05:00 -0000 1.2 --- Makefile 18 Dec 2004 08:21:06 -0000 1.3 *************** *** 8,12 **** LIBS = -L../../bin/linux -L../../bin/win -Wl,-rpath -Wl,../../bin/linux -Wl,-rpath -Wl,..\..\bin\win -lsml -lxpt ! CFLAGS = $(INC) -Wall -g -O2 -pedantic OBJS_COMMON = callback_handler.o builder_wrapper.o --- 8,12 ---- LIBS = -L../../bin/linux -L../../bin/win -Wl,-rpath -Wl,../../bin/linux -Wl,-rpath -Wl,..\..\bin\win -lsml -lxpt ! CFLAGS = $(INC) -Wall -g -O2 OBJS_COMMON = callback_handler.o builder_wrapper.o |
From: Kidong L. <bri...@us...> - 2004-11-26 07:38:02
|
Update of /cvsroot/syncml-ctoolkit/toolkit/src/bld In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12605 Modified Files: makePalm Log Message: Modified a unchanged script name (makeLinux -> makePalm) Index: makePalm =================================================================== RCS file: /cvsroot/syncml-ctoolkit/toolkit/src/bld/makePalm,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** makePalm 13 Jun 2004 07:29:18 -0000 1.2 --- makePalm 26 Nov 2004 07:37:52 -0000 1.3 *************** *** 41,45 **** # if [ "$1" != "clean" ] && [ "$1" != "sml" ] && [ "$1" != "xpt" ] && [ "$1" != "all" ]; then ! echo "Usage: makeLinux all|sml|xpt|clean" exit -1 fi --- 41,45 ---- # if [ "$1" != "clean" ] && [ "$1" != "sml" ] && [ "$1" != "xpt" ] && [ "$1" != "all" ]; then ! echo "Usage: makePalm all|sml|xpt|clean" exit -1 fi |
From: Kidong L. <bri...@us...> - 2004-11-26 01:05:24
|
Update of /cvsroot/syncml-ctoolkit/toolkit/src/bld In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10815 Modified Files: Doxyfile Log Message: Changed to generate call graph Index: Doxyfile =================================================================== RCS file: /cvsroot/syncml-ctoolkit/toolkit/src/bld/Doxyfile,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** Doxyfile 24 May 2004 01:33:33 -0000 1.1 --- Doxyfile 26 Nov 2004 01:05:14 -0000 1.2 *************** *** 998,1002 **** # have no effect if this option is set to NO (the default) ! HAVE_DOT = NO # If the CLASS_GRAPH and HAVE_DOT tags are set to YES then doxygen --- 998,1002 ---- # have no effect if this option is set to NO (the default) ! HAVE_DOT = YES # If the CLASS_GRAPH and HAVE_DOT tags are set to YES then doxygen *************** *** 1045,1049 **** # functions only using the \callgraph command. ! CALL_GRAPH = NO # If the GRAPHICAL_HIERARCHY and HAVE_DOT tags are set to YES then doxygen --- 1045,1049 ---- # functions only using the \callgraph command. ! CALL_GRAPH = YES # If the GRAPHICAL_HIERARCHY and HAVE_DOT tags are set to YES then doxygen |
From: Kidong L. <bri...@us...> - 2004-11-25 01:11:18
|
Update of /cvsroot/syncml-ctoolkit/toolkit/src/examples In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12457 Modified Files: builder_wrapper.c Log Message: Fixed Bugs [ 1062809 ] : run-time error when built with VS.net Index: builder_wrapper.c =================================================================== RCS file: /cvsroot/syncml-ctoolkit/toolkit/src/examples/builder_wrapper.c,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** builder_wrapper.c 24 May 2004 01:33:33 -0000 1.3 --- builder_wrapper.c 25 Nov 2004 01:11:06 -0000 1.4 *************** *** 131,134 **** --- 131,135 ---- sync.cred = NULL; sync.noc = smlString2Pcdata("1"); + sync.meta = NULL; return smlStartSync(id, &sync); |
From: Kidong L. <bri...@us...> - 2004-06-13 07:29:31
|
Update of /cvsroot/syncml-ctoolkit/toolkit/src/bld In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20571/bld Modified Files: makePalm Log Message: Changed CRLF to LF Index: makePalm =================================================================== RCS file: /cvsroot/syncml-ctoolkit/toolkit/src/bld/makePalm,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** makePalm 12 Jun 2004 04:14:26 -0000 1.1 --- makePalm 13 Jun 2004 07:29:18 -0000 1.2 *************** *** 1,52 **** ! # ! # Copyright Notice ! # Copyright (c) Ericsson, IBM, Lotus, Matsushita Communication ! # Industrial Co., Ltd., Motorola, Nokia, Openwave Systems, Inc., ! # Palm, Inc., Psion, Starfish Software, Symbian, Ltd. (2001). ! # All Rights Reserved. ! # Implementation of all or part of any Specification may require ! # licenses under third party intellectual property rights, ! # including without limitation, patent rights (such a third party ! # may or may not be a Supporter). The Sponsors of the Specification ! # are not responsible and shall not be held responsible in any ! # manner for identifying or failing to identify any or all such ! # third party intellectual property rights. ! # ! # THIS DOCUMENT AND THE INFORMATION CONTAINED HEREIN ARE PROVIDED ! # ON AN "AS IS" BASIS WITHOUT WARRANTY OF ANY KIND AND ERICSSON, IBM, ! # LOTUS, MATSUSHITA COMMUNICATION INDUSTRIAL CO. LTD, MOTOROLA, ! # NOKIA, PALM INC., PSION, STARFISH SOFTWARE AND ALL OTHER SYNCML ! # SPONSORS DISCLAIM ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING ! # BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION ! # HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF ! # MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT ! # SHALL ERICSSON, IBM, LOTUS, MATSUSHITA COMMUNICATION INDUSTRIAL CO., ! # LTD, MOTOROLA, NOKIA, PALM INC., PSION, STARFISH SOFTWARE OR ANY ! # OTHER SYNCML SPONSOR BE LIABLE TO ANY PARTY FOR ANY LOSS OF ! # PROFITS, LOSS OF BUSINESS, LOSS OF USE OF DATA, INTERRUPTION OF ! # BUSINESS, OR FOR DIRECT, INDIRECT, SPECIAL OR EXEMPLARY, INCIDENTAL, ! # PUNITIVE OR CONSEQUENTIAL DAMAGES OF ANY KIND IN CONNECTION WITH ! # THIS DOCUMENT OR THE INFORMATION CONTAINED HEREIN, EVEN IF ADVISED ! # OF THE POSSIBILITY OF SUCH LOSS OR DAMAGE. ! # ! # The above notice and this paragraph must be included on all copies ! # of this document that are made. ! # ! # ! ! ! ! # ! # test parameter ! # ! if [ "$1" != "clean" ] && [ "$1" != "sml" ] && [ "$1" != "xpt" ] && [ "$1" != "all" ]; then ! echo "Usage: makeLinux all|sml|xpt|clean" ! exit -1 ! fi ! ! # ! # now compile ! # ! cd palm ! make $1 ! cd .. --- 1,52 ---- ! # ! # Copyright Notice ! # Copyright (c) Ericsson, IBM, Lotus, Matsushita Communication ! # Industrial Co., Ltd., Motorola, Nokia, Openwave Systems, Inc., ! # Palm, Inc., Psion, Starfish Software, Symbian, Ltd. (2001). ! # All Rights Reserved. ! # Implementation of all or part of any Specification may require ! # licenses under third party intellectual property rights, ! # including without limitation, patent rights (such a third party ! # may or may not be a Supporter). The Sponsors of the Specification ! # are not responsible and shall not be held responsible in any ! # manner for identifying or failing to identify any or all such ! # third party intellectual property rights. ! # ! # THIS DOCUMENT AND THE INFORMATION CONTAINED HEREIN ARE PROVIDED ! # ON AN "AS IS" BASIS WITHOUT WARRANTY OF ANY KIND AND ERICSSON, IBM, ! # LOTUS, MATSUSHITA COMMUNICATION INDUSTRIAL CO. LTD, MOTOROLA, ! # NOKIA, PALM INC., PSION, STARFISH SOFTWARE AND ALL OTHER SYNCML ! # SPONSORS DISCLAIM ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING ! # BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION ! # HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF ! # MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT ! # SHALL ERICSSON, IBM, LOTUS, MATSUSHITA COMMUNICATION INDUSTRIAL CO., ! # LTD, MOTOROLA, NOKIA, PALM INC., PSION, STARFISH SOFTWARE OR ANY ! # OTHER SYNCML SPONSOR BE LIABLE TO ANY PARTY FOR ANY LOSS OF ! # PROFITS, LOSS OF BUSINESS, LOSS OF USE OF DATA, INTERRUPTION OF ! # BUSINESS, OR FOR DIRECT, INDIRECT, SPECIAL OR EXEMPLARY, INCIDENTAL, ! # PUNITIVE OR CONSEQUENTIAL DAMAGES OF ANY KIND IN CONNECTION WITH ! # THIS DOCUMENT OR THE INFORMATION CONTAINED HEREIN, EVEN IF ADVISED ! # OF THE POSSIBILITY OF SUCH LOSS OR DAMAGE. ! # ! # The above notice and this paragraph must be included on all copies ! # of this document that are made. ! # ! # ! ! ! ! # ! # test parameter ! # ! if [ "$1" != "clean" ] && [ "$1" != "sml" ] && [ "$1" != "xpt" ] && [ "$1" != "all" ]; then ! echo "Usage: makeLinux all|sml|xpt|clean" ! exit -1 ! fi ! ! # ! # now compile ! # ! cd palm ! make $1 ! cd .. |
From: Kidong L. <bri...@us...> - 2004-06-13 07:29:31
|
Update of /cvsroot/syncml-ctoolkit/toolkit/src/bld/palm In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20571/bld/palm Modified Files: Makefile Makefile.xpt Log Message: Changed CRLF to LF Index: Makefile =================================================================== RCS file: /cvsroot/syncml-ctoolkit/toolkit/src/bld/palm/Makefile,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** Makefile 13 Jun 2004 00:49:56 -0000 1.2 --- Makefile 13 Jun 2004 07:29:19 -0000 1.3 *************** *** 1,184 **** ! # ! # Copyright Notice ! # Copyright (c) Ericsson, IBM, Lotus, Matsushita Communication ! # Industrial Co., Ltd., Motorola, Nokia, Openwave Systems, Inc., ! # Palm, Inc., Psion, Starfish Software, Symbian, Ltd. (2001). ! # All Rights Reserved. ! # Implementation of all or part of any Specification may require ! # licenses under third party intellectual property rights, ! # including without limitation, patent rights (such a third party ! # may or may not be a Supporter). The Sponsors of the Specification ! # are not responsible and shall not be held responsible in any ! # manner for identifying or failing to identify any or all such ! # third party intellectual property rights. ! # ! # THIS DOCUMENT AND THE INFORMATION CONTAINED HEREIN ARE PROVIDED ! # ON AN "AS IS" BASIS WITHOUT WARRANTY OF ANY KIND AND ERICSSON, IBM, ! # LOTUS, MATSUSHITA COMMUNICATION INDUSTRIAL CO. LTD, MOTOROLA, ! # NOKIA, PALM INC., PSION, STARFISH SOFTWARE AND ALL OTHER SYNCML ! # SPONSORS DISCLAIM ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING ! # BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION ! # HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF ! # MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT ! # SHALL ERICSSON, IBM, LOTUS, MATSUSHITA COMMUNICATION INDUSTRIAL CO., ! # LTD, MOTOROLA, NOKIA, PALM INC., PSION, STARFISH SOFTWARE OR ANY ! # OTHER SYNCML SPONSOR BE LIABLE TO ANY PARTY FOR ANY LOSS OF ! # PROFITS, LOSS OF BUSINESS, LOSS OF USE OF DATA, INTERRUPTION OF ! # BUSINESS, OR FOR DIRECT, INDIRECT, SPECIAL OR EXEMPLARY, INCIDENTAL, ! # PUNITIVE OR CONSEQUENTIAL DAMAGES OF ANY KIND IN CONNECTION WITH ! # THIS DOCUMENT OR THE INFORMATION CONTAINED HEREIN, EVEN IF ADVISED ! # OF THE POSSIBILITY OF SUCH LOSS OR DAMAGE. ! # ! # The above notice and this paragraph must be included on all copies ! # of this document that are made. ! # ! # ! ! ! # delete files ! RM = rm -f ! ! # compiler to use ! CC = m68k-palmos-gcc ! ! # some flags ! CFLAGS = -g -Wall ! ! # ! # Various targets to build. ! # ! BIN = ../../../bin/palm ! SML_NAME = $(BIN)/libsml.so ! ! # ! # where to find the includes and objects ! # ! SRC = ../../sml ! INCS = -I$(SRC)/.. \ ! -I$(SRC)/inc \ ! -I$(SRC)/inc/palm \ ! -I$(SRC)/lib/inc \ ! -I$(SRC)/mgr/inc \ ! -I$(SRC)/wsm/inc \ ! -I$(SRC)/xlt/all \ ! -I$(SRC)/xlt/inc ! VPATH = ../.. \ ! $(SRC)/inc \ ! $(SRC)/inc/palm \ ! $(SRC)/lib/inc \ ! $(SRC)/lib/all \ ! $(SRC)/mgr/inc \ ! $(SRC)/mgr/all \ ! $(SRC)/mgr/palm \ ! $(SRC)/wsm/inc \ ! $(SRC)/wsm/all \ ! $(SRC)/wsm/palm \ ! $(SRC)/xlt/inc \ ! $(SRC)/xlt/all ! ! # ! # all objects for the shared object ! # ! SML_OBJS = libstr.o \ ! libutil.o \ ! libmem.o \ ! mgr.o \ ! mgrcmdbuilder.o \ ! mgrcmddispatcher.o \ ! mgrinstancelist.o \ ! mgrinstancemgr.o \ ! mgrutil.o \ ! wsm.o \ ! wsm_sm.o \ ! xlttags.o \ ! xltdec.o \ ! xltdecwbxml.o \ ! xltdecxml.o \ ! xltutilstack.o \ ! xltenc.o \ ! xltencwbxml.o \ ! xltencxml.o \ ! xltenccom.o \ ! xltmetinf.o \ ! xltdevinf.o ! ! # ! # create shared object ! # ! $(SML_NAME) : $(SML_OBJS) ! @mkdir -p $(BIN) ! m68k-palmos-multigen libsml.def ! m68k-palmos-as -o libsml-sections.o libsml-sections.s ! m68k-palmos-stubgen libsml.def ! m68k-palmos-as -o libsml-dispatch.o libsml-dispatch.s ! m68k-palmos-gcc -Wall -T text_64k -nostartfiles $(SML_OBJS) libsml-dispatch.o libsml-sections.o libsml-sections.ld -o $(SML_NAME) ! build-prc libsml.def libsml.prc ! @echo SML build done. ! ! # ! # dependencies ! # ! libstr.o : smldef.h define.h libstr.h libmem.h ! libmem.o : smldef.h ! libutil.o : smldef.h define.h smlerr.h sml.h libmem.h libutil.h \ ! mgr.h smldtd.h wsm.h wsm_sm.h ! mgr.o : smldef.h define.h sml.h smldtd.h smlerr.h libmem.h \ ! wsm.h wsm_sm.h mgr.h ! mgrcmdbuilder.o : smldef.h define.h xltenc.h smlerr.h xltenccom.h \ ! smldtd.h mgr.h sml.h wsm.h wsm_sm.h ! mgrcmddispatcher.o : smldef.h define.h smldtd.h smlerr.h libmem.h sml.h \ ! libutil.h xltdec.h mgr.h wsm.h wsm_sm.h ! mgrinstancelist.o : smlerr.h libmem.h smldef.h define.h mgr.h sml.h \ ! smldtd.h wsm.h wsm_sm.h ! mgrinstancemgr.o : smldef.h define.h sml.h smldtd.h smlerr.h libmem.h \ ! wsm.h wsm_sm.h mgr.h ! mgrutil.o : smldef.h sml.h smldtd.h smlerr.h define.h\ ! smlmetinfdtd.h ! wsm.o : wsm.h smlerr.h define.h libutil.h wsm_sm.h sml.h \ ! smldtd.h smldef.h libmem.h libstr.h mgr.h ! wsm_sm.o : wsm_sm.h smldef.h define.h libutil.h smlerr.h \ ! mgr.h sml.h smldtd.h wsm.h ! xlttags.o : xlttags.h smlerr.h libmem.h libutil.h libstr.h ! xltdec.o : xlttags.h define.h smldtd.h smlerr.h xltdec.h \ ! xltdeccom.h xltutilstack.h smldef.h libutil.h \ ! libmem.h libstr.h xlttagtbl.h xltmetinf.h ! xltdecwbxml.o : xlttags.h define.h smldtd.h smlerr.h xltdeccom.h \ ! xltutilstack.h smldef.h libutil.h libmem.h libstr.h ! xltdecxml.o : xltdeccom.h smldef.h define.h smldtd.h xlttags.h \ ! libutil.h libmem.h libstr.h smlerr.h ! xltutilstack.o : xltdeccom.h smldef.h define.h smldtd.h xlttags.h \ ! libutil.h xltutilstack.h smlerr.h libmem.h ! xltenc.o : xltenc.h smlerr.h xltenccom.h smldef.h define.h \ ! smldtd.h xltencwbxml.h xlttags.h xltencxml.h \ ! libstr.h libmem.h libutil.h smlmetinfdtd.h xltmetinf.h\ ! xlttagtbl.h ! xltencwbxml.o : xltencwbxml.h smlerr.h smldef.h define.h smldtd.h \ ! xlttags.h xltenccom.h libmem.h libstr.h libutil.h ! xltencxml.o : xltencxml.h smlerr.h xlttags.h smldtd.h smldef.h \ ! define.h xltenccom.h libstr.h libmem.h libutil.h ! xltenccom.o : xltenccom.h smldef.h define.h smlerr.h libmem.h \ ! libutil.h ! xltmetinf.o : smldef.h smldtd.h smlerr.h smlmetinfdtd.h define.h\ ! libmem.h libstr.h libutil.h xltdeccom.h xltmetinf.h\ ! xlttags.h xlttagtbl.h xltdec.h xltenc.h ! xltdevinf.o : smldevinfdtd.h xlttags.h xlttagtbl.h xltenc.h \ ! xltenc.h xltencwbxml.h libstr.h smlerr.h smldtd.h\ ! libmem.h libutil.h ! ## ! # default rule for compiling files ! # ! .c.o: ! $(CC) -c $(CFLAGS) $(INCS) -o $@ $< ! ! .PHONY: all sml xpt clean ! ! # ! # targets ! # ! all : sml xpt ! sml : $(SML_NAME) ! xpt : sml ! @$(MAKE) -f Makefile.xpt --no-print-directory ! clean : . ! @$(RM) *.o ! @$(MAKE) -f Makefile.xpt --no-print-directory clean --- 1,184 ---- ! # ! # Copyright Notice ! # Copyright (c) Ericsson, IBM, Lotus, Matsushita Communication ! # Industrial Co., Ltd., Motorola, Nokia, Openwave Systems, Inc., ! # Palm, Inc., Psion, Starfish Software, Symbian, Ltd. (2001). ! # All Rights Reserved. ! # Implementation of all or part of any Specification may require ! # licenses under third party intellectual property rights, ! # including without limitation, patent rights (such a third party ! # may or may not be a Supporter). The Sponsors of the Specification ! # are not responsible and shall not be held responsible in any ! # manner for identifying or failing to identify any or all such ! # third party intellectual property rights. ! # ! # THIS DOCUMENT AND THE INFORMATION CONTAINED HEREIN ARE PROVIDED ! # ON AN "AS IS" BASIS WITHOUT WARRANTY OF ANY KIND AND ERICSSON, IBM, ! # LOTUS, MATSUSHITA COMMUNICATION INDUSTRIAL CO. LTD, MOTOROLA, ! # NOKIA, PALM INC., PSION, STARFISH SOFTWARE AND ALL OTHER SYNCML ! # SPONSORS DISCLAIM ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING ! # BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION ! # HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF ! # MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT ! # SHALL ERICSSON, IBM, LOTUS, MATSUSHITA COMMUNICATION INDUSTRIAL CO., ! # LTD, MOTOROLA, NOKIA, PALM INC., PSION, STARFISH SOFTWARE OR ANY ! # OTHER SYNCML SPONSOR BE LIABLE TO ANY PARTY FOR ANY LOSS OF ! # PROFITS, LOSS OF BUSINESS, LOSS OF USE OF DATA, INTERRUPTION OF ! # BUSINESS, OR FOR DIRECT, INDIRECT, SPECIAL OR EXEMPLARY, INCIDENTAL, ! # PUNITIVE OR CONSEQUENTIAL DAMAGES OF ANY KIND IN CONNECTION WITH ! # THIS DOCUMENT OR THE INFORMATION CONTAINED HEREIN, EVEN IF ADVISED ! # OF THE POSSIBILITY OF SUCH LOSS OR DAMAGE. ! # ! # The above notice and this paragraph must be included on all copies ! # of this document that are made. ! # ! # ! ! ! # delete files ! RM = rm -f ! ! # compiler to use ! CC = m68k-palmos-gcc ! ! # some flags ! CFLAGS = -g -Wall ! ! # ! # Various targets to build. ! # ! BIN = ../../../bin/palm ! SML_NAME = $(BIN)/libsml.so ! ! # ! # where to find the includes and objects ! # ! SRC = ../../sml ! INCS = -I$(SRC)/.. \ ! -I$(SRC)/inc \ ! -I$(SRC)/inc/palm \ ! -I$(SRC)/lib/inc \ ! -I$(SRC)/mgr/inc \ ! -I$(SRC)/wsm/inc \ ! -I$(SRC)/xlt/all \ ! -I$(SRC)/xlt/inc ! VPATH = ../.. \ ! $(SRC)/inc \ ! $(SRC)/inc/palm \ ! $(SRC)/lib/inc \ ! $(SRC)/lib/all \ ! $(SRC)/mgr/inc \ ! $(SRC)/mgr/all \ ! $(SRC)/mgr/palm \ ! $(SRC)/wsm/inc \ ! $(SRC)/wsm/all \ ! $(SRC)/wsm/palm \ ! $(SRC)/xlt/inc \ ! $(SRC)/xlt/all ! ! # ! # all objects for the shared object ! # ! SML_OBJS = libstr.o \ ! libutil.o \ ! libmem.o \ ! mgr.o \ ! mgrcmdbuilder.o \ ! mgrcmddispatcher.o \ ! mgrinstancelist.o \ ! mgrinstancemgr.o \ ! mgrutil.o \ ! wsm.o \ ! wsm_sm.o \ ! xlttags.o \ ! xltdec.o \ ! xltdecwbxml.o \ ! xltdecxml.o \ ! xltutilstack.o \ ! xltenc.o \ ! xltencwbxml.o \ ! xltencxml.o \ ! xltenccom.o \ ! xltmetinf.o \ ! xltdevinf.o ! ! # ! # create shared object ! # ! $(SML_NAME) : $(SML_OBJS) ! @mkdir -p $(BIN) ! m68k-palmos-multigen libsml.def ! m68k-palmos-as -o libsml-sections.o libsml-sections.s ! m68k-palmos-stubgen libsml.def ! m68k-palmos-as -o libsml-dispatch.o libsml-dispatch.s ! m68k-palmos-gcc -Wall -T text_64k -nostartfiles $(SML_OBJS) libsml-dispatch.o libsml-sections.o libsml-sections.ld -o $(SML_NAME) ! build-prc libsml.def libsml.prc ! @echo SML build done. ! ! # ! # dependencies ! # ! libstr.o : smldef.h define.h libstr.h libmem.h ! libmem.o : smldef.h ! libutil.o : smldef.h define.h smlerr.h sml.h libmem.h libutil.h \ ! mgr.h smldtd.h wsm.h wsm_sm.h ! mgr.o : smldef.h define.h sml.h smldtd.h smlerr.h libmem.h \ ! wsm.h wsm_sm.h mgr.h ! mgrcmdbuilder.o : smldef.h define.h xltenc.h smlerr.h xltenccom.h \ ! smldtd.h mgr.h sml.h wsm.h wsm_sm.h ! mgrcmddispatcher.o : smldef.h define.h smldtd.h smlerr.h libmem.h sml.h \ ! libutil.h xltdec.h mgr.h wsm.h wsm_sm.h ! mgrinstancelist.o : smlerr.h libmem.h smldef.h define.h mgr.h sml.h \ ! smldtd.h wsm.h wsm_sm.h ! mgrinstancemgr.o : smldef.h define.h sml.h smldtd.h smlerr.h libmem.h \ ! wsm.h wsm_sm.h mgr.h ! mgrutil.o : smldef.h sml.h smldtd.h smlerr.h define.h\ ! smlmetinfdtd.h ! wsm.o : wsm.h smlerr.h define.h libutil.h wsm_sm.h sml.h \ ! smldtd.h smldef.h libmem.h libstr.h mgr.h ! wsm_sm.o : wsm_sm.h smldef.h define.h libutil.h smlerr.h \ ! mgr.h sml.h smldtd.h wsm.h ! xlttags.o : xlttags.h smlerr.h libmem.h libutil.h libstr.h ! xltdec.o : xlttags.h define.h smldtd.h smlerr.h xltdec.h \ ! xltdeccom.h xltutilstack.h smldef.h libutil.h \ ! libmem.h libstr.h xlttagtbl.h xltmetinf.h ! xltdecwbxml.o : xlttags.h define.h smldtd.h smlerr.h xltdeccom.h \ ! xltutilstack.h smldef.h libutil.h libmem.h libstr.h ! xltdecxml.o : xltdeccom.h smldef.h define.h smldtd.h xlttags.h \ ! libutil.h libmem.h libstr.h smlerr.h ! xltutilstack.o : xltdeccom.h smldef.h define.h smldtd.h xlttags.h \ ! libutil.h xltutilstack.h smlerr.h libmem.h ! xltenc.o : xltenc.h smlerr.h xltenccom.h smldef.h define.h \ ! smldtd.h xltencwbxml.h xlttags.h xltencxml.h \ ! libstr.h libmem.h libutil.h smlmetinfdtd.h xltmetinf.h\ ! xlttagtbl.h ! xltencwbxml.o : xltencwbxml.h smlerr.h smldef.h define.h smldtd.h \ ! xlttags.h xltenccom.h libmem.h libstr.h libutil.h ! xltencxml.o : xltencxml.h smlerr.h xlttags.h smldtd.h smldef.h \ ! define.h xltenccom.h libstr.h libmem.h libutil.h ! xltenccom.o : xltenccom.h smldef.h define.h smlerr.h libmem.h \ ! libutil.h ! xltmetinf.o : smldef.h smldtd.h smlerr.h smlmetinfdtd.h define.h\ ! libmem.h libstr.h libutil.h xltdeccom.h xltmetinf.h\ ! xlttags.h xlttagtbl.h xltdec.h xltenc.h ! xltdevinf.o : smldevinfdtd.h xlttags.h xlttagtbl.h xltenc.h \ ! xltenc.h xltencwbxml.h libstr.h smlerr.h smldtd.h\ ! libmem.h libutil.h ! ## ! # default rule for compiling files ! # ! .c.o: ! $(CC) -c $(CFLAGS) $(INCS) -o $@ $< ! ! .PHONY: all sml xpt clean ! ! # ! # targets ! # ! all : sml xpt ! sml : $(SML_NAME) ! xpt : sml ! @$(MAKE) -f Makefile.xpt --no-print-directory ! clean : . ! @$(RM) *.o ! @$(MAKE) -f Makefile.xpt --no-print-directory clean Index: Makefile.xpt =================================================================== RCS file: /cvsroot/syncml-ctoolkit/toolkit/src/bld/palm/Makefile.xpt,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** Makefile.xpt 12 Jun 2004 04:14:26 -0000 1.1 --- Makefile.xpt 13 Jun 2004 07:29:19 -0000 1.2 *************** *** 1,282 **** ! # ! # Copyright Notice ! # Copyright (c) Ericsson, IBM, Lotus, Matsushita Communication ! # Industrial Co., Ltd., Motorola, Nokia, Openwave Systems, Inc., ! # Palm, Inc., Psion, Starfish Software, Symbian, Ltd. (2001). ! # All Rights Reserved. ! # Implementation of all or part of any Specification may require ! # licenses under third party intellectual property rights, ! # including without limitation, patent rights (such a third party ! # may or may not be a Supporter). The Sponsors of the Specification ! # are not responsible and shall not be held responsible in any ! # manner for identifying or failing to identify any or all such ! # third party intellectual property rights. ! # ! # THIS DOCUMENT AND THE INFORMATION CONTAINED HEREIN ARE PROVIDED ! # ON AN "AS IS" BASIS WITHOUT WARRANTY OF ANY KIND AND ERICSSON, IBM, ! # LOTUS, MATSUSHITA COMMUNICATION INDUSTRIAL CO. LTD, MOTOROLA, ! # NOKIA, PALM INC., PSION, STARFISH SOFTWARE AND ALL OTHER SYNCML ! # SPONSORS DISCLAIM ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING ! # BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION ! # HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF ! # MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT ! # SHALL ERICSSON, IBM, LOTUS, MATSUSHITA COMMUNICATION INDUSTRIAL CO., ! # LTD, MOTOROLA, NOKIA, PALM INC., PSION, STARFISH SOFTWARE OR ANY ! # OTHER SYNCML SPONSOR BE LIABLE TO ANY PARTY FOR ANY LOSS OF ! # PROFITS, LOSS OF BUSINESS, LOSS OF USE OF DATA, INTERRUPTION OF ! # BUSINESS, OR FOR DIRECT, INDIRECT, SPECIAL OR EXEMPLARY, INCIDENTAL, ! # PUNITIVE OR CONSEQUENTIAL DAMAGES OF ANY KIND IN CONNECTION WITH ! # THIS DOCUMENT OR THE INFORMATION CONTAINED HEREIN, EVEN IF ADVISED ! # OF THE POSSIBILITY OF SUCH LOSS OR DAMAGE. ! # ! # The above notice and this paragraph must be included on all copies ! # of this document that are made. ! # ! # ! ! # Build the xpt components of the SyncML Toolkit ! ! SRC = ../.. ! BIN = ../../../bin/palm ! ! MAKEOPTS = -f Makefile.xpt --no-print-directory ! ! # compiler to use ! CC = gcc ! ! # Flags that apply to everything built by this Makefile ! ALL_CFLAGS = -g -fPIC -DTRACE -Wall ! # Add -DTRACE_TO_STDOUT to the above options to send debugging output directly ! # to the screen instead of to smlLibPrint(). ! ! #-------------------------------------------------- ! # Flags that apply to the libxpt.so ! XPT_DLL_CFLAGS = -DBUILDING_XPT ! # The sml library isn't needed if -DTRACE_TO_STDOUT is specified as a compiler ! # option, which makes libxpt.so easier to test as a standalone entity. ! XPT_DLL_LIBS = -ldl -lsml ! XPT_DLL_SRCPATH = $(SRC)/xpt/manager/all $(SRC)/xpt/manager/palm \ ! $(SRC)/xpt/manager/inc $(SRC)/sml/inc \ ! $(SRC)/sml/inc/palm $(SRC)/sml/lib/inc $(SRC) ! XPT_DLL_OFILES = xptcomm.o utilities.o ! ! # For other DLLs that want to include headers from libxpt.so ! XPT_INCLUDE_DIRS = $(SRC)/xpt/manager/inc $(SRC)/xpt/manager/palm $(SRC)/sml/inc \ ! $(SRC)/sml/inc/palm $(SRC)/sml/lib/inc ! #-------------------------------------------------- ! ! # Flags that apply to the libxpthttp.so ! HTTP_DLL_SRCPATH = $(SRC)/xpt/bindings/http/palm $(SRC)/xpt/bindings/http/all \ ! $(SRC)/xpt/bindings/common/palm $(SRC)/xpt/bindings/common/all \ ! $(SRC)/xpt/bindings/common/tcp/palm $(SRC)/xpt/bindings/common/tcp/all \ ! $(XPT_INCLUDE_DIRS) $(SRC) ! HTTP_DLL_OFILES = xpt-http.o httpserverports.o httptrans.o \ ! xpt-auth.o digcalc.o xpt-b64.o md5.o xpt-tcp.o \ ! xptmutex.o ! HTTP_DLL_LIBS = -lxpt ! ! #-------------------------------------------------- ! ! # Flags that apply to the libxptwsp.so ! WSP_DLL_SRCPATH = $(SRC)/xpt/bindings/wsp/palm $(SRC)/xpt/bindings/wsp/all \ ! $(SRC)/xpt/bindings/wsp/inc \ ! $(XPT_INCLUDE_DIRS) $(SRC) ! WSP_DLL_OFILES = protocol.o xpt-wsp.o wspcbk.o wsphttp.o transact.o session.o \ ! settings.o wsputil.o ! WSP_DLL_LIBS = -lxpt -lxptawsp ! # The WSP binding is really supposed to be linked against an actual WAP stack. ! # Until we have one, link it against a skeleton stack. ! ! #----- ! ! # Flags that apply to the libawsp.so, a test-only skeleton WAP stack DLL ! AWSP_DLL_SRCPATH = $(SRC)/xpt/bindings/wsp/awsp/all \ ! $(SRC)/xpt/bindings/wsp/inc \ ! $(XPT_INCLUDE_DIRS) ! AWSP_DLL_OFILES = awsp.o ! AWSP_DLL_LIBS = -lxpt ! ! #-------------------------------------------------- ! # Flags that apply to the libiobex.so, a general Obex library used by libxptobex.so ! ! IOBEX_DLL_SRCPATH = $(SRC)/xpt/bindings/obex/smlobex $(SRC) \ ! $(SRC)/xpt/bindings/common/tcp/palm \ ! $(SRC)/xpt/bindings/common/tcp/all ! IOBEX_DLL_OFILES = debug.o handle.o header.o inetTransport.o irTransport.o \ ! obex.o object.o transport.o utils.o buffer.o ! ! #-------------------------------------------------- ! ! # Flags that apply to the libxptobex.so ! OBEX_DLL_SRCPATH = $(SRC)/xpt/bindings/obex/palm \ ! $(SRC)/xpt/bindings/obex/smlobex \ ! $(XPT_INCLUDE_DIRS) $(SRC) ! OBEX_DLL_OFILES = obexbinding.o ! OBEX_DLL_LIBS = -liobex -lxpt ! ! #-------------------------------------------------- ! ! ! ifdef TARGET ! # Assign the actual variables, depending on what target we're building ! CFLAGS = $(ALL_CFLAGS) $($(TARGET)_CFLAGS) $($(TARGET)_SRCPATH:%=-I%) ! LDLIBS = $($(TARGET)_LIBS) ! VPATH = $($(TARGET)_SRCPATH) ! OFILES = $($(TARGET)_OFILES) ! endif ! ! # All shared objects in this Makefile are built with the same basic options. ! LDFLAGS = -shared -g -L$(BIN) ! ! # Declare pseudo-targets, targets that don't exist as files ! .PHONY: all clean ! ! # Cause files partially created by failing commands to be erased: ! .DELETE_ON_ERROR: ! ! # Rules ! all: ! # Create the bin dirs if they don't already exist. ! @-mkdir -p $(BIN) ! @$(MAKE) $(MAKEOPTS) $(BIN)/libxpt.so TARGET=XPT_DLL ! @$(MAKE) $(MAKEOPTS) $(BIN)/libxpthttp.so TARGET=HTTP_DLL ! @$(MAKE) $(MAKEOPTS) $(BIN)/libxptawsp.so TARGET=AWSP_DLL ! @$(MAKE) $(MAKEOPTS) $(BIN)/libxptwsp.so TARGET=WSP_DLL ! @$(MAKE) $(MAKEOPTS) $(BIN)/libiobex.so TARGET=IOBEX_DLL ! @$(MAKE) $(MAKEOPTS) $(BIN)/libxptobex.so TARGET=OBEX_DLL ! ! #-------------------------------------------------- ! # libxpt.so - The xpt manager layer ! ! libxpt.so: $(OFILES) ! $(LINK.o) -o$@ $^ $(LDLIBS) ! ! $(BIN)/libxpt.so: libxpt.so ! cp $^ $(BIN) ! ! #-------------------------------------------------- ! # libxpthttp.so - The http transport implementation ! ! libxpthttp.so: $(OFILES) ! $(LINK.o) -o$@ $^ $(LDLIBS) ! ! $(BIN)/libxpthttp.so: libxpthttp.so ! cp $^ $(BIN) ! ! #-------------------------------------------------- ! # libxptwsp.so - The wsp transport implementation ! ! libxptwsp.so: $(OFILES) ! $(LINK.o) -o$@ $^ $(LDLIBS) ! ! $(BIN)/libxptwsp.so: libxptwsp.so ! cp $^ $(BIN) ! ! #------------ ! # libxptawsp.so - A non-working, skeleton wsp communication stack, for testing ! ! libxptawsp.so: $(OFILES) ! $(LINK.o) -o$@ $^ $(LDLIBS) ! ! $(BIN)/libxptawsp.so: libxptawsp.so ! cp $^ $(BIN) ! ! #-------------------------------------------------- ! # libiobex.so - Utility DLL used by the Obex transport implementation ! ! libiobex.so: $(OFILES) ! $(LINK.o) -o$@ $^ $(LDLIBS) ! ! $(BIN)/libiobex.so: libiobex.so ! cp $^ $(BIN) ! ! #-------------------------------------------------- ! # libxptobex.so - The obex transport implementation ! ! libxptobex.so: $(OFILES) ! $(LINK.o) -o$@ $^ $(LDLIBS) ! ! $(BIN)/libxptobex.so: libxptobex.so ! cp $^ $(BIN) ! ! #-------------------------------------------------- ! # cleanup ! clean: ! -rm *.o *.so 2>/dev/null ! ! #-------------------------------------------------- ! # ! # dependencies ! # ! ! # libxpt.so dependencies ! xptcomm.o: xpt.h xptdef.h smldef.h define.h smlerr.h xptTransport.h \ ! xptcomm.h utilities.h xptport.h ! utilities.o: xpt.h xptdef.h smldef.h define.h smlerr.h xptTransport.h \ ! utilities.h ! ! # libxpthttp.so dependencies ! digcalc.o: global.h md5.h xptport.h xptdef.h define.h digcalc.h ! httpserverports.o: httpdefs.h xptdef.h xptport.h define.h xpt.h smldef.h \ ! smlerr.h httpserverports.h xpt-tcp.h xpttypes.h xptmutex.h ! httptrans.o: httpdefs.h xptdef.h xptport.h define.h httptrans.h \ ! xptTransport.h xpt.h smldef.h smlerr.h xpttypes.h xpt-http.h \ ! xpt-tcp.h xpt-auth.h ! md5.o: global.h md5.h ! xpt-auth.o: xptport.h xptdef.h define.h xpt-b64.h xpttypes.h digcalc.h \ ! xpt-auth.h ! xpt-b64.o: xptport.h xptdef.h define.h xpttypes.h xpt-b64.h xptib64.h ! xpt-http.o: xpttypes.h xptihttp.h xpt-tcp.h xpt-http.h xpt-auth.h \ ! xpt.h xptdef.h smldef.h define.h smlerr.h xptport.h ! xpt-tcp.o: xptitcp.h xpttypes.h xptport.h xptdef.h define.h xpt-tcp.h ! xptmutex.o: xptmutex.h ! ! # libxptawsp.so dependencies ! awsp.o: awsp.h xptdef.h xptTransport.h xpt.h smldef.h define.h smlerr.h \ ! xptport.h ! ! # libxptwsp.so dependencies ! protocol.o: protocol.h xpt.h xptdef.h smldef.h define.h smlerr.h \ ! xptTransport.h awsp.h session.h wspdef.h settings.h \ ! wsphttp.h transact.h xptport.h ! session.o: session.h awsp.h xptdef.h xptTransport.h xpt.h smldef.h \ ! define.h smlerr.h wspdef.h wsputil.h xptport.h ! settings.o: settings.h awsp.h xptdef.h wsphttp.h xptTransport.h xpt.h \ ! smldef.h define.h smlerr.h wspdef.h wsputil.h xptport.h ! transact.o: transact.h awsp.h xptdef.h xpt.h smldef.h define.h smlerr.h \ ! wsphttp.h xptTransport.h wspdef.h wsputil.h xptiwsp.h \ ! xptport.h ! wspcbk.o: awsp.h xptdef.h xpt-wsp.h xptTransport.h xpt.h smldef.h define.h \ ! smlerr.h protocol.h session.h wspdef.h settings.h \ ! wsphttp.h transact.h ! wsphttp.o: wsphttp.h xptTransport.h xptdef.h xpt.h smldef.h define.h \ ! smlerr.h wspdef.h wsputil.h xptport.h ! wsputil.o: wsputil.h xptTransport.h xptdef.h xpt.h smldef.h define.h \ ! smlerr.h wspdef.h xptport.h ! xpt-wsp.o: xpt-wsp.h xptTransport.h xptdef.h xpt.h smldef.h define.h \ ! smlerr.h protocol.h awsp.h session.h wspdef.h \ ! settings.h wsphttp.h transact.h ! ! # libiobex.so dependencies ! buffer.o: buffer.h obex/constants.h utils.h iConstants.h debug.h obex/error.h ! debug.o: debug.h iConstants.h obex/constants.h buffer.h utils.h obex/error.h ! handle.o: handle.h obex/constants.h iConstants.h buffer.h utils.h debug.h \ ! obex/error.h transport.h ! header.o: header.h obex/constants.h buffer.h utils.h iConstants.h debug.h \ ! obex/error.h handle.h object.h ! inetTransport.o: inetTransport.h iConstants.h obex/constants.h buffer.h \ ! utils.h debug.h obex/error.h ! irTransport.o: irTransport.h iConstants.h obex/constants.h buffer.h utils.h \ ! debug.h obex/error.h ! obex.o: obex/obex.h obex/constants.h obex/error.h iConstants.h buffer.h \ ! utils.h debug.h handle.h object.h header.h transport.h ! object.o: object.h iConstants.h obex/constants.h buffer.h utils.h debug.h \ ! obex/error.h handle.h header.h ! transport.o: transport.h obex/constants.h iConstants.h buffer.h utils.h \ ! debug.h obex/error.h irTransport.h inetTransport.h ! utils.o: utils.h iConstants.h obex/constants.h buffer.h debug.h obex/error.h ! ! # libxptobex.so dependencies ! obexbinding.o: obexbinding.h smldef.h define.h xptTransport.h xptdef.h xpt.h \ ! smlerr.h obex/obex.h obex/constants.h obex/error.h obexbindingerror.h ! --- 1,282 ---- ! # ! # Copyright Notice ! # Copyright (c) Ericsson, IBM, Lotus, Matsushita Communication ! # Industrial Co., Ltd., Motorola, Nokia, Openwave Systems, Inc., ! # Palm, Inc., Psion, Starfish Software, Symbian, Ltd. (2001). ! # All Rights Reserved. ! # Implementation of all or part of any Specification may require ! # licenses under third party intellectual property rights, ! # including without limitation, patent rights (such a third party ! # may or may not be a Supporter). The Sponsors of the Specification ! # are not responsible and shall not be held responsible in any ! # manner for identifying or failing to identify any or all such ! # third party intellectual property rights. ! # ! # THIS DOCUMENT AND THE INFORMATION CONTAINED HEREIN ARE PROVIDED ! # ON AN "AS IS" BASIS WITHOUT WARRANTY OF ANY KIND AND ERICSSON, IBM, ! # LOTUS, MATSUSHITA COMMUNICATION INDUSTRIAL CO. LTD, MOTOROLA, ! # NOKIA, PALM INC., PSION, STARFISH SOFTWARE AND ALL OTHER SYNCML ! # SPONSORS DISCLAIM ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING ! # BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION ! # HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF ! # MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT ! # SHALL ERICSSON, IBM, LOTUS, MATSUSHITA COMMUNICATION INDUSTRIAL CO., ! # LTD, MOTOROLA, NOKIA, PALM INC., PSION, STARFISH SOFTWARE OR ANY ! # OTHER SYNCML SPONSOR BE LIABLE TO ANY PARTY FOR ANY LOSS OF ! # PROFITS, LOSS OF BUSINESS, LOSS OF USE OF DATA, INTERRUPTION OF ! # BUSINESS, OR FOR DIRECT, INDIRECT, SPECIAL OR EXEMPLARY, INCIDENTAL, ! # PUNITIVE OR CONSEQUENTIAL DAMAGES OF ANY KIND IN CONNECTION WITH ! # THIS DOCUMENT OR THE INFORMATION CONTAINED HEREIN, EVEN IF ADVISED ! # OF THE POSSIBILITY OF SUCH LOSS OR DAMAGE. ! # ! # The above notice and this paragraph must be included on all copies ! # of this document that are made. ! # ! # ! ! # Build the xpt components of the SyncML Toolkit ! ! SRC = ../.. ! BIN = ../../../bin/palm ! ! MAKEOPTS = -f Makefile.xpt --no-print-directory ! ! # compiler to use ! CC = gcc ! ! # Flags that apply to everything built by this Makefile ! ALL_CFLAGS = -g -fPIC -DTRACE -Wall ! # Add -DTRACE_TO_STDOUT to the above options to send debugging output directly ! # to the screen instead of to smlLibPrint(). ! ! #-------------------------------------------------- ! # Flags that apply to the libxpt.so ! XPT_DLL_CFLAGS = -DBUILDING_XPT ! # The sml library isn't needed if -DTRACE_TO_STDOUT is specified as a compiler ! # option, which makes libxpt.so easier to test as a standalone entity. ! XPT_DLL_LIBS = -ldl -lsml ! XPT_DLL_SRCPATH = $(SRC)/xpt/manager/all $(SRC)/xpt/manager/palm \ ! $(SRC)/xpt/manager/inc $(SRC)/sml/inc \ ! $(SRC)/sml/inc/palm $(SRC)/sml/lib/inc $(SRC) ! XPT_DLL_OFILES = xptcomm.o utilities.o ! ! # For other DLLs that want to include headers from libxpt.so ! XPT_INCLUDE_DIRS = $(SRC)/xpt/manager/inc $(SRC)/xpt/manager/palm $(SRC)/sml/inc \ ! $(SRC)/sml/inc/palm $(SRC)/sml/lib/inc ! #-------------------------------------------------- ! ! # Flags that apply to the libxpthttp.so ! HTTP_DLL_SRCPATH = $(SRC)/xpt/bindings/http/palm $(SRC)/xpt/bindings/http/all \ ! $(SRC)/xpt/bindings/common/palm $(SRC)/xpt/bindings/common/all \ ! $(SRC)/xpt/bindings/common/tcp/palm $(SRC)/xpt/bindings/common/tcp/all \ ! $(XPT_INCLUDE_DIRS) $(SRC) ! HTTP_DLL_OFILES = xpt-http.o httpserverports.o httptrans.o \ ! xpt-auth.o digcalc.o xpt-b64.o md5.o xpt-tcp.o \ ! xptmutex.o ! HTTP_DLL_LIBS = -lxpt ! ! #-------------------------------------------------- ! ! # Flags that apply to the libxptwsp.so ! WSP_DLL_SRCPATH = $(SRC)/xpt/bindings/wsp/palm $(SRC)/xpt/bindings/wsp/all \ ! $(SRC)/xpt/bindings/wsp/inc \ ! $(XPT_INCLUDE_DIRS) $(SRC) ! WSP_DLL_OFILES = protocol.o xpt-wsp.o wspcbk.o wsphttp.o transact.o session.o \ ! settings.o wsputil.o ! WSP_DLL_LIBS = -lxpt -lxptawsp ! # The WSP binding is really supposed to be linked against an actual WAP stack. ! # Until we have one, link it against a skeleton stack. ! ! #----- ! ! # Flags that apply to the libawsp.so, a test-only skeleton WAP stack DLL ! AWSP_DLL_SRCPATH = $(SRC)/xpt/bindings/wsp/awsp/all \ ! $(SRC)/xpt/bindings/wsp/inc \ ! $(XPT_INCLUDE_DIRS) ! AWSP_DLL_OFILES = awsp.o ! AWSP_DLL_LIBS = -lxpt ! ! #-------------------------------------------------- ! # Flags that apply to the libiobex.so, a general Obex library used by libxptobex.so ! ! IOBEX_DLL_SRCPATH = $(SRC)/xpt/bindings/obex/smlobex $(SRC) \ ! $(SRC)/xpt/bindings/common/tcp/palm \ ! $(SRC)/xpt/bindings/common/tcp/all ! IOBEX_DLL_OFILES = debug.o handle.o header.o inetTransport.o irTransport.o \ ! obex.o object.o transport.o utils.o buffer.o ! ! #-------------------------------------------------- ! ! # Flags that apply to the libxptobex.so ! OBEX_DLL_SRCPATH = $(SRC)/xpt/bindings/obex/palm \ ! $(SRC)/xpt/bindings/obex/smlobex \ ! $(XPT_INCLUDE_DIRS) $(SRC) ! OBEX_DLL_OFILES = obexbinding.o ! OBEX_DLL_LIBS = -liobex -lxpt ! ! #-------------------------------------------------- ! ! ! ifdef TARGET ! # Assign the actual variables, depending on what target we're building ! CFLAGS = $(ALL_CFLAGS) $($(TARGET)_CFLAGS) $($(TARGET)_SRCPATH:%=-I%) ! LDLIBS = $($(TARGET)_LIBS) ! VPATH = $($(TARGET)_SRCPATH) ! OFILES = $($(TARGET)_OFILES) ! endif ! ! # All shared objects in this Makefile are built with the same basic options. ! LDFLAGS = -shared -g -L$(BIN) ! ! # Declare pseudo-targets, targets that don't exist as files ! .PHONY: all clean ! ! # Cause files partially created by failing commands to be erased: ! .DELETE_ON_ERROR: ! ! # Rules ! all: ! # Create the bin dirs if they don't already exist. ! @-mkdir -p $(BIN) ! @$(MAKE) $(MAKEOPTS) $(BIN)/libxpt.so TARGET=XPT_DLL ! @$(MAKE) $(MAKEOPTS) $(BIN)/libxpthttp.so TARGET=HTTP_DLL ! @$(MAKE) $(MAKEOPTS) $(BIN)/libxptawsp.so TARGET=AWSP_DLL ! @$(MAKE) $(MAKEOPTS) $(BIN)/libxptwsp.so TARGET=WSP_DLL ! @$(MAKE) $(MAKEOPTS) $(BIN)/libiobex.so TARGET=IOBEX_DLL ! @$(MAKE) $(MAKEOPTS) $(BIN)/libxptobex.so TARGET=OBEX_DLL ! ! #-------------------------------------------------- ! # libxpt.so - The xpt manager layer ! ! libxpt.so: $(OFILES) ! $(LINK.o) -o$@ $^ $(LDLIBS) ! ! $(BIN)/libxpt.so: libxpt.so ! cp $^ $(BIN) ! ! #-------------------------------------------------- ! # libxpthttp.so - The http transport implementation ! ! libxpthttp.so: $(OFILES) ! $(LINK.o) -o$@ $^ $(LDLIBS) ! ! $(BIN)/libxpthttp.so: libxpthttp.so ! cp $^ $(BIN) ! ! #-------------------------------------------------- ! # libxptwsp.so - The wsp transport implementation ! ! libxptwsp.so: $(OFILES) ! $(LINK.o) -o$@ $^ $(LDLIBS) ! ! $(BIN)/libxptwsp.so: libxptwsp.so ! cp $^ $(BIN) ! ! #------------ ! # libxptawsp.so - A non-working, skeleton wsp communication stack, for testing ! ! libxptawsp.so: $(OFILES) ! $(LINK.o) -o$@ $^ $(LDLIBS) ! ! $(BIN)/libxptawsp.so: libxptawsp.so ! cp $^ $(BIN) ! ! #-------------------------------------------------- ! # libiobex.so - Utility DLL used by the Obex transport implementation ! ! libiobex.so: $(OFILES) ! $(LINK.o) -o$@ $^ $(LDLIBS) ! ! $(BIN)/libiobex.so: libiobex.so ! cp $^ $(BIN) ! ! #-------------------------------------------------- ! # libxptobex.so - The obex transport implementation ! ! libxptobex.so: $(OFILES) ! $(LINK.o) -o$@ $^ $(LDLIBS) ! ! $(BIN)/libxptobex.so: libxptobex.so ! cp $^ $(BIN) ! ! #-------------------------------------------------- ! # cleanup ! clean: ! -rm *.o *.so 2>/dev/null ! ! #-------------------------------------------------- ! # ! # dependencies ! # ! ! # libxpt.so dependencies ! xptcomm.o: xpt.h xptdef.h smldef.h define.h smlerr.h xptTransport.h \ ! xptcomm.h utilities.h xptport.h ! utilities.o: xpt.h xptdef.h smldef.h define.h smlerr.h xptTransport.h \ ! utilities.h ! ! # libxpthttp.so dependencies ! digcalc.o: global.h md5.h xptport.h xptdef.h define.h digcalc.h ! httpserverports.o: httpdefs.h xptdef.h xptport.h define.h xpt.h smldef.h \ ! smlerr.h httpserverports.h xpt-tcp.h xpttypes.h xptmutex.h ! httptrans.o: httpdefs.h xptdef.h xptport.h define.h httptrans.h \ ! xptTransport.h xpt.h smldef.h smlerr.h xpttypes.h xpt-http.h \ ! xpt-tcp.h xpt-auth.h ! md5.o: global.h md5.h ! xpt-auth.o: xptport.h xptdef.h define.h xpt-b64.h xpttypes.h digcalc.h \ ! xpt-auth.h ! xpt-b64.o: xptport.h xptdef.h define.h xpttypes.h xpt-b64.h xptib64.h ! xpt-http.o: xpttypes.h xptihttp.h xpt-tcp.h xpt-http.h xpt-auth.h \ ! xpt.h xptdef.h smldef.h define.h smlerr.h xptport.h ! xpt-tcp.o: xptitcp.h xpttypes.h xptport.h xptdef.h define.h xpt-tcp.h ! xptmutex.o: xptmutex.h ! ! # libxptawsp.so dependencies ! awsp.o: awsp.h xptdef.h xptTransport.h xpt.h smldef.h define.h smlerr.h \ ! xptport.h ! ! # libxptwsp.so dependencies ! protocol.o: protocol.h xpt.h xptdef.h smldef.h define.h smlerr.h \ ! xptTransport.h awsp.h session.h wspdef.h settings.h \ ! wsphttp.h transact.h xptport.h ! session.o: session.h awsp.h xptdef.h xptTransport.h xpt.h smldef.h \ ! define.h smlerr.h wspdef.h wsputil.h xptport.h ! settings.o: settings.h awsp.h xptdef.h wsphttp.h xptTransport.h xpt.h \ ! smldef.h define.h smlerr.h wspdef.h wsputil.h xptport.h ! transact.o: transact.h awsp.h xptdef.h xpt.h smldef.h define.h smlerr.h \ ! wsphttp.h xptTransport.h wspdef.h wsputil.h xptiwsp.h \ ! xptport.h ! wspcbk.o: awsp.h xptdef.h xpt-wsp.h xptTransport.h xpt.h smldef.h define.h \ ! smlerr.h protocol.h session.h wspdef.h settings.h \ ! wsphttp.h transact.h ! wsphttp.o: wsphttp.h xptTransport.h xptdef.h xpt.h smldef.h define.h \ ! smlerr.h wspdef.h wsputil.h xptport.h ! wsputil.o: wsputil.h xptTransport.h xptdef.h xpt.h smldef.h define.h \ ! smlerr.h wspdef.h xptport.h ! xpt-wsp.o: xpt-wsp.h xptTransport.h xptdef.h xpt.h smldef.h define.h \ ! smlerr.h protocol.h awsp.h session.h wspdef.h \ ! settings.h wsphttp.h transact.h ! ! # libiobex.so dependencies ! buffer.o: buffer.h obex/constants.h utils.h iConstants.h debug.h obex/error.h ! debug.o: debug.h iConstants.h obex/constants.h buffer.h utils.h obex/error.h ! handle.o: handle.h obex/constants.h iConstants.h buffer.h utils.h debug.h \ ! obex/error.h transport.h ! header.o: header.h obex/constants.h buffer.h utils.h iConstants.h debug.h \ ! obex/error.h handle.h object.h ! inetTransport.o: inetTransport.h iConstants.h obex/constants.h buffer.h \ ! utils.h debug.h obex/error.h ! irTransport.o: irTransport.h iConstants.h obex/constants.h buffer.h utils.h \ ! debug.h obex/error.h ! obex.o: obex/obex.h obex/constants.h obex/error.h iConstants.h buffer.h \ ! utils.h debug.h handle.h object.h header.h transport.h ! object.o: object.h iConstants.h obex/constants.h buffer.h utils.h debug.h \ ! obex/error.h handle.h header.h ! transport.o: transport.h obex/constants.h iConstants.h buffer.h utils.h \ ! debug.h obex/error.h irTransport.h inetTransport.h ! utils.o: utils.h iConstants.h obex/constants.h buffer.h debug.h obex/error.h ! ! # libxptobex.so dependencies ! obexbinding.o: obexbinding.h smldef.h define.h xptTransport.h xptdef.h xpt.h \ ! smlerr.h obex/obex.h obex/constants.h obex/error.h obexbindingerror.h ! |
From: Kidong L. <bri...@us...> - 2004-06-13 00:50:11
|
Update of /cvsroot/syncml-ctoolkit/toolkit/src/sml/mgr/inc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27519/sml/mgr/inc Modified Files: mgr.h mgrutil.h Log Message: Attached macro in the end of function prototypes to build on PalmOS/prc-tools Index: mgrutil.h =================================================================== RCS file: /cvsroot/syncml-ctoolkit/toolkit/src/sml/mgr/inc/mgrutil.h,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** mgrutil.h 24 May 2004 01:33:36 -0000 1.4 --- mgrutil.h 13 Jun 2004 00:49:58 -0000 1.5 *************** *** 53,169 **** /* Prototypes of exported SyncML API functions */ ! SML_API Ret_t smlFreeProtoElement(VoidPtr_t pProtoElement); ! SML_API void smlFreePcdata(SmlPcdataPtr_t pPcdata); ! SML_API void smlFreePcdataList(SmlPcdataListPtr_t list); ! SML_API void smlFreeSyncHdr(SmlSyncHdrPtr_t pSyncHdr); ! SML_API void smlFreeSync(SmlSyncPtr_t pSync); ! SML_API void smlFreeGeneric(SmlGenericCmdPtr_t pGenericCmd); ! SML_API void smlFreeAlert(SmlAlertPtr_t pAlert); ! SML_API void smlFreeAtomic(SmlAtomicPtr_t pAtomic); #if (defined EXEC_SEND || defined EXEC_RECEIVE) ! SML_API void smlFreeExec(SmlExecPtr_t pExec); #endif ! SML_API void smlFreeGetPut(SmlPutPtr_t pGetPut); ! SML_API void smlFreeMap(SmlMapPtr_t pMap); ! SML_API void smlFreeResults(SmlResultsPtr_t pResults); #if (defined SEARCH_SEND || defined SEARCH_RECEIVE) ! SML_API void smlFreeSearch(SmlSearchPtr_t pSearch); #endif ! SML_API void smlFreeStatus(SmlStatusPtr_t pStatus); ! SML_API void smlFreeCredPtr(SmlCredPtr_t pCred); ! SML_API void smlFreeChalPtr(SmlChalPtr_t pChal); ! SML_API void smlFreeSourceTargetPtr(SmlSourcePtr_t pSourceTarget); ! SML_API void smlFreeSourceList(SmlSourceListPtr_t pSourceList); ! SML_API void smlFreeSourceRefList(SmlSourceRefListPtr_t pSourceRefList); ! SML_API void smlFreeTargetRefList(SmlTargetRefListPtr_t pTargetRefList); ! SML_API void smlFreeItemPtr(SmlItemPtr_t pItem); ! SML_API void smlFreeItemList(SmlItemListPtr_t pItemList); ! SML_API void smlFreeMapItemPtr(SmlMapItemPtr_t pMapItem); ! SML_API void smlFreeMapItemList(SmlMapItemListPtr_t pMapItemList); #ifdef __USE_METINF__ ! SML_API void smlFreeMetinfAnchor(SmlMetInfAnchorPtr_t data); ! SML_API void smlFreeMetinfMem(SmlMetInfMemPtr_t data); ! SML_API void smlFreeMetinfMetinf(SmlMetInfMetInfPtr_t data); #endif #ifdef __USE_DEVINF__ ! SML_API void smlFreeDevInfDatastore(SmlDevInfDatastorePtr_t data); ! SML_API void smlFreeDevInfDatastoreList(SmlDevInfDatastoreListPtr_t data); ! SML_API void smlFreeDevInfXmitList(SmlDevInfXmitListPtr_t data); ! SML_API void smlFreeDevInfXmit(SmlDevInfXmitPtr_t data); ! SML_API void smlFreeDevInfDSMem(SmlDevInfDSMemPtr_t data); ! SML_API void smlFreeDevInfSynccap(SmlDevInfSyncCapPtr_t data); ! SML_API void smlFreeDevInfExt(SmlDevInfExtPtr_t data); ! SML_API void smlFreeDevInfExtList(SmlDevInfExtListPtr_t data); ! SML_API void smlFreeDevInfCTData(SmlDevInfCTDataPtr_t data); ! SML_API void smlFreeDevInfCTDataList(SmlDevInfCTDataListPtr_t data); ! SML_API void smlFreeDevInfCTDataProp(SmlDevInfCTDataPropPtr_t data); ! SML_API void smlFreeDevInfCTDataPropList(SmlDevInfCTDataPropListPtr_t data); ! SML_API void smlFreeDevInfCTCap(SmlDevInfCTCapPtr_t data); ! SML_API void smlFreeDevInfCtcapList(SmlDevInfCtcapListPtr_t data); ! SML_API void smlFreeDevInfDevInf(SmlDevInfDevInfPtr_t data); #endif #ifndef __SML_LITE__ /* these API calls are NOT included in the Toolkit lite version */ ! SML_API String_t smlPcdata2String( SmlPcdataPtr_t pcdata ); ! SML_API SmlPcdataPtr_t smlString2Pcdata( String_t str ); ! SML_API SmlPcdataPtr_t smlPcdataDup(SmlPcdataPtr_t pcdata); ! SML_API MemSize_t smlGetFreeBuffer(InstanceID_t id); #endif #ifdef __USE_ALLOCFUNCS__ ! SML_API SmlPcdataPtr_t smlAllocPcdata(); ! SML_API SmlPcdataListPtr_t smlAllocPcdataList(); ! SML_API SmlChalPtr_t smlAllocChal(); ! SML_API SmlCredPtr_t smlAllocCred(); ! SML_API SmlSourcePtr_t smlAllocSource(); ! SML_API SmlTargetPtr_t smlAllocTarget(); ! SML_API SmlSourceListPtr_t smlAllocSourceList(); ! SML_API SmlSyncHdrPtr_t smlAllocSyncHdr(); ! SML_API SmlItemPtr_t smlAllocItem(); ! SML_API SmlItemListPtr_t smlAllocItemList(); ! SML_API SmlGenericCmdPtr_t smlAllocGeneric(); ! SML_API SmlAddPtr_t smlAllocAdd(); ! SML_API SmlCopyPtr_t smlAllocCopy(); ! SML_API SmlReplacePtr_t smlAllocReplace(); ! SML_API SmlDeletePtr_t smlAllocDelete(); ! SML_API SmlAlertPtr_t smlAllocAlert(); ! SML_API SmlAtomicPtr_t smlAllocAtomic(); ! SML_API SmlSequencePtr_t smlAllocSequence(); ! SML_API SmlSyncPtr_t smlAllocSync(); ! SML_API SmlExecPtr_t smlAllocExec(); ! SML_API SmlGetPtr_t smlAllocGet(); ! SML_API SmlPutPtr_t smlAllocPut(); ! SML_API SmlMapItemPtr_t smlAllocMapItem(); ! SML_API SmlMapItemListPtr_t smlAllocMapItemList(); ! SML_API SmlMapPtr_t smlAllocMap(); ! SML_API SmlResultsPtr_t smlAllocResults(); ! SML_API SmlSearchPtr_t smlAllocSearch(); ! SML_API SmlTargetRefListPtr_t smlAllocTargetRefList(); ! SML_API SmlSourceRefListPtr_t smlAllocSourceRefList(); ! SML_API SmlStatusPtr_t smlAllocStatus(); ! SML_API SmlUnknownProtoElementPtr_t smlAllocUnknownProtoElement(); #ifdef __USE_METINF__ ! SML_API SmlMetInfMetInfPtr_t smlAllocMetInfMetInf(); ! SML_API SmlMetInfAnchorPtr_t smlAllocMetInfAnchor(); ! SML_API SmlMetInfMemPtr_t smlAllocMetInfMem(); #endif // MetInf #ifdef __USE_DEVINF__ ! SML_API SmlDevInfExtPtr_t smlAllocDevInfExt(); ! SML_API SmlDevInfExtListPtr_t smlAllocDevInfExtList(); ! SML_API SmlDevInfSyncCapPtr_t smlAllocDevInfSyncCap(); ! SML_API SmlDevInfCTDataPtr_t smlAllocDevInfCTData(); ! SML_API SmlDevInfCTDataListPtr_t smlAllocDevInfCTDataList(); ! SML_API SmlDevInfCTDataPropPtr_t smlAllocDevInfCTDataProp(); ! SML_API SmlDevInfCTDataPropListPtr_t smlAllocDevInfCTDataPropList(); ! SML_API SmlDevInfCTCapPtr_t smlAllocDevInfCTCap(); ! SML_API SmlDevInfCtcapListPtr_t smlAllocDevInfCtcapList(); ! SML_API SmlDevInfDSMemPtr_t smlAllocDevInfDSMem(); ! SML_API SmlDevInfXmitPtr_t smlAllocDevInfXmit(); ! SML_API SmlDevInfXmitListPtr_t smlAllocDevInfXmitList(); ! SML_API SmlDevInfDatastorePtr_t smlAllocDevInfDatastore(); ! SML_API SmlDevInfDatastoreListPtr_t smlAllocDevInfDatastoreList(); ! SML_API SmlDevInfDevInfPtr_t smlAllocDevInfDevInf(); #endif // DevInf #endif // AllocFuncs --- 53,169 ---- /* Prototypes of exported SyncML API functions */ ! SML_API Ret_t smlFreeProtoElement(VoidPtr_t pProtoElement) MGR_FUNC; ! SML_API void smlFreePcdata(SmlPcdataPtr_t pPcdata) MGR_FUNC; ! SML_API void smlFreePcdataList(SmlPcdataListPtr_t list) MGR_FUNC; ! SML_API void smlFreeSyncHdr(SmlSyncHdrPtr_t pSyncHdr) MGR_FUNC; ! SML_API void smlFreeSync(SmlSyncPtr_t pSync) MGR_FUNC; ! SML_API void smlFreeGeneric(SmlGenericCmdPtr_t pGenericCmd) MGR_FUNC; ! SML_API void smlFreeAlert(SmlAlertPtr_t pAlert) MGR_FUNC; ! SML_API void smlFreeAtomic(SmlAtomicPtr_t pAtomic) MGR_FUNC; #if (defined EXEC_SEND || defined EXEC_RECEIVE) ! SML_API void smlFreeExec(SmlExecPtr_t pExec) MGR_FUNC; #endif ! SML_API void smlFreeGetPut(SmlPutPtr_t pGetPut) MGR_FUNC; ! SML_API void smlFreeMap(SmlMapPtr_t pMap) MGR_FUNC; ! SML_API void smlFreeResults(SmlResultsPtr_t pResults) MGR_FUNC; #if (defined SEARCH_SEND || defined SEARCH_RECEIVE) ! SML_API void smlFreeSearch(SmlSearchPtr_t pSearch) MGR_FUNC; #endif ! SML_API void smlFreeStatus(SmlStatusPtr_t pStatus) MGR_FUNC; ! SML_API void smlFreeCredPtr(SmlCredPtr_t pCred) MGR_FUNC; ! SML_API void smlFreeChalPtr(SmlChalPtr_t pChal) MGR_FUNC; ! SML_API void smlFreeSourceTargetPtr(SmlSourcePtr_t pSourceTarget) MGR_FUNC; ! SML_API void smlFreeSourceList(SmlSourceListPtr_t pSourceList) MGR_FUNC; ! SML_API void smlFreeSourceRefList(SmlSourceRefListPtr_t pSourceRefList) MGR_FUNC; ! SML_API void smlFreeTargetRefList(SmlTargetRefListPtr_t pTargetRefList) MGR_FUNC; ! SML_API void smlFreeItemPtr(SmlItemPtr_t pItem) MGR_FUNC; ! SML_API void smlFreeItemList(SmlItemListPtr_t pItemList) MGR_FUNC; ! SML_API void smlFreeMapItemPtr(SmlMapItemPtr_t pMapItem) MGR_FUNC; ! SML_API void smlFreeMapItemList(SmlMapItemListPtr_t pMapItemList) MGR_FUNC; #ifdef __USE_METINF__ ! SML_API void smlFreeMetinfAnchor(SmlMetInfAnchorPtr_t data) MGR_FUNC; ! SML_API void smlFreeMetinfMem(SmlMetInfMemPtr_t data) MGR_FUNC; ! SML_API void smlFreeMetinfMetinf(SmlMetInfMetInfPtr_t data) MGR_FUNC; #endif #ifdef __USE_DEVINF__ ! SML_API void smlFreeDevInfDatastore(SmlDevInfDatastorePtr_t data) MGR_FUNC; ! SML_API void smlFreeDevInfDatastoreList(SmlDevInfDatastoreListPtr_t data) MGR_FUNC; ! SML_API void smlFreeDevInfXmitList(SmlDevInfXmitListPtr_t data) MGR_FUNC; ! SML_API void smlFreeDevInfXmit(SmlDevInfXmitPtr_t data) MGR_FUNC; ! SML_API void smlFreeDevInfDSMem(SmlDevInfDSMemPtr_t data) MGR_FUNC; ! SML_API void smlFreeDevInfSynccap(SmlDevInfSyncCapPtr_t data) MGR_FUNC; ! SML_API void smlFreeDevInfExt(SmlDevInfExtPtr_t data) MGR_FUNC; ! SML_API void smlFreeDevInfExtList(SmlDevInfExtListPtr_t data) MGR_FUNC; ! SML_API void smlFreeDevInfCTData(SmlDevInfCTDataPtr_t data) MGR_FUNC; ! SML_API void smlFreeDevInfCTDataList(SmlDevInfCTDataListPtr_t data) MGR_FUNC; ! SML_API void smlFreeDevInfCTDataProp(SmlDevInfCTDataPropPtr_t data) MGR_FUNC; ! SML_API void smlFreeDevInfCTDataPropList(SmlDevInfCTDataPropListPtr_t data) MGR_FUNC; ! SML_API void smlFreeDevInfCTCap(SmlDevInfCTCapPtr_t data) MGR_FUNC; ! SML_API void smlFreeDevInfCtcapList(SmlDevInfCtcapListPtr_t data) MGR_FUNC; ! SML_API void smlFreeDevInfDevInf(SmlDevInfDevInfPtr_t data) MGR_FUNC; #endif #ifndef __SML_LITE__ /* these API calls are NOT included in the Toolkit lite version */ ! SML_API String_t smlPcdata2String( SmlPcdataPtr_t pcdata ) MGR_FUNC; ! SML_API SmlPcdataPtr_t smlString2Pcdata( String_t str ) MGR_FUNC; ! SML_API SmlPcdataPtr_t smlPcdataDup(SmlPcdataPtr_t pcdata) MGR_FUNC; ! SML_API MemSize_t smlGetFreeBuffer(InstanceID_t id) MGR_FUNC; #endif #ifdef __USE_ALLOCFUNCS__ ! SML_API SmlPcdataPtr_t smlAllocPcdata() MGR_FUNC; ! SML_API SmlPcdataListPtr_t smlAllocPcdataList() MGR_FUNC; ! SML_API SmlChalPtr_t smlAllocChal() MGR_FUNC; ! SML_API SmlCredPtr_t smlAllocCred() MGR_FUNC; ! SML_API SmlSourcePtr_t smlAllocSource() MGR_FUNC; ! SML_API SmlTargetPtr_t smlAllocTarget() MGR_FUNC; ! SML_API SmlSourceListPtr_t smlAllocSourceList() MGR_FUNC; ! SML_API SmlSyncHdrPtr_t smlAllocSyncHdr() MGR_FUNC; ! SML_API SmlItemPtr_t smlAllocItem() MGR_FUNC; ! SML_API SmlItemListPtr_t smlAllocItemList() MGR_FUNC; ! SML_API SmlGenericCmdPtr_t smlAllocGeneric() MGR_FUNC; ! SML_API SmlAddPtr_t smlAllocAdd() MGR_FUNC; ! SML_API SmlCopyPtr_t smlAllocCopy() MGR_FUNC; ! SML_API SmlReplacePtr_t smlAllocReplace() MGR_FUNC; ! SML_API SmlDeletePtr_t smlAllocDelete() MGR_FUNC; ! SML_API SmlAlertPtr_t smlAllocAlert() MGR_FUNC; ! SML_API SmlAtomicPtr_t smlAllocAtomic() MGR_FUNC; ! SML_API SmlSequencePtr_t smlAllocSequence() MGR_FUNC; ! SML_API SmlSyncPtr_t smlAllocSync() MGR_FUNC; ! SML_API SmlExecPtr_t smlAllocExec() MGR_FUNC; ! SML_API SmlGetPtr_t smlAllocGet() MGR_FUNC; ! SML_API SmlPutPtr_t smlAllocPut() MGR_FUNC; ! SML_API SmlMapItemPtr_t smlAllocMapItem() MGR_FUNC; ! SML_API SmlMapItemListPtr_t smlAllocMapItemList() MGR_FUNC; ! SML_API SmlMapPtr_t smlAllocMap() MGR_FUNC; ! SML_API SmlResultsPtr_t smlAllocResults() MGR_FUNC; ! SML_API SmlSearchPtr_t smlAllocSearch() MGR_FUNC; ! SML_API SmlTargetRefListPtr_t smlAllocTargetRefList() MGR_FUNC; ! SML_API SmlSourceRefListPtr_t smlAllocSourceRefList() MGR_FUNC; ! SML_API SmlStatusPtr_t smlAllocStatus() MGR_FUNC; ! SML_API SmlUnknownProtoElementPtr_t smlAllocUnknownProtoElement() MGR_FUNC; #ifdef __USE_METINF__ ! SML_API SmlMetInfMetInfPtr_t smlAllocMetInfMetInf() MGR_FUNC; ! SML_API SmlMetInfAnchorPtr_t smlAllocMetInfAnchor() MGR_FUNC; ! SML_API SmlMetInfMemPtr_t smlAllocMetInfMem() MGR_FUNC; #endif // MetInf #ifdef __USE_DEVINF__ ! SML_API SmlDevInfExtPtr_t smlAllocDevInfExt() MGR_FUNC; ! SML_API SmlDevInfExtListPtr_t smlAllocDevInfExtList() MGR_FUNC; ! SML_API SmlDevInfSyncCapPtr_t smlAllocDevInfSyncCap() MGR_FUNC; ! SML_API SmlDevInfCTDataPtr_t smlAllocDevInfCTData() MGR_FUNC; ! SML_API SmlDevInfCTDataListPtr_t smlAllocDevInfCTDataList() MGR_FUNC; ! SML_API SmlDevInfCTDataPropPtr_t smlAllocDevInfCTDataProp() MGR_FUNC; ! SML_API SmlDevInfCTDataPropListPtr_t smlAllocDevInfCTDataPropList() MGR_FUNC; ! SML_API SmlDevInfCTCapPtr_t smlAllocDevInfCTCap() MGR_FUNC; ! SML_API SmlDevInfCtcapListPtr_t smlAllocDevInfCtcapList() MGR_FUNC; ! SML_API SmlDevInfDSMemPtr_t smlAllocDevInfDSMem() MGR_FUNC; ! SML_API SmlDevInfXmitPtr_t smlAllocDevInfXmit() MGR_FUNC; ! SML_API SmlDevInfXmitListPtr_t smlAllocDevInfXmitList() MGR_FUNC; ! SML_API SmlDevInfDatastorePtr_t smlAllocDevInfDatastore() MGR_FUNC; ! SML_API SmlDevInfDatastoreListPtr_t smlAllocDevInfDatastoreList() MGR_FUNC; ! SML_API SmlDevInfDevInfPtr_t smlAllocDevInfDevInf() MGR_FUNC; #endif // DevInf #endif // AllocFuncs Index: mgr.h =================================================================== RCS file: /cvsroot/syncml-ctoolkit/toolkit/src/sml/mgr/inc/mgr.h,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** mgr.h 9 Jun 2004 12:45:06 -0000 1.6 --- mgr.h 13 Jun 2004 00:49:57 -0000 1.7 *************** *** 144,157 **** *************************************************************************/ ! SyncMLInfoPtr_t mgrGetSyncMLAnchor(void); ! InstanceInfoPtr_t mgrGetInstanceListAnchor(void); ! void mgrSetInstanceListAnchor(InstanceInfoPtr_t newListAnchor); ! Ret_t mgrResetWorkspace (InstanceID_t id); #ifndef __SML_LITE__ /* these API calls are NOT included in the Toolkit lite version */ /* SyncML internal function prototypes */ ! Ret_t addInfo(InstanceInfoPtr_t pInfo); ! InstanceInfoPtr_t findInfo(InstanceID_t id); ! Ret_t removeInfo(InstanceID_t id); #endif --- 144,157 ---- *************************************************************************/ ! SyncMLInfoPtr_t mgrGetSyncMLAnchor(void) MGR_FUNC; ! InstanceInfoPtr_t mgrGetInstanceListAnchor(void) MGR_FUNC; ! void mgrSetInstanceListAnchor(InstanceInfoPtr_t newListAnchor) MGR_FUNC; ! Ret_t mgrResetWorkspace (InstanceID_t id) MGR_FUNC; #ifndef __SML_LITE__ /* these API calls are NOT included in the Toolkit lite version */ /* SyncML internal function prototypes */ ! Ret_t addInfo(InstanceInfoPtr_t pInfo) MGR_FUNC; ! InstanceInfoPtr_t findInfo(InstanceID_t id) MGR_FUNC; ! Ret_t removeInfo(InstanceID_t id) MGR_FUNC; #endif |
From: Kidong L. <bri...@us...> - 2004-06-13 00:50:11
|
Update of /cvsroot/syncml-ctoolkit/toolkit/src/sml/lib/inc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27519/sml/lib/inc Modified Files: libmem.h libstr.h libutil.h Log Message: Attached macro in the end of function prototypes to build on PalmOS/prc-tools Index: libstr.h =================================================================== RCS file: /cvsroot/syncml-ctoolkit/toolkit/src/sml/lib/inc/libstr.h,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** libstr.h 24 May 2004 01:33:36 -0000 1.3 --- libstr.h 13 Jun 2004 00:49:57 -0000 1.4 *************** *** 54,57 **** --- 54,59 ---- *************************************************************************/ + #include <define.h> + #include "smldef.h" #include "libmem.h" *************** *** 70,74 **** #ifdef __PALM_OS__ /* we use #define to reduce heap usage */ ! String_t smlLibStrdup (const char* constStringP); #define smlLibStrcpy(pTarget,pSource) (char*)StrCopy((char*)pTarget,(char*)pSource) #define smlLibStrncpy(pTarget,pSource,count) (char*)StrNCopy((char*)pTarget,(char*)pSource,count) --- 72,76 ---- #ifdef __PALM_OS__ /* we use #define to reduce heap usage */ ! String_t smlLibStrdup (const char* constStringP) LIB_FUNC; #define smlLibStrcpy(pTarget,pSource) (char*)StrCopy((char*)pTarget,(char*)pSource) #define smlLibStrncpy(pTarget,pSource,count) (char*)StrNCopy((char*)pTarget,(char*)pSource,count) *************** *** 79,90 **** #define smlLibStrlen(pString) StrLen((char*)pString) #else /* we use functions, to make the library exportable */ ! SML_API_DEF String_t smlLibStrdup (const char *constStringP); ! SML_API_DEF String_t smlLibStrcpy(const char *pTarget, const char *pSource); ! SML_API_DEF String_t smlLibStrncpy(const char *pTarget, const char *pSource, int count); ! SML_API_DEF String_t smlLibStrcat(const char *pTarget, const char *pSource); ! SML_API_DEF int smlLibStrcmp(const char *pTarget, const char *pSource); ! SML_API_DEF int smlLibStrncmp(const char *pTarget, const char *pSource, int count); ! SML_API_DEF String_t smlLibStrchr(const char *pString, char character); ! SML_API_DEF int smlLibStrlen(const char *pString); #endif --- 81,92 ---- #define smlLibStrlen(pString) StrLen((char*)pString) #else /* we use functions, to make the library exportable */ ! SML_API_DEF String_t smlLibStrdup (const char *constStringP) LIB_FUNC; ! SML_API_DEF String_t smlLibStrcpy(const char *pTarget, const char *pSource) LIB_FUNC; ! SML_API_DEF String_t smlLibStrncpy(const char *pTarget, const char *pSource, int count) LIB_FUNC; ! SML_API_DEF String_t smlLibStrcat(const char *pTarget, const char *pSource) LIB_FUNC; ! SML_API_DEF int smlLibStrcmp(const char *pTarget, const char *pSource) LIB_FUNC; ! SML_API_DEF int smlLibStrncmp(const char *pTarget, const char *pSource, int count) LIB_FUNC; ! SML_API_DEF String_t smlLibStrchr(const char *pString, char character) LIB_FUNC; ! SML_API_DEF int smlLibStrlen(const char *pString) LIB_FUNC; #endif *************** *** 101,106 **** #define smlLibStrstr(pString,pSubstring) (char*)StrStr((char*)pString,(char*)pSubstring) #else /* we use functions, to make the library exportable */ ! SML_API_DEF String_t smlLibStrncat(const char *pTarget, const char *pSource, int count); ! SML_API_DEF String_t smlLibStrstr(const char *pString, const char *pSubString); #endif #endif --- 103,108 ---- #define smlLibStrstr(pString,pSubstring) (char*)StrStr((char*)pString,(char*)pSubstring) #else /* we use functions, to make the library exportable */ ! SML_API_DEF String_t smlLibStrncat(const char *pTarget, const char *pSource, int count) LIB_FUNC; ! SML_API_DEF String_t smlLibStrstr(const char *pString, const char *pSubString) LIB_FUNC; #endif #endif Index: libmem.h =================================================================== RCS file: /cvsroot/syncml-ctoolkit/toolkit/src/sml/lib/inc/libmem.h,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** libmem.h 24 May 2004 01:33:36 -0000 1.3 --- libmem.h 13 Jun 2004 00:49:57 -0000 1.4 *************** *** 57,60 **** --- 57,62 ---- *************************************************************************/ + #include <define.h> + #include <stdlib.h> #include <smldef.h> *************** *** 73,78 **** #ifdef __PALM_OS__ /* we use #define to reduce heap usage */ ! void *smlLibRealloc (VoidPtr_t objectP, MemSize_t constSize); ! void smlLibFree (void* objectP); #define smlLibMemset(pObject,value,count) ((void)MemSet((VoidPtr_t)pObject,(MemSize_t)count,(int)value)) #define smlLibMemcpy(pTarget,pSource,count) (MemMove(pTarget,(VoidPtr_t)pSource,count) ? pTarget : pTarget) --- 75,80 ---- #ifdef __PALM_OS__ /* we use #define to reduce heap usage */ ! void *smlLibRealloc (VoidPtr_t objectP, MemSize_t constSize) LIB_FUNC; ! void smlLibFree (void* objectP) LIB_FUNC; #define smlLibMemset(pObject,value,count) ((void)MemSet((VoidPtr_t)pObject,(MemSize_t)count,(int)value)) #define smlLibMemcpy(pTarget,pSource,count) (MemMove(pTarget,(VoidPtr_t)pSource,count) ? pTarget : pTarget) *************** *** 82,92 **** #define smlLibMemsize(pObject) ((MemSize_t)MemPtrSize((VoidPtr_t)pObject)) #else ! SML_API_DEF void *smlLibRealloc(void *pObject, MemSize_t size); ! SML_API_DEF void smlLibFree(void *pObject); ! SML_API_DEF void *smlLibMemset(void *pObject, int value, MemSize_t count); ! SML_API_DEF void *smlLibMemcpy(void *pTarget, const void *pSource, MemSize_t count); ! SML_API_DEF void *smlLibMemmove(void *pTarget, const void *pSource, MemSize_t count); ! SML_API_DEF int smlLibMemcmp(const void *pTarget, const void *pSource, MemSize_t count); ! SML_API_DEF void *smlLibMalloc(MemSize_t size); #endif --- 84,94 ---- #define smlLibMemsize(pObject) ((MemSize_t)MemPtrSize((VoidPtr_t)pObject)) #else ! SML_API_DEF void *smlLibRealloc(void *pObject, MemSize_t size) LIB_FUNC; ! SML_API_DEF void smlLibFree(void *pObject) LIB_FUNC; ! SML_API_DEF void *smlLibMemset(void *pObject, int value, MemSize_t count) LIB_FUNC; ! SML_API_DEF void *smlLibMemcpy(void *pTarget, const void *pSource, MemSize_t count) LIB_FUNC; ! SML_API_DEF void *smlLibMemmove(void *pTarget, const void *pSource, MemSize_t count) LIB_FUNC; ! SML_API_DEF int smlLibMemcmp(const void *pTarget, const void *pSource, MemSize_t count) LIB_FUNC; ! SML_API_DEF void *smlLibMalloc(MemSize_t size) LIB_FUNC; #endif Index: libutil.h =================================================================== RCS file: /cvsroot/syncml-ctoolkit/toolkit/src/sml/lib/inc/libutil.h,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** libutil.h 24 May 2004 01:33:36 -0000 1.3 --- libutil.h 13 Jun 2004 00:49:57 -0000 1.4 *************** *** 55,58 **** --- 55,59 ---- *************************************************************************/ + #include <define.h> #include <smldef.h> *************** *** 79,84 **** /* IO functions */ ! SML_API_DEF void smlLibPrint(const char *text, ...); ! SML_API_DEF void smlLibVprintf(const char *format, va_list va); --- 80,85 ---- /* IO functions */ ! SML_API_DEF void smlLibPrint(const char *text, ...) LIB_FUNC; ! SML_API_DEF void smlLibVprintf(const char *format, va_list va) LIB_FUNC; |
From: Kidong L. <bri...@us...> - 2004-06-13 00:50:11
|
Update of /cvsroot/syncml-ctoolkit/toolkit/src/sml/wsm/inc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27519/sml/wsm/inc Modified Files: wsm.h wsm_sm.h Log Message: Attached macro in the end of function prototypes to build on PalmOS/prc-tools Index: wsm_sm.h =================================================================== RCS file: /cvsroot/syncml-ctoolkit/toolkit/src/sml/wsm/inc/wsm_sm.h,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** wsm_sm.h 12 Jun 2004 04:14:26 -0000 1.3 --- wsm_sm.h 13 Jun 2004 00:49:58 -0000 1.4 *************** *** 91,102 **** ! Ret_t smCreate (String_t memName, MemSize_t memSize, MemHandle_t *memH); ! Ret_t smOpen (String_t memName, MemHandle_t *memH); ! Ret_t smClose (MemHandle_t memH); ! Ret_t smDestroy (String_t memName); ! Ret_t smLock (MemHandle_t memH, MemPtr_t *pMem); ! Ret_t smUnlock (MemHandle_t memH); ! Ret_t smSetSize (MemHandle_t memH, MemSize_t newSize); ! Ret_t smGetSize (MemHandle_t memH, MemSize_t *actSize); #endif --- 91,102 ---- ! Ret_t smCreate (String_t memName, MemSize_t memSize, MemHandle_t *memH) WSM_FUNC; ! Ret_t smOpen (String_t memName, MemHandle_t *memH) WSM_FUNC; ! Ret_t smClose (MemHandle_t memH) WSM_FUNC; ! Ret_t smDestroy (String_t memName) WSM_FUNC; ! Ret_t smLock (MemHandle_t memH, MemPtr_t *pMem) WSM_FUNC; ! Ret_t smUnlock (MemHandle_t memH) WSM_FUNC; ! Ret_t smSetSize (MemHandle_t memH, MemSize_t newSize) WSM_FUNC; ! Ret_t smGetSize (MemHandle_t memH, MemSize_t *actSize) WSM_FUNC; #endif Index: wsm.h =================================================================== RCS file: /cvsroot/syncml-ctoolkit/toolkit/src/sml/wsm/inc/wsm.h,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** wsm.h 24 May 2004 01:33:38 -0000 1.3 --- wsm.h 13 Jun 2004 00:49:58 -0000 1.4 *************** *** 98,113 **** } *WsmGlobalsPtr_t, WsmGlobals_t; ! Ret_t wsmInit (const WsmOptions_t *wsmOpts); ! Ret_t wsmCreate (String_t bufName, MemSize_t bufSize, MemHandle_t *wsmH); ! Ret_t wsmOpen (String_t bufName, MemHandle_t *wsmH); ! Ret_t wsmClose (MemHandle_t wsmH); ! Ret_t wsmDestroy (String_t bufName); ! Ret_t wsmTerminate (void); ! Ret_t wsmProcessedBytes (MemHandle_t wsmH, MemSize_t noBytes); ! Ret_t wsmLockH (MemHandle_t wsmH, SmlBufPtrPos_t requestedPos, MemPtr_t *pMem); ! Ret_t wsmGetFreeSize(MemHandle_t wsmH, MemSize_t *freeSize); ! Ret_t wsmGetUsedSize(MemHandle_t wsmH, MemSize_t *usedSize); ! Ret_t wsmUnlockH (MemHandle_t wsmH); ! Ret_t wsmSetUsedSize (MemHandle_t wsmH, MemSize_t usedSize); Ret_t wsmReset (MemHandle_t wsmH) ; --- 98,113 ---- } *WsmGlobalsPtr_t, WsmGlobals_t; ! Ret_t wsmInit (const WsmOptions_t *wsmOpts) WSM_FUNC; ! Ret_t wsmCreate (String_t bufName, MemSize_t bufSize, MemHandle_t *wsmH) WSM_FUNC; ! Ret_t wsmOpen (String_t bufName, MemHandle_t *wsmH) WSM_FUNC; ! Ret_t wsmClose (MemHandle_t wsmH) WSM_FUNC; ! Ret_t wsmDestroy (String_t bufName) WSM_FUNC; ! Ret_t wsmTerminate (void) WSM_FUNC; ! Ret_t wsmProcessedBytes (MemHandle_t wsmH, MemSize_t noBytes) WSM_FUNC; ! Ret_t wsmLockH (MemHandle_t wsmH, SmlBufPtrPos_t requestedPos, MemPtr_t *pMem) WSM_FUNC; ! Ret_t wsmGetFreeSize(MemHandle_t wsmH, MemSize_t *freeSize) WSM_FUNC; ! Ret_t wsmGetUsedSize(MemHandle_t wsmH, MemSize_t *usedSize) WSM_FUNC; ! Ret_t wsmUnlockH (MemHandle_t wsmH) WSM_FUNC; ! Ret_t wsmSetUsedSize (MemHandle_t wsmH, MemSize_t usedSize) WSM_FUNC; Ret_t wsmReset (MemHandle_t wsmH) ; |
From: Kidong L. <bri...@us...> - 2004-06-13 00:50:11
|
Update of /cvsroot/syncml-ctoolkit/toolkit/src/sml/inc/win In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27519/sml/inc/win Modified Files: define.h Log Message: Attached macro in the end of function prototypes to build on PalmOS/prc-tools Index: define.h =================================================================== RCS file: /cvsroot/syncml-ctoolkit/toolkit/src/sml/inc/win/define.h,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** define.h 24 May 2004 01:33:35 -0000 1.4 --- define.h 13 Jun 2004 00:49:57 -0000 1.5 *************** *** 102,105 **** --- 102,111 ---- #define XPT_API_DEF + /* Multi segment macro for Palm OS */ + #define LIB_FUNC + #define MGR_FUNC + #define WSM_FUNC + #define XLT_FUNC + /* TK: Old, now obsolete code follows here */ #ifdef USE_OLD_DEFINES |
From: Kidong L. <bri...@us...> - 2004-06-13 00:50:11
|
Update of /cvsroot/syncml-ctoolkit/toolkit/src/sml/inc/palm In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27519/sml/inc/palm Modified Files: define.h Log Message: Attached macro in the end of function prototypes to build on PalmOS/prc-tools Index: define.h =================================================================== RCS file: /cvsroot/syncml-ctoolkit/toolkit/src/sml/inc/palm/define.h,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** define.h 24 May 2004 01:33:34 -0000 1.2 --- define.h 13 Jun 2004 00:49:57 -0000 1.3 *************** *** 94,96 **** --- 94,102 ---- #define __USE_DEVINF__ + /* Multi segment macro for Palm OS */ + #define LIB_FUNC __attribute__ ((section ("lib"))) + #define MGR_FUNC __attribute__ ((section ("mgr"))) + #define WSM_FUNC __attribute__ ((section ("wsm"))) + #define XLT_FUNC __attribute__ ((section ("xlt"))) + #endif |
From: Kidong L. <bri...@us...> - 2004-06-13 00:50:11
|
Update of /cvsroot/syncml-ctoolkit/toolkit/src/sml/inc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27519/sml/inc Modified Files: sml.h Log Message: Attached macro in the end of function prototypes to build on PalmOS/prc-tools Index: sml.h =================================================================== RCS file: /cvsroot/syncml-ctoolkit/toolkit/src/sml/inc/sml.h,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** sml.h 24 May 2004 01:33:34 -0000 1.5 --- sml.h 13 Jun 2004 00:49:56 -0000 1.6 *************** *** 287,291 **** SML_API_DEF String_t smlPcdata2String( SmlPcdataPtr_t pcdata ); SML_API_DEF SmlPcdataPtr_t smlString2Pcdata( String_t str ); ! SML_API_DEF SmlPcdataPtr_t smlPcdataDup(SmlPcdataPtr_t pcdata); SML_API_DEF MemSize_t smlGetFreeBuffer(InstanceID_t id); #endif --- 287,291 ---- SML_API_DEF String_t smlPcdata2String( SmlPcdataPtr_t pcdata ); SML_API_DEF SmlPcdataPtr_t smlString2Pcdata( String_t str ); ! SML_API_DEF SmlPcdataPtr_t smlPcdataDup(SmlPcdataPtr_t pcdata); SML_API_DEF MemSize_t smlGetFreeBuffer(InstanceID_t id); #endif |
From: Kidong L. <bri...@us...> - 2004-06-13 00:50:10
|
Update of /cvsroot/syncml-ctoolkit/toolkit/src/sml/xlt/inc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27519/sml/xlt/inc Modified Files: xltdec.h xltenc.h Log Message: Attached macro in the end of function prototypes to build on PalmOS/prc-tools Index: xltenc.h =================================================================== RCS file: /cvsroot/syncml-ctoolkit/toolkit/src/sml/xlt/inc/xltenc.h,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** xltenc.h 24 May 2004 01:33:39 -0000 1.3 --- xltenc.h 13 Jun 2004 00:49:58 -0000 1.4 *************** *** 74,88 **** ! Ret_t xltEncInit(SmlEncoding_t enc, const SmlSyncHdrPtr_t pHeader, const MemPtr_t pBufEnd, MemPtr_t *ppBufPos, XltEncoderPtr_t *ppEncoder, SmlVersion_t vers); ! Ret_t xltEncAppend(const XltEncoderPtr_t pEncoder, SmlProtoElement_t pe, const MemPtr_t pBufEnd, const VoidPtr_t pContent, MemPtr_t *ppBufPos); ! Ret_t xltEncTerminate(const XltEncoderPtr_t pEncoder, const MemPtr_t pBufEnd, MemPtr_t *ppBufPos); ! Ret_t xltEncReset(XltEncoderPtr_t pEncoder); ! Ret_t xltGenerateTag(XltTagID_t, XltTagType_t, SmlEncoding_t, BufferMgmtPtr_t, SmlPcdataExtension_t); ! Ret_t xltStartEvaluation(XltEncoderPtr_t pEncoder); ! Ret_t xltEndEvaluation(InstanceID_t id, XltEncoderPtr_t pEncoder, MemSize_t *freemem); ! Ret_t xltEncBlock(XltTagID_t tagId, XltRO_t reqOptFlag, const VoidPtr_t pContent, SmlEncoding_t enc, BufferMgmtPtr_t pBufMgr, SmlPcdataExtension_t attFlag); ! Ret_t xltBuildExtention(SmlPcdataExtension_t extId, XltRO_t reqOptFlag, VoidPtr_t pContent, SmlEncoding_t enc, BufferMgmtPtr_t pBufMgr); ! Ret_t xltEncPcdata(XltTagID_t tagId, XltRO_t reqOptFlag, const VoidPtr_t pContent, SmlEncoding_t enc, BufferMgmtPtr_t pBufMgr, SmlPcdataExtension_t attFlag); ! Ret_t subdtdEncWBXML(XltTagID_t tagId, XltRO_t reqOptFlag, const VoidPtr_t pContent, SmlEncoding_t enc, BufferMgmtPtr_t pBufMgr, SmlPcdataExtension_t attFlag); #ifdef _cplusplus --- 74,88 ---- ! Ret_t xltEncInit(SmlEncoding_t enc, const SmlSyncHdrPtr_t pHeader, const MemPtr_t pBufEnd, MemPtr_t *ppBufPos, XltEncoderPtr_t *ppEncoder, SmlVersion_t vers) XLT_FUNC; ! Ret_t xltEncAppend(const XltEncoderPtr_t pEncoder, SmlProtoElement_t pe, const MemPtr_t pBufEnd, const VoidPtr_t pContent, MemPtr_t *ppBufPos) XLT_FUNC; ! Ret_t xltEncTerminate(const XltEncoderPtr_t pEncoder, const MemPtr_t pBufEnd, MemPtr_t *ppBufPos) XLT_FUNC; ! Ret_t xltEncReset(XltEncoderPtr_t pEncoder) XLT_FUNC; ! Ret_t xltGenerateTag(XltTagID_t, XltTagType_t, SmlEncoding_t, BufferMgmtPtr_t, SmlPcdataExtension_t) XLT_FUNC; ! Ret_t xltStartEvaluation(XltEncoderPtr_t pEncoder) XLT_FUNC; ! Ret_t xltEndEvaluation(InstanceID_t id, XltEncoderPtr_t pEncoder, MemSize_t *freemem) XLT_FUNC; ! Ret_t xltEncBlock(XltTagID_t tagId, XltRO_t reqOptFlag, const VoidPtr_t pContent, SmlEncoding_t enc, BufferMgmtPtr_t pBufMgr, SmlPcdataExtension_t attFlag) XLT_FUNC; ! Ret_t xltBuildExtention(SmlPcdataExtension_t extId, XltRO_t reqOptFlag, VoidPtr_t pContent, SmlEncoding_t enc, BufferMgmtPtr_t pBufMgr) XLT_FUNC; ! Ret_t xltEncPcdata(XltTagID_t tagId, XltRO_t reqOptFlag, const VoidPtr_t pContent, SmlEncoding_t enc, BufferMgmtPtr_t pBufMgr, SmlPcdataExtension_t attFlag) XLT_FUNC; ! Ret_t subdtdEncWBXML(XltTagID_t tagId, XltRO_t reqOptFlag, const VoidPtr_t pContent, SmlEncoding_t enc, BufferMgmtPtr_t pBufMgr, SmlPcdataExtension_t attFlag) XLT_FUNC; #ifdef _cplusplus Index: xltdec.h =================================================================== RCS file: /cvsroot/syncml-ctoolkit/toolkit/src/sml/xlt/inc/xltdec.h,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** xltdec.h 24 May 2004 01:33:39 -0000 1.2 --- xltdec.h 13 Jun 2004 00:49:58 -0000 1.3 *************** *** 135,139 **** MemPtr_t *ppBufPos, XltDecoderPtr_t *ppDecoder, ! SmlSyncHdrPtr_t *ppSyncHdr); /** --- 135,139 ---- MemPtr_t *ppBufPos, XltDecoderPtr_t *ppDecoder, ! SmlSyncHdrPtr_t *ppSyncHdr) XLT_FUNC; /** *************** *** 170,174 **** MemPtr_t *ppBufPos, SmlProtoElement_t *pPE, ! VoidPtr_t *pContent); /** --- 170,174 ---- MemPtr_t *ppBufPos, SmlProtoElement_t *pPE, ! VoidPtr_t *pContent) XLT_FUNC; /** *************** *** 183,190 **** * - else error code */ ! Ret_t xltDecTerminate(XltDecoderPtr_t pDecoder); ! Ret_t xltDecReset(XltDecoderPtr_t pDecoder); /* T.K. moved here from xltdec.c for use in sub-DTD parsing */ --- 183,190 ---- * - else error code */ ! Ret_t xltDecTerminate(XltDecoderPtr_t pDecoder) XLT_FUNC; ! Ret_t xltDecReset(XltDecoderPtr_t pDecoder) XLT_FUNC; /* T.K. moved here from xltdec.c for use in sub-DTD parsing */ *************** *** 199,208 **** * nextTok methods that do some error checking. */ ! Ret_t nextToken(XltDecoderPtr_t pDecoder); /** * just wrapper around the scanner's * pushTok methods that do some error checking. */ ! Ret_t discardToken(XltDecoderPtr_t pDecoder); /* eof xltdec.c stuff */ --- 199,208 ---- * nextTok methods that do some error checking. */ ! Ret_t nextToken(XltDecoderPtr_t pDecoder) XLT_FUNC; /** * just wrapper around the scanner's * pushTok methods that do some error checking. */ ! Ret_t discardToken(XltDecoderPtr_t pDecoder) XLT_FUNC; /* eof xltdec.c stuff */ |
From: Kidong L. <bri...@us...> - 2004-06-13 00:50:10
|
Update of /cvsroot/syncml-ctoolkit/toolkit/src/sml/xlt/all In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27519/sml/xlt/all Modified Files: xltdec.c xltenc.c xltmetinf.c Log Message: Attached macro in the end of function prototypes to build on PalmOS/prc-tools Index: xltmetinf.c =================================================================== RCS file: /cvsroot/syncml-ctoolkit/toolkit/src/sml/xlt/all/xltmetinf.c,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** xltmetinf.c 24 May 2004 01:33:39 -0000 1.4 --- xltmetinf.c 13 Jun 2004 00:49:58 -0000 1.5 *************** *** 61,67 **** #include <libutil.h> /* extern */ ! extern SML_API void smlFreeMetinfAnchor(SmlMetInfAnchorPtr_t data); ! extern SML_API void smlFreeMetinfMem(SmlMetInfMemPtr_t data); ! extern SML_API void smlFreeMetinfMetinf(SmlMetInfMetInfPtr_t data); --- 61,67 ---- #include <libutil.h> /* extern */ ! extern SML_API void smlFreeMetinfAnchor(SmlMetInfAnchorPtr_t data) XLT_FUNC; ! extern SML_API void smlFreeMetinfMem(SmlMetInfMemPtr_t data) XLT_FUNC; ! extern SML_API void smlFreeMetinfMetinf(SmlMetInfMetInfPtr_t data) XLT_FUNC; Index: xltdec.c =================================================================== RCS file: /cvsroot/syncml-ctoolkit/toolkit/src/sml/xlt/all/xltdec.c,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** xltdec.c 24 May 2004 01:33:38 -0000 1.3 --- xltdec.c 13 Jun 2004 00:49:58 -0000 1.4 *************** *** 137,141 **** } PEBuilder_t, *PEBuilderPtr_t; ! PEBuilderPtr_t getPETable(void); PEBuilderPtr_t getPETable(void) --- 137,141 ---- } PEBuilder_t, *PEBuilderPtr_t; ! PEBuilderPtr_t getPETable(void) XLT_FUNC; PEBuilderPtr_t getPETable(void) Index: xltenc.c =================================================================== RCS file: /cvsroot/syncml-ctoolkit/toolkit/src/sml/xlt/all/xltenc.c,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** xltenc.c 24 May 2004 01:33:39 -0000 1.6 --- xltenc.c 13 Jun 2004 00:49:58 -0000 1.7 *************** *** 77,81 **** } PEEnc_t, *PEEncPtr_t; ! PEEncPtr_t getPEEncTable(void); PEEncPtr_t getPEEncTable(void) --- 77,81 ---- } PEEnc_t, *PEEncPtr_t; ! PEEncPtr_t getPEEncTable(void) XLT_FUNC; PEEncPtr_t getPEEncTable(void) |
From: Kidong L. <bri...@us...> - 2004-06-13 00:50:10
|
Update of /cvsroot/syncml-ctoolkit/toolkit/src/bld/palm In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27519/bld/palm Modified Files: Makefile Added Files: libsml.def Log Message: Attached macro in the end of function prototypes to build on PalmOS/prc-tools --- NEW FILE: libsml.def --- syslib {"libsml.so" lsml} multiple code {"lib" "mgr" "wsm" "xlt"} export { smlAddCmd smlAlertCmd smlAllocAdd smlAllocAlert smlAllocAtomic smlAllocChal smlAllocCopy smlAllocCred smlAllocDelete smlAllocDevInfCTCap smlAllocDevInfCTData smlAllocDevInfCTDataList smlAllocDevInfCTDataProp smlAllocDevInfCTDataPropList smlAllocDevInfCtcapList smlAllocDevInfDSMem smlAllocDevInfDatastore smlAllocDevInfDatastoreList smlAllocDevInfDevInf smlAllocDevInfExt smlAllocDevInfExtList smlAllocDevInfSyncCap smlAllocDevInfXmit smlAllocDevInfXmitList smlAllocExec smlAllocGeneric smlAllocGet smlAllocItem smlAllocItemList smlAllocMap smlAllocMapItem smlAllocMapItemList smlAllocMetInfAnchor smlAllocMetInfMem smlAllocMetInfMetInf smlAllocPcdata smlAllocPcdataList smlAllocPut smlAllocReplace smlAllocResults smlAllocSearch smlAllocSequence smlAllocSource smlAllocSourceList smlAllocSourceRefList smlAllocStatus smlAllocSync smlAllocSyncHdr smlAllocTarget smlAllocTargetRefList smlAllocUnknownProtoElement smlCopyCmd smlDeleteCmd smlEndAtomic smlEndMessage smlEndSequence smlEndSync smlExecCmd smlFreeAlert smlFreeAtomic smlFreeChalPtr smlFreeCredPtr smlFreeDevInfCTCap smlFreeDevInfCTData smlFreeDevInfCTDataList smlFreeDevInfCTDataProp smlFreeDevInfCTDataPropList smlFreeDevInfCtcapList smlFreeDevInfDSMem smlFreeDevInfDatastore smlFreeDevInfDatastoreList smlFreeDevInfDevInf smlFreeDevInfExt smlFreeDevInfExtList smlFreeDevInfSynccap smlFreeDevInfXmit smlFreeDevInfXmitList smlFreeExec smlFreeGeneric smlFreeGetPut smlFreeItemList smlFreeItemPtr smlFreeMap smlFreeMapItemList smlFreeMapItemPtr smlFreeMetinfAnchor smlFreeMetinfMem smlFreeMetinfMetinf smlFreePcdata smlFreePcdataList smlFreeProtoElement smlFreeResults smlFreeSearch smlFreeSourceList smlFreeSourceRefList smlFreeSourceTargetPtr smlFreeStatus smlFreeSync smlFreeSyncHdr smlFreeTargetRefList smlGetCmd smlGetFreeBuffer smlInit smlInitInstance smlLibFree smlLibMalloc smlLibMemcmp smlLibMemcpy smlLibMemmove smlLibMemset smlLibPrint smlLibRealloc smlLibStrcat smlLibStrchr smlLibStrcmp smlLibStrcpy smlLibStrdup smlLibStrlen smlLibStrncat smlLibStrncmp smlLibStrncpy smlLibStrstr smlLibVprintf smlLockReadBuffer smlLockWriteBuffer smlMapCmd smlPcdata2String smlPcdataDup smlProcessData smlPutCmd smlReplaceCmd smlResultsCmd smlSearchCmd smlSetCallbacks smlSetEncoding smlSetSyncMLOptions smlSetUserData smlStartAtomic smlStartMessage smlStartMessageExt smlStartSequence smlStartSync smlStatusCmd smlString2Pcdata smlTerminate smlTerminateInstance smlUnlockReadBuffer smlUnlockWriteBuffer smlStartEvaluation smlEndEvaluation } Index: Makefile =================================================================== RCS file: /cvsroot/syncml-ctoolkit/toolkit/src/bld/palm/Makefile,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** Makefile 12 Jun 2004 04:14:26 -0000 1.1 --- Makefile 13 Jun 2004 00:49:56 -0000 1.2 *************** *** 108,112 **** $(SML_NAME) : $(SML_OBJS) @mkdir -p $(BIN) ! m68k-palmos-ld $(SML_OBJS) -o $(SML_NAME) @echo SML build done. --- 108,117 ---- $(SML_NAME) : $(SML_OBJS) @mkdir -p $(BIN) ! m68k-palmos-multigen libsml.def ! m68k-palmos-as -o libsml-sections.o libsml-sections.s ! m68k-palmos-stubgen libsml.def ! m68k-palmos-as -o libsml-dispatch.o libsml-dispatch.s ! m68k-palmos-gcc -Wall -T text_64k -nostartfiles $(SML_OBJS) libsml-dispatch.o libsml-sections.o libsml-sections.ld -o $(SML_NAME) ! build-prc libsml.def libsml.prc @echo SML build done. |
From: Kidong L. <bri...@us...> - 2004-06-13 00:10:58
|
Update of /cvsroot/syncml-ctoolkit/toolkit/src/examples In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16371 Modified Files: receiver.c sender.c Log Message: Included missing header Index: receiver.c =================================================================== RCS file: /cvsroot/syncml-ctoolkit/toolkit/src/examples/receiver.c,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** receiver.c 24 May 2004 01:33:33 -0000 1.3 --- receiver.c 13 Jun 2004 00:10:46 -0000 1.4 *************** *** 4,7 **** --- 4,8 ---- */ #include <stdio.h> + #include <string.h> /* Include header files required in any SyncML session */ Index: sender.c =================================================================== RCS file: /cvsroot/syncml-ctoolkit/toolkit/src/examples/sender.c,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** sender.c 24 May 2004 01:33:33 -0000 1.3 --- sender.c 13 Jun 2004 00:10:46 -0000 1.4 *************** *** 4,7 **** --- 4,8 ---- */ #include <stdio.h> + #include <string.h> /* Include header files required in any SyncML session */ |
From: Kidong L. <bri...@us...> - 2004-06-12 04:14:36
|
Update of /cvsroot/syncml-ctoolkit/toolkit/src/sml/wsm/inc In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17386/sml/wsm/inc Modified Files: wsm_sm.h Log Message: Added files to build on PalmOS/prc-tools Fixed compilation errors on PalmOS/prc-tools Index: wsm_sm.h =================================================================== RCS file: /cvsroot/syncml-ctoolkit/toolkit/src/sml/wsm/inc/wsm_sm.h,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** wsm_sm.h 24 May 2004 01:33:38 -0000 1.2 --- wsm_sm.h 12 Jun 2004 04:14:26 -0000 1.3 *************** *** 68,75 **** #ifdef __PALM_OS__ ! #include <Pilot.h> /** dynamic buffer array */ typedef struct smPalm_s { ! Handle smPalmH; /**< reference to only memory block */ MemHandle_t smMemH; /**< handle of only memory block */ Byte_t smLocked; /**< is handle locked? */ --- 68,75 ---- #ifdef __PALM_OS__ ! #include <PalmOS.h> /** dynamic buffer array */ typedef struct smPalm_s { ! MemHandle smPalmH; /**< reference to only memory block */ MemHandle_t smMemH; /**< handle of only memory block */ Byte_t smLocked; /**< is handle locked? */ |