Changeset 1405 for pjproject/trunk
- Timestamp:
- Jul 20, 2007 8:08:30 AM (17 years ago)
- Location:
- pjproject/trunk
- Files:
-
- 3 added
- 83 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/build.symbian
- Property svn:ignore
-
old new 5 5 *.xml 6 6 *_UID_.cpp 7 tmpnames.def
-
- Property svn:ignore
-
pjproject/trunk/build.symbian/00.bat
r1244 r1405 1 rem set MWSym2Libraries=1 2 rem set EPOCROOT=\Symbian\9.1\S60_3rd\ 3 rem set EPOCROOT=\Symbian\9.1\S60_3rd_MR_2\ 4 rem set EPOCROOT=\Symbian\UIQ3SDK\ 1 @rem set MWSym2Libraries=1 2 @rem set EPOCROOT=\Symbian\9.1\S60_3rd\ 3 @rem set EPOCROOT=\Symbian\9.1\S60_3rd_MR_2\ 4 @rem set EPOCROOT=\Symbian\UIQ3SDK\ 5 @rem set EPOCROOT=\symbian\UIQ3.1\ 5 6 bldmake bldfiles -
pjproject/trunk/build.symbian/01.bat
r1244 r1405 1 rem set MWSym2Libraries=1 2 rem set MWSym2Libraries=\Symbian\9.1\S60_3rd\Epoc32\release\winscw\udeb 1 @rem call abld build -v vs6 udeb 2 @rem call abld build -v gcce urel 3 @rem call abld build winscw udeb 4 call abld build %1 %2 %3 %4 3 5 4 rem set EPOCROOT=\Symbian\9.1\S60_3rd\ 5 rem set EPOCROOT=\Symbian\9.1\S60_3rd_MR_2\ 6 call abld build -v vs6 udeb 6 7 -
pjproject/trunk/build.symbian/bld.inf
r1269 r1405 1 1 prj_platforms 2 2 winscw 3 armv53 //armv5 4 4 gcce 5 5 6 6 prj_mmpfiles 7 7 pjlib.mmp 8 pjlib_test.mmp 8 9 pjlib_util.mmp 9 10 pjnath.mmp … … 13 14 pjsip_simple.mmp 14 15 pjsip_ua.mmp 15 //pjlib_test.mmp16 //sipstateless.mmp16 pjlib_test.mmp 17 sipstateless.mmp 17 18 pjsua_lib.mmp 18 19 null_audio.mmp -
pjproject/trunk/build.symbian/pjlib.mmp
r1269 r1405 1 #if defined(EKA2) 2 // ARM ABIv2 doesn't support static libraries anymore 3 TARGET pjlib.dll 4 TARGETTYPE dll 5 UID 0x1000008d 0xA0004299 6 CAPABILITY NONE 7 LIBRARY esock.lib insock.lib charconv.lib euser.lib estlib.lib 8 MACRO PJ_DLL 9 MACRO PJ_EXPORTING 10 11 DEFFILE .\pjlib.def 12 13 #else 14 1 15 TARGET pjlib.lib 2 16 TARGETTYPE lib 3 17 UID 0x100039CE 0x10004299 4 VENDORID 0x70000001 18 //VENDORID 0x70000001 19 #endif 5 20 6 21 SOURCEPATH ..\pjlib\src\pj … … 33 48 SOURCE rand.c 34 49 SOURCE rbtree.c 50 SOURCE sock_common.c 35 51 SOURCE types.c 36 52 … … 92 108 93 109 SYSTEMINCLUDE ..\pjlib\include 94 95 110 SYSTEMINCLUDE \epoc32\include 96 111 SYSTEMINCLUDE \epoc32\include\libc 97 112 113 -
pjproject/trunk/build.symbian/pjlib_test.mmp
r1269 r1405 8 8 MACRO PJ_M_I386=1 9 9 MACRO PJ_SYMBIAN=1 10 11 #if defined(EKA2) 12 MACRO PJ_DLL 13 #endif 10 14 11 15 OPTION CW -lang c++ -
pjproject/trunk/pjlib-util/src/pjlib-util-test/resolver_test.c
r1359 r1405 428 428 pj_sockaddr_in addr; 429 429 430 status = pj_sock_socket( PJ_AF_INET, PJ_SOCK_DGRAM, 0, &g_server[i].sock);430 status = pj_sock_socket(pj_AF_INET(), pj_SOCK_DGRAM(), 0, &g_server[i].sock); 431 431 if (status != PJ_SUCCESS) 432 432 return -10; -
pjproject/trunk/pjlib-util/src/pjlib-util/resolver.c
r1356 r1405 306 306 307 307 /* Create the UDP socket */ 308 status = pj_sock_socket( PJ_AF_INET, PJ_SOCK_DGRAM, 0, &resv->udp_sock);308 status = pj_sock_socket(pj_AF_INET(), pj_SOCK_DGRAM(), 0, &resv->udp_sock); 309 309 if (status != PJ_SUCCESS) 310 310 goto on_error; -
pjproject/trunk/pjlib-util/src/pjlib-util/stun_simple_client.c
r1239 r1405 218 218 rec[i].srv[0].mapped_port == rec[i].srv[1].mapped_port) 219 219 { 220 mapped_addr[i].sin_family = PJ_AF_INET;220 mapped_addr[i].sin_family = pj_AF_INET(); 221 221 mapped_addr[i].sin_addr.s_addr = rec[i].srv[0].mapped_addr; 222 222 mapped_addr[i].sin_port = (pj_uint16_t)rec[i].srv[0].mapped_port; -
pjproject/trunk/pjlib/build/Makefile
r1182 r1405 26 26 hash.o ip_helper_generic.o list.o lock.o log.o os_time_common.o \ 27 27 pool.o pool_buf.o pool_caching.o pool_dbg.o rand.o \ 28 rbtree.o string.o timer.o \ 29 types.o symbols.o 28 rbtree.o sock_common.o string.o timer.o types.o 30 29 export PJLIB_CFLAGS += $(_CFLAGS) 31 30 -
pjproject/trunk/pjlib/build/pjlib.dsp
r1104 r1405 41 41 # PROP Intermediate_Dir ".\output\pjlib-i386-win32-vc6-release" 42 42 # PROP Target_Dir "" 43 F90=df.exe 43 44 # ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /YX /FD /c 44 45 # ADD CPP /nologo /MD /W4 /Zi /O2 /Ob2 /I "../include" /D "NDEBUG" /D "WIN32" /D "_MBCS" /D "_LIB" /D "PJ_WIN32" /D "PJ_M_I386" /FR /FD /c … … 65 66 # PROP Intermediate_Dir ".\output\pjlib-i386-win32-vc6-debug" 66 67 # PROP Target_Dir "" 68 F90=df.exe 67 69 # ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /YX /FD /GZ /c 68 70 # ADD CPP /nologo /MTd /W4 /Gm /GX /ZI /Od /I "../include" /D "_DEBUG" /D "WIN32" /D "_MBCS" /D "_LIB" /D "PJ_WIN32" /D "PJ_M_I386" /FR /FD /GZ /c … … 332 334 # Begin Source File 333 335 336 SOURCE=..\src\pj\sock_common.c 337 # End Source File 338 # Begin Source File 339 334 340 SOURCE=..\src\pj\sock_select.c 335 341 # End Source File -
pjproject/trunk/pjlib/build/pjlib.vcproj
r1177 r1405 917 917 </File> 918 918 <File 919 RelativePath="..\src\pj\sock_common.c" 920 > 921 </File> 922 <File 919 923 RelativePath="..\src\pj\sock_select.c" 920 924 > -
pjproject/trunk/pjlib/build/wince-evc4/pjlib_wince.vcp
r1179 r1405 376 376 "..\..\include\pj\assert.h"\ 377 377 "..\..\include\pj\compat\assert.h"\ 378 "..\..\include\pj\compat\cc_gcc.h"\ 379 "..\..\include\pj\compat\cc_msvc.h"\ 378 "..\..\include\pj\compat\cc_armcc.h"\ 379 "..\..\include\pj\compat\cc_codew.h"\ 380 "..\..\include\pj\compat\cc_gcc.h"\ 381 "..\..\include\pj\compat\cc_gcce.h"\ 382 "..\..\include\pj\compat\cc_msvc.h"\ 383 "..\..\include\pj\compat\cc_mwcc.h"\ 380 384 "..\..\include\pj\compat\ctype.h"\ 381 385 "..\..\include\pj\compat\errno.h"\ 382 386 "..\..\include\pj\compat\high_precision.h"\ 387 "..\..\include\pj\compat\m_auto.h"\ 388 "..\..\include\pj\compat\os_auto.h"\ 383 389 "..\..\include\pj\compat\os_darwinos.h"\ 384 390 "..\..\include\pj\compat\os_linux.h"\ … … 387 393 "..\..\include\pj\compat\os_rtems.h"\ 388 394 "..\..\include\pj\compat\os_sunos.h"\ 395 "..\..\include\pj\compat\os_symbian.h"\ 389 396 "..\..\include\pj\compat\os_win32.h"\ 390 397 "..\..\include\pj\compat\os_win32_wince.h"\ … … 392 399 "..\..\include\pj\compat\size_t.h"\ 393 400 "..\..\include\pj\compat\socket.h"\ 394 "..\..\include\pj\compat\string.h"\ 395 "..\..\include\pj\config.h"\ 396 "..\..\include\pj\config_site.h"\ 401 "..\..\include\pj\compat\stdarg.h"\ 402 "..\..\include\pj\compat\string.h"\ 403 "..\..\include\pj\config.h"\ 404 "..\..\include\pj\config_site.h"\ 405 "..\..\include\pj\config_site_sample.h"\ 397 406 "..\..\include\pj\ctype.h"\ 398 407 "..\..\include\pj\errno.h"\ … … 802 811 "..\..\include\pj\assert.h"\ 803 812 "..\..\include\pj\compat\assert.h"\ 804 "..\..\include\pj\compat\cc_gcc.h"\ 805 "..\..\include\pj\compat\cc_msvc.h"\ 813 "..\..\include\pj\compat\cc_armcc.h"\ 814 "..\..\include\pj\compat\cc_codew.h"\ 815 "..\..\include\pj\compat\cc_gcc.h"\ 816 "..\..\include\pj\compat\cc_gcce.h"\ 817 "..\..\include\pj\compat\cc_msvc.h"\ 818 "..\..\include\pj\compat\cc_mwcc.h"\ 806 819 "..\..\include\pj\compat\ctype.h"\ 807 820 "..\..\include\pj\compat\errno.h"\ 808 821 "..\..\include\pj\compat\high_precision.h"\ 822 "..\..\include\pj\compat\m_auto.h"\ 823 "..\..\include\pj\compat\os_auto.h"\ 809 824 "..\..\include\pj\compat\os_darwinos.h"\ 810 825 "..\..\include\pj\compat\os_linux.h"\ … … 813 828 "..\..\include\pj\compat\os_rtems.h"\ 814 829 "..\..\include\pj\compat\os_sunos.h"\ 830 "..\..\include\pj\compat\os_symbian.h"\ 815 831 "..\..\include\pj\compat\os_win32.h"\ 816 832 "..\..\include\pj\compat\os_win32_wince.h"\ 817 833 "..\..\include\pj\compat\setjmp.h"\ 818 834 "..\..\include\pj\compat\size_t.h"\ 819 "..\..\include\pj\compat\string.h"\ 820 "..\..\include\pj\config.h"\ 821 "..\..\include\pj\config_site.h"\ 835 "..\..\include\pj\compat\stdarg.h"\ 836 "..\..\include\pj\compat\string.h"\ 837 "..\..\include\pj\config.h"\ 838 "..\..\include\pj\config_site.h"\ 839 "..\..\include\pj\config_site_sample.h"\ 822 840 "..\..\include\pj\ctype.h"\ 823 841 "..\..\include\pj\errno.h"\ … … 1201 1219 1202 1220 DEP_CPP_CONFI=\ 1203 "..\..\include\pj\compat\cc_gcc.h"\ 1204 "..\..\include\pj\compat\cc_msvc.h"\ 1221 "..\..\include\pj\compat\cc_armcc.h"\ 1222 "..\..\include\pj\compat\cc_codew.h"\ 1223 "..\..\include\pj\compat\cc_gcc.h"\ 1224 "..\..\include\pj\compat\cc_gcce.h"\ 1225 "..\..\include\pj\compat\cc_msvc.h"\ 1226 "..\..\include\pj\compat\cc_mwcc.h"\ 1227 "..\..\include\pj\compat\m_auto.h"\ 1228 "..\..\include\pj\compat\os_auto.h"\ 1205 1229 "..\..\include\pj\compat\os_darwinos.h"\ 1206 1230 "..\..\include\pj\compat\os_linux.h"\ … … 1209 1233 "..\..\include\pj\compat\os_rtems.h"\ 1210 1234 "..\..\include\pj\compat\os_sunos.h"\ 1211 "..\..\include\pj\compat\os_win32.h"\ 1212 "..\..\include\pj\compat\os_win32_wince.h"\ 1213 "..\..\include\pj\compat\size_t.h"\ 1214 "..\..\include\pj\config.h"\ 1215 "..\..\include\pj\config_site.h"\ 1235 "..\..\include\pj\compat\os_symbian.h"\ 1236 "..\..\include\pj\compat\os_win32.h"\ 1237 "..\..\include\pj\compat\os_win32_wince.h"\ 1238 "..\..\include\pj\compat\size_t.h"\ 1239 "..\..\include\pj\config.h"\ 1240 "..\..\include\pj\config_site.h"\ 1241 "..\..\include\pj\config_site_sample.h"\ 1216 1242 "..\..\include\pj\ioqueue.h"\ 1217 1243 "..\..\include\pj\log.h"\ … … 1438 1464 1439 1465 DEP_CPP_CTYPE=\ 1440 "..\..\include\pj\compat\cc_gcc.h"\ 1441 "..\..\include\pj\compat\cc_msvc.h"\ 1466 "..\..\include\pj\compat\cc_armcc.h"\ 1467 "..\..\include\pj\compat\cc_codew.h"\ 1468 "..\..\include\pj\compat\cc_gcc.h"\ 1469 "..\..\include\pj\compat\cc_gcce.h"\ 1470 "..\..\include\pj\compat\cc_msvc.h"\ 1471 "..\..\include\pj\compat\cc_mwcc.h"\ 1442 1472 "..\..\include\pj\compat\ctype.h"\ 1473 "..\..\include\pj\compat\m_auto.h"\ 1474 "..\..\include\pj\compat\os_auto.h"\ 1443 1475 "..\..\include\pj\compat\os_darwinos.h"\ 1444 1476 "..\..\include\pj\compat\os_linux.h"\ … … 1447 1479 "..\..\include\pj\compat\os_rtems.h"\ 1448 1480 "..\..\include\pj\compat\os_sunos.h"\ 1449 "..\..\include\pj\compat\os_win32.h"\ 1450 "..\..\include\pj\compat\os_win32_wince.h"\ 1451 "..\..\include\pj\compat\size_t.h"\ 1452 "..\..\include\pj\config.h"\ 1453 "..\..\include\pj\config_site.h"\ 1481 "..\..\include\pj\compat\os_symbian.h"\ 1482 "..\..\include\pj\compat\os_win32.h"\ 1483 "..\..\include\pj\compat\os_win32_wince.h"\ 1484 "..\..\include\pj\compat\size_t.h"\ 1485 "..\..\include\pj\config.h"\ 1486 "..\..\include\pj\config_site.h"\ 1487 "..\..\include\pj\config_site_sample.h"\ 1454 1488 "..\..\include\pj\ctype.h"\ 1455 1489 "..\..\include\pj\types.h"\ … … 1690 1724 "..\..\include\pj\assert.h"\ 1691 1725 "..\..\include\pj\compat\assert.h"\ 1692 "..\..\include\pj\compat\cc_gcc.h"\ 1693 "..\..\include\pj\compat\cc_msvc.h"\ 1726 "..\..\include\pj\compat\cc_armcc.h"\ 1727 "..\..\include\pj\compat\cc_codew.h"\ 1728 "..\..\include\pj\compat\cc_gcc.h"\ 1729 "..\..\include\pj\compat\cc_gcce.h"\ 1730 "..\..\include\pj\compat\cc_msvc.h"\ 1731 "..\..\include\pj\compat\cc_mwcc.h"\ 1694 1732 "..\..\include\pj\compat\ctype.h"\ 1695 1733 "..\..\include\pj\compat\errno.h"\ 1696 1734 "..\..\include\pj\compat\high_precision.h"\ 1735 "..\..\include\pj\compat\m_auto.h"\ 1736 "..\..\include\pj\compat\os_auto.h"\ 1697 1737 "..\..\include\pj\compat\os_darwinos.h"\ 1698 1738 "..\..\include\pj\compat\os_linux.h"\ … … 1701 1741 "..\..\include\pj\compat\os_rtems.h"\ 1702 1742 "..\..\include\pj\compat\os_sunos.h"\ 1743 "..\..\include\pj\compat\os_symbian.h"\ 1703 1744 "..\..\include\pj\compat\os_win32.h"\ 1704 1745 "..\..\include\pj\compat\os_win32_wince.h"\ 1705 1746 "..\..\include\pj\compat\setjmp.h"\ 1706 1747 "..\..\include\pj\compat\size_t.h"\ 1707 "..\..\include\pj\compat\string.h"\ 1708 "..\..\include\pj\config.h"\ 1709 "..\..\include\pj\config_site.h"\ 1748 "..\..\include\pj\compat\stdarg.h"\ 1749 "..\..\include\pj\compat\string.h"\ 1750 "..\..\include\pj\config.h"\ 1751 "..\..\include\pj\config_site.h"\ 1752 "..\..\include\pj\config_site_sample.h"\ 1710 1753 "..\..\include\pj\ctype.h"\ 1711 1754 "..\..\include\pj\errno.h"\ … … 2080 2123 "..\..\include\pj\assert.h"\ 2081 2124 "..\..\include\pj\compat\assert.h"\ 2082 "..\..\include\pj\compat\cc_gcc.h"\ 2083 "..\..\include\pj\compat\cc_msvc.h"\ 2125 "..\..\include\pj\compat\cc_armcc.h"\ 2126 "..\..\include\pj\compat\cc_codew.h"\ 2127 "..\..\include\pj\compat\cc_gcc.h"\ 2128 "..\..\include\pj\compat\cc_gcce.h"\ 2129 "..\..\include\pj\compat\cc_msvc.h"\ 2130 "..\..\include\pj\compat\cc_mwcc.h"\ 2084 2131 "..\..\include\pj\compat\ctype.h"\ 2085 2132 "..\..\include\pj\compat\errno.h"\ 2086 2133 "..\..\include\pj\compat\high_precision.h"\ 2134 "..\..\include\pj\compat\m_auto.h"\ 2135 "..\..\include\pj\compat\os_auto.h"\ 2087 2136 "..\..\include\pj\compat\os_darwinos.h"\ 2088 2137 "..\..\include\pj\compat\os_linux.h"\ … … 2091 2140 "..\..\include\pj\compat\os_rtems.h"\ 2092 2141 "..\..\include\pj\compat\os_sunos.h"\ 2142 "..\..\include\pj\compat\os_symbian.h"\ 2093 2143 "..\..\include\pj\compat\os_win32.h"\ 2094 2144 "..\..\include\pj\compat\os_win32_wince.h"\ 2095 2145 "..\..\include\pj\compat\setjmp.h"\ 2096 2146 "..\..\include\pj\compat\size_t.h"\ 2097 "..\..\include\pj\compat\string.h"\ 2098 "..\..\include\pj\config.h"\ 2099 "..\..\include\pj\config_site.h"\ 2147 "..\..\include\pj\compat\stdarg.h"\ 2148 "..\..\include\pj\compat\string.h"\ 2149 "..\..\include\pj\config.h"\ 2150 "..\..\include\pj\config_site.h"\ 2151 "..\..\include\pj\config_site_sample.h"\ 2100 2152 "..\..\include\pj\ctype.h"\ 2101 2153 "..\..\include\pj\errno.h"\ … … 2430 2482 "..\..\include\pj\assert.h"\ 2431 2483 "..\..\include\pj\compat\assert.h"\ 2432 "..\..\include\pj\compat\cc_gcc.h"\ 2433 "..\..\include\pj\compat\cc_msvc.h"\ 2484 "..\..\include\pj\compat\cc_armcc.h"\ 2485 "..\..\include\pj\compat\cc_codew.h"\ 2486 "..\..\include\pj\compat\cc_gcc.h"\ 2487 "..\..\include\pj\compat\cc_gcce.h"\ 2488 "..\..\include\pj\compat\cc_msvc.h"\ 2489 "..\..\include\pj\compat\cc_mwcc.h"\ 2490 "..\..\include\pj\compat\m_auto.h"\ 2491 "..\..\include\pj\compat\os_auto.h"\ 2434 2492 "..\..\include\pj\compat\os_darwinos.h"\ 2435 2493 "..\..\include\pj\compat\os_linux.h"\ … … 2438 2496 "..\..\include\pj\compat\os_rtems.h"\ 2439 2497 "..\..\include\pj\compat\os_sunos.h"\ 2440 "..\..\include\pj\compat\os_win32.h"\ 2441 "..\..\include\pj\compat\os_win32_wince.h"\ 2442 "..\..\include\pj\compat\size_t.h"\ 2443 "..\..\include\pj\config.h"\ 2444 "..\..\include\pj\config_site.h"\ 2498 "..\..\include\pj\compat\os_symbian.h"\ 2499 "..\..\include\pj\compat\os_win32.h"\ 2500 "..\..\include\pj\compat\os_win32_wince.h"\ 2501 "..\..\include\pj\compat\size_t.h"\ 2502 "..\..\include\pj\config.h"\ 2503 "..\..\include\pj\config_site.h"\ 2504 "..\..\include\pj\config_site_sample.h"\ 2445 2505 "..\..\include\pj\fifobuf.h"\ 2446 2506 "..\..\include\pj\log.h"\ … … 2699 2759 "..\..\include\pj\assert.h"\ 2700 2760 "..\..\include\pj\compat\assert.h"\ 2701 "..\..\include\pj\compat\cc_gcc.h"\ 2702 "..\..\include\pj\compat\cc_msvc.h"\ 2761 "..\..\include\pj\compat\cc_armcc.h"\ 2762 "..\..\include\pj\compat\cc_codew.h"\ 2763 "..\..\include\pj\compat\cc_gcc.h"\ 2764 "..\..\include\pj\compat\cc_gcce.h"\ 2765 "..\..\include\pj\compat\cc_msvc.h"\ 2766 "..\..\include\pj\compat\cc_mwcc.h"\ 2703 2767 "..\..\include\pj\compat\ctype.h"\ 2704 2768 "..\..\include\pj\compat\errno.h"\ 2705 2769 "..\..\include\pj\compat\high_precision.h"\ 2770 "..\..\include\pj\compat\m_auto.h"\ 2771 "..\..\include\pj\compat\os_auto.h"\ 2706 2772 "..\..\include\pj\compat\os_darwinos.h"\ 2707 2773 "..\..\include\pj\compat\os_linux.h"\ … … 2710 2776 "..\..\include\pj\compat\os_rtems.h"\ 2711 2777 "..\..\include\pj\compat\os_sunos.h"\ 2778 "..\..\include\pj\compat\os_symbian.h"\ 2712 2779 "..\..\include\pj\compat\os_win32.h"\ 2713 2780 "..\..\include\pj\compat\os_win32_wince.h"\ 2714 2781 "..\..\include\pj\compat\setjmp.h"\ 2715 2782 "..\..\include\pj\compat\size_t.h"\ 2716 "..\..\include\pj\compat\string.h"\ 2717 "..\..\include\pj\config.h"\ 2718 "..\..\include\pj\config_site.h"\ 2783 "..\..\include\pj\compat\stdarg.h"\ 2784 "..\..\include\pj\compat\string.h"\ 2785 "..\..\include\pj\config.h"\ 2786 "..\..\include\pj\config_site.h"\ 2787 "..\..\include\pj\config_site_sample.h"\ 2719 2788 "..\..\include\pj\ctype.h"\ 2720 2789 "..\..\include\pj\errno.h"\ … … 3052 3121 "..\..\include\pj\assert.h"\ 3053 3122 "..\..\include\pj\compat\assert.h"\ 3054 "..\..\include\pj\compat\cc_gcc.h"\ 3055 "..\..\include\pj\compat\cc_msvc.h"\ 3056 "..\..\include\pj\compat\errno.h"\ 3123 "..\..\include\pj\compat\cc_armcc.h"\ 3124 "..\..\include\pj\compat\cc_codew.h"\ 3125 "..\..\include\pj\compat\cc_gcc.h"\ 3126 "..\..\include\pj\compat\cc_gcce.h"\ 3127 "..\..\include\pj\compat\cc_msvc.h"\ 3128 "..\..\include\pj\compat\cc_mwcc.h"\ 3129 "..\..\include\pj\compat\errno.h"\ 3130 "..\..\include\pj\compat\m_auto.h"\ 3131 "..\..\include\pj\compat\os_auto.h"\ 3057 3132 "..\..\include\pj\compat\os_darwinos.h"\ 3058 3133 "..\..\include\pj\compat\os_linux.h"\ … … 3061 3136 "..\..\include\pj\compat\os_rtems.h"\ 3062 3137 "..\..\include\pj\compat\os_sunos.h"\ 3063 "..\..\include\pj\compat\os_win32.h"\ 3064 "..\..\include\pj\compat\os_win32_wince.h"\ 3065 "..\..\include\pj\compat\size_t.h"\ 3066 "..\..\include\pj\config.h"\ 3067 "..\..\include\pj\config_site.h"\ 3138 "..\..\include\pj\compat\os_symbian.h"\ 3139 "..\..\include\pj\compat\os_win32.h"\ 3140 "..\..\include\pj\compat\os_win32_wince.h"\ 3141 "..\..\include\pj\compat\size_t.h"\ 3142 "..\..\include\pj\config.h"\ 3143 "..\..\include\pj\config_site.h"\ 3144 "..\..\include\pj\config_site_sample.h"\ 3068 3145 "..\..\include\pj\errno.h"\ 3069 3146 "..\..\include\pj\file_io.h"\ … … 3332 3409 "..\..\include\pj\assert.h"\ 3333 3410 "..\..\include\pj\compat\assert.h"\ 3334 "..\..\include\pj\compat\cc_gcc.h"\ 3335 "..\..\include\pj\compat\cc_msvc.h"\ 3411 "..\..\include\pj\compat\cc_armcc.h"\ 3412 "..\..\include\pj\compat\cc_codew.h"\ 3413 "..\..\include\pj\compat\cc_gcc.h"\ 3414 "..\..\include\pj\compat\cc_gcce.h"\ 3415 "..\..\include\pj\compat\cc_msvc.h"\ 3416 "..\..\include\pj\compat\cc_mwcc.h"\ 3336 3417 "..\..\include\pj\compat\ctype.h"\ 3337 3418 "..\..\include\pj\compat\errno.h"\ 3338 3419 "..\..\include\pj\compat\high_precision.h"\ 3420 "..\..\include\pj\compat\m_auto.h"\ 3421 "..\..\include\pj\compat\os_auto.h"\ 3339 3422 "..\..\include\pj\compat\os_darwinos.h"\ 3340 3423 "..\..\include\pj\compat\os_linux.h"\ … … 3343 3426 "..\..\include\pj\compat\os_rtems.h"\ 3344 3427 "..\..\include\pj\compat\os_sunos.h"\ 3428 "..\..\include\pj\compat\os_symbian.h"\ 3345 3429 "..\..\include\pj\compat\os_win32.h"\ 3346 3430 "..\..\include\pj\compat\os_win32_wince.h"\ 3347 3431 "..\..\include\pj\compat\setjmp.h"\ 3348 3432 "..\..\include\pj\compat\size_t.h"\ 3349 "..\..\include\pj\compat\string.h"\ 3350 "..\..\include\pj\config.h"\ 3351 "..\..\include\pj\config_site.h"\ 3433 "..\..\include\pj\compat\stdarg.h"\ 3434 "..\..\include\pj\compat\string.h"\ 3435 "..\..\include\pj\config.h"\ 3436 "..\..\include\pj\config_site.h"\ 3437 "..\..\include\pj\config_site_sample.h"\ 3352 3438 "..\..\include\pj\ctype.h"\ 3353 3439 "..\..\include\pj\errno.h"\ … … 3719 3805 "..\..\include\pj\assert.h"\ 3720 3806 "..\..\include\pj\compat\assert.h"\ 3721 "..\..\include\pj\compat\cc_gcc.h"\ 3722 "..\..\include\pj\compat\cc_msvc.h"\ 3807 "..\..\include\pj\compat\cc_armcc.h"\ 3808 "..\..\include\pj\compat\cc_codew.h"\ 3809 "..\..\include\pj\compat\cc_gcc.h"\ 3810 "..\..\include\pj\compat\cc_gcce.h"\ 3811 "..\..\include\pj\compat\cc_msvc.h"\ 3812 "..\..\include\pj\compat\cc_mwcc.h"\ 3723 3813 "..\..\include\pj\compat\ctype.h"\ 3724 3814 "..\..\include\pj\compat\errno.h"\ 3725 3815 "..\..\include\pj\compat\high_precision.h"\ 3816 "..\..\include\pj\compat\m_auto.h"\ 3817 "..\..\include\pj\compat\os_auto.h"\ 3726 3818 "..\..\include\pj\compat\os_darwinos.h"\ 3727 3819 "..\..\include\pj\compat\os_linux.h"\ … … 3730 3822 "..\..\include\pj\compat\os_rtems.h"\ 3731 3823 "..\..\include\pj\compat\os_sunos.h"\ 3824 "..\..\include\pj\compat\os_symbian.h"\ 3732 3825 "..\..\include\pj\compat\os_win32.h"\ 3733 3826 "..\..\include\pj\compat\os_win32_wince.h"\ 3734 3827 "..\..\include\pj\compat\setjmp.h"\ 3735 3828 "..\..\include\pj\compat\size_t.h"\ 3736 "..\..\include\pj\compat\string.h"\ 3737 "..\..\include\pj\config.h"\ 3738 "..\..\include\pj\config_site.h"\ 3829 "..\..\include\pj\compat\stdarg.h"\ 3830 "..\..\include\pj\compat\string.h"\ 3831 "..\..\include\pj\config.h"\ 3832 "..\..\include\pj\config_site.h"\ 3833 "..\..\include\pj\config_site_sample.h"\ 3739 3834 "..\..\include\pj\ctype.h"\ 3740 3835 "..\..\include\pj\errno.h"\ … … 4122 4217 "..\..\include\pj\assert.h"\ 4123 4218 "..\..\include\pj\compat\assert.h"\ 4124 "..\..\include\pj\compat\cc_gcc.h"\ 4125 "..\..\include\pj\compat\cc_msvc.h"\ 4219 "..\..\include\pj\compat\cc_armcc.h"\ 4220 "..\..\include\pj\compat\cc_codew.h"\ 4221 "..\..\include\pj\compat\cc_gcc.h"\ 4222 "..\..\include\pj\compat\cc_gcce.h"\ 4223 "..\..\include\pj\compat\cc_msvc.h"\ 4224 "..\..\include\pj\compat\cc_mwcc.h"\ 4126 4225 "..\..\include\pj\compat\ctype.h"\ 4127 4226 "..\..\include\pj\compat\errno.h"\ 4128 4227 "..\..\include\pj\compat\high_precision.h"\ 4228 "..\..\include\pj\compat\m_auto.h"\ 4229 "..\..\include\pj\compat\os_auto.h"\ 4129 4230 "..\..\include\pj\compat\os_darwinos.h"\ 4130 4231 "..\..\include\pj\compat\os_linux.h"\ … … 4133 4234 "..\..\include\pj\compat\os_rtems.h"\ 4134 4235 "..\..\include\pj\compat\os_sunos.h"\ 4236 "..\..\include\pj\compat\os_symbian.h"\ 4135 4237 "..\..\include\pj\compat\os_win32.h"\ 4136 4238 "..\..\include\pj\compat\os_win32_wince.h"\ 4137 4239 "..\..\include\pj\compat\setjmp.h"\ 4138 4240 "..\..\include\pj\compat\size_t.h"\ 4139 "..\..\include\pj\compat\string.h"\ 4140 "..\..\include\pj\config.h"\ 4141 "..\..\include\pj\config_site.h"\ 4241 "..\..\include\pj\compat\stdarg.h"\ 4242 "..\..\include\pj\compat\string.h"\ 4243 "..\..\include\pj\config.h"\ 4244 "..\..\include\pj\config_site.h"\ 4245 "..\..\include\pj\config_site_sample.h"\ 4142 4246 "..\..\include\pj\ctype.h"\ 4143 4247 "..\..\include\pj\errno.h"\ … … 4558 4662 "..\..\include\pj\assert.h"\ 4559 4663 "..\..\include\pj\compat\assert.h"\ 4560 "..\..\include\pj\compat\cc_gcc.h"\ 4561 "..\..\include\pj\compat\cc_msvc.h"\ 4664 "..\..\include\pj\compat\cc_armcc.h"\ 4665 "..\..\include\pj\compat\cc_codew.h"\ 4666 "..\..\include\pj\compat\cc_gcc.h"\ 4667 "..\..\include\pj\compat\cc_gcce.h"\ 4668 "..\..\include\pj\compat\cc_msvc.h"\ 4669 "..\..\include\pj\compat\cc_mwcc.h"\ 4562 4670 "..\..\include\pj\compat\ctype.h"\ 4563 4671 "..\..\include\pj\compat\errno.h"\ 4564 4672 "..\..\include\pj\compat\high_precision.h"\ 4673 "..\..\include\pj\compat\m_auto.h"\ 4674 "..\..\include\pj\compat\os_auto.h"\ 4565 4675 "..\..\include\pj\compat\os_darwinos.h"\ 4566 4676 "..\..\include\pj\compat\os_linux.h"\ … … 4569 4679 "..\..\include\pj\compat\os_rtems.h"\ 4570 4680 "..\..\include\pj\compat\os_sunos.h"\ 4681 "..\..\include\pj\compat\os_symbian.h"\ 4571 4682 "..\..\include\pj\compat\os_win32.h"\ 4572 4683 "..\..\include\pj\compat\os_win32_wince.h"\ … … 4574 4685 "..\..\include\pj\compat\size_t.h"\ 4575 4686 "..\..\include\pj\compat\socket.h"\ 4576 "..\..\include\pj\compat\string.h"\ 4577 "..\..\include\pj\config.h"\ 4578 "..\..\include\pj\config_site.h"\ 4687 "..\..\include\pj\compat\stdarg.h"\ 4688 "..\..\include\pj\compat\string.h"\ 4689 "..\..\include\pj\config.h"\ 4690 "..\..\include\pj\config_site.h"\ 4691 "..\..\include\pj\config_site_sample.h"\ 4579 4692 "..\..\include\pj\ctype.h"\ 4580 4693 "..\..\include\pj\errno.h"\ … … 5064 5177 "..\..\include\pj\assert.h"\ 5065 5178 "..\..\include\pj\compat\assert.h"\ 5066 "..\..\include\pj\compat\cc_gcc.h"\ 5067 "..\..\include\pj\compat\cc_msvc.h"\ 5179 "..\..\include\pj\compat\cc_armcc.h"\ 5180 "..\..\include\pj\compat\cc_codew.h"\ 5181 "..\..\include\pj\compat\cc_gcc.h"\ 5182 "..\..\include\pj\compat\cc_gcce.h"\ 5183 "..\..\include\pj\compat\cc_msvc.h"\ 5184 "..\..\include\pj\compat\cc_mwcc.h"\ 5068 5185 "..\..\include\pj\compat\ctype.h"\ 5069 5186 "..\..\include\pj\compat\errno.h"\ 5070 5187 "..\..\include\pj\compat\high_precision.h"\ 5188 "..\..\include\pj\compat\m_auto.h"\ 5189 "..\..\include\pj\compat\os_auto.h"\ 5071 5190 "..\..\include\pj\compat\os_darwinos.h"\ 5072 5191 "..\..\include\pj\compat\os_linux.h"\ … … 5075 5194 "..\..\include\pj\compat\os_rtems.h"\ 5076 5195 "..\..\include\pj\compat\os_sunos.h"\ 5196 "..\..\include\pj\compat\os_symbian.h"\ 5077 5197 "..\..\include\pj\compat\os_win32.h"\ 5078 5198 "..\..\include\pj\compat\os_win32_wince.h"\ 5079 5199 "..\..\include\pj\compat\setjmp.h"\ 5080 5200 "..\..\include\pj\compat\size_t.h"\ 5081 "..\..\include\pj\compat\string.h"\ 5082 "..\..\include\pj\config.h"\ 5083 "..\..\include\pj\config_site.h"\ 5201 "..\..\include\pj\compat\stdarg.h"\ 5202 "..\..\include\pj\compat\string.h"\ 5203 "..\..\include\pj\config.h"\ 5204 "..\..\include\pj\config_site.h"\ 5205 "..\..\include\pj\config_site_sample.h"\ 5084 5206 "..\..\include\pj\ctype.h"\ 5085 5207 "..\..\include\pj\errno.h"\ … … 5618 5740 "..\..\include\pj\unicode.h"\ 5619 5741 "..\..\include\pjlib.h"\ 5620 {$(INCLUDE)}"ipexport.h"\ 5621 {$(INCLUDE)}"Iphlpapi.h"\ 5622 {$(INCLUDE)}"iptypes.h"\ 5742 5743 NODEP_CPP_IP_HE=\ 5744 ".\pexport.h"\ 5745 ".\phlpapi.h"\ 5746 ".\ptypes.h"\ 5623 5747 5624 5748 … … 5656 5780 5657 5781 DEP_CPP_LIST_=\ 5658 "..\..\include\pj\compat\cc_gcc.h"\ 5659 "..\..\include\pj\compat\cc_msvc.h"\ 5782 "..\..\include\pj\compat\cc_armcc.h"\ 5783 "..\..\include\pj\compat\cc_codew.h"\ 5784 "..\..\include\pj\compat\cc_gcc.h"\ 5785 "..\..\include\pj\compat\cc_gcce.h"\ 5786 "..\..\include\pj\compat\cc_msvc.h"\ 5787 "..\..\include\pj\compat\cc_mwcc.h"\ 5788 "..\..\include\pj\compat\m_auto.h"\ 5789 "..\..\include\pj\compat\os_auto.h"\ 5660 5790 "..\..\include\pj\compat\os_darwinos.h"\ 5661 5791 "..\..\include\pj\compat\os_linux.h"\ … … 5664 5794 "..\..\include\pj\compat\os_rtems.h"\ 5665 5795 "..\..\include\pj\compat\os_sunos.h"\ 5666 "..\..\include\pj\compat\os_win32.h"\ 5667 "..\..\include\pj\compat\os_win32_wince.h"\ 5668 "..\..\include\pj\compat\size_t.h"\ 5669 "..\..\include\pj\config.h"\ 5670 "..\..\include\pj\config_site.h"\ 5796 "..\..\include\pj\compat\os_symbian.h"\ 5797 "..\..\include\pj\compat\os_win32.h"\ 5798 "..\..\include\pj\compat\os_win32_wince.h"\ 5799 "..\..\include\pj\compat\size_t.h"\ 5800 "..\..\include\pj\config.h"\ 5801 "..\..\include\pj\config_site.h"\ 5802 "..\..\include\pj\config_site_sample.h"\ 5671 5803 "..\..\include\pj\list.h"\ 5672 5804 "..\..\include\pj\list_i.h"\ … … 5912 6044 "..\..\include\pj\assert.h"\ 5913 6045 "..\..\include\pj\compat\assert.h"\ 5914 "..\..\include\pj\compat\cc_gcc.h"\ 5915 "..\..\include\pj\compat\cc_msvc.h"\ 6046 "..\..\include\pj\compat\cc_armcc.h"\ 6047 "..\..\include\pj\compat\cc_codew.h"\ 6048 "..\..\include\pj\compat\cc_gcc.h"\ 6049 "..\..\include\pj\compat\cc_gcce.h"\ 6050 "..\..\include\pj\compat\cc_msvc.h"\ 6051 "..\..\include\pj\compat\cc_mwcc.h"\ 5916 6052 "..\..\include\pj\compat\ctype.h"\ 5917 6053 "..\..\include\pj\compat\errno.h"\ 5918 6054 "..\..\include\pj\compat\high_precision.h"\ 6055 "..\..\include\pj\compat\m_auto.h"\ 6056 "..\..\include\pj\compat\os_auto.h"\ 5919 6057 "..\..\include\pj\compat\os_darwinos.h"\ 5920 6058 "..\..\include\pj\compat\os_linux.h"\ … … 5923 6061 "..\..\include\pj\compat\os_rtems.h"\ 5924 6062 "..\..\include\pj\compat\os_sunos.h"\ 6063 "..\..\include\pj\compat\os_symbian.h"\ 5925 6064 "..\..\include\pj\compat\os_win32.h"\ 5926 6065 "..\..\include\pj\compat\os_win32_wince.h"\ 5927 6066 "..\..\include\pj\compat\setjmp.h"\ 5928 6067 "..\..\include\pj\compat\size_t.h"\ 5929 "..\..\include\pj\compat\string.h"\ 5930 "..\..\include\pj\config.h"\ 5931 "..\..\include\pj\config_site.h"\ 6068 "..\..\include\pj\compat\stdarg.h"\ 6069 "..\..\include\pj\compat\string.h"\ 6070 "..\..\include\pj\config.h"\ 6071 "..\..\include\pj\config_site.h"\ 6072 "..\..\include\pj\config_site_sample.h"\ 5932 6073 "..\..\include\pj\ctype.h"\ 5933 6074 "..\..\include\pj\errno.h"\ … … 6334 6475 "..\..\include\pj\assert.h"\ 6335 6476 "..\..\include\pj\compat\assert.h"\ 6336 "..\..\include\pj\compat\cc_gcc.h"\ 6337 "..\..\include\pj\compat\cc_msvc.h"\ 6477 "..\..\include\pj\compat\cc_armcc.h"\ 6478 "..\..\include\pj\compat\cc_codew.h"\ 6479 "..\..\include\pj\compat\cc_gcc.h"\ 6480 "..\..\include\pj\compat\cc_gcce.h"\ 6481 "..\..\include\pj\compat\cc_msvc.h"\ 6482 "..\..\include\pj\compat\cc_mwcc.h"\ 6338 6483 "..\..\include\pj\compat\ctype.h"\ 6339 6484 "..\..\include\pj\compat\errno.h"\ 6340 6485 "..\..\include\pj\compat\high_precision.h"\ 6486 "..\..\include\pj\compat\m_auto.h"\ 6487 "..\..\include\pj\compat\os_auto.h"\ 6341 6488 "..\..\include\pj\compat\os_darwinos.h"\ 6342 6489 "..\..\include\pj\compat\os_linux.h"\ … … 6345 6492 "..\..\include\pj\compat\os_rtems.h"\ 6346 6493 "..\..\include\pj\compat\os_sunos.h"\ 6494 "..\..\include\pj\compat\os_symbian.h"\ 6347 6495 "..\..\include\pj\compat\os_win32.h"\ 6348 6496 "..\..\include\pj\compat\os_win32_wince.h"\ … … 6353 6501 "..\..\include\pj\config.h"\ 6354 6502 "..\..\include\pj\config_site.h"\ 6503 "..\..\include\pj\config_site_sample.h"\ 6355 6504 "..\..\include\pj\ctype.h"\ 6356 6505 "..\..\include\pj\errno.h"\ … … 6722 6871 6723 6872 DEP_CPP_LOG_W=\ 6724 "..\..\include\pj\compat\cc_gcc.h"\ 6725 "..\..\include\pj\compat\cc_msvc.h"\ 6873 "..\..\include\pj\compat\cc_armcc.h"\ 6874 "..\..\include\pj\compat\cc_codew.h"\ 6875 "..\..\include\pj\compat\cc_gcc.h"\ 6876 "..\..\include\pj\compat\cc_gcce.h"\ 6877 "..\..\include\pj\compat\cc_msvc.h"\ 6878 "..\..\include\pj\compat\cc_mwcc.h"\ 6879 "..\..\include\pj\compat\m_auto.h"\ 6880 "..\..\include\pj\compat\os_auto.h"\ 6726 6881 "..\..\include\pj\compat\os_darwinos.h"\ 6727 6882 "..\..\include\pj\compat\os_linux.h"\ … … 6730 6885 "..\..\include\pj\compat\os_rtems.h"\ 6731 6886 "..\..\include\pj\compat\os_sunos.h"\ 6887 "..\..\include\pj\compat\os_symbian.h"\ 6732 6888 "..\..\include\pj\compat\os_win32.h"\ 6733 6889 "..\..\include\pj\compat\os_win32_wince.h"\ … … 6736 6892 "..\..\include\pj\config.h"\ 6737 6893 "..\..\include\pj\config_site.h"\ 6894 "..\..\include\pj\config_site_sample.h"\ 6738 6895 "..\..\include\pj\log.h"\ 6739 6896 "..\..\include\pj\os.h"\ … … 6991 7148 "..\..\include\pj\assert.h"\ 6992 7149 "..\..\include\pj\compat\assert.h"\ 6993 "..\..\include\pj\compat\cc_gcc.h"\ 6994 "..\..\include\pj\compat\cc_msvc.h"\ 7150 "..\..\include\pj\compat\cc_armcc.h"\ 7151 "..\..\include\pj\compat\cc_codew.h"\ 7152 "..\..\include\pj\compat\cc_gcc.h"\ 7153 "..\..\include\pj\compat\cc_gcce.h"\ 7154 "..\..\include\pj\compat\cc_msvc.h"\ 7155 "..\..\include\pj\compat\cc_mwcc.h"\ 6995 7156 "..\..\include\pj\compat\ctype.h"\ 6996 7157 "..\..\include\pj\compat\errno.h"\ 6997 7158 "..\..\include\pj\compat\high_precision.h"\ 7159 "..\..\include\pj\compat\m_auto.h"\ 7160 "..\..\include\pj\compat\os_auto.h"\ 6998 7161 "..\..\include\pj\compat\os_darwinos.h"\ 6999 7162 "..\..\include\pj\compat\os_linux.h"\ … … 7002 7165 "..\..\include\pj\compat\os_rtems.h"\ 7003 7166 "..\..\include\pj\compat\os_sunos.h"\ 7167 "..\..\include\pj\compat\os_symbian.h"\ 7004 7168 "..\..\include\pj\compat\os_win32.h"\ 7005 7169 "..\..\include\pj\compat\os_win32_wince.h"\ 7006 7170 "..\..\include\pj\compat\setjmp.h"\ 7007 7171 "..\..\include\pj\compat\size_t.h"\ 7008 "..\..\include\pj\compat\string.h"\ 7009 "..\..\include\pj\config.h"\ 7010 "..\..\include\pj\config_site.h"\ 7172 "..\..\include\pj\compat\stdarg.h"\ 7173 "..\..\include\pj\compat\string.h"\ 7174 "..\..\include\pj\config.h"\ 7175 "..\..\include\pj\config_site.h"\ 7176 "..\..\include\pj\config_site_sample.h"\ 7011 7177 "..\..\include\pj\ctype.h"\ 7012 7178 "..\..\include\pj\errno.h"\ … … 7445 7611 "..\..\include\pj\assert.h"\ 7446 7612 "..\..\include\pj\compat\assert.h"\ 7447 "..\..\include\pj\compat\cc_gcc.h"\ 7448 "..\..\include\pj\compat\cc_msvc.h"\ 7613 "..\..\include\pj\compat\cc_armcc.h"\ 7614 "..\..\include\pj\compat\cc_codew.h"\ 7615 "..\..\include\pj\compat\cc_gcc.h"\ 7616 "..\..\include\pj\compat\cc_gcce.h"\ 7617 "..\..\include\pj\compat\cc_msvc.h"\ 7618 "..\..\include\pj\compat\cc_mwcc.h"\ 7449 7619 "..\..\include\pj\compat\ctype.h"\ 7450 7620 "..\..\include\pj\compat\errno.h"\ 7451 7621 "..\..\include\pj\compat\high_precision.h"\ 7622 "..\..\include\pj\compat\m_auto.h"\ 7623 "..\..\include\pj\compat\os_auto.h"\ 7452 7624 "..\..\include\pj\compat\os_darwinos.h"\ 7453 7625 "..\..\include\pj\compat\os_linux.h"\ … … 7456 7628 "..\..\include\pj\compat\os_rtems.h"\ 7457 7629 "..\..\include\pj\compat\os_sunos.h"\ 7630 "..\..\include\pj\compat\os_symbian.h"\ 7458 7631 "..\..\include\pj\compat\os_win32.h"\ 7459 7632 "..\..\include\pj\compat\os_win32_wince.h"\ … … 7464 7637 "..\..\include\pj\config.h"\ 7465 7638 "..\..\include\pj\config_site.h"\ 7639 "..\..\include\pj\config_site_sample.h"\ 7466 7640 "..\..\include\pj\ctype.h"\ 7467 7641 "..\..\include\pj\errno.h"\ … … 7850 8024 "..\..\include\pj\assert.h"\ 7851 8025 "..\..\include\pj\compat\assert.h"\ 7852 "..\..\include\pj\compat\cc_gcc.h"\ 7853 "..\..\include\pj\compat\cc_msvc.h"\ 8026 "..\..\include\pj\compat\cc_armcc.h"\ 8027 "..\..\include\pj\compat\cc_codew.h"\ 8028 "..\..\include\pj\compat\cc_gcc.h"\ 8029 "..\..\include\pj\compat\cc_gcce.h"\ 8030 "..\..\include\pj\compat\cc_msvc.h"\ 8031 "..\..\include\pj\compat\cc_mwcc.h"\ 7854 8032 "..\..\include\pj\compat\ctype.h"\ 7855 8033 "..\..\include\pj\compat\errno.h"\ 7856 8034 "..\..\include\pj\compat\high_precision.h"\ 8035 "..\..\include\pj\compat\m_auto.h"\ 8036 "..\..\include\pj\compat\os_auto.h"\ 7857 8037 "..\..\include\pj\compat\os_darwinos.h"\ 7858 8038 "..\..\include\pj\compat\os_linux.h"\ … … 7861 8041 "..\..\include\pj\compat\os_rtems.h"\ 7862 8042 "..\..\include\pj\compat\os_sunos.h"\ 8043 "..\..\include\pj\compat\os_symbian.h"\ 7863 8044 "..\..\include\pj\compat\os_win32.h"\ 7864 8045 "..\..\include\pj\compat\os_win32_wince.h"\ 7865 8046 "..\..\include\pj\compat\setjmp.h"\ 7866 8047 "..\..\include\pj\compat\size_t.h"\ 7867 "..\..\include\pj\compat\string.h"\ 7868 "..\..\include\pj\config.h"\ 7869 "..\..\include\pj\config_site.h"\ 8048 "..\..\include\pj\compat\stdarg.h"\ 8049 "..\..\include\pj\compat\string.h"\ 8050 "..\..\include\pj\config.h"\ 8051 "..\..\include\pj\config_site.h"\ 8052 "..\..\include\pj\config_site_sample.h"\ 7870 8053 "..\..\include\pj\ctype.h"\ 7871 8054 "..\..\include\pj\errno.h"\ … … 8166 8349 8167 8350 DEP_CPP_OS_TIM=\ 8351 "..\..\include\pj\compat\cc_armcc.h"\ 8352 "..\..\include\pj\compat\cc_codew.h"\ 8353 "..\..\include\pj\compat\cc_gcc.h"\ 8354 "..\..\include\pj\compat\cc_gcce.h"\ 8355 "..\..\include\pj\compat\cc_msvc.h"\ 8356 "..\..\include\pj\compat\cc_mwcc.h"\ 8357 "..\..\include\pj\compat\high_precision.h"\ 8358 "..\..\include\pj\compat\m_auto.h"\ 8359 "..\..\include\pj\compat\os_auto.h"\ 8360 "..\..\include\pj\compat\os_darwinos.h"\ 8361 "..\..\include\pj\compat\os_linux.h"\ 8362 "..\..\include\pj\compat\os_linux_kernel.h"\ 8363 "..\..\include\pj\compat\os_palmos.h"\ 8364 "..\..\include\pj\compat\os_rtems.h"\ 8365 "..\..\include\pj\compat\os_sunos.h"\ 8366 "..\..\include\pj\compat\os_symbian.h"\ 8367 "..\..\include\pj\compat\os_win32.h"\ 8368 "..\..\include\pj\compat\os_win32_wince.h"\ 8369 "..\..\include\pj\compat\size_t.h"\ 8370 "..\..\include\pj\config.h"\ 8371 "..\..\include\pj\config_site.h"\ 8372 "..\..\include\pj\config_site_sample.h"\ 8373 "..\..\include\pj\os.h"\ 8374 "..\..\include\pj\types.h"\ 8375 8376 8377 !ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4I) Release" 8378 8379 DEP_CPP_OS_TIM=\ 8380 "..\..\include\pj\compat\cc_gcc.h"\ 8381 "..\..\include\pj\compat\cc_msvc.h"\ 8382 "..\..\include\pj\compat\high_precision.h"\ 8383 "..\..\include\pj\compat\m_alpha.h"\ 8384 "..\..\include\pj\compat\m_i386.h"\ 8385 "..\..\include\pj\compat\m_m68k.h"\ 8386 "..\..\include\pj\compat\m_sparc.h"\ 8387 "..\..\include\pj\compat\os_linux.h"\ 8388 "..\..\include\pj\compat\os_linux_kernel.h"\ 8389 "..\..\include\pj\compat\os_palmos.h"\ 8390 "..\..\include\pj\compat\os_sunos.h"\ 8391 "..\..\include\pj\compat\os_win32.h"\ 8392 "..\..\include\pj\compat\os_win32_wince.h"\ 8393 "..\..\include\pj\compat\size_t.h"\ 8394 "..\..\include\pj\config.h"\ 8395 "..\..\include\pj\config_site.h"\ 8396 "..\..\include\pj\os.h"\ 8397 "..\..\include\pj\types.h"\ 8398 8399 8400 !ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4I) Debug" 8401 8402 DEP_CPP_OS_TIM=\ 8403 "..\..\include\pj\compat\cc_gcc.h"\ 8404 "..\..\include\pj\compat\cc_msvc.h"\ 8405 "..\..\include\pj\compat\high_precision.h"\ 8406 "..\..\include\pj\compat\m_alpha.h"\ 8407 "..\..\include\pj\compat\m_i386.h"\ 8408 "..\..\include\pj\compat\m_m68k.h"\ 8409 "..\..\include\pj\compat\m_sparc.h"\ 8410 "..\..\include\pj\compat\os_linux.h"\ 8411 "..\..\include\pj\compat\os_linux_kernel.h"\ 8412 "..\..\include\pj\compat\os_palmos.h"\ 8413 "..\..\include\pj\compat\os_sunos.h"\ 8414 "..\..\include\pj\compat\os_win32.h"\ 8415 "..\..\include\pj\compat\os_win32_wince.h"\ 8416 "..\..\include\pj\compat\size_t.h"\ 8417 "..\..\include\pj\config.h"\ 8418 "..\..\include\pj\config_site.h"\ 8419 "..\..\include\pj\os.h"\ 8420 "..\..\include\pj\types.h"\ 8421 8422 8423 !ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4) Release" 8424 8425 DEP_CPP_OS_TIM=\ 8426 "..\..\include\pj\compat\cc_gcc.h"\ 8427 "..\..\include\pj\compat\cc_msvc.h"\ 8428 "..\..\include\pj\compat\high_precision.h"\ 8429 "..\..\include\pj\compat\m_alpha.h"\ 8430 "..\..\include\pj\compat\m_armv4.h"\ 8431 "..\..\include\pj\compat\m_i386.h"\ 8432 "..\..\include\pj\compat\m_m68k.h"\ 8433 "..\..\include\pj\compat\m_sparc.h"\ 8434 "..\..\include\pj\compat\os_linux.h"\ 8435 "..\..\include\pj\compat\os_linux_kernel.h"\ 8436 "..\..\include\pj\compat\os_palmos.h"\ 8437 "..\..\include\pj\compat\os_sunos.h"\ 8438 "..\..\include\pj\compat\os_win32.h"\ 8439 "..\..\include\pj\compat\os_win32_wince.h"\ 8440 "..\..\include\pj\compat\size_t.h"\ 8441 "..\..\include\pj\config.h"\ 8442 "..\..\include\pj\config_site.h"\ 8443 "..\..\include\pj\os.h"\ 8444 "..\..\include\pj\types.h"\ 8445 8446 8447 !ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4) Debug" 8448 8449 DEP_CPP_OS_TIM=\ 8450 "..\..\include\pj\compat\cc_gcc.h"\ 8451 "..\..\include\pj\compat\cc_msvc.h"\ 8452 "..\..\include\pj\compat\high_precision.h"\ 8453 "..\..\include\pj\compat\m_alpha.h"\ 8454 "..\..\include\pj\compat\m_i386.h"\ 8455 "..\..\include\pj\compat\m_m68k.h"\ 8456 "..\..\include\pj\compat\m_sparc.h"\ 8457 "..\..\include\pj\compat\os_linux.h"\ 8458 "..\..\include\pj\compat\os_linux_kernel.h"\ 8459 "..\..\include\pj\compat\os_palmos.h"\ 8460 "..\..\include\pj\compat\os_sunos.h"\ 8461 "..\..\include\pj\compat\os_win32.h"\ 8462 "..\..\include\pj\compat\os_win32_wince.h"\ 8463 "..\..\include\pj\compat\size_t.h"\ 8464 "..\..\include\pj\config.h"\ 8465 "..\..\include\pj\config_site.h"\ 8466 "..\..\include\pj\os.h"\ 8467 "..\..\include\pj\types.h"\ 8468 8469 NODEP_CPP_OS_TIM=\ 8470 "..\..\include\pj\compat\m_arm.h"\ 8471 8472 8473 !ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4T) Release" 8474 8475 DEP_CPP_OS_TIM=\ 8476 "..\..\include\pj\compat\cc_gcc.h"\ 8477 "..\..\include\pj\compat\cc_msvc.h"\ 8478 "..\..\include\pj\compat\high_precision.h"\ 8479 "..\..\include\pj\compat\m_alpha.h"\ 8480 "..\..\include\pj\compat\m_i386.h"\ 8481 "..\..\include\pj\compat\m_m68k.h"\ 8482 "..\..\include\pj\compat\m_sparc.h"\ 8483 "..\..\include\pj\compat\os_linux.h"\ 8484 "..\..\include\pj\compat\os_linux_kernel.h"\ 8485 "..\..\include\pj\compat\os_palmos.h"\ 8486 "..\..\include\pj\compat\os_sunos.h"\ 8487 "..\..\include\pj\compat\os_win32.h"\ 8488 "..\..\include\pj\compat\os_win32_wince.h"\ 8489 "..\..\include\pj\compat\size_t.h"\ 8490 "..\..\include\pj\config.h"\ 8491 "..\..\include\pj\config_site.h"\ 8492 "..\..\include\pj\os.h"\ 8493 "..\..\include\pj\types.h"\ 8494 8495 8496 !ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4T) Debug" 8497 8498 DEP_CPP_OS_TIM=\ 8499 "..\..\include\pj\compat\cc_gcc.h"\ 8500 "..\..\include\pj\compat\cc_msvc.h"\ 8501 "..\..\include\pj\compat\high_precision.h"\ 8502 "..\..\include\pj\compat\m_alpha.h"\ 8503 "..\..\include\pj\compat\m_i386.h"\ 8504 "..\..\include\pj\compat\m_m68k.h"\ 8505 "..\..\include\pj\compat\m_sparc.h"\ 8506 "..\..\include\pj\compat\os_linux.h"\ 8507 "..\..\include\pj\compat\os_linux_kernel.h"\ 8508 "..\..\include\pj\compat\os_palmos.h"\ 8509 "..\..\include\pj\compat\os_sunos.h"\ 8510 "..\..\include\pj\compat\os_win32.h"\ 8511 "..\..\include\pj\compat\os_win32_wince.h"\ 8512 "..\..\include\pj\compat\size_t.h"\ 8513 "..\..\include\pj\config.h"\ 8514 "..\..\include\pj\config_site.h"\ 8515 "..\..\include\pj\os.h"\ 8516 "..\..\include\pj\types.h"\ 8517 8518 8519 !ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE x86) Release" 8520 8521 DEP_CPP_OS_TIM=\ 8522 "..\..\include\pj\compat\cc_gcc.h"\ 8523 "..\..\include\pj\compat\cc_msvc.h"\ 8524 "..\..\include\pj\compat\high_precision.h"\ 8525 "..\..\include\pj\compat\m_alpha.h"\ 8526 "..\..\include\pj\compat\m_i386.h"\ 8527 "..\..\include\pj\compat\m_m68k.h"\ 8528 "..\..\include\pj\compat\m_sparc.h"\ 8529 "..\..\include\pj\compat\os_linux.h"\ 8530 "..\..\include\pj\compat\os_linux_kernel.h"\ 8531 "..\..\include\pj\compat\os_palmos.h"\ 8532 "..\..\include\pj\compat\os_sunos.h"\ 8533 "..\..\include\pj\compat\os_win32.h"\ 8534 "..\..\include\pj\compat\os_win32_wince.h"\ 8535 "..\..\include\pj\compat\size_t.h"\ 8536 "..\..\include\pj\config.h"\ 8537 "..\..\include\pj\config_site.h"\ 8538 "..\..\include\pj\os.h"\ 8539 "..\..\include\pj\types.h"\ 8540 8541 8542 !ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE x86) Debug" 8543 8544 DEP_CPP_OS_TIM=\ 8168 8545 "..\..\include\pj\compat\cc_gcc.h"\ 8169 8546 "..\..\include\pj\compat\cc_msvc.h"\ … … 8184 8561 8185 8562 8186 !ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4I) Release"8187 8188 DEP_CPP_OS_TIM=\8189 "..\..\include\pj\compat\cc_gcc.h"\8190 "..\..\include\pj\compat\cc_msvc.h"\8191 "..\..\include\pj\compat\high_precision.h"\8192 "..\..\include\pj\compat\m_alpha.h"\8193 "..\..\include\pj\compat\m_i386.h"\8194 "..\..\include\pj\compat\m_m68k.h"\8195 "..\..\include\pj\compat\m_sparc.h"\8196 "..\..\include\pj\compat\os_linux.h"\8197 "..\..\include\pj\compat\os_linux_kernel.h"\8198 "..\..\include\pj\compat\os_palmos.h"\8199 "..\..\include\pj\compat\os_sunos.h"\8200 "..\..\include\pj\compat\os_win32.h"\8201 "..\..\include\pj\compat\os_win32_wince.h"\8202 "..\..\include\pj\compat\size_t.h"\8203 "..\..\include\pj\config.h"\8204 "..\..\include\pj\config_site.h"\8205 "..\..\include\pj\os.h"\8206 "..\..\include\pj\types.h"\8207 8208 8209 !ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4I) Debug"8210 8211 DEP_CPP_OS_TIM=\8212 "..\..\include\pj\compat\cc_gcc.h"\8213 "..\..\include\pj\compat\cc_msvc.h"\8214 "..\..\include\pj\compat\high_precision.h"\8215 "..\..\include\pj\compat\m_alpha.h"\8216 "..\..\include\pj\compat\m_i386.h"\8217 "..\..\include\pj\compat\m_m68k.h"\8218 "..\..\include\pj\compat\m_sparc.h"\8219 "..\..\include\pj\compat\os_linux.h"\8220 "..\..\include\pj\compat\os_linux_kernel.h"\8221 "..\..\include\pj\compat\os_palmos.h"\8222 "..\..\include\pj\compat\os_sunos.h"\8223 "..\..\include\pj\compat\os_win32.h"\8224 "..\..\include\pj\compat\os_win32_wince.h"\8225 "..\..\include\pj\compat\size_t.h"\8226 "..\..\include\pj\config.h"\8227 "..\..\include\pj\config_site.h"\8228 "..\..\include\pj\os.h"\8229 "..\..\include\pj\types.h"\8230 8231 8232 !ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4) Release"8233 8234 DEP_CPP_OS_TIM=\8235 "..\..\include\pj\compat\cc_gcc.h"\8236 "..\..\include\pj\compat\cc_msvc.h"\8237 "..\..\include\pj\compat\high_precision.h"\8238 "..\..\include\pj\compat\m_alpha.h"\8239 "..\..\include\pj\compat\m_armv4.h"\8240 "..\..\include\pj\compat\m_i386.h"\8241 "..\..\include\pj\compat\m_m68k.h"\8242 "..\..\include\pj\compat\m_sparc.h"\8243 "..\..\include\pj\compat\os_linux.h"\8244 "..\..\include\pj\compat\os_linux_kernel.h"\8245 "..\..\include\pj\compat\os_palmos.h"\8246 "..\..\include\pj\compat\os_sunos.h"\8247 "..\..\include\pj\compat\os_win32.h"\8248 "..\..\include\pj\compat\os_win32_wince.h"\8249 "..\..\include\pj\compat\size_t.h"\8250 "..\..\include\pj\config.h"\8251 "..\..\include\pj\config_site.h"\8252 "..\..\include\pj\os.h"\8253 "..\..\include\pj\types.h"\8254 8255 8256 !ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4) Debug"8257 8258 DEP_CPP_OS_TIM=\8259 "..\..\include\pj\compat\cc_gcc.h"\8260 "..\..\include\pj\compat\cc_msvc.h"\8261 "..\..\include\pj\compat\high_precision.h"\8262 "..\..\include\pj\compat\m_alpha.h"\8263 "..\..\include\pj\compat\m_i386.h"\8264 "..\..\include\pj\compat\m_m68k.h"\8265 "..\..\include\pj\compat\m_sparc.h"\8266 "..\..\include\pj\compat\os_linux.h"\8267 "..\..\include\pj\compat\os_linux_kernel.h"\8268 "..\..\include\pj\compat\os_palmos.h"\8269 "..\..\include\pj\compat\os_sunos.h"\8270 "..\..\include\pj\compat\os_win32.h"\8271 "..\..\include\pj\compat\os_win32_wince.h"\8272 "..\..\include\pj\compat\size_t.h"\8273 "..\..\include\pj\config.h"\8274 "..\..\include\pj\config_site.h"\8275 "..\..\include\pj\os.h"\8276 "..\..\include\pj\types.h"\8277 8278 NODEP_CPP_OS_TIM=\8279 "..\..\include\pj\compat\m_arm.h"\8280 8281 8282 !ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4T) Release"8283 8284 DEP_CPP_OS_TIM=\8285 "..\..\include\pj\compat\cc_gcc.h"\8286 "..\..\include\pj\compat\cc_msvc.h"\8287 "..\..\include\pj\compat\high_precision.h"\8288 "..\..\include\pj\compat\m_alpha.h"\8289 "..\..\include\pj\compat\m_i386.h"\8290 "..\..\include\pj\compat\m_m68k.h"\8291 "..\..\include\pj\compat\m_sparc.h"\8292 "..\..\include\pj\compat\os_linux.h"\8293 "..\..\include\pj\compat\os_linux_kernel.h"\8294 "..\..\include\pj\compat\os_palmos.h"\8295 "..\..\include\pj\compat\os_sunos.h"\8296 "..\..\include\pj\compat\os_win32.h"\8297 "..\..\include\pj\compat\os_win32_wince.h"\8298 "..\..\include\pj\compat\size_t.h"\8299 "..\..\include\pj\config.h"\8300 "..\..\include\pj\config_site.h"\8301 "..\..\include\pj\os.h"\8302 "..\..\include\pj\types.h"\8303 8304 8305 !ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4T) Debug"8306 8307 DEP_CPP_OS_TIM=\8308 "..\..\include\pj\compat\cc_gcc.h"\8309 "..\..\include\pj\compat\cc_msvc.h"\8310 "..\..\include\pj\compat\high_precision.h"\8311 "..\..\include\pj\compat\m_alpha.h"\8312 "..\..\include\pj\compat\m_i386.h"\8313 "..\..\include\pj\compat\m_m68k.h"\8314 "..\..\include\pj\compat\m_sparc.h"\8315 "..\..\include\pj\compat\os_linux.h"\8316 "..\..\include\pj\compat\os_linux_kernel.h"\8317 "..\..\include\pj\compat\os_palmos.h"\8318 "..\..\include\pj\compat\os_sunos.h"\8319 "..\..\include\pj\compat\os_win32.h"\8320 "..\..\include\pj\compat\os_win32_wince.h"\8321 "..\..\include\pj\compat\size_t.h"\8322 "..\..\include\pj\config.h"\8323 "..\..\include\pj\config_site.h"\8324 "..\..\include\pj\os.h"\8325 "..\..\include\pj\types.h"\8326 8327 8328 !ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE x86) Release"8329 8330 DEP_CPP_OS_TIM=\8331 "..\..\include\pj\compat\cc_gcc.h"\8332 "..\..\include\pj\compat\cc_msvc.h"\8333 "..\..\include\pj\compat\high_precision.h"\8334 "..\..\include\pj\compat\m_alpha.h"\8335 "..\..\include\pj\compat\m_i386.h"\8336 "..\..\include\pj\compat\m_m68k.h"\8337 "..\..\include\pj\compat\m_sparc.h"\8338 "..\..\include\pj\compat\os_linux.h"\8339 "..\..\include\pj\compat\os_linux_kernel.h"\8340 "..\..\include\pj\compat\os_palmos.h"\8341 "..\..\include\pj\compat\os_sunos.h"\8342 "..\..\include\pj\compat\os_win32.h"\8343 "..\..\include\pj\compat\os_win32_wince.h"\8344 "..\..\include\pj\compat\size_t.h"\8345 "..\..\include\pj\config.h"\8346 "..\..\include\pj\config_site.h"\8347 "..\..\include\pj\os.h"\8348 "..\..\include\pj\types.h"\8349 8350 8351 !ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE x86) Debug"8352 8353 DEP_CPP_OS_TIM=\8354 "..\..\include\pj\compat\cc_gcc.h"\8355 "..\..\include\pj\compat\cc_msvc.h"\8356 "..\..\include\pj\compat\high_precision.h"\8357 "..\..\include\pj\compat\os_darwinos.h"\8358 "..\..\include\pj\compat\os_linux.h"\8359 "..\..\include\pj\compat\os_linux_kernel.h"\8360 "..\..\include\pj\compat\os_palmos.h"\8361 "..\..\include\pj\compat\os_rtems.h"\8362 "..\..\include\pj\compat\os_sunos.h"\8363 "..\..\include\pj\compat\os_win32.h"\8364 "..\..\include\pj\compat\os_win32_wince.h"\8365 "..\..\include\pj\compat\size_t.h"\8366 "..\..\include\pj\config.h"\8367 "..\..\include\pj\config_site.h"\8368 "..\..\include\pj\os.h"\8369 "..\..\include\pj\types.h"\8370 8371 8372 8563 !ENDIF 8373 8564 … … 8406 8597 "..\..\include\pj\assert.h"\ 8407 8598 "..\..\include\pj\compat\assert.h"\ 8408 "..\..\include\pj\compat\cc_gcc.h"\ 8409 "..\..\include\pj\compat\cc_msvc.h"\ 8410 "..\..\include\pj\compat\errno.h"\ 8599 "..\..\include\pj\compat\cc_armcc.h"\ 8600 "..\..\include\pj\compat\cc_codew.h"\ 8601 "..\..\include\pj\compat\cc_gcc.h"\ 8602 "..\..\include\pj\compat\cc_gcce.h"\ 8603 "..\..\include\pj\compat\cc_msvc.h"\ 8604 "..\..\include\pj\compat\cc_mwcc.h"\ 8605 "..\..\include\pj\compat\errno.h"\ 8606 "..\..\include\pj\compat\m_auto.h"\ 8607 "..\..\include\pj\compat\os_auto.h"\ 8411 8608 "..\..\include\pj\compat\os_darwinos.h"\ 8412 8609 "..\..\include\pj\compat\os_linux.h"\ … … 8415 8612 "..\..\include\pj\compat\os_rtems.h"\ 8416 8613 "..\..\include\pj\compat\os_sunos.h"\ 8417 "..\..\include\pj\compat\os_win32.h"\ 8418 "..\..\include\pj\compat\os_win32_wince.h"\ 8419 "..\..\include\pj\compat\size_t.h"\ 8420 "..\..\include\pj\config.h"\ 8421 "..\..\include\pj\config_site.h"\ 8614 "..\..\include\pj\compat\os_symbian.h"\ 8615 "..\..\include\pj\compat\os_win32.h"\ 8616 "..\..\include\pj\compat\os_win32_wince.h"\ 8617 "..\..\include\pj\compat\size_t.h"\ 8618 "..\..\include\pj\config.h"\ 8619 "..\..\include\pj\config_site.h"\ 8620 "..\..\include\pj\config_site_sample.h"\ 8422 8621 "..\..\include\pj\errno.h"\ 8423 8622 "..\..\include\pj\log.h"\ … … 8675 8874 "..\..\include\pj\assert.h"\ 8676 8875 "..\..\include\pj\compat\assert.h"\ 8677 "..\..\include\pj\compat\cc_gcc.h"\ 8678 "..\..\include\pj\compat\cc_msvc.h"\ 8876 "..\..\include\pj\compat\cc_armcc.h"\ 8877 "..\..\include\pj\compat\cc_codew.h"\ 8878 "..\..\include\pj\compat\cc_gcc.h"\ 8879 "..\..\include\pj\compat\cc_gcce.h"\ 8880 "..\..\include\pj\compat\cc_msvc.h"\ 8881 "..\..\include\pj\compat\cc_mwcc.h"\ 8679 8882 "..\..\include\pj\compat\ctype.h"\ 8680 8883 "..\..\include\pj\compat\errno.h"\ 8681 8884 "..\..\include\pj\compat\high_precision.h"\ 8885 "..\..\include\pj\compat\m_auto.h"\ 8886 "..\..\include\pj\compat\os_auto.h"\ 8682 8887 "..\..\include\pj\compat\os_darwinos.h"\ 8683 8888 "..\..\include\pj\compat\os_linux.h"\ … … 8686 8891 "..\..\include\pj\compat\os_rtems.h"\ 8687 8892 "..\..\include\pj\compat\os_sunos.h"\ 8893 "..\..\include\pj\compat\os_symbian.h"\ 8688 8894 "..\..\include\pj\compat\os_win32.h"\ 8689 8895 "..\..\include\pj\compat\os_win32_wince.h"\ 8690 8896 "..\..\include\pj\compat\setjmp.h"\ 8691 8897 "..\..\include\pj\compat\size_t.h"\ 8692 "..\..\include\pj\compat\string.h"\ 8693 "..\..\include\pj\config.h"\ 8694 "..\..\include\pj\config_site.h"\ 8898 "..\..\include\pj\compat\stdarg.h"\ 8899 "..\..\include\pj\compat\string.h"\ 8900 "..\..\include\pj\config.h"\ 8901 "..\..\include\pj\config_site.h"\ 8902 "..\..\include\pj\config_site_sample.h"\ 8695 8903 "..\..\include\pj\ctype.h"\ 8696 8904 "..\..\include\pj\errno.h"\ … … 9118 9326 "..\..\include\pj\assert.h"\ 9119 9327 "..\..\include\pj\compat\assert.h"\ 9120 "..\..\include\pj\compat\cc_gcc.h"\ 9121 "..\..\include\pj\compat\cc_msvc.h"\ 9328 "..\..\include\pj\compat\cc_armcc.h"\ 9329 "..\..\include\pj\compat\cc_codew.h"\ 9330 "..\..\include\pj\compat\cc_gcc.h"\ 9331 "..\..\include\pj\compat\cc_gcce.h"\ 9332 "..\..\include\pj\compat\cc_msvc.h"\ 9333 "..\..\include\pj\compat\cc_mwcc.h"\ 9122 9334 "..\..\include\pj\compat\ctype.h"\ 9123 9335 "..\..\include\pj\compat\errno.h"\ 9124 9336 "..\..\include\pj\compat\high_precision.h"\ 9337 "..\..\include\pj\compat\m_auto.h"\ 9338 "..\..\include\pj\compat\os_auto.h"\ 9125 9339 "..\..\include\pj\compat\os_darwinos.h"\ 9126 9340 "..\..\include\pj\compat\os_linux.h"\ … … 9129 9343 "..\..\include\pj\compat\os_rtems.h"\ 9130 9344 "..\..\include\pj\compat\os_sunos.h"\ 9345 "..\..\include\pj\compat\os_symbian.h"\ 9131 9346 "..\..\include\pj\compat\os_win32.h"\ 9132 9347 "..\..\include\pj\compat\os_win32_wince.h"\ 9133 9348 "..\..\include\pj\compat\setjmp.h"\ 9134 9349 "..\..\include\pj\compat\size_t.h"\ 9135 "..\..\include\pj\compat\string.h"\ 9136 "..\..\include\pj\config.h"\ 9137 "..\..\include\pj\config_site.h"\ 9350 "..\..\include\pj\compat\stdarg.h"\ 9351 "..\..\include\pj\compat\string.h"\ 9352 "..\..\include\pj\config.h"\ 9353 "..\..\include\pj\config_site.h"\ 9354 "..\..\include\pj\config_site_sample.h"\ 9138 9355 "..\..\include\pj\ctype.h"\ 9139 9356 "..\..\include\pj\errno.h"\ … … 9665 9882 "..\..\include\pj\assert.h"\ 9666 9883 "..\..\include\pj\compat\assert.h"\ 9667 "..\..\include\pj\compat\cc_gcc.h"\ 9668 "..\..\include\pj\compat\cc_msvc.h"\ 9884 "..\..\include\pj\compat\cc_armcc.h"\ 9885 "..\..\include\pj\compat\cc_codew.h"\ 9886 "..\..\include\pj\compat\cc_gcc.h"\ 9887 "..\..\include\pj\compat\cc_gcce.h"\ 9888 "..\..\include\pj\compat\cc_msvc.h"\ 9889 "..\..\include\pj\compat\cc_mwcc.h"\ 9669 9890 "..\..\include\pj\compat\ctype.h"\ 9670 9891 "..\..\include\pj\compat\errno.h"\ 9671 9892 "..\..\include\pj\compat\high_precision.h"\ 9893 "..\..\include\pj\compat\m_auto.h"\ 9894 "..\..\include\pj\compat\os_auto.h"\ 9672 9895 "..\..\include\pj\compat\os_darwinos.h"\ 9673 9896 "..\..\include\pj\compat\os_linux.h"\ … … 9676 9899 "..\..\include\pj\compat\os_rtems.h"\ 9677 9900 "..\..\include\pj\compat\os_sunos.h"\ 9901 "..\..\include\pj\compat\os_symbian.h"\ 9678 9902 "..\..\include\pj\compat\os_win32.h"\ 9679 9903 "..\..\include\pj\compat\os_win32_wince.h"\ 9680 9904 "..\..\include\pj\compat\setjmp.h"\ 9681 9905 "..\..\include\pj\compat\size_t.h"\ 9682 "..\..\include\pj\compat\string.h"\ 9683 "..\..\include\pj\config.h"\ 9684 "..\..\include\pj\config_site.h"\ 9906 "..\..\include\pj\compat\stdarg.h"\ 9907 "..\..\include\pj\compat\string.h"\ 9908 "..\..\include\pj\config.h"\ 9909 "..\..\include\pj\config_site.h"\ 9910 "..\..\include\pj\config_site_sample.h"\ 9685 9911 "..\..\include\pj\ctype.h"\ 9686 9912 "..\..\include\pj\errno.h"\ … … 10074 10300 "..\..\include\pj\assert.h"\ 10075 10301 "..\..\include\pj\compat\assert.h"\ 10076 "..\..\include\pj\compat\cc_gcc.h"\ 10077 "..\..\include\pj\compat\cc_msvc.h"\ 10302 "..\..\include\pj\compat\cc_armcc.h"\ 10303 "..\..\include\pj\compat\cc_codew.h"\ 10304 "..\..\include\pj\compat\cc_gcc.h"\ 10305 "..\..\include\pj\compat\cc_gcce.h"\ 10306 "..\..\include\pj\compat\cc_msvc.h"\ 10307 "..\..\include\pj\compat\cc_mwcc.h"\ 10078 10308 "..\..\include\pj\compat\ctype.h"\ 10079 10309 "..\..\include\pj\compat\errno.h"\ 10080 10310 "..\..\include\pj\compat\high_precision.h"\ 10311 "..\..\include\pj\compat\m_auto.h"\ 10081 10312 "..\..\include\pj\compat\malloc.h"\ 10313 "..\..\include\pj\compat\os_auto.h"\ 10082 10314 "..\..\include\pj\compat\os_darwinos.h"\ 10083 10315 "..\..\include\pj\compat\os_linux.h"\ … … 10086 10318 "..\..\include\pj\compat\os_rtems.h"\ 10087 10319 "..\..\include\pj\compat\os_sunos.h"\ 10320 "..\..\include\pj\compat\os_symbian.h"\ 10088 10321 "..\..\include\pj\compat\os_win32.h"\ 10089 10322 "..\..\include\pj\compat\os_win32_wince.h"\ 10090 10323 "..\..\include\pj\compat\setjmp.h"\ 10091 10324 "..\..\include\pj\compat\size_t.h"\ 10092 "..\..\include\pj\compat\string.h"\ 10093 "..\..\include\pj\config.h"\ 10094 "..\..\include\pj\config_site.h"\ 10325 "..\..\include\pj\compat\stdarg.h"\ 10326 "..\..\include\pj\compat\string.h"\ 10327 "..\..\include\pj\config.h"\ 10328 "..\..\include\pj\config_site.h"\ 10329 "..\..\include\pj\config_site_sample.h"\ 10095 10330 "..\..\include\pj\ctype.h"\ 10096 10331 "..\..\include\pj\errno.h"\ … … 10122 10357 "..\..\include\pj\unicode.h"\ 10123 10358 "..\..\include\pjlib.h"\ 10359 "..\..\src\pj\pool_signature.h"\ 10124 10360 10125 10361 … … 10469 10705 10470 10706 DEP_CPP_RAND_=\ 10471 "..\..\include\pj\compat\cc_gcc.h"\ 10472 "..\..\include\pj\compat\cc_msvc.h"\ 10707 "..\..\include\pj\compat\cc_armcc.h"\ 10708 "..\..\include\pj\compat\cc_codew.h"\ 10709 "..\..\include\pj\compat\cc_gcc.h"\ 10710 "..\..\include\pj\compat\cc_gcce.h"\ 10711 "..\..\include\pj\compat\cc_msvc.h"\ 10712 "..\..\include\pj\compat\cc_mwcc.h"\ 10713 "..\..\include\pj\compat\m_auto.h"\ 10714 "..\..\include\pj\compat\os_auto.h"\ 10473 10715 "..\..\include\pj\compat\os_darwinos.h"\ 10474 10716 "..\..\include\pj\compat\os_linux.h"\ … … 10477 10719 "..\..\include\pj\compat\os_rtems.h"\ 10478 10720 "..\..\include\pj\compat\os_sunos.h"\ 10721 "..\..\include\pj\compat\os_symbian.h"\ 10479 10722 "..\..\include\pj\compat\os_win32.h"\ 10480 10723 "..\..\include\pj\compat\os_win32_wince.h"\ … … 10483 10726 "..\..\include\pj\config.h"\ 10484 10727 "..\..\include\pj\config_site.h"\ 10728 "..\..\include\pj\config_site_sample.h"\ 10485 10729 "..\..\include\pj\os.h"\ 10486 10730 "..\..\include\pj\rand.h"\ … … 10715 10959 10716 10960 DEP_CPP_RBTRE=\ 10717 "..\..\include\pj\compat\cc_gcc.h"\ 10718 "..\..\include\pj\compat\cc_msvc.h"\ 10961 "..\..\include\pj\compat\cc_armcc.h"\ 10962 "..\..\include\pj\compat\cc_codew.h"\ 10963 "..\..\include\pj\compat\cc_gcc.h"\ 10964 "..\..\include\pj\compat\cc_gcce.h"\ 10965 "..\..\include\pj\compat\cc_msvc.h"\ 10966 "..\..\include\pj\compat\cc_mwcc.h"\ 10967 "..\..\include\pj\compat\m_auto.h"\ 10968 "..\..\include\pj\compat\os_auto.h"\ 10719 10969 "..\..\include\pj\compat\os_darwinos.h"\ 10720 10970 "..\..\include\pj\compat\os_linux.h"\ … … 10723 10973 "..\..\include\pj\compat\os_rtems.h"\ 10724 10974 "..\..\include\pj\compat\os_sunos.h"\ 10725 "..\..\include\pj\compat\os_win32.h"\ 10726 "..\..\include\pj\compat\os_win32_wince.h"\ 10727 "..\..\include\pj\compat\size_t.h"\ 10728 "..\..\include\pj\config.h"\ 10729 "..\..\include\pj\config_site.h"\ 10975 "..\..\include\pj\compat\os_symbian.h"\ 10976 "..\..\include\pj\compat\os_win32.h"\ 10977 "..\..\include\pj\compat\os_win32_wince.h"\ 10978 "..\..\include\pj\compat\size_t.h"\ 10979 "..\..\include\pj\config.h"\ 10980 "..\..\include\pj\config_site.h"\ 10981 "..\..\include\pj\config_site_sample.h"\ 10730 10982 "..\..\include\pj\os.h"\ 10731 10983 "..\..\include\pj\rbtree.h"\ … … 10973 11225 "..\..\include\pj\assert.h"\ 10974 11226 "..\..\include\pj\compat\assert.h"\ 10975 "..\..\include\pj\compat\cc_gcc.h"\ 10976 "..\..\include\pj\compat\cc_msvc.h"\ 11227 "..\..\include\pj\compat\cc_armcc.h"\ 11228 "..\..\include\pj\compat\cc_codew.h"\ 11229 "..\..\include\pj\compat\cc_gcc.h"\ 11230 "..\..\include\pj\compat\cc_gcce.h"\ 11231 "..\..\include\pj\compat\cc_msvc.h"\ 11232 "..\..\include\pj\compat\cc_mwcc.h"\ 10977 11233 "..\..\include\pj\compat\ctype.h"\ 10978 11234 "..\..\include\pj\compat\errno.h"\ 10979 11235 "..\..\include\pj\compat\high_precision.h"\ 11236 "..\..\include\pj\compat\m_auto.h"\ 11237 "..\..\include\pj\compat\os_auto.h"\ 10980 11238 "..\..\include\pj\compat\os_darwinos.h"\ 10981 11239 "..\..\include\pj\compat\os_linux.h"\ … … 10984 11242 "..\..\include\pj\compat\os_rtems.h"\ 10985 11243 "..\..\include\pj\compat\os_sunos.h"\ 11244 "..\..\include\pj\compat\os_symbian.h"\ 10986 11245 "..\..\include\pj\compat\os_win32.h"\ 10987 11246 "..\..\include\pj\compat\os_win32_wince.h"\ … … 10989 11248 "..\..\include\pj\compat\size_t.h"\ 10990 11249 "..\..\include\pj\compat\socket.h"\ 10991 "..\..\include\pj\compat\string.h"\ 10992 "..\..\include\pj\config.h"\ 10993 "..\..\include\pj\config_site.h"\ 11250 "..\..\include\pj\compat\stdarg.h"\ 11251 "..\..\include\pj\compat\string.h"\ 11252 "..\..\include\pj\config.h"\ 11253 "..\..\include\pj\config_site.h"\ 11254 "..\..\include\pj\config_site_sample.h"\ 10994 11255 "..\..\include\pj\ctype.h"\ 10995 11256 "..\..\include\pj\errno.h"\ … … 11367 11628 # Begin Source File 11368 11629 11630 SOURCE=..\..\src\pj\sock_common.c 11631 11632 !IF "$(CFG)" == "pjlib_wince - Win32 (WCE emulator) Release" 11633 11634 DEP_CPP_SOCK_C=\ 11635 "..\..\include\pj\compat\cc_armcc.h"\ 11636 "..\..\include\pj\compat\cc_codew.h"\ 11637 "..\..\include\pj\compat\cc_gcc.h"\ 11638 "..\..\include\pj\compat\cc_gcce.h"\ 11639 "..\..\include\pj\compat\cc_msvc.h"\ 11640 "..\..\include\pj\compat\cc_mwcc.h"\ 11641 "..\..\include\pj\compat\m_auto.h"\ 11642 "..\..\include\pj\compat\os_auto.h"\ 11643 "..\..\include\pj\compat\os_darwinos.h"\ 11644 "..\..\include\pj\compat\os_linux.h"\ 11645 "..\..\include\pj\compat\os_linux_kernel.h"\ 11646 "..\..\include\pj\compat\os_palmos.h"\ 11647 "..\..\include\pj\compat\os_rtems.h"\ 11648 "..\..\include\pj\compat\os_sunos.h"\ 11649 "..\..\include\pj\compat\os_symbian.h"\ 11650 "..\..\include\pj\compat\os_win32.h"\ 11651 "..\..\include\pj\compat\os_win32_wince.h"\ 11652 "..\..\include\pj\compat\size_t.h"\ 11653 "..\..\include\pj\config.h"\ 11654 "..\..\include\pj\config_site.h"\ 11655 "..\..\include\pj\config_site_sample.h"\ 11656 "..\..\include\pj\sock.h"\ 11657 "..\..\include\pj\types.h"\ 11658 11659 11660 !ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE emulator) Debug" 11661 11662 DEP_CPP_SOCK_C=\ 11663 "..\..\include\pj\compat\cc_armcc.h"\ 11664 "..\..\include\pj\compat\cc_codew.h"\ 11665 "..\..\include\pj\compat\cc_gcc.h"\ 11666 "..\..\include\pj\compat\cc_gcce.h"\ 11667 "..\..\include\pj\compat\cc_msvc.h"\ 11668 "..\..\include\pj\compat\cc_mwcc.h"\ 11669 "..\..\include\pj\compat\m_auto.h"\ 11670 "..\..\include\pj\compat\os_auto.h"\ 11671 "..\..\include\pj\compat\os_darwinos.h"\ 11672 "..\..\include\pj\compat\os_linux.h"\ 11673 "..\..\include\pj\compat\os_linux_kernel.h"\ 11674 "..\..\include\pj\compat\os_palmos.h"\ 11675 "..\..\include\pj\compat\os_rtems.h"\ 11676 "..\..\include\pj\compat\os_sunos.h"\ 11677 "..\..\include\pj\compat\os_symbian.h"\ 11678 "..\..\include\pj\compat\os_win32.h"\ 11679 "..\..\include\pj\compat\os_win32_wince.h"\ 11680 "..\..\include\pj\compat\size_t.h"\ 11681 "..\..\include\pj\config.h"\ 11682 "..\..\include\pj\config_site.h"\ 11683 "..\..\include\pj\config_site_sample.h"\ 11684 "..\..\include\pj\sock.h"\ 11685 "..\..\include\pj\types.h"\ 11686 11687 11688 !ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4I) Release" 11689 11690 DEP_CPP_SOCK_C=\ 11691 "..\..\include\pj\compat\cc_armcc.h"\ 11692 "..\..\include\pj\compat\cc_codew.h"\ 11693 "..\..\include\pj\compat\cc_gcc.h"\ 11694 "..\..\include\pj\compat\cc_gcce.h"\ 11695 "..\..\include\pj\compat\cc_msvc.h"\ 11696 "..\..\include\pj\compat\cc_mwcc.h"\ 11697 "..\..\include\pj\compat\m_auto.h"\ 11698 "..\..\include\pj\compat\os_auto.h"\ 11699 "..\..\include\pj\compat\os_darwinos.h"\ 11700 "..\..\include\pj\compat\os_linux.h"\ 11701 "..\..\include\pj\compat\os_linux_kernel.h"\ 11702 "..\..\include\pj\compat\os_palmos.h"\ 11703 "..\..\include\pj\compat\os_rtems.h"\ 11704 "..\..\include\pj\compat\os_sunos.h"\ 11705 "..\..\include\pj\compat\os_symbian.h"\ 11706 "..\..\include\pj\compat\os_win32.h"\ 11707 "..\..\include\pj\compat\os_win32_wince.h"\ 11708 "..\..\include\pj\compat\size_t.h"\ 11709 "..\..\include\pj\config.h"\ 11710 "..\..\include\pj\config_site.h"\ 11711 "..\..\include\pj\config_site_sample.h"\ 11712 "..\..\include\pj\sock.h"\ 11713 "..\..\include\pj\types.h"\ 11714 11715 11716 !ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4I) Debug" 11717 11718 DEP_CPP_SOCK_C=\ 11719 "..\..\include\pj\compat\cc_armcc.h"\ 11720 "..\..\include\pj\compat\cc_codew.h"\ 11721 "..\..\include\pj\compat\cc_gcc.h"\ 11722 "..\..\include\pj\compat\cc_gcce.h"\ 11723 "..\..\include\pj\compat\cc_msvc.h"\ 11724 "..\..\include\pj\compat\cc_mwcc.h"\ 11725 "..\..\include\pj\compat\m_auto.h"\ 11726 "..\..\include\pj\compat\os_auto.h"\ 11727 "..\..\include\pj\compat\os_darwinos.h"\ 11728 "..\..\include\pj\compat\os_linux.h"\ 11729 "..\..\include\pj\compat\os_linux_kernel.h"\ 11730 "..\..\include\pj\compat\os_palmos.h"\ 11731 "..\..\include\pj\compat\os_rtems.h"\ 11732 "..\..\include\pj\compat\os_sunos.h"\ 11733 "..\..\include\pj\compat\os_symbian.h"\ 11734 "..\..\include\pj\compat\os_win32.h"\ 11735 "..\..\include\pj\compat\os_win32_wince.h"\ 11736 "..\..\include\pj\compat\size_t.h"\ 11737 "..\..\include\pj\config.h"\ 11738 "..\..\include\pj\config_site.h"\ 11739 "..\..\include\pj\config_site_sample.h"\ 11740 "..\..\include\pj\sock.h"\ 11741 "..\..\include\pj\types.h"\ 11742 11743 11744 !ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4) Release" 11745 11746 DEP_CPP_SOCK_C=\ 11747 "..\..\include\pj\compat\cc_armcc.h"\ 11748 "..\..\include\pj\compat\cc_codew.h"\ 11749 "..\..\include\pj\compat\cc_gcc.h"\ 11750 "..\..\include\pj\compat\cc_gcce.h"\ 11751 "..\..\include\pj\compat\cc_msvc.h"\ 11752 "..\..\include\pj\compat\cc_mwcc.h"\ 11753 "..\..\include\pj\compat\m_auto.h"\ 11754 "..\..\include\pj\compat\os_auto.h"\ 11755 "..\..\include\pj\compat\os_darwinos.h"\ 11756 "..\..\include\pj\compat\os_linux.h"\ 11757 "..\..\include\pj\compat\os_linux_kernel.h"\ 11758 "..\..\include\pj\compat\os_palmos.h"\ 11759 "..\..\include\pj\compat\os_rtems.h"\ 11760 "..\..\include\pj\compat\os_sunos.h"\ 11761 "..\..\include\pj\compat\os_symbian.h"\ 11762 "..\..\include\pj\compat\os_win32.h"\ 11763 "..\..\include\pj\compat\os_win32_wince.h"\ 11764 "..\..\include\pj\compat\size_t.h"\ 11765 "..\..\include\pj\config.h"\ 11766 "..\..\include\pj\config_site.h"\ 11767 "..\..\include\pj\config_site_sample.h"\ 11768 "..\..\include\pj\sock.h"\ 11769 "..\..\include\pj\types.h"\ 11770 11771 11772 !ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4) Debug" 11773 11774 DEP_CPP_SOCK_C=\ 11775 "..\..\include\pj\compat\cc_armcc.h"\ 11776 "..\..\include\pj\compat\cc_codew.h"\ 11777 "..\..\include\pj\compat\cc_gcc.h"\ 11778 "..\..\include\pj\compat\cc_gcce.h"\ 11779 "..\..\include\pj\compat\cc_msvc.h"\ 11780 "..\..\include\pj\compat\cc_mwcc.h"\ 11781 "..\..\include\pj\compat\m_auto.h"\ 11782 "..\..\include\pj\compat\os_auto.h"\ 11783 "..\..\include\pj\compat\os_darwinos.h"\ 11784 "..\..\include\pj\compat\os_linux.h"\ 11785 "..\..\include\pj\compat\os_linux_kernel.h"\ 11786 "..\..\include\pj\compat\os_palmos.h"\ 11787 "..\..\include\pj\compat\os_rtems.h"\ 11788 "..\..\include\pj\compat\os_sunos.h"\ 11789 "..\..\include\pj\compat\os_symbian.h"\ 11790 "..\..\include\pj\compat\os_win32.h"\ 11791 "..\..\include\pj\compat\os_win32_wince.h"\ 11792 "..\..\include\pj\compat\size_t.h"\ 11793 "..\..\include\pj\config.h"\ 11794 "..\..\include\pj\config_site.h"\ 11795 "..\..\include\pj\config_site_sample.h"\ 11796 "..\..\include\pj\sock.h"\ 11797 "..\..\include\pj\types.h"\ 11798 11799 11800 !ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4T) Release" 11801 11802 DEP_CPP_SOCK_C=\ 11803 "..\..\include\pj\compat\cc_armcc.h"\ 11804 "..\..\include\pj\compat\cc_codew.h"\ 11805 "..\..\include\pj\compat\cc_gcc.h"\ 11806 "..\..\include\pj\compat\cc_gcce.h"\ 11807 "..\..\include\pj\compat\cc_msvc.h"\ 11808 "..\..\include\pj\compat\cc_mwcc.h"\ 11809 "..\..\include\pj\compat\m_auto.h"\ 11810 "..\..\include\pj\compat\os_auto.h"\ 11811 "..\..\include\pj\compat\os_darwinos.h"\ 11812 "..\..\include\pj\compat\os_linux.h"\ 11813 "..\..\include\pj\compat\os_linux_kernel.h"\ 11814 "..\..\include\pj\compat\os_palmos.h"\ 11815 "..\..\include\pj\compat\os_rtems.h"\ 11816 "..\..\include\pj\compat\os_sunos.h"\ 11817 "..\..\include\pj\compat\os_symbian.h"\ 11818 "..\..\include\pj\compat\os_win32.h"\ 11819 "..\..\include\pj\compat\os_win32_wince.h"\ 11820 "..\..\include\pj\compat\size_t.h"\ 11821 "..\..\include\pj\config.h"\ 11822 "..\..\include\pj\config_site.h"\ 11823 "..\..\include\pj\config_site_sample.h"\ 11824 "..\..\include\pj\sock.h"\ 11825 "..\..\include\pj\types.h"\ 11826 11827 11828 !ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE ARMV4T) Debug" 11829 11830 DEP_CPP_SOCK_C=\ 11831 "..\..\include\pj\compat\cc_armcc.h"\ 11832 "..\..\include\pj\compat\cc_codew.h"\ 11833 "..\..\include\pj\compat\cc_gcc.h"\ 11834 "..\..\include\pj\compat\cc_gcce.h"\ 11835 "..\..\include\pj\compat\cc_msvc.h"\ 11836 "..\..\include\pj\compat\cc_mwcc.h"\ 11837 "..\..\include\pj\compat\m_auto.h"\ 11838 "..\..\include\pj\compat\os_auto.h"\ 11839 "..\..\include\pj\compat\os_darwinos.h"\ 11840 "..\..\include\pj\compat\os_linux.h"\ 11841 "..\..\include\pj\compat\os_linux_kernel.h"\ 11842 "..\..\include\pj\compat\os_palmos.h"\ 11843 "..\..\include\pj\compat\os_rtems.h"\ 11844 "..\..\include\pj\compat\os_sunos.h"\ 11845 "..\..\include\pj\compat\os_symbian.h"\ 11846 "..\..\include\pj\compat\os_win32.h"\ 11847 "..\..\include\pj\compat\os_win32_wince.h"\ 11848 "..\..\include\pj\compat\size_t.h"\ 11849 "..\..\include\pj\config.h"\ 11850 "..\..\include\pj\config_site.h"\ 11851 "..\..\include\pj\config_site_sample.h"\ 11852 "..\..\include\pj\sock.h"\ 11853 "..\..\include\pj\types.h"\ 11854 11855 11856 !ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE x86) Release" 11857 11858 DEP_CPP_SOCK_C=\ 11859 "..\..\include\pj\compat\cc_armcc.h"\ 11860 "..\..\include\pj\compat\cc_codew.h"\ 11861 "..\..\include\pj\compat\cc_gcc.h"\ 11862 "..\..\include\pj\compat\cc_gcce.h"\ 11863 "..\..\include\pj\compat\cc_msvc.h"\ 11864 "..\..\include\pj\compat\cc_mwcc.h"\ 11865 "..\..\include\pj\compat\m_auto.h"\ 11866 "..\..\include\pj\compat\os_auto.h"\ 11867 "..\..\include\pj\compat\os_darwinos.h"\ 11868 "..\..\include\pj\compat\os_linux.h"\ 11869 "..\..\include\pj\compat\os_linux_kernel.h"\ 11870 "..\..\include\pj\compat\os_palmos.h"\ 11871 "..\..\include\pj\compat\os_rtems.h"\ 11872 "..\..\include\pj\compat\os_sunos.h"\ 11873 "..\..\include\pj\compat\os_symbian.h"\ 11874 "..\..\include\pj\compat\os_win32.h"\ 11875 "..\..\include\pj\compat\os_win32_wince.h"\ 11876 "..\..\include\pj\compat\size_t.h"\ 11877 "..\..\include\pj\config.h"\ 11878 "..\..\include\pj\config_site.h"\ 11879 "..\..\include\pj\config_site_sample.h"\ 11880 "..\..\include\pj\sock.h"\ 11881 "..\..\include\pj\types.h"\ 11882 11883 11884 !ELSEIF "$(CFG)" == "pjlib_wince - Win32 (WCE x86) Debug" 11885 11886 DEP_CPP_SOCK_C=\ 11887 "..\..\include\pj\compat\cc_armcc.h"\ 11888 "..\..\include\pj\compat\cc_codew.h"\ 11889 "..\..\include\pj\compat\cc_gcc.h"\ 11890 "..\..\include\pj\compat\cc_gcce.h"\ 11891 "..\..\include\pj\compat\cc_msvc.h"\ 11892 "..\..\include\pj\compat\cc_mwcc.h"\ 11893 "..\..\include\pj\compat\m_auto.h"\ 11894 "..\..\include\pj\compat\os_auto.h"\ 11895 "..\..\include\pj\compat\os_darwinos.h"\ 11896 "..\..\include\pj\compat\os_linux.h"\ 11897 "..\..\include\pj\compat\os_linux_kernel.h"\ 11898 "..\..\include\pj\compat\os_palmos.h"\ 11899 "..\..\include\pj\compat\os_rtems.h"\ 11900 "..\..\include\pj\compat\os_sunos.h"\ 11901 "..\..\include\pj\compat\os_symbian.h"\ 11902 "..\..\include\pj\compat\os_win32.h"\ 11903 "..\..\include\pj\compat\os_win32_wince.h"\ 11904 "..\..\include\pj\compat\size_t.h"\ 11905 "..\..\include\pj\config.h"\ 11906 "..\..\include\pj\config_site.h"\ 11907 "..\..\include\pj\config_site_sample.h"\ 11908 "..\..\include\pj\sock.h"\ 11909 "..\..\include\pj\types.h"\ 11910 11911 11912 !ENDIF 11913 11914 # End Source File 11915 # Begin Source File 11916 11369 11917 SOURCE=..\..\src\pj\sock_select.c 11370 11918 … … 11402 11950 "..\..\include\pj\assert.h"\ 11403 11951 "..\..\include\pj\compat\assert.h"\ 11404 "..\..\include\pj\compat\cc_gcc.h"\ 11405 "..\..\include\pj\compat\cc_msvc.h"\ 11406 "..\..\include\pj\compat\errno.h"\ 11952 "..\..\include\pj\compat\cc_armcc.h"\ 11953 "..\..\include\pj\compat\cc_codew.h"\ 11954 "..\..\include\pj\compat\cc_gcc.h"\ 11955 "..\..\include\pj\compat\cc_gcce.h"\ 11956 "..\..\include\pj\compat\cc_msvc.h"\ 11957 "..\..\include\pj\compat\cc_mwcc.h"\ 11958 "..\..\include\pj\compat\errno.h"\ 11959 "..\..\include\pj\compat\m_auto.h"\ 11960 "..\..\include\pj\compat\os_auto.h"\ 11407 11961 "..\..\include\pj\compat\os_darwinos.h"\ 11408 11962 "..\..\include\pj\compat\os_linux.h"\ … … 11411 11965 "..\..\include\pj\compat\os_rtems.h"\ 11412 11966 "..\..\include\pj\compat\os_sunos.h"\ 11967 "..\..\include\pj\compat\os_symbian.h"\ 11413 11968 "..\..\include\pj\compat\os_win32.h"\ 11414 11969 "..\..\include\pj\compat\os_win32_wince.h"\ … … 11417 11972 "..\..\include\pj\config.h"\ 11418 11973 "..\..\include\pj\config_site.h"\ 11974 "..\..\include\pj\config_site_sample.h"\ 11419 11975 "..\..\include\pj\errno.h"\ 11420 11976 "..\..\include\pj\os.h"\ … … 11699 12255 "..\..\include\pj\assert.h"\ 11700 12256 "..\..\include\pj\compat\assert.h"\ 11701 "..\..\include\pj\compat\cc_gcc.h"\ 11702 "..\..\include\pj\compat\cc_msvc.h"\ 12257 "..\..\include\pj\compat\cc_armcc.h"\ 12258 "..\..\include\pj\compat\cc_codew.h"\ 12259 "..\..\include\pj\compat\cc_gcc.h"\ 12260 "..\..\include\pj\compat\cc_gcce.h"\ 12261 "..\..\include\pj\compat\cc_msvc.h"\ 12262 "..\..\include\pj\compat\cc_mwcc.h"\ 11703 12263 "..\..\include\pj\compat\ctype.h"\ 11704 12264 "..\..\include\pj\compat\errno.h"\ 11705 12265 "..\..\include\pj\compat\high_precision.h"\ 12266 "..\..\include\pj\compat\m_auto.h"\ 12267 "..\..\include\pj\compat\os_auto.h"\ 11706 12268 "..\..\include\pj\compat\os_darwinos.h"\ 11707 12269 "..\..\include\pj\compat\os_linux.h"\ … … 11710 12272 "..\..\include\pj\compat\os_rtems.h"\ 11711 12273 "..\..\include\pj\compat\os_sunos.h"\ 12274 "..\..\include\pj\compat\os_symbian.h"\ 11712 12275 "..\..\include\pj\compat\os_win32.h"\ 11713 12276 "..\..\include\pj\compat\os_win32_wince.h"\ 11714 12277 "..\..\include\pj\compat\setjmp.h"\ 11715 12278 "..\..\include\pj\compat\size_t.h"\ 11716 "..\..\include\pj\compat\string.h"\ 11717 "..\..\include\pj\config.h"\ 11718 "..\..\include\pj\config_site.h"\ 12279 "..\..\include\pj\compat\stdarg.h"\ 12280 "..\..\include\pj\compat\string.h"\ 12281 "..\..\include\pj\config.h"\ 12282 "..\..\include\pj\config_site.h"\ 12283 "..\..\include\pj\config_site_sample.h"\ 11719 12284 "..\..\include\pj\ctype.h"\ 11720 12285 "..\..\include\pj\errno.h"\ … … 12111 12676 "..\..\include\pj\assert.h"\ 12112 12677 "..\..\include\pj\compat\assert.h"\ 12113 "..\..\include\pj\compat\cc_gcc.h"\ 12114 "..\..\include\pj\compat\cc_msvc.h"\ 12678 "..\..\include\pj\compat\cc_armcc.h"\ 12679 "..\..\include\pj\compat\cc_codew.h"\ 12680 "..\..\include\pj\compat\cc_gcc.h"\ 12681 "..\..\include\pj\compat\cc_gcce.h"\ 12682 "..\..\include\pj\compat\cc_msvc.h"\ 12683 "..\..\include\pj\compat\cc_mwcc.h"\ 12115 12684 "..\..\include\pj\compat\ctype.h"\ 12116 12685 "..\..\include\pj\compat\errno.h"\ 12117 12686 "..\..\include\pj\compat\high_precision.h"\ 12687 "..\..\include\pj\compat\m_auto.h"\ 12688 "..\..\include\pj\compat\os_auto.h"\ 12118 12689 "..\..\include\pj\compat\os_darwinos.h"\ 12119 12690 "..\..\include\pj\compat\os_linux.h"\ … … 12122 12693 "..\..\include\pj\compat\os_rtems.h"\ 12123 12694 "..\..\include\pj\compat\os_sunos.h"\ 12695 "..\..\include\pj\compat\os_symbian.h"\ 12124 12696 "..\..\include\pj\compat\os_win32.h"\ 12125 12697 "..\..\include\pj\compat\os_win32_wince.h"\ 12126 12698 "..\..\include\pj\compat\setjmp.h"\ 12127 12699 "..\..\include\pj\compat\size_t.h"\ 12128 "..\..\include\pj\compat\string.h"\ 12129 "..\..\include\pj\config.h"\ 12130 "..\..\include\pj\config_site.h"\ 12700 "..\..\include\pj\compat\stdarg.h"\ 12701 "..\..\include\pj\compat\string.h"\ 12702 "..\..\include\pj\config.h"\ 12703 "..\..\include\pj\config_site.h"\ 12704 "..\..\include\pj\config_site_sample.h"\ 12131 12705 "..\..\include\pj\ctype.h"\ 12132 12706 "..\..\include\pj\errno.h"\ … … 12523 13097 12524 13098 DEP_CPP_TYPES=\ 12525 "..\..\include\pj\compat\cc_gcc.h"\ 12526 "..\..\include\pj\compat\cc_msvc.h"\ 13099 "..\..\include\pj\compat\cc_armcc.h"\ 13100 "..\..\include\pj\compat\cc_codew.h"\ 13101 "..\..\include\pj\compat\cc_gcc.h"\ 13102 "..\..\include\pj\compat\cc_gcce.h"\ 13103 "..\..\include\pj\compat\cc_msvc.h"\ 13104 "..\..\include\pj\compat\cc_mwcc.h"\ 13105 "..\..\include\pj\compat\m_auto.h"\ 13106 "..\..\include\pj\compat\os_auto.h"\ 12527 13107 "..\..\include\pj\compat\os_darwinos.h"\ 12528 13108 "..\..\include\pj\compat\os_linux.h"\ … … 12531 13111 "..\..\include\pj\compat\os_rtems.h"\ 12532 13112 "..\..\include\pj\compat\os_sunos.h"\ 12533 "..\..\include\pj\compat\os_win32.h"\ 12534 "..\..\include\pj\compat\os_win32_wince.h"\ 12535 "..\..\include\pj\compat\size_t.h"\ 12536 "..\..\include\pj\config.h"\ 12537 "..\..\include\pj\config_site.h"\ 13113 "..\..\include\pj\compat\os_symbian.h"\ 13114 "..\..\include\pj\compat\os_win32.h"\ 13115 "..\..\include\pj\compat\os_win32_wince.h"\ 13116 "..\..\include\pj\compat\size_t.h"\ 13117 "..\..\include\pj\config.h"\ 13118 "..\..\include\pj\config_site.h"\ 13119 "..\..\include\pj\config_site_sample.h"\ 12538 13120 "..\..\include\pj\os.h"\ 12539 13121 "..\..\include\pj\types.h"\ … … 12767 13349 "..\..\include\pj\assert.h"\ 12768 13350 "..\..\include\pj\compat\assert.h"\ 12769 "..\..\include\pj\compat\cc_gcc.h"\ 12770 "..\..\include\pj\compat\cc_msvc.h"\ 13351 "..\..\include\pj\compat\cc_armcc.h"\ 13352 "..\..\include\pj\compat\cc_codew.h"\ 13353 "..\..\include\pj\compat\cc_gcc.h"\ 13354 "..\..\include\pj\compat\cc_gcce.h"\ 13355 "..\..\include\pj\compat\cc_msvc.h"\ 13356 "..\..\include\pj\compat\cc_mwcc.h"\ 12771 13357 "..\..\include\pj\compat\ctype.h"\ 12772 13358 "..\..\include\pj\compat\errno.h"\ 12773 13359 "..\..\include\pj\compat\high_precision.h"\ 13360 "..\..\include\pj\compat\m_auto.h"\ 13361 "..\..\include\pj\compat\os_auto.h"\ 12774 13362 "..\..\include\pj\compat\os_darwinos.h"\ 12775 13363 "..\..\include\pj\compat\os_linux.h"\ … … 12778 13366 "..\..\include\pj\compat\os_rtems.h"\ 12779 13367 "..\..\include\pj\compat\os_sunos.h"\ 13368 "..\..\include\pj\compat\os_symbian.h"\ 12780 13369 "..\..\include\pj\compat\os_win32.h"\ 12781 13370 "..\..\include\pj\compat\os_win32_wince.h"\ 12782 13371 "..\..\include\pj\compat\setjmp.h"\ 12783 13372 "..\..\include\pj\compat\size_t.h"\ 12784 "..\..\include\pj\compat\string.h"\ 12785 "..\..\include\pj\config.h"\ 12786 "..\..\include\pj\config_site.h"\ 13373 "..\..\include\pj\compat\stdarg.h"\ 13374 "..\..\include\pj\compat\string.h"\ 13375 "..\..\include\pj\config.h"\ 13376 "..\..\include\pj\config_site.h"\ 13377 "..\..\include\pj\config_site_sample.h"\ 12787 13378 "..\..\include\pj\ctype.h"\ 12788 13379 "..\..\include\pj\errno.h"\ -
pjproject/trunk/pjlib/include/pj/compat/cc_msvc.h
r974 r1405 54 54 #endif 55 55 56 #define PJ_EXPORT_DECL_SPECIFIER __declspec(dllexport) 57 #define PJ_EXPORT_DEF_SPECIFIER __declspec(dllexport) 58 #define PJ_IMPORT_DECL_SPECIFIER __declspec(dllimport) 59 56 60 #define PJ_THREAD_FUNC 57 61 #define PJ_NORETURN __declspec(noreturn) -
pjproject/trunk/pjlib/include/pj/compat/os_symbian.h
r1269 r1405 149 149 #endif 150 150 151 /* 152 #if defined(PJ_EXPORTING) 153 # define PJ_EXPORT_IMPORT EXPORT_C 154 #elif defined(PJ_IMPORTING) 155 # define PJ_EXPORT_IMPORT IMPORT_C 156 #else 157 # error "Must define either PJ_EXPORTING or PJ_IMPORTING" 158 #endif 159 */ 151 #define PJ_EXPORT_DECL_SPECIFIER IMPORT_C 152 //#define PJ_EXPORT_DECL_SPECIFIER 153 #define PJ_EXPORT_DEF_SPECIFIER EXPORT_C 154 #define PJ_IMPORT_DECL_SPECIFIER IMPORT_C 155 160 156 161 157 #endif /* __PJ_COMPAT_OS_SYMBIAN_H__ */ -
pjproject/trunk/pjlib/include/pj/config.h
r1333 r1405 658 658 659 659 /** 660 * Guide for building dynamic link libraries (DLL). 661 * 662 * The libraries support generation of dynamic link libraries for 663 * Symbian ABIv2 target (.dso files, in S60 3rd Edition). Similar 664 * procedures may be applied for Win32 DLL too, with some modification. 665 * 666 * Macros related for building DLL/DSO files: 667 * - For platforms that supports dynamic link libraries generation, 668 * it must declare PJ_EXPORT_SPECIFIER macro which value contains 669 * the prefix to be added to symbol definition, to export this 670 * symbol in the DLL/DSO. For example, on Win32/Visual Studio, the 671 * value of this macro is "__declspec(dllexport)", and for ARM 672 * ABIv2/Symbian, the value is \a EXPORT_C. 673 * - For platforms that supports linking with dynamic link libraries, 674 * it must declare PJ_IMPORT_SPECIFIER macro which value contains 675 * the prefix to be added to symbol declaration, to import this 676 * symbol from a DLL/DSO. For example, on Win32/Visual Studio, the 677 * value of this macro is "__declspec(dllimport)", and for ARM 678 * ABIv2/Symbian, the value is \a IMPORT_C. 679 * - When PJLIB is built as DLL/DSO, both \a PJ_DLL and \a PJ_EXPORTING 680 * macros must be declared, so that PJ_EXPORT_SPECIFIER prefix will be 681 * added into function definition. 682 * - When application wants to link dynamically with PJLIB, then it 683 * must declare \a PJ_DLL macro when using/including PJLIB header, 684 * so that PJ_IMPORT_SPECIFIER is properly added into symbol 685 * declarations. 686 * 687 * When \a PJ_DLL macro is not declared, static linking is assumed. 688 */ 689 690 /** 660 691 * @def PJ_INLINE(type) 661 692 * @param type The return type of the function. … … 665 696 666 697 /** 667 * @def PJ_DECL(type)668 * @param type The return type of the function.669 * Declare a function.670 */671 /**672 698 * @def PJ_DECL_NO_RETURN(type) 673 699 * @param type The return type of the function. … … 683 709 */ 684 710 #ifdef __cplusplus 685 # define PJ_DECL(type) type686 711 # define PJ_DECL_NO_RETURN(type) type PJ_NORETURN 687 712 # define PJ_IDECL_NO_RETURN(type) PJ_INLINE(type) PJ_NORETURN … … 689 714 # define PJ_END_DECL } 690 715 #else 691 # define PJ_DECL(type) extern type692 716 # define PJ_DECL_NO_RETURN(type) PJ_NORETURN type 693 717 # define PJ_IDECL_NO_RETURN(type) PJ_NORETURN PJ_INLINE(type) … … 696 720 #endif 697 721 722 723 /** 724 * This macro declares platform/compiler specific specifier prefix 725 * to be added to symbol declaration to export the symbol when PJLIB 726 * is built as dynamic library. 727 * 728 * This macro should have been added by platform specific headers, 729 * if the platform supports building dynamic library target. 730 */ 731 #ifndef PJ_EXPORT_DECL_SPECIFIER 732 # define PJ_EXPORT_DECL_SPECIFIER 733 #endif 734 735 736 /** 737 * This macro declares platform/compiler specific specifier prefix 738 * to be added to symbol definition to export the symbol when PJLIB 739 * is built as dynamic library. 740 * 741 * This macro should have been added by platform specific headers, 742 * if the platform supports building dynamic library target. 743 */ 744 #ifndef PJ_EXPORT_DEF_SPECIFIER 745 # define PJ_EXPORT_DEF_SPECIFIER 746 #endif 747 748 749 /** 750 * This macro declares platform/compiler specific specifier prefix 751 * to be added to symbol declaration to import the symbol. 752 * 753 * This macro should have been added by platform specific headers, 754 * if the platform supports building dynamic library target. 755 */ 756 #ifndef PJ_IMPORT_DECL_SPECIFIER 757 # define PJ_IMPORT_DECL_SPECIFIER 758 #endif 759 760 761 /** 762 * This macro has been deprecated. It will evaluate to nothing. 763 */ 764 #ifndef PJ_EXPORT_SYMBOL 765 # define PJ_EXPORT_SYMBOL(x) 766 #endif 767 768 769 /** 770 * @def PJ_DECL(type) 771 * @param type The return type of the function. 772 * Declare a function. 773 */ 774 #if defined(PJ_DLL) 775 # if defined(PJ_EXPORTING) 776 # define PJ_DECL(type) PJ_EXPORT_DECL_SPECIFIER type 777 # else 778 # define PJ_DECL(type) PJ_IMPORT_DECL_SPECIFIER type 779 # endif 780 #elif !defined(PJ_DECL) 781 # if defined(__cplusplus) 782 # define PJ_DECL(type) type 783 # else 784 # define PJ_DECL(type) extern type 785 # endif 786 #endif 787 788 698 789 /** 699 790 * @def PJ_DEF(type) … … 701 792 * Define a function. 702 793 */ 703 #define PJ_DEF(type) type 704 705 /** 706 * @def PJ_EXPORT_SYMBOL(sym) 707 * @param sym The symbol to export. 708 * Export the specified symbol in compilation type that requires export 709 * (e.g. Linux kernel). 710 */ 711 #ifdef __PJ_EXPORT_SYMBOL 712 # define PJ_EXPORT_SYMBOL(sym) __PJ_EXPORT_SYMBOL(sym) 713 #else 714 # define PJ_EXPORT_SYMBOL(sym) 715 #endif 794 #if defined(PJ_DLL) && defined(PJ_EXPORTING) 795 # define PJ_DEF(type) PJ_EXPORT_DEF_SPECIFIER type 796 #elif !defined(PJ_DEF) 797 # define PJ_DEF(type) type 798 #endif 799 800 801 /** 802 * @def PJ_DECL_DATA(type) 803 * @param type The data type. 804 * Declare a global data. 805 */ 806 #if defined(PJ_DLL) 807 # if defined(PJ_EXPORTING) 808 # define PJ_DECL_DATA(type) PJ_EXPORT_DECL_SPECIFIER extern type 809 # else 810 # define PJ_DECL_DATA(type) PJ_IMPORT_DECL_SPECIFIER extern type 811 # endif 812 #elif !defined(PJ_DECL_DATA) 813 # define PJ_DECL_DATA(type) extern type 814 #endif 815 816 817 /** 818 * @def PJ_DEF_DATA(type) 819 * @param type The data type. 820 * Define a global data. 821 */ 822 #if defined(PJ_DLL) && defined(PJ_EXPORTING) 823 # define PJ_DEF_DATA(type) PJ_EXPORT_DEF_SPECIFIER type 824 #elif !defined(PJ_DEF_DATA) 825 # define PJ_DEF_DATA(type) type 826 #endif 827 716 828 717 829 /** … … 734 846 #endif 735 847 848 736 849 /** 737 850 * @def PJ_UNUSED_ARG(arg) -
pjproject/trunk/pjlib/include/pj/errno.h
r1269 r1405 353 353 */ 354 354 355 356 PJ_END_DECL357 358 355 /* Internal */ 359 356 void pj_errno_clear_handlers(void); 360 357 358 PJ_END_DECL 359 361 360 #endif /* __PJ_ERRNO_H__ */ 362 361 -
pjproject/trunk/pjlib/include/pj/ioqueue.h
r974 r1405 478 478 /** 479 479 * Poll the I/O Queue for completed events. 480 * 481 * Note: polling the ioqueue is not necessary in Symbian. Please see 482 * @ref PJ_SYMBIAN_OS for more info. 480 483 * 481 484 * @param ioque the I/O Queue. -
pjproject/trunk/pjlib/include/pj/list_i.h
r1235 r1405 20 20 21 21 /* Internal */ 22 PJ_I DEF(void) pj_link_node(pj_list_type *prev, pj_list_type *next)22 PJ_INLINE(void) pj_link_node(pj_list_type *prev, pj_list_type *next) 23 23 { 24 24 ((pj_list*)prev)->next = next; … … 26 26 } 27 27 28 /* 29 PJ_IDEF(void) 30 pj_list_init(pj_list_type * node) 31 { 32 ((pj_list*)node)->next = ((pj_list*)node)->prev = node; 33 } 34 35 PJ_IDEF(int) pj_list_empty(const pj_list_type * node) 36 { 37 return ((pj_list*)node)->next == node; 38 } 39 */ 40 41 PJ_IDEF(void) 42 pj_list_insert_after(pj_list_type *pos, pj_list_type *node) 28 PJ_IDEF(void) pj_list_insert_after(pj_list_type *pos, pj_list_type *node) 43 29 { 44 30 ((pj_list*)node)->prev = pos; … … 49 35 50 36 51 PJ_IDEF(void) 52 pj_list_insert_before(pj_list_type *pos, pj_list_type *node) 37 PJ_IDEF(void) pj_list_insert_before(pj_list_type *pos, pj_list_type *node) 53 38 { 54 39 pj_list_insert_after(((pj_list*)pos)->prev, node); … … 56 41 57 42 58 PJ_IDEF(void) 59 pj_list_insert_nodes_after(pj_list_type *pos, pj_list_type *lst) 43 PJ_IDEF(void) pj_list_insert_nodes_after(pj_list_type *pos, pj_list_type *lst) 60 44 { 61 45 pj_list *lst_last = (pj_list *) ((pj_list*)lst)->prev; … … 66 50 } 67 51 68 PJ_IDEF(void) 69 pj_list_insert_nodes_before(pj_list_type *pos, pj_list_type *lst) 52 PJ_IDEF(void) pj_list_insert_nodes_before(pj_list_type *pos, pj_list_type *lst) 70 53 { 71 54 pj_list_insert_nodes_after(((pj_list*)pos)->prev, lst); 72 55 } 73 56 74 PJ_IDEF(void) 75 pj_list_merge_last(pj_list_type *lst1, pj_list_type *lst2) 57 PJ_IDEF(void) pj_list_merge_last(pj_list_type *lst1, pj_list_type *lst2) 76 58 { 77 59 if (!pj_list_empty(lst2)) { … … 82 64 } 83 65 84 PJ_IDEF(void) 85 pj_list_merge_first(pj_list_type *lst1, pj_list_type *lst2) 66 PJ_IDEF(void) pj_list_merge_first(pj_list_type *lst1, pj_list_type *lst2) 86 67 { 87 68 if (!pj_list_empty(lst2)) { … … 92 73 } 93 74 94 PJ_IDEF(void) 95 pj_list_erase(pj_list_type *node) 75 PJ_IDEF(void) pj_list_erase(pj_list_type *node) 96 76 { 97 77 pj_link_node( ((pj_list*)node)->prev, ((pj_list*)node)->next); … … 99 79 100 80 101 PJ_IDEF(pj_list_type*) 102 pj_list_find_node(pj_list_type *list, pj_list_type *node) 81 PJ_IDEF(pj_list_type*) pj_list_find_node(pj_list_type *list, pj_list_type *node) 103 82 { 104 83 pj_list *p = (pj_list *) ((pj_list*)list)->next; … … 110 89 111 90 112 PJ_IDEF(pj_list_type*) 113 pj_list_search(pj_list_type *list, void *value, 114 int (*comp)(void *value, const pj_list_type *node)) 91 PJ_IDEF(pj_list_type*) pj_list_search(pj_list_type *list, void *value, 92 int (*comp)(void *value, const pj_list_type *node)) 115 93 { 116 94 pj_list *p = (pj_list *) ((pj_list*)list)->next; -
pjproject/trunk/pjlib/include/pj/log.h
r1061 r1405 175 175 * @return Current log maximum level. 176 176 */ 177 #if 0177 #if 1 178 178 PJ_DECL(int) pj_log_get_level(void); 179 179 #else 180 extern intpj_log_max_level;180 PJ_DECL_DATA(int) pj_log_max_level; 181 181 #define pj_log_get_level() pj_log_max_level 182 182 #endif -
pjproject/trunk/pjlib/include/pj/os.h
r1124 r1405 237 237 /* **************************************************************************/ 238 238 /** 239 * @defgroup PJ_SYMBIAN_OS Symbian OS Specific 240 * @ingroup PJ_OS 241 * @{ 242 * Functionalities specific to Symbian OS. 243 * 244 * Symbian OS strongly discourages the use of polling since this wastes 245 * CPU power, and instead provides Active Object and Active Scheduler 246 * pattern to allow application (in this case, PJLIB) to register asynchronous 247 * tasks. PJLIB port for Symbian complies to this recommended behavior. 248 * As the result, few things have been changed in PJLIB for Symbian: 249 * - the timer heap (see @ref PJ_TIMER) is implemented with active 250 * object framework, and each timer entry registered to the timer 251 * heap will register an Active Object to the Active Scheduler. 252 * Because of this, polling the timer heap with pj_timer_heap_poll() 253 * is no longer necessary, and this function will just evaluate 254 * to nothing. 255 * - the ioqueue (see @ref PJ_IOQUEUE) is also implemented with 256 * active object framework, with each asynchronous operation will 257 * register an Active Object to the Active Scheduler. Because of 258 * this, polling the ioqueue with pj_ioqueue_poll() is no longer 259 * necessary, and this function will just evaluate to nothing. 260 * 261 * Since timer heap and ioqueue polling are no longer necessary, Symbian 262 * application can now poll for all events by calling 263 * \a User::WaitForAnyRequest() and \a CActiveScheduler::RunIfReady(). 264 * PJLIB provides a thin wrapper which calls these two functions, 265 * called pj_symbianos_poll(). 266 */ 267 268 /** 269 * Wait the completion of any Symbian active objects. When the timeout 270 * value is not specified (the \a ms_timeout argument is -1), this 271 * function is a thin wrapper which calls \a User::WaitForAnyRequest() 272 * and \a CActiveScheduler::RunIfReady(). If the timeout value is 273 * specified, this function will schedule a timer entry to the timer 274 * heap (which is an Active Object), to limit the wait time for event 275 * occurences. Scheduling a timer entry is an expensive operation, 276 * therefore application should only specify a timeout value when it's 277 * really necessary (for example, when it's not sure there are other 278 * Active Objects currently running in the application). 279 * 280 * @param priority The minimum priority of the Active Objects to 281 * poll, which values are from CActive::TPriority 282 * constants. If -1 is given, CActive::EPriorityStandard. 283 * priority will be used. 284 * @param ms_timeout Optional timeout to wait. Application should 285 * specify -1 to let the function wait indefinitely 286 * for any events. 287 * 288 * @return PJ_TRUE if there have been any events executed 289 * during the polling. This function will only return 290 * PJ_FALSE if \a ms_timeout argument is specified 291 * (i.e. the value is not -1) and there was no event 292 * executed when the timeout timer elapsed. 293 */ 294 PJ_DECL(pj_bool_t) pj_symbianos_poll(int priority, int ms_timeout); 295 296 /** 297 * @} 298 */ 299 300 /* **************************************************************************/ 301 /** 239 302 * @defgroup PJ_TLS Thread Local Storage. 240 303 * @ingroup PJ_OS … … 406 469 * - PJ_MUTEX_DEFAULT: default mutex type, which is system dependent. 407 470 * - PJ_MUTEX_SIMPLE: non-recursive mutex. 408 * - PJ_MUTEX_RECURS IVE: recursive mutex.471 * - PJ_MUTEX_RECURSE: recursive mutex. 409 472 */ 410 473 typedef enum pj_mutex_type_e -
pjproject/trunk/pjlib/include/pj/pool.h
r1040 r1405 228 228 } 229 229 230 // Create the pool factory, in this case, a caching pool .231 pj_caching_pool_init(&cp, &pj_pool_factory_default_policy,232 230 // Create the pool factory, in this case, a caching pool, 231 // using default pool policy. 232 pj_caching_pool_init(&cp, NULL, 1024*1024 ); 233 233 234 234 // Do a demo … … 506 506 ((type*)pj_pool_zalloc(pool, sizeof(type))) 507 507 508 509 508 /* 509 * Internal functions 510 */ 511 PJ_IDECL(void*) pj_pool_alloc_from_block(pj_pool_block *block, pj_size_t size); 512 PJ_DECL(void*) pj_pool_allocate_find(pj_pool_t *pool, unsigned size); 513 514 515 510 516 /** 511 517 * @} // PJ_POOL … … 618 624 * - callback will raise PJ_NO_MEMORY_EXCEPTION exception. 619 625 * - access to pool factory is not serialized (i.e. not thread safe). 620 */ 621 extern pj_pool_factory_policy pj_pool_factory_default_policy; 626 * 627 * @see pj_pool_factory_get_default_policy 628 */ 629 PJ_DECL_DATA(pj_pool_factory_policy) pj_pool_factory_default_policy; 630 631 632 /** 633 * Get the default pool factory policy. 634 * 635 * @return the pool policy. 636 */ 637 PJ_DECL(const pj_pool_factory_policy*) pj_pool_factory_get_default_policy(void); 638 622 639 623 640 /** -
pjproject/trunk/pjlib/include/pj/pool_i.h
r974 r1405 21 21 #include <pj/string.h> 22 22 23 PJ_DECL(void*) pj_pool_allocate_find(pj_pool_t *pool, unsigned size);24 23 25 24 PJ_IDEF(pj_size_t) pj_pool_get_capacity( pj_pool_t *pool ) -
pjproject/trunk/pjlib/include/pj/sock.h
r1104 r1405 60 60 * THE LIBRARY WILL DO TRANSLATION TO THE NATIVE VALUE. 61 61 */ 62 extern const pj_uint16_t PJ_AF_UNIX; /**< Unix domain socket. */ 63 #define PJ_AF_LOCAL PJ_AF_UNIX; /**< POSIX name for AF_UNIX */ 64 extern const pj_uint16_t PJ_AF_INET; /**< Internet IP protocol. */ 65 extern const pj_uint16_t PJ_AF_INET6; /**< IP version 6. */ 66 extern const pj_uint16_t PJ_AF_PACKET; /**< Packet family. */ 67 extern const pj_uint16_t PJ_AF_IRDA; /**< IRDA sockets. */ 62 extern const pj_uint16_t PJ_AF_UNIX; /**< Unix domain socket. */ 63 #define PJ_AF_LOCAL PJ_AF_UNIX; /**< POSIX name for AF_UNIX */ 64 extern const pj_uint16_t PJ_AF_INET; /**< Internet IP protocol. */ 65 extern const pj_uint16_t PJ_AF_INET6;/**< IP version 6. */ 66 extern const pj_uint16_t PJ_AF_PACKET;/**< Packet family. */ 67 extern const pj_uint16_t PJ_AF_IRDA; /**< IRDA sockets. */ 68 69 PJ_DECL(pj_uint16_t) pj_AF_UNIX(void); 70 PJ_DECL(pj_uint16_t) pj_AF_INET(void); 71 PJ_DECL(pj_uint16_t) pj_AF_INET6(void); 72 PJ_DECL(pj_uint16_t) pj_AF_PACKET(void); 73 PJ_DECL(pj_uint16_t) pj_AF_IRDA(void); 68 74 69 75 … … 75 81 76 82 extern const pj_uint16_t PJ_SOCK_STREAM; /**< Sequenced, reliable, connection- 77 83 based byte streams. */ 78 84 extern const pj_uint16_t PJ_SOCK_DGRAM; /**< Connectionless, unreliable 79 80 85 datagrams of fixed maximum 86 lengths. */ 81 87 extern const pj_uint16_t PJ_SOCK_RAW; /**< Raw protocol interface. */ 82 88 extern const pj_uint16_t PJ_SOCK_RDM; /**< Reliably-delivered messages. */ 89 90 91 PJ_DECL(int) pj_SOCK_STREAM(void); 92 PJ_DECL(int) pj_SOCK_DGRAM(void); 93 PJ_DECL(int) pj_SOCK_RAW(void); 94 PJ_DECL(int) pj_SOCK_RDM(void); 83 95 84 96 … … 94 106 extern const pj_uint16_t PJ_SOL_IPV6; /**< IP version 6 */ 95 107 108 PJ_DECL(pj_uint16_t) pj_SOL_SOCKET(void); 109 PJ_DECL(pj_uint16_t) pj_SOL_IP(void); 110 PJ_DECL(pj_uint16_t) pj_SOL_TCP(void); 111 PJ_DECL(pj_uint16_t) pj_SOL_UDP(void); 112 PJ_DECL(pj_uint16_t) pj_SOL_IPV6(void); 113 96 114 97 115 /* IP_TOS … … 103 121 extern const pj_uint16_t PJ_IP_TOS; /**< IP_TOS optname in setsockopt() */ 104 122 123 PJ_DECL(int) pj_IP_TOS(void); 105 124 106 125 /* … … 115 134 extern const pj_uint16_t PJ_IPTOS_RELIABILITY; /**< Optimize for reliability*/ 116 135 extern const pj_uint16_t PJ_IPTOS_MINCOST; /**< "filler data" where slow 117 transmission does't matter */ 136 transmission does't matter */ 137 138 PJ_DECL(int) pj_IPTOS_LOWDELAY(void); 139 PJ_DECL(int) pj_IPTOS_THROUGHPUT(void); 140 PJ_DECL(int) pj_IPTOS_RELIABILITY(void); 141 PJ_DECL(int) pj_IPTOS_MINCOST(void); 118 142 119 143 … … 122 146 * or #pj_sock_getsockopt(). 123 147 */ 124 extern const pj_uint16_t PJ_SO_TYPE; /**< Socket type. */ 125 extern const pj_uint16_t PJ_SO_RCVBUF; /**< Buffer size for receive. */ 126 extern const pj_uint16_t PJ_SO_SNDBUF; /**< Buffer size for send. */ 148 extern const pj_uint16_t PJ_SO_TYPE; /**< Socket type. */ 149 extern const pj_uint16_t PJ_SO_RCVBUF;/**< Buffer size for receive. */ 150 extern const pj_uint16_t PJ_SO_SNDBUF;/**< Buffer size for send. */ 151 152 PJ_DECL(pj_uint16_t) pj_SO_TYPE(void); 153 PJ_DECL(pj_uint16_t) pj_SO_RCVBUF(void); 154 PJ_DECL(pj_uint16_t) pj_SO_SNDBUF(void); 127 155 128 156 … … 130 158 * Flags to be specified in #pj_sock_recv, #pj_sock_send, etc. 131 159 */ 132 extern const int PJ_MSG_OOB; /**< Out-of-band messages. */ 133 extern const int PJ_MSG_PEEK; /**< Peek, don't remove from buffer. */ 134 extern const int PJ_MSG_DONTROUTE; /**< Don't route. */ 160 extern const int PJ_MSG_OOB; /**< Out-of-band messages. */ 161 extern const int PJ_MSG_PEEK; /**< Peek, don't remove from buffer*/ 162 extern const int PJ_MSG_DONTROUTE;/**< Don't route. */ 163 164 PJ_DECL(int) pj_MSG_OOB(void); 165 PJ_DECL(int) pj_MSG_PEEK(void); 166 PJ_DECL(int) pj_MSG_DONTROUTE(void); 135 167 136 168 -
pjproject/trunk/pjlib/include/pj/sock_select.h
r974 r1405 65 65 */ 66 66 PJ_DECL(void) PJ_FD_ZERO(pj_fd_set_t *fdsetp); 67 68 69 /** 70 * This is an internal function, application shouldn't use this. 71 * 72 * Get the number of descriptors in the set. This is defined in sock_select.c 73 * This function will only return the number of sockets set from PJ_FD_SET 74 * operation. When the set is modified by other means (such as by select()), 75 * the count will not be reflected here. 76 * 77 * @param fdsetp The descriptor set. 78 * 79 * @return Number of descriptors in the set. 80 */ 81 PJ_DECL(pj_size_t) PJ_FD_COUNT(const pj_fd_set_t *fdsetp); 67 82 68 83 -
pjproject/trunk/pjlib/include/pj/timer.h
r1246 r1405 254 254 * each of the expired timers. 255 255 * 256 * Note: polling the timer heap is not necessary in Symbian. Please see 257 * @ref PJ_SYMBIAN_OS for more info. 258 * 256 259 * @param ht The timer heap. 257 260 * @param next_delay If this parameter is not NULL, it will be filled up with -
pjproject/trunk/pjlib/include/pj/types.h
r1269 r1405 303 303 PJ_DECL(void) pj_shutdown(void); 304 304 305 /** 306 * Type of callback to register to pj_atexit(). 307 */ 305 308 typedef void (*pj_exit_callback)(void); 309 306 310 /** 307 311 * Register cleanup function to be called by PJLIB when pj_shutdown() is -
pjproject/trunk/pjlib/src/pj/addr_resolv_sock.c
r1054 r1405 84 84 int len; 85 85 86 status = pj_sock_socket( PJ_AF_INET, PJ_SOCK_DGRAM, 0, &fd);86 status = pj_sock_socket(pj_AF_INET(), pj_SOCK_DGRAM(), 0, &fd); 87 87 if (status != PJ_SUCCESS) { 88 88 return status; -
pjproject/trunk/pjlib/src/pj/addr_resolv_symbian.cpp
r1269 r1405 77 77 he->h_name = resolved_name; 78 78 he->h_aliases = no_aliases; 79 he->h_addrtype = PJ_AF_INET;79 he->h_addrtype = pj_AF_INET(); 80 80 he->h_length = 4; 81 81 he->h_addr_list = (char**) addr_list; … … 86 86 87 87 /* Resolve the IP address of local machine */ 88 pj_status_tpj_gethostip(pj_in_addr *addr)88 PJ_DEF(pj_status_t) pj_gethostip(pj_in_addr *addr) 89 89 { 90 90 const pj_str_t *hostname = pj_gethostname(); … … 112 112 int len; 113 113 114 status = pj_sock_socket( PJ_AF_INET, PJ_SOCK_DGRAM, 0, &fd);114 status = pj_sock_socket(pj_AF_INET(), pj_SOCK_DGRAM(), 0, &fd); 115 115 if (status != PJ_SUCCESS) { 116 116 return status; -
pjproject/trunk/pjlib/src/pj/errno.c
r1269 r1405 102 102 103 103 /* Register strerror handle. */ 104 PJ_DE CL(pj_status_t) pj_register_strerror(pj_status_t start,104 PJ_DEF(pj_status_t) pj_register_strerror( pj_status_t start, 105 105 pj_status_t space, 106 106 pjsip_error_callback f) -
pjproject/trunk/pjlib/src/pj/fifobuf.c
r1235 r1405 26 26 #define SZ sizeof(unsigned) 27 27 28 PJ_DEF(void) 29 pj_fifobuf_init (pj_fifobuf_t *fifobuf, void *buffer, unsigned size) 28 PJ_DEF(void) pj_fifobuf_init (pj_fifobuf_t *fifobuf, void *buffer, unsigned size) 30 29 { 31 30 PJ_CHECK_STACK(); … … 41 40 } 42 41 43 PJ_DEF(unsigned) 44 pj_fifobuf_max_size (pj_fifobuf_t *fifobuf) 42 PJ_DEF(unsigned) pj_fifobuf_max_size (pj_fifobuf_t *fifobuf) 45 43 { 46 44 unsigned s1, s2; … … 58 56 } 59 57 60 PJ_DEF(void*) 61 pj_fifobuf_alloc (pj_fifobuf_t *fifobuf, unsigned size) 58 PJ_DEF(void*) pj_fifobuf_alloc (pj_fifobuf_t *fifobuf, unsigned size) 62 59 { 63 60 unsigned available; … … 116 113 } 117 114 118 PJ_DEF(pj_status_t) 119 pj_fifobuf_unalloc (pj_fifobuf_t *fifobuf, void *buf) 115 PJ_DEF(pj_status_t) pj_fifobuf_unalloc (pj_fifobuf_t *fifobuf, void *buf) 120 116 { 121 117 char *ptr = (char*)buf; … … 147 143 } 148 144 149 PJ_DEF(pj_status_t) 150 pj_fifobuf_free (pj_fifobuf_t *fifobuf, void *buf) 145 PJ_DEF(pj_status_t) pj_fifobuf_free (pj_fifobuf_t *fifobuf, void *buf) 151 146 { 152 147 char *ptr = (char*)buf; -
pjproject/trunk/pjlib/src/pj/file_io_ansi.c
r1074 r1405 110 110 } 111 111 112 /* 112 113 PJ_DEF(pj_bool_t) pj_file_eof(pj_oshandle_t fd, enum pj_file_access access) 113 114 { … … 115 116 return feof((FILE*)fd) ? PJ_TRUE : 0; 116 117 } 118 */ 117 119 118 120 PJ_DEF(pj_status_t) pj_file_setpos( pj_oshandle_t fd, -
pjproject/trunk/pjlib/src/pj/ioqueue_common_abs.c
r1266 r1405 101 101 */ 102 102 optlen = sizeof(key->fd_type); 103 rc = pj_sock_getsockopt(sock, PJ_SOL_SOCKET, PJ_SO_TYPE,103 rc = pj_sock_getsockopt(sock, pj_SOL_SOCKET(), pj_SO_TYPE(), 104 104 &key->fd_type, &optlen); 105 105 if (rc != PJ_SUCCESS) 106 key->fd_type = PJ_SOCK_STREAM;106 key->fd_type = pj_SOCK_STREAM(); 107 107 108 108 /* Create mutex for the key. */ … … 270 270 * so that send() can work in parallel. 271 271 */ 272 if (h->fd_type == PJ_SOCK_DGRAM) {272 if (h->fd_type == pj_SOCK_DGRAM()) { 273 273 pj_list_erase(write_op); 274 274 … … 316 316 if (send_rc!=PJ_SUCCESS || 317 317 write_op->written == (pj_ssize_t)write_op->size || 318 h->fd_type == PJ_SOCK_DGRAM)318 h->fd_type == pj_SOCK_DGRAM()) 319 319 { 320 320 321 321 write_op->op = PJ_IOQUEUE_OP_NONE; 322 322 323 if (h->fd_type != PJ_SOCK_DGRAM) {323 if (h->fd_type != pj_SOCK_DGRAM()) { 324 324 /* Write completion of the whole stream. */ 325 325 pj_list_erase(write_op); -
pjproject/trunk/pjlib/src/pj/ioqueue_select.c
r1266 r1405 64 64 # error "Error reporting must be enabled for this function to work!" 65 65 #endif 66 67 /**68 * Get the number of descriptors in the set. This is defined in sock_select.c69 * This function will only return the number of sockets set from PJ_FD_SET70 * operation. When the set is modified by other means (such as by select()),71 * the count will not be reflected here.72 *73 * That's why don't export this function in the header file, to avoid74 * misunderstanding.75 *76 * @param fdsetp The descriptor set.77 *78 * @return Number of descriptors in the set.79 */80 PJ_DECL(pj_size_t) PJ_FD_COUNT(const pj_fd_set_t *fdsetp);81 82 66 83 67 /* -
pjproject/trunk/pjlib/src/pj/ioqueue_winnt.c
r1159 r1405 1107 1107 op_key_rec = (union operation_key*)op_key->internal__; 1108 1108 1109 status = pj_sock_socket( PJ_AF_INET, PJ_SOCK_STREAM, 0,1109 status = pj_sock_socket(pj_AF_INET(), pj_SOCK_STREAM(), 0, 1110 1110 &op_key_rec->accept.newsock); 1111 1111 if (status != PJ_SUCCESS) -
pjproject/trunk/pjlib/src/pj/log.c
r1266 r1405 25 25 #if PJ_LOG_MAX_LEVEL >= 1 26 26 27 PJ_DEF(int) pj_log_max_level = PJ_LOG_MAX_LEVEL; 27 #if 0 28 PJ_DEF_DATA(int) pj_log_max_level = PJ_LOG_MAX_LEVEL; 29 #else 30 static int pj_log_max_level = PJ_LOG_MAX_LEVEL; 31 #endif 28 32 static pj_log_func *log_writer = &pj_log_write; 29 33 static unsigned log_decor = PJ_LOG_HAS_TIME | PJ_LOG_HAS_MICRO_SEC | … … 49 53 } 50 54 51 #if 055 #if 1 52 56 PJ_DEF(int) pj_log_get_level(void) 53 57 { … … 170 174 } 171 175 176 /* 172 177 PJ_DEF(void) pj_log_0(const char *obj, const char *format, ...) 173 178 { … … 177 182 va_end(arg); 178 183 } 184 */ 179 185 180 186 PJ_DEF(void) pj_log_1(const char *obj, const char *format, ...) -
pjproject/trunk/pjlib/src/pj/os_core_symbian.cpp
r1269 r1405 261 261 262 262 263 PJ_DECL(void) pj_shutdown(void);264 265 263 /* 266 264 * pj_init(void). … … 332 330 PjSymbianOS *os = PjSymbianOS::Instance(); 333 331 os->Shutdown(); 332 } 333 334 ///////////////////////////////////////////////////////////////////////////// 335 336 class CPollTimeoutTimer : public CActive 337 { 338 public: 339 static CPollTimeoutTimer* NewL(int msec, TInt prio); 340 ~CPollTimeoutTimer(); 341 342 virtual void RunL(); 343 virtual void DoCancel(); 344 345 private: 346 RTimer rtimer_; 347 348 explicit CPollTimeoutTimer(TInt prio); 349 void ConstructL(int msec); 350 }; 351 352 CPollTimeoutTimer::CPollTimeoutTimer(TInt prio) 353 : CActive(prio) 354 { 355 } 356 357 358 CPollTimeoutTimer::~CPollTimeoutTimer() 359 { 360 rtimer_.Close(); 361 } 362 363 void CPollTimeoutTimer::ConstructL(int msec) 364 { 365 rtimer_.CreateLocal(); 366 CActiveScheduler::Add(this); 367 rtimer_.After(iStatus, msec*1000); 368 SetActive(); 369 } 370 371 CPollTimeoutTimer* CPollTimeoutTimer::NewL(int msec, TInt prio) 372 { 373 CPollTimeoutTimer *self = new CPollTimeoutTimer(prio); 374 CleanupStack::PushL(self); 375 self->ConstructL(msec); 376 CleanupStack::Pop(self); 377 378 return self; 379 } 380 381 void CPollTimeoutTimer::RunL() 382 { 383 } 384 385 void CPollTimeoutTimer::DoCancel() 386 { 387 rtimer_.Cancel(); 388 } 389 390 391 /* 392 * Wait the completion of any Symbian active objects. 393 */ 394 PJ_DEF(pj_bool_t) pj_symbianos_poll(int priority, int ms_timeout) 395 { 396 CPollTimeoutTimer *timer = NULL; 397 398 if (priority==-1) 399 priority = CActive::EPriorityStandard; 400 401 if (ms_timeout >= 0) { 402 timer = CPollTimeoutTimer::NewL(ms_timeout, priority); 403 } 404 405 PjSymbianOS::Instance()->WaitForActiveObjects(priority); 406 407 if (timer) { 408 bool timer_is_active = timer->IsActive(); 409 410 if (timer_is_active) 411 timer->Cancel(); 412 413 delete timer; 414 415 return timer_is_active ? PJ_TRUE : PJ_FALSE; 416 417 } else { 418 return PJ_TRUE; 419 } 334 420 } 335 421 -
pjproject/trunk/pjlib/src/pj/os_symbian.h
r1248 r1405 221 221 { 222 222 pj_bzero(&pj_addr, sizeof(pj_sockaddr_in)); 223 pj_addr.sin_family = PJ_AF_INET;223 pj_addr.sin_family = pj_AF_INET(); 224 224 pj_addr.sin_addr.s_addr = pj_htonl(sym_addr.Address()); 225 225 pj_addr.sin_port = pj_htons((pj_uint16_t) sym_addr.Port()); -
pjproject/trunk/pjlib/src/pj/os_time_common.c
r974 r1405 19 19 #include <pj/os.h> 20 20 #include <pj/compat/time.h> 21 #include <pj/errno.h> 22 21 23 22 24 /////////////////////////////////////////////////////////////////////////////// … … 66 68 * Convert local time to GMT. 67 69 */ 68 PJ_DEF(pj_status_t) pj_time_local_to_gmt(pj_time_val *tv); 70 PJ_DEF(pj_status_t) pj_time_local_to_gmt(pj_time_val *tv) 71 { 72 PJ_UNUSED_ARG(tv); 73 return PJ_EBUG; 74 } 69 75 70 76 /** 71 77 * Convert GMT to local time. 72 78 */ 73 PJ_DEF(pj_status_t) pj_time_gmt_to_local(pj_time_val *tv); 79 PJ_DEF(pj_status_t) pj_time_gmt_to_local(pj_time_val *tv) 80 { 81 PJ_UNUSED_ARG(tv); 82 return PJ_EBUG; 83 } 74 84 75 85 -
pjproject/trunk/pjlib/src/pj/pool_caching.c
r1333 r1405 66 66 pj_list_init(&cp->free_list[i]); 67 67 68 if (policy == NULL) { 69 policy = &pj_pool_factory_default_policy; 70 } 71 68 72 pj_memcpy(&cp->factory.policy, policy, sizeof(pj_pool_factory_policy)); 69 73 cp->factory.create_pool = &cpool_create_pool; -
pjproject/trunk/pjlib/src/pj/pool_policy_kmalloc.c
r974 r1405 57 57 }; 58 58 59 PJ_DEF(const pj_pool_factory_policy*) pj_pool_factory_get_default_policy(void) 60 { 61 return &pj_pool_factory_default_policy; 62 } 63 -
pjproject/trunk/pjlib/src/pj/pool_policy_malloc.c
r1333 r1405 87 87 } 88 88 89 pj_pool_factory_policy pj_pool_factory_default_policy = 89 PJ_DECL_DATA(pj_pool_factory_policy) pj_pool_factory_default_policy = 90 90 { 91 91 &default_block_alloc, … … 95 95 }; 96 96 97 PJ_DEF(const pj_pool_factory_policy*) pj_pool_factory_get_default_policy(void) 98 { 99 return &pj_pool_factory_default_policy; 100 } 101 102 97 103 #endif /* PJ_HAS_POOL_ALT_API */ -
pjproject/trunk/pjlib/src/pj/pool_policy_new.cpp
r1333 r1405 78 78 } 79 79 80 pj_pool_factory_policypj_pool_factory_default_policy =80 PJ_DEF_DATA(pj_pool_factory_policy) pj_pool_factory_default_policy = 81 81 { 82 82 &operator_new, … … 85 85 0 86 86 }; 87 88 PJ_DEF( pj_pool_factory_policy*) pj_pool_factory_get_default_policy(void)87 88 PJ_DEF(const pj_pool_factory_policy*) pj_pool_factory_get_default_policy(void) 89 89 { 90 90 return &pj_pool_factory_default_policy; 91 91 } 92 92 93 93 94 94 #endif /* PJ_HAS_POOL_ALT_API */ 95 95 -
pjproject/trunk/pjlib/src/pj/sock_symbian.cpp
r1269 r1405 53 53 const pj_uint16_t PJ_SOL_IPV6 = 0xFFFF; 54 54 55 /* TOS */ 56 const pj_uint16_t PJ_IP_TOS = 0; 57 const pj_uint16_t PJ_IPTOS_LOWDELAY = 0; 58 const pj_uint16_t PJ_IPTOS_THROUGHPUT = 0; 59 const pj_uint16_t PJ_IPTOS_RELIABILITY = 0; 60 const pj_uint16_t PJ_IPTOS_MINCOST = 0; 61 55 62 /* ioctl() is also not supported. */ 56 63 const pj_uint16_t PJ_SO_TYPE = 0xFFFF; … … 58 65 const pj_uint16_t PJ_SO_SNDBUF = 0xFFFF; 59 66 67 /* Flags */ 68 const int PJ_MSG_OOB = 0; 69 const int PJ_MSG_PEEK = KSockReadPeek; 70 const int PJ_MSG_DONTROUTE = 0; 60 71 61 72 ///////////////////////////////////////////////////////////////////////////// … … 456 467 /* Set proto if none is specified. */ 457 468 if (proto == 0) { 458 if (type == PJ_SOCK_STREAM)469 if (type == pj_SOCK_STREAM()) 459 470 proto = KProtocolInetTcp; 460 else if (type == PJ_SOCK_DGRAM)471 else if (type == pj_SOCK_DGRAM()) 461 472 proto = KProtocolInetUdp; 462 473 } -
pjproject/trunk/pjlib/src/pj/types.c
r1138 r1405 20 20 #include <pj/os.h> 21 21 22 voidpj_time_val_normalize(pj_time_val *t)22 PJ_DEF(void) pj_time_val_normalize(pj_time_val *t) 23 23 { 24 24 PJ_CHECK_STACK(); -
pjproject/trunk/pjlib/src/pjlib-test/echo_clt.c
r974 r1405 66 66 unsigned counter = 0; 67 67 68 rc = app_socket( PJ_AF_INET, client->sock_type, 0, -1, &sock);68 rc = app_socket(pj_AF_INET(), client->sock_type, 0, -1, &sock); 69 69 if (rc != PJ_SUCCESS) { 70 70 app_perror("...unable to create socket", rc); -
pjproject/trunk/pjlib/src/pjlib-test/ioq_perf.c
r1266 r1405 276 276 /* Create socket pair. */ 277 277 TRACE_((THIS_FILE, " calling socketpair..")); 278 rc = app_socketpair( PJ_AF_INET, sock_type, 0,278 rc = app_socketpair(pj_AF_INET(), sock_type, 0, 279 279 &items[i].server_fd, &items[i].client_fd); 280 280 if (rc != PJ_SUCCESS) { … … 452 452 } test_param[] = 453 453 { 454 { PJ_SOCK_DGRAM, "udp", 1, 1},455 { PJ_SOCK_DGRAM, "udp", 1, 2},456 { PJ_SOCK_DGRAM, "udp", 1, 4},457 { PJ_SOCK_DGRAM, "udp", 1, 8},458 { PJ_SOCK_DGRAM, "udp", 2, 1},459 { PJ_SOCK_DGRAM, "udp", 2, 2},460 { PJ_SOCK_DGRAM, "udp", 2, 4},461 { PJ_SOCK_DGRAM, "udp", 2, 8},462 { PJ_SOCK_DGRAM, "udp", 4, 1},463 { PJ_SOCK_DGRAM, "udp", 4, 2},464 { PJ_SOCK_DGRAM, "udp", 4, 4},465 { PJ_SOCK_DGRAM, "udp", 4, 8},466 { PJ_SOCK_DGRAM, "udp", 4, 16},467 { PJ_SOCK_STREAM, "tcp", 1, 1},468 { PJ_SOCK_STREAM, "tcp", 1, 2},469 { PJ_SOCK_STREAM, "tcp", 1, 4},470 { PJ_SOCK_STREAM, "tcp", 1, 8},471 { PJ_SOCK_STREAM, "tcp", 2, 1},472 { PJ_SOCK_STREAM, "tcp", 2, 2},473 { PJ_SOCK_STREAM, "tcp", 2, 4},474 { PJ_SOCK_STREAM, "tcp", 2, 8},475 { PJ_SOCK_STREAM, "tcp", 4, 1},476 { PJ_SOCK_STREAM, "tcp", 4, 2},477 { PJ_SOCK_STREAM, "tcp", 4, 4},478 { PJ_SOCK_STREAM, "tcp", 4, 8},479 { PJ_SOCK_STREAM, "tcp", 4, 16},454 { pj_SOCK_DGRAM(), "udp", 1, 1}, 455 { pj_SOCK_DGRAM(), "udp", 1, 2}, 456 { pj_SOCK_DGRAM(), "udp", 1, 4}, 457 { pj_SOCK_DGRAM(), "udp", 1, 8}, 458 { pj_SOCK_DGRAM(), "udp", 2, 1}, 459 { pj_SOCK_DGRAM(), "udp", 2, 2}, 460 { pj_SOCK_DGRAM(), "udp", 2, 4}, 461 { pj_SOCK_DGRAM(), "udp", 2, 8}, 462 { pj_SOCK_DGRAM(), "udp", 4, 1}, 463 { pj_SOCK_DGRAM(), "udp", 4, 2}, 464 { pj_SOCK_DGRAM(), "udp", 4, 4}, 465 { pj_SOCK_DGRAM(), "udp", 4, 8}, 466 { pj_SOCK_DGRAM(), "udp", 4, 16}, 467 { pj_SOCK_STREAM(), "tcp", 1, 1}, 468 { pj_SOCK_STREAM(), "tcp", 1, 2}, 469 { pj_SOCK_STREAM(), "tcp", 1, 4}, 470 { pj_SOCK_STREAM(), "tcp", 1, 8}, 471 { pj_SOCK_STREAM(), "tcp", 2, 1}, 472 { pj_SOCK_STREAM(), "tcp", 2, 2}, 473 { pj_SOCK_STREAM(), "tcp", 2, 4}, 474 { pj_SOCK_STREAM(), "tcp", 2, 8}, 475 { pj_SOCK_STREAM(), "tcp", 4, 1}, 476 { pj_SOCK_STREAM(), "tcp", 4, 2}, 477 { pj_SOCK_STREAM(), "tcp", 4, 4}, 478 { pj_SOCK_STREAM(), "tcp", 4, 8}, 479 { pj_SOCK_STREAM(), "tcp", 4, 16}, 480 480 /* 481 { PJ_SOCK_DGRAM, "udp", 32, 1},482 { PJ_SOCK_DGRAM, "udp", 32, 1},483 { PJ_SOCK_DGRAM, "udp", 32, 1},484 { PJ_SOCK_DGRAM, "udp", 32, 1},485 { PJ_SOCK_DGRAM, "udp", 1, 32},486 { PJ_SOCK_DGRAM, "udp", 1, 32},487 { PJ_SOCK_DGRAM, "udp", 1, 32},488 { PJ_SOCK_DGRAM, "udp", 1, 32},489 { PJ_SOCK_STREAM, "tcp", 32, 1},490 { PJ_SOCK_STREAM, "tcp", 32, 1},491 { PJ_SOCK_STREAM, "tcp", 32, 1},492 { PJ_SOCK_STREAM, "tcp", 32, 1},493 { PJ_SOCK_STREAM, "tcp", 1, 32},494 { PJ_SOCK_STREAM, "tcp", 1, 32},495 { PJ_SOCK_STREAM, "tcp", 1, 32},496 { PJ_SOCK_STREAM, "tcp", 1, 32},481 { pj_SOCK_DGRAM(), "udp", 32, 1}, 482 { pj_SOCK_DGRAM(), "udp", 32, 1}, 483 { pj_SOCK_DGRAM(), "udp", 32, 1}, 484 { pj_SOCK_DGRAM(), "udp", 32, 1}, 485 { pj_SOCK_DGRAM(), "udp", 1, 32}, 486 { pj_SOCK_DGRAM(), "udp", 1, 32}, 487 { pj_SOCK_DGRAM(), "udp", 1, 32}, 488 { pj_SOCK_DGRAM(), "udp", 1, 32}, 489 { pj_SOCK_STREAM(), "tcp", 32, 1}, 490 { pj_SOCK_STREAM(), "tcp", 32, 1}, 491 { pj_SOCK_STREAM(), "tcp", 32, 1}, 492 { pj_SOCK_STREAM(), "tcp", 32, 1}, 493 { pj_SOCK_STREAM(), "tcp", 1, 32}, 494 { pj_SOCK_STREAM(), "tcp", 1, 32}, 495 { pj_SOCK_STREAM(), "tcp", 1, 32}, 496 { pj_SOCK_STREAM(), "tcp", 1, 32}, 497 497 */ 498 498 }; -
pjproject/trunk/pjlib/src/pjlib-test/ioq_tcp.c
r1238 r1405 51 51 callback_accept_status, 52 52 callback_connect_status; 53 static unsigned callback_call_count; 53 54 static pj_ioqueue_key_t *callback_read_key, 54 55 *callback_write_key, … … 66 67 callback_read_op = op_key; 67 68 callback_read_size = bytes_read; 69 callback_call_count++; 68 70 } 69 71 … … 75 77 callback_write_op = op_key; 76 78 callback_write_size = bytes_written; 79 callback_call_count++; 77 80 } 78 81 … … 97 100 callback_accept_op = op_key; 98 101 callback_accept_status = status; 102 callback_call_count++; 99 103 } 100 104 } … … 104 108 callback_connect_key = key; 105 109 callback_connect_status = status; 110 callback_call_count++; 106 111 } 107 112 … … 169 174 while (pending_op > 0) { 170 175 timeout.sec = 1; timeout.msec = 0; 176 #ifdef PJ_SYMBIAN 177 PJ_UNUSED_ARG(ioque); 178 status = pj_symbianos_poll(-1, 1000); 179 #else 171 180 status = pj_ioqueue_poll(ioque, &timeout); 181 #endif 172 182 if (status > 0) { 173 183 if (callback_read_size) { … … 198 208 // Subsequent poll should yield zero too. 199 209 timeout.sec = timeout.msec = 0; 210 #ifdef PJ_SYMBIAN 211 status = pj_symbianos_poll(-1, 1); 212 #else 200 213 status = pj_ioqueue_poll(ioque, &timeout); 214 #endif 201 215 if (status != 0) 202 216 return -173; … … 227 241 char *send_buf, *recv_buf; 228 242 pj_ioqueue_t *ioque = NULL; 229 pj_ioqueue_key_t *skey , *ckey0, *ckey1;243 pj_ioqueue_key_t *skey=NULL, *ckey0=NULL, *ckey1=NULL; 230 244 pj_ioqueue_op_key_t accept_op; 231 245 int bufsize = BUF_MIN_SIZE; … … 244 258 245 259 // Create server socket and client socket for connecting 246 rc = pj_sock_socket( PJ_AF_INET, PJ_SOCK_STREAM, 0, &ssock);260 rc = pj_sock_socket(pj_AF_INET(), pj_SOCK_STREAM(), 0, &ssock); 247 261 if (rc != PJ_SUCCESS) { 248 262 app_perror("...error creating socket", rc); … … 250 264 } 251 265 252 rc = pj_sock_socket( PJ_AF_INET, PJ_SOCK_STREAM, 0, &csock1);266 rc = pj_sock_socket(pj_AF_INET(), pj_SOCK_STREAM(), 0, &csock1); 253 267 if (rc != PJ_SUCCESS) { 254 268 app_perror("...error creating socket", rc); … … 322 336 callback_read_size = callback_write_size = 0; 323 337 callback_accept_status = callback_connect_status = -2; 338 callback_call_count = 0; 324 339 325 340 callback_read_key = callback_write_key = … … 330 345 pj_time_val timeout = {1, 0}; 331 346 332 status=pj_ioqueue_poll(ioque, &timeout); 347 #ifdef PJ_SYMBIAN 348 callback_call_count = 0; 349 pj_symbianos_poll(-1, 1000); 350 status = callback_call_count; 351 #else 352 status = pj_ioqueue_poll(ioque, &timeout); 353 #endif 333 354 if (status > 0) { 334 355 if (callback_accept_status != -2) { … … 374 395 if (pending_op == 0) { 375 396 pj_time_val timeout = {1, 0}; 397 #ifdef PJ_SYMBIAN 398 status = pj_symbianos_poll(-1, 1000); 399 #else 376 400 status = pj_ioqueue_poll(ioque, &timeout); 401 #endif 377 402 if (status != 0) { 378 403 status=-60; goto on_error; … … 408 433 409 434 on_error: 410 if (ssock != PJ_INVALID_SOCKET) 435 if (skey != NULL) 436 pj_ioqueue_unregister(skey); 437 else if (ssock != PJ_INVALID_SOCKET) 411 438 pj_sock_close(ssock); 412 if (csock1 != PJ_INVALID_SOCKET) 439 440 if (ckey1 != NULL) 441 pj_ioqueue_unregister(ckey1); 442 else if (csock1 != PJ_INVALID_SOCKET) 413 443 pj_sock_close(csock1); 414 if (csock0 != PJ_INVALID_SOCKET) 444 445 if (ckey0 != NULL) 446 pj_ioqueue_unregister(ckey0); 447 else if (csock0 != PJ_INVALID_SOCKET) 415 448 pj_sock_close(csock0); 449 416 450 if (ioque != NULL) 417 451 pj_ioqueue_destroy(ioque); … … 427 461 static int compliance_test_1(void) 428 462 { 429 pj_sock_t csock1= -1;463 pj_sock_t csock1=PJ_INVALID_SOCKET; 430 464 pj_sockaddr_in addr; 431 465 pj_pool_t *pool = NULL; 432 466 pj_ioqueue_t *ioque = NULL; 433 pj_ioqueue_key_t *ckey1 ;467 pj_ioqueue_key_t *ckey1 = NULL; 434 468 pj_ssize_t status = -1; 435 469 int pending_op = 0; … … 447 481 448 482 // Create client socket 449 rc = pj_sock_socket( PJ_AF_INET, PJ_SOCK_STREAM, 0, &csock1);483 rc = pj_sock_socket(pj_AF_INET(), pj_SOCK_STREAM(), 0, &csock1); 450 484 if (rc != PJ_SUCCESS) { 451 485 app_perror("...ERROR in pj_sock_socket()", rc); … … 484 518 pj_time_val timeout = {1, 0}; 485 519 486 status=pj_ioqueue_poll(ioque, &timeout); 520 #ifdef PJ_SYMBIAN 521 callback_call_count = 0; 522 pj_symbianos_poll(-1, 1000); 523 status = callback_call_count; 524 #else 525 status = pj_ioqueue_poll(ioque, &timeout); 526 #endif 487 527 if (status > 0) { 488 528 if (callback_connect_key==ckey1) { … … 513 553 if (pending_op == 0) { 514 554 pj_time_val timeout = {1, 0}; 555 #ifdef PJ_SYMBIAN 556 status = pj_symbianos_poll(-1, 1000); 557 #else 515 558 status = pj_ioqueue_poll(ioque, &timeout); 559 #endif 516 560 if (status != 0) { 517 561 status=-60; goto on_error; … … 523 567 524 568 on_error: 525 if (csock1 != PJ_INVALID_SOCKET) 569 if (ckey1 != NULL) 570 pj_ioqueue_unregister(ckey1); 571 else if (csock1 != PJ_INVALID_SOCKET) 526 572 pj_sock_close(csock1); 573 527 574 if (ioque != NULL) 528 575 pj_ioqueue_destroy(ioque); … … 577 624 pj_status_t rc; 578 625 626 listener.sock = PJ_INVALID_SOCKET; 627 listener.key = NULL; 628 629 for (i=0; i<MAX_PAIR; ++i) { 630 server[i].sock = PJ_INVALID_SOCKET; 631 server[i].key = NULL; 632 } 633 634 for (i=0; i<MAX_PAIR; ++i) { 635 client[i].sock = PJ_INVALID_SOCKET; 636 client[i].key = NULL; 637 } 638 579 639 // Create pool. 580 640 pool = pj_pool_create(mem, NULL, POOL_SIZE, 4000, NULL); … … 594 654 595 655 // Create listener socket 596 rc = pj_sock_socket( PJ_AF_INET, PJ_SOCK_STREAM, 0, &listener.sock);656 rc = pj_sock_socket(pj_AF_INET(), pj_SOCK_STREAM(), 0, &listener.sock); 597 657 if (rc != PJ_SUCCESS) { 598 658 app_perror("...error creating socket", rc); … … 636 696 // Client connect and server accept. 637 697 for (i=0; i<MAX_PAIR; ++i) { 638 rc = pj_sock_socket( PJ_AF_INET, PJ_SOCK_STREAM, 0, &client[i].sock);698 rc = pj_sock_socket(pj_AF_INET(), pj_SOCK_STREAM(), 0, &client[i].sock); 639 699 if (rc != PJ_SUCCESS) { 640 700 app_perror("...error creating socket", rc); … … 684 744 pj_time_val timeout = {1, 0}; 685 745 686 status=pj_ioqueue_poll(ioque, &timeout); 746 #ifdef PJ_SYMBIAN 747 status = pj_symbianos_poll(-1, 1000); 748 #else 749 status = pj_ioqueue_poll(ioque, &timeout); 750 #endif 687 751 if (status > 0) { 688 752 if (status > pending_op) { … … 705 769 if (pending_op == 0) { 706 770 pj_time_val timeout = {1, 0}; 771 #ifdef PJ_SYMBIAN 772 status = pj_symbianos_poll(-1, 1000); 773 #else 707 774 status = pj_ioqueue_poll(ioque, &timeout); 775 #endif 708 776 if (status != 0) { 709 777 status=-120; goto on_error; … … 720 788 721 789 // Check addresses 722 if (server[i].local_addr.sin_family != PJ_AF_INET||790 if (server[i].local_addr.sin_family != pj_AF_INET() || 723 791 server[i].local_addr.sin_addr.s_addr == 0 || 724 792 server[i].local_addr.sin_port == 0) … … 729 797 } 730 798 731 if (server[i].rem_addr.sin_family != PJ_AF_INET||799 if (server[i].rem_addr.sin_family != pj_AF_INET() || 732 800 server[i].rem_addr.sin_addr.s_addr == 0 || 733 801 server[i].rem_addr.sin_port == 0) -
pjproject/trunk/pjlib/src/pjlib-test/ioq_udp.c
r1235 r1405 134 134 char *send_buf, *recv_buf; 135 135 pj_ioqueue_t *ioque = NULL; 136 pj_ioqueue_key_t *skey , *ckey;136 pj_ioqueue_key_t *skey = NULL, *ckey = NULL; 137 137 pj_ioqueue_op_key_t read_op, write_op; 138 138 int bufsize = BUF_MIN_SIZE; … … 153 153 // Allocate sockets for sending and receiving. 154 154 TRACE_("creating sockets..."); 155 rc = pj_sock_socket( PJ_AF_INET, PJ_SOCK_DGRAM, 0, &ssock);155 rc = pj_sock_socket(pj_AF_INET(), pj_SOCK_DGRAM(), 0, &ssock); 156 156 if (rc==PJ_SUCCESS) 157 rc = pj_sock_socket( PJ_AF_INET, PJ_SOCK_DGRAM, 0, &csock);157 rc = pj_sock_socket(pj_AF_INET(), pj_SOCK_DGRAM(), 0, &csock); 158 158 else 159 159 csock = PJ_INVALID_SOCKET; … … 166 166 TRACE_("bind socket..."); 167 167 pj_bzero(&addr, sizeof(addr)); 168 addr.sin_family = PJ_AF_INET;168 addr.sin_family = pj_AF_INET(); 169 169 addr.sin_port = pj_htons(PORT); 170 170 if (pj_sock_bind(ssock, &addr, sizeof(addr))) { … … 259 259 260 260 TRACE_("poll..."); 261 #ifdef PJ_SYMBIAN 262 rc = pj_symbianos_poll(-1, 5000); 263 #else 261 264 rc = pj_ioqueue_poll(ioque, &timeout); 265 #endif 262 266 263 267 if (rc == 0) { … … 286 290 status=-68; goto on_error; 287 291 } 288 if (addr.sin_family != PJ_AF_INET) {292 if (addr.sin_family != pj_AF_INET()) { 289 293 status=-69; goto on_error; 290 294 } … … 313 317 314 318 on_error: 315 if (ssock) 319 if (skey) 320 pj_ioqueue_unregister(skey); 321 else if (ssock != -1) 316 322 pj_sock_close(ssock); 317 if (csock) 323 324 if (ckey) 325 pj_ioqueue_unregister(ckey); 326 else if (csock != -1) 318 327 pj_sock_close(csock); 328 319 329 if (ioque != NULL) 320 330 pj_ioqueue_destroy(ioque); … … 373 383 374 384 /* Create sender socket */ 375 status = app_socket( PJ_AF_INET, PJ_SOCK_DGRAM, 0, SPORT, &ssock);385 status = app_socket(pj_AF_INET(), pj_SOCK_DGRAM(), 0, SPORT, &ssock); 376 386 if (status != PJ_SUCCESS) { 377 387 app_perror("Error initializing socket", status); … … 380 390 381 391 /* Create receiver socket. */ 382 status = app_socket( PJ_AF_INET, PJ_SOCK_DGRAM, 0, RPORT, &rsock);392 status = app_socket(pj_AF_INET(), pj_SOCK_DGRAM(), 0, RPORT, &rsock); 383 393 if (status != PJ_SUCCESS) { 384 394 app_perror("Error initializing socket", status); … … 436 446 /* Check if packet is received. */ 437 447 timeout.sec = 1; timeout.msec = 0; 448 #ifdef PJ_SYMBIAN 449 pj_symbianos_poll(-1, 1000); 450 #else 438 451 pj_ioqueue_poll(ioqueue, &timeout); 452 #endif 439 453 440 454 if (packet_cnt != 1) { … … 470 484 471 485 /* Poll ioqueue. */ 486 #ifdef PJ_SYMBIAN 487 pj_symbianos_poll(-1, 1000); 488 #else 472 489 timeout.sec = 1; timeout.msec = 0; 473 490 pj_ioqueue_poll(ioqueue, &timeout); 491 #endif 474 492 475 493 /* Must NOT receive any packets after socket is closed! */ … … 525 543 for (count=0; count<MAX; ++count) { 526 544 sock[count] = PJ_INVALID_SOCKET; 527 rc = pj_sock_socket( PJ_AF_INET, PJ_SOCK_DGRAM, 0, &sock[count]);545 rc = pj_sock_socket(pj_AF_INET(), pj_SOCK_DGRAM(), 0, &sock[count]); 528 546 if (rc != PJ_SUCCESS || sock[count] == PJ_INVALID_SOCKET) { 529 547 PJ_LOG(3,(THIS_FILE, "....unable to create %d-th socket, rc=%d", … … 592 610 char *send_buf, *recv_buf; 593 611 pj_ioqueue_t *ioque = NULL; 594 pj_ioqueue_key_t *skey, *ckey, *key ;612 pj_ioqueue_key_t *skey, *ckey, *keys[SOCK_INACTIVE_MAX+2]; 595 613 pj_timestamp t1, t2, t_elapsed; 596 614 int rc=0, i; /* i must be signed */ … … 608 626 609 627 // Allocate sockets for sending and receiving. 610 rc = pj_sock_socket( PJ_AF_INET, PJ_SOCK_DGRAM, 0, &ssock);628 rc = pj_sock_socket(pj_AF_INET(), pj_SOCK_DGRAM(), 0, &ssock); 611 629 if (rc == PJ_SUCCESS) { 612 rc = pj_sock_socket( PJ_AF_INET, PJ_SOCK_DGRAM, 0, &csock);630 rc = pj_sock_socket(pj_AF_INET(), pj_SOCK_DGRAM(), 0, &csock); 613 631 } else 614 632 csock = PJ_INVALID_SOCKET; … … 620 638 // Bind server socket. 621 639 pj_bzero(&addr, sizeof(addr)); 622 addr.sin_family = PJ_AF_INET;640 addr.sin_family = pj_AF_INET(); 623 641 addr.sin_port = pj_htons(PORT); 624 642 if (pj_sock_bind(ssock, &addr, sizeof(addr))) … … 641 659 inactive_sock_count*sizeof(pj_ioqueue_op_key_t)); 642 660 pj_bzero(&addr, sizeof(addr)); 643 addr.sin_family = PJ_AF_INET;661 addr.sin_family = pj_AF_INET(); 644 662 for (i=0; i<inactive_sock_count; ++i) { 645 663 pj_ssize_t bytes; 646 664 647 rc = pj_sock_socket( PJ_AF_INET, PJ_SOCK_DGRAM, 0, &inactive_sock[i]);665 rc = pj_sock_socket(pj_AF_INET(), pj_SOCK_DGRAM(), 0, &inactive_sock[i]); 648 666 if (rc != PJ_SUCCESS || inactive_sock[i] < 0) { 649 667 app_perror("...error: pj_sock_socket()", rc); … … 657 675 } 658 676 rc = pj_ioqueue_register_sock(pool, ioque, inactive_sock[i], 659 NULL, &test_cb, &key );677 NULL, &test_cb, &keys[i]); 660 678 if (rc != PJ_SUCCESS) { 661 679 pj_sock_close(inactive_sock[i]); … … 666 684 } 667 685 bytes = bufsize; 668 rc = pj_ioqueue_recv(key , &inactive_read_op[i], recv_buf, &bytes, 0);686 rc = pj_ioqueue_recv(keys[i], &inactive_read_op[i], recv_buf, &bytes, 0); 669 687 if (rc != PJ_EPENDING) { 670 688 pj_sock_close(inactive_sock[i]); … … 736 754 do { 737 755 pj_time_val timeout = { 1, 0 }; 756 #ifdef PJ_SYMBIAN 757 rc = pj_symbianos_poll(-1, 1000); 758 #else 738 759 rc = pj_ioqueue_poll(ioque, &timeout); 760 #endif 739 761 TRACE__((THIS_FILE, " poll rc=%d", rc)); 740 762 } while (rc >= 0 && callback_read_key != skey); … … 761 783 do { 762 784 pj_time_val timeout = { 0, 10 }; 785 #ifdef PJ_SYMBIAN 786 rc = pj_symbianos_poll(-1, 100); 787 #else 763 788 rc = pj_ioqueue_poll(ioque, &timeout); 789 #endif 764 790 } while (rc>0); 765 791 … … 785 811 // Cleaning up. 786 812 for (i=inactive_sock_count-1; i>=0; --i) { 787 pj_ sock_close(inactive_sock[i]);788 } 789 790 pj_ sock_close(ssock);791 pj_ sock_close(csock);813 pj_ioqueue_unregister(keys[i]); 814 } 815 816 pj_ioqueue_unregister(skey); 817 pj_ioqueue_unregister(ckey); 792 818 793 819 -
pjproject/trunk/pjlib/src/pjlib-test/ioq_unreg.c
r1309 r1405 160 160 */ 161 161 if (other_socket) { 162 status = app_socket( PJ_AF_INET, PJ_SOCK_DGRAM, 0, 56127, &osd.sock);162 status = app_socket(pj_AF_INET(), pj_SOCK_DGRAM(), 0, 56127, &osd.sock); 163 163 if (status != PJ_SUCCESS) { 164 164 app_perror("Error creating other socket", status); … … 201 201 202 202 /* Create pair of client/server sockets */ 203 status = app_socketpair( PJ_AF_INET, PJ_SOCK_DGRAM, 0,203 status = app_socketpair(pj_AF_INET(), pj_SOCK_DGRAM(), 0, 204 204 &sock_data.sock, &sock_data.csock); 205 205 if (status != PJ_SUCCESS) { -
pjproject/trunk/pjlib/src/pjlib-test/main.c
r974 r1405 82 82 83 83 if (pj_stricmp2(&type, "tcp")==0) 84 param_echo_sock_type = PJ_SOCK_STREAM;84 param_echo_sock_type = pj_SOCK_STREAM(); 85 85 else if (pj_stricmp2(&type, "udp")==0) 86 param_echo_sock_type = PJ_SOCK_DGRAM;86 param_echo_sock_type = pj_SOCK_DGRAM(); 87 87 else { 88 88 PJ_LOG(3,("", "error: unknown socket type %s", type.ptr)); -
pjproject/trunk/pjlib/src/pjlib-test/select.c
r974 r1405 113 113 114 114 // Create two UDP sockets. 115 rc = pj_sock_socket( PJ_AF_INET, PJ_SOCK_DGRAM, 0, &udp1);115 rc = pj_sock_socket( pj_AF_INET(), pj_SOCK_DGRAM(), 0, &udp1); 116 116 if (rc != PJ_SUCCESS) { 117 117 app_perror("...error: unable to create socket", rc); 118 118 status=-10; goto on_return; 119 119 } 120 rc = pj_sock_socket( PJ_AF_INET, PJ_SOCK_DGRAM, 0, &udp2);120 rc = pj_sock_socket( pj_AF_INET(), pj_SOCK_DGRAM(), 0, &udp2); 121 121 if (udp2 == PJ_INVALID_SOCKET) { 122 122 app_perror("...error: unable to create socket", rc); … … 126 126 // Bind one of the UDP socket. 127 127 pj_bzero(&udp_addr, sizeof(udp_addr)); 128 udp_addr.sin_family = PJ_AF_INET;128 udp_addr.sin_family = pj_AF_INET(); 129 129 udp_addr.sin_port = UDP_PORT; 130 130 udp_addr.sin_addr = pj_inet_addr(pj_cstr(&s, "127.0.0.1")); -
pjproject/trunk/pjlib/src/pjlib-test/sock.c
r1266 r1405 78 78 pj_sockaddr_in addr2; 79 79 const pj_str_t *hostname; 80 #if defined(PJ_SYMBIAN) && PJ_SYMBIAN!=0 81 /* Symbian IP address is saved in host order */ 82 unsigned char A[] = {1, 0, 0, 127}; 83 #else 84 unsigned char A[] = {127, 0, 0, 1}; 85 #endif 80 const unsigned char A[] = {127, 0, 0, 1}; 86 81 87 82 PJ_LOG(3,("test", "...format_test()")); … … 137 132 pj_status_t rc = PJ_SUCCESS; 138 133 139 types[0] = PJ_SOCK_STREAM;140 types[1] = PJ_SOCK_DGRAM;134 types[0] = pj_SOCK_STREAM(); 135 types[1] = pj_SOCK_DGRAM(); 141 136 142 137 PJ_LOG(3,("test", "...simple_sock_test()")); … … 144 139 for (i=0; i<(int)(sizeof(types)/sizeof(types[0])); ++i) { 145 140 146 rc = pj_sock_socket( PJ_AF_INET, types[i], 0, &sock);141 rc = pj_sock_socket(pj_AF_INET(), types[i], 0, &sock); 147 142 if (rc != PJ_SUCCESS) { 148 app_perror("...error: unable to create socket type %d", rc);143 app_perror("...error: unable to create socket", rc); 149 144 break; 150 145 } else { … … 238 233 } 239 234 if (received != DATA_LEN-total_received) { 240 if (sock_type != PJ_SOCK_STREAM) {235 if (sock_type != pj_SOCK_STREAM()) { 241 236 PJ_LOG(3,("", "...error: expecting %u bytes, got %u bytes", 242 237 DATA_LEN-total_received, received)); … … 296 291 } 297 292 if (received != BIG_DATA_LEN-total_received) { 298 if (sock_type != PJ_SOCK_STREAM) {293 if (sock_type != pj_SOCK_STREAM()) { 299 294 PJ_LOG(3,("", "...error: expecting %u bytes, got %u bytes", 300 295 BIG_DATA_LEN-total_received, received)); … … 326 321 PJ_LOG(3,("test", "...udp_test()")); 327 322 328 rc = pj_sock_socket( PJ_AF_INET, PJ_SOCK_DGRAM, 0, &ss);323 rc = pj_sock_socket(pj_AF_INET(), pj_SOCK_DGRAM(), 0, &ss); 329 324 if (rc != 0) { 330 325 app_perror("...error: unable to create socket", rc); … … 332 327 } 333 328 334 rc = pj_sock_socket( PJ_AF_INET, PJ_SOCK_DGRAM, 0, &cs);329 rc = pj_sock_socket(pj_AF_INET(), pj_SOCK_DGRAM(), 0, &cs); 335 330 if (rc != 0) 336 331 return -110; … … 338 333 /* Bind server socket. */ 339 334 pj_bzero(&dstaddr, sizeof(dstaddr)); 340 dstaddr.sin_family = PJ_AF_INET;335 dstaddr.sin_family = pj_AF_INET(); 341 336 dstaddr.sin_port = pj_htons(UDP_PORT); 342 337 dstaddr.sin_addr = pj_inet_addr(pj_cstr(&s, ADDRESS)); … … 349 344 /* Bind client socket. */ 350 345 pj_bzero(&srcaddr, sizeof(srcaddr)); 351 srcaddr.sin_family = PJ_AF_INET;346 srcaddr.sin_family = pj_AF_INET(); 352 347 srcaddr.sin_port = pj_htons(UDP_PORT-1); 353 348 srcaddr.sin_addr = pj_inet_addr(pj_cstr(&s, ADDRESS)); … … 359 354 360 355 /* Test send/recv, with sendto */ 361 rc = send_recv_test( PJ_SOCK_DGRAM, ss, cs, &dstaddr, NULL,356 rc = send_recv_test(pj_SOCK_DGRAM(), ss, cs, &dstaddr, NULL, 362 357 sizeof(dstaddr)); 363 358 if (rc != 0) … … 365 360 366 361 /* Test send/recv, with sendto and recvfrom */ 367 rc = send_recv_test( PJ_SOCK_DGRAM, ss, cs, &dstaddr,362 rc = send_recv_test(pj_SOCK_DGRAM(), ss, cs, &dstaddr, 368 363 &srcaddr, sizeof(dstaddr)); 369 364 if (rc != 0) … … 383 378 384 379 /* Test send/recv with send() */ 385 rc = send_recv_test( PJ_SOCK_DGRAM, ss, cs, NULL, NULL, 0);380 rc = send_recv_test(pj_SOCK_DGRAM(), ss, cs, NULL, NULL, 0); 386 381 if (rc != 0) 387 382 goto on_error; 388 383 389 384 /* Test send/recv with send() and recvfrom */ 390 rc = send_recv_test( PJ_SOCK_DGRAM, ss, cs, NULL, &srcaddr,385 rc = send_recv_test(pj_SOCK_DGRAM(), ss, cs, NULL, &srcaddr, 391 386 sizeof(srcaddr)); 392 387 if (rc != 0) … … 421 416 PJ_LOG(3,("test", "...tcp_test()")); 422 417 423 rc = app_socketpair( PJ_AF_INET, PJ_SOCK_STREAM, 0, &ss, &cs);418 rc = app_socketpair(pj_AF_INET(), pj_SOCK_STREAM(), 0, &ss, &cs); 424 419 if (rc != PJ_SUCCESS) { 425 420 app_perror("...error: app_socketpair():", rc); … … 428 423 429 424 /* Test send/recv with send() and recv() */ 430 retval = send_recv_test( PJ_SOCK_STREAM, ss, cs, NULL, NULL, 0);425 retval = send_recv_test(pj_SOCK_STREAM(), ss, cs, NULL, NULL, 0); 431 426 432 427 rc = pj_sock_close(cs); -
pjproject/trunk/pjlib/src/pjlib-test/sock_perf.c
r1238 r1405 63 63 64 64 /* Create producer-consumer pair. */ 65 rc = app_socketpair( PJ_AF_INET, sock_type, 0, &consumer, &producer);65 rc = app_socketpair(pj_AF_INET(), sock_type, 0, &consumer, &producer); 66 66 if (rc != PJ_SUCCESS) { 67 67 app_perror("...error: create socket pair", rc); … … 106 106 } 107 107 if ((pj_size_t)part_received != buf_size-received) { 108 if (sock_type != PJ_SOCK_STREAM) {108 if (sock_type != pj_SOCK_STREAM()) { 109 109 PJ_LOG(3,("", "...error: expecting %u bytes, got %u bytes", 110 110 buf_size-received, part_received)); … … 166 166 #if !defined(PJ_SYMBIAN) || PJ_SYMBIAN==0 167 167 /* Benchmarking UDP */ 168 rc = sock_producer_consumer( PJ_SOCK_DGRAM, 512, LOOP, &bandwidth);168 rc = sock_producer_consumer(pj_SOCK_DGRAM(), 512, LOOP, &bandwidth); 169 169 if (rc != 0) return rc; 170 170 PJ_LOG(3,("", "....bandwidth UDP = %d KB/s", bandwidth)); … … 172 172 173 173 /* Benchmarking TCP */ 174 rc = sock_producer_consumer( PJ_SOCK_STREAM, 512, LOOP, &bandwidth);174 rc = sock_producer_consumer(pj_SOCK_STREAM(), 512, LOOP, &bandwidth); 175 175 if (rc != 0) return rc; 176 176 PJ_LOG(3,("", "....bandwidth TCP = %d KB/s", bandwidth)); -
pjproject/trunk/pjlib/src/pjlib-test/test.c
r974 r1405 65 65 66 66 //pj_dump_config(); 67 pj_caching_pool_init( &caching_pool, &pj_pool_factory_default_policy, 0 );67 pj_caching_pool_init( &caching_pool, NULL, 0 ); 68 68 69 69 #if INCLUDE_ERRNO_TEST … … 166 166 #elif INCLUDE_ECHO_CLIENT 167 167 if (param_echo_sock_type == 0) 168 param_echo_sock_type = PJ_SOCK_DGRAM;168 param_echo_sock_type = pj_SOCK_DGRAM(); 169 169 170 170 echo_client( param_echo_sock_type, … … 192 192 } 193 193 194 #include <pj/sock.h> 195 194 196 int test_main(void) 195 197 { 198 int i; 196 199 PJ_USE_EXCEPTION; 200 201 i = pj_AF_INET(); 197 202 198 203 PJ_TRY { -
pjproject/trunk/pjlib/src/pjlib-test/udp_echo_srv_ioqueue.c
r1235 r1405 177 177 } 178 178 179 rc = app_socket( PJ_AF_INET, PJ_SOCK_DGRAM, 0,179 rc = app_socket(pj_AF_INET(), pj_SOCK_DGRAM(), 0, 180 180 ECHO_SERVER_START_PORT, &sock); 181 181 if (rc != PJ_SUCCESS) { -
pjproject/trunk/pjlib/src/pjlib-test/udp_echo_srv_sync.c
r974 r1405 78 78 } 79 79 80 rc = app_socket( PJ_AF_INET, PJ_SOCK_DGRAM,0, ECHO_SERVER_START_PORT, &sock);80 rc = app_socket(pj_AF_INET(), pj_SOCK_DGRAM(),0, ECHO_SERVER_START_PORT, &sock); 81 81 if (rc != PJ_SUCCESS) { 82 82 app_perror("...socket error", rc); -
pjproject/trunk/pjlib/src/pjlib-test/util.c
r974 r1405 54 54 55 55 #if PJ_HAS_TCP 56 if (type == PJ_SOCK_STREAM) {56 if (type == pj_SOCK_STREAM()) { 57 57 rc = pj_sock_listen(sock, 5); 58 58 if (rc != PJ_SUCCESS) … … 87 87 /* Retry bind */ 88 88 pj_bzero(&addr, sizeof(addr)); 89 addr.sin_family = PJ_AF_INET;89 addr.sin_family = pj_AF_INET(); 90 90 for (i=0; i<5; ++i) { 91 91 addr.sin_port = pj_htons(port++); … … 100 100 /* For TCP, listen the socket. */ 101 101 #if PJ_HAS_TCP 102 if (type == PJ_SOCK_STREAM) {102 if (type == pj_SOCK_STREAM()) { 103 103 rc = pj_sock_listen(sock[SERVER], PJ_SOMAXCONN); 104 104 if (rc != PJ_SUCCESS) … … 115 115 /* For TCP, must accept(), and get the new socket. */ 116 116 #if PJ_HAS_TCP 117 if (type == PJ_SOCK_STREAM) {117 if (type == pj_SOCK_STREAM()) { 118 118 pj_sock_t newserver; 119 119 -
pjproject/trunk/pjmedia/src/pjmedia/transport_udp.c
r1266 r1405 163 163 164 164 /* Create RTP socket */ 165 status = pj_sock_socket( PJ_AF_INET, PJ_SOCK_DGRAM, 0, &si.rtp_sock);165 status = pj_sock_socket(pj_AF_INET(), pj_SOCK_DGRAM(), 0, &si.rtp_sock); 166 166 if (status != PJ_SUCCESS) 167 167 goto on_error; … … 176 176 177 177 /* Create RTCP socket */ 178 status = pj_sock_socket( PJ_AF_INET, PJ_SOCK_DGRAM, 0, &si.rtcp_sock);178 status = pj_sock_socket(pj_AF_INET(), pj_SOCK_DGRAM(), 0, &si.rtcp_sock); 179 179 if (status != PJ_SUCCESS) 180 180 goto on_error; -
pjproject/trunk/pjmedia/src/test/audio_tool.c
r974 r1405 265 265 266 266 pj_bzero(&skinfo, sizeof(skinfo)); 267 skinfo.rtp_sock = skinfo.rtcp_sock = pj_sock_socket( PJ_AF_INET, PJ_SOCK_DGRAM, 0, 0);267 skinfo.rtp_sock = skinfo.rtcp_sock = pj_sock_socket(pj_AF_INET(), pj_SOCK_DGRAM(), 0, 0); 268 268 if (skinfo.rtp_sock == PJ_INVALID_SOCKET) { 269 269 PJ_LOG(1,(THIS_FILE, "Unable to create socket")); -
pjproject/trunk/pjnath/src/pjnath/ice_session.c
r1392 r1405 727 727 pj_ansi_strcpy(laddr, pj_inet_ntoa(lcand->addr.ipv4.sin_addr)); 728 728 729 if (lcand->addr.addr.sa_family == PJ_AF_INET) {729 if (lcand->addr.addr.sa_family == pj_AF_INET()) { 730 730 len = pj_ansi_snprintf(buffer, bufsize, 731 731 "%d: [%d] %s:%d-->%s:%d", … … 835 835 return SOCKADDR_NOT_EQUAL; 836 836 837 if (a1->addr.sa_family == PJ_AF_INET) {837 if (a1->addr.sa_family == pj_AF_INET()) { 838 838 return !(a1->ipv4.sin_addr.s_addr == a2->ipv4.sin_addr.s_addr && 839 839 a1->ipv4.sin_port == a2->ipv4.sin_port); 840 } else if (a1->addr.sa_family == PJ_AF_INET6) {840 } else if (a1->addr.sa_family == pj_AF_INET6()) { 841 841 return pj_memcmp(&a1->ipv6, &a2->ipv6, sizeof(a1->ipv6)); 842 842 } else { -
pjproject/trunk/pjnath/src/pjnath/ice_strans.c
r1343 r1405 286 286 287 287 /* Create socket */ 288 status = pj_sock_socket( PJ_AF_INET, PJ_SOCK_DGRAM, 0, &comp->sock);288 status = pj_sock_socket(pj_AF_INET(), pj_SOCK_DGRAM(), 0, &comp->sock); 289 289 if (status != PJ_SUCCESS) 290 290 return status; -
pjproject/trunk/pjnath/src/pjnath/stun_msg.c
r1374 r1405 770 770 771 771 /* Family (IPv4 only for now) */ 772 PJ_ASSERT_RETURN(ca->sockaddr.addr.sa_family == PJ_AF_INET, PJ_EINVAL);772 PJ_ASSERT_RETURN(ca->sockaddr.addr.sa_family == pj_AF_INET(), PJ_EINVAL); 773 773 *buf++ = 1; 774 774 -
pjproject/trunk/pjnath/src/pjnath/stun_msg_dump.c
r1374 r1405 84 84 attr = (const pj_stun_sockaddr_attr*)ahdr; 85 85 86 if (attr->sockaddr.addr.sa_family == PJ_AF_INET) {86 if (attr->sockaddr.addr.sa_family == pj_AF_INET()) { 87 87 len = pj_ansi_snprintf(p, end-p, 88 88 ", IPv4 addr=%s:%d\n", … … 90 90 pj_ntohs(attr->sockaddr.ipv4.sin_port)); 91 91 92 } else if (attr->sockaddr.addr.sa_family == PJ_AF_INET6) {92 } else if (attr->sockaddr.addr.sa_family == pj_AF_INET6()) { 93 93 len = pj_ansi_snprintf(p, end-p, 94 94 ", IPv6 addr present\n"); -
pjproject/trunk/pjnath/src/pjnath/stun_session.c
r1374 r1405 563 563 char buf[512]; 564 564 565 if (dst->addr.sa_family == PJ_AF_INET) {565 if (dst->addr.sa_family == pj_AF_INET()) { 566 566 dst_name = pj_inet_ntoa(dst->ipv4.sin_addr); 567 567 dst_port = pj_ntohs(dst->ipv4.sin_port); 568 } else if (dst->addr.sa_family == PJ_AF_INET6) {568 } else if (dst->addr.sa_family == pj_AF_INET6()) { 569 569 dst_name = "IPv6"; 570 570 dst_port = pj_ntohs(dst->ipv6.sin6_port); -
pjproject/trunk/pjnath/src/pjstun-client/client_main.c
r1374 r1405 271 271 pj_assert(status == PJ_SUCCESS); 272 272 273 status = pj_sock_socket( PJ_AF_INET, PJ_SOCK_DGRAM, 0, &g.peer_sock);273 status = pj_sock_socket(pj_AF_INET(), pj_SOCK_DGRAM(), 0, &g.peer_sock); 274 274 pj_assert(status == PJ_SUCCESS); 275 275 … … 277 277 pj_assert(status == PJ_SUCCESS); 278 278 279 status = pj_sock_socket( PJ_AF_INET, PJ_SOCK_DGRAM, 0, &g.sock);279 status = pj_sock_socket(pj_AF_INET(), pj_SOCK_DGRAM(), 0, &g.sock); 280 280 pj_assert(status == PJ_SUCCESS); 281 281 -
pjproject/trunk/pjnath/src/pjstun-srv-test/bind_usage.c
r1374 r1405 75 75 76 76 status = pj_stun_usage_create(srv, "bind%p", &usage_cb, 77 PJ_AF_INET, PJ_SOCK_DGRAM, 0,77 pj_AF_INET(), pj_SOCK_DGRAM(), 0, 78 78 &local_addr, sizeof(local_addr), 79 79 &bu->usage); -
pjproject/trunk/pjnath/src/pjstun-srv-test/main.c
r1374 r1405 132 132 */ 133 133 134 status = pj_stun_turn_usage_create(srv, PJ_SOCK_DGRAM, NULL,134 status = pj_stun_turn_usage_create(srv, pj_SOCK_DGRAM(), NULL, 135 135 3478, o.use_fingerprint, &turn); 136 136 if (status != PJ_SUCCESS) { -
pjproject/trunk/pjnath/src/pjstun-srv-test/turn_usage.c
r1380 r1405 160 160 pj_status_t status; 161 161 162 PJ_ASSERT_RETURN(srv && (type== PJ_SOCK_DGRAM||type==PJ_SOCK_STREAM),162 PJ_ASSERT_RETURN(srv && (type==pj_SOCK_DGRAM()||type==pj_SOCK_STREAM()), 163 163 PJ_EINVAL); 164 164 si = pj_stun_server_get_info(srv); … … 186 186 usage_cb.on_destroy = &tu_on_destroy; 187 187 status = pj_stun_usage_create(srv, "turn%p", &usage_cb, 188 PJ_AF_INET, tu->type, 0,188 pj_AF_INET(), tu->type, 0, 189 189 &local_addr, sizeof(local_addr), 190 190 &tu->usage); … … 298 298 /* STUN message decoding flag */ 299 299 flags = 0; 300 if (tu->type == PJ_SOCK_DGRAM)300 if (tu->type == pj_SOCK_DGRAM()) 301 301 flags |= PJ_STUN_IS_DATAGRAM; 302 302 … … 362 362 363 363 /* Allocate specific port */ 364 status = pj_sock_socket( PJ_AF_INET, type, 0, &sock);364 status = pj_sock_socket(pj_AF_INET(), type, 0, &sock); 365 365 if (status != PJ_SUCCESS) 366 366 return status; … … 401 401 } 402 402 403 status = pj_sock_socket( PJ_AF_INET, type, 0, &sock);403 status = pj_sock_socket(pj_AF_INET(), type, 0, &sock); 404 404 if (status != PJ_SUCCESS) 405 405 return status; … … 511 511 sd = (struct session_data*) pj_stun_session_get_user_data(sess); 512 512 513 if (sd->tu->type == PJ_SOCK_DGRAM) {513 if (sd->tu->type == pj_SOCK_DGRAM()) { 514 514 return pj_stun_usage_sendto(sd->tu->usage, pkt, pkt_size, 0, 515 515 dst_addr, addr_len); … … 547 547 static const char *get_tp_type(int type) 548 548 { 549 if (type== PJ_SOCK_DGRAM)549 if (type==pj_SOCK_DGRAM()) 550 550 return "udp"; 551 else if (type== PJ_SOCK_STREAM)551 else if (type==pj_SOCK_STREAM()) 552 552 return "tcp"; 553 553 else … … 595 595 sd = (struct session_data*) pj_stun_session_get_user_data(sess); 596 596 597 if (sd->tu->type == PJ_SOCK_DGRAM) {597 if (sd->tu->type == pj_SOCK_DGRAM()) { 598 598 return pj_stun_usage_sendto(sd->tu->usage, pkt, pkt_size, 0, 599 599 dst_addr, addr_len); … … 952 952 return PJ_SUCCESS; 953 953 } else if (a_rt) { 954 client->sock_type = a_rt->value ? PJ_SOCK_STREAM : PJ_SOCK_DGRAM;954 client->sock_type = a_rt->value ? pj_SOCK_STREAM() : pj_SOCK_DGRAM(); 955 955 } else { 956 956 client->sock_type = client->tu->type;; … … 958 958 959 959 /* Process REQUESTED-IP attribute */ 960 if (a_rip && a_rip->sockaddr.addr.sa_family != PJ_AF_INET) {960 if (a_rip && a_rip->sockaddr.addr.sa_family != pj_AF_INET()) { 961 961 client_respond(client, msg, PJ_STUN_SC_INVALID_IP_ADDR, NULL, 962 962 src_addr, src_addr_len); … … 1131 1131 client->active_peer = NULL; 1132 1132 1133 } else if (a_raddr->sockaddr.addr.sa_family != PJ_AF_INET) {1133 } else if (a_raddr->sockaddr.addr.sa_family != pj_AF_INET()) { 1134 1134 /* Bad request (not IPv4) */ 1135 1135 client_respond(client, msg, PJ_STUN_SC_BAD_REQUEST, NULL, … … 1197 1197 return PJ_SUCCESS; 1198 1198 1199 } else if (a_raddr->sockaddr.addr.sa_family != PJ_AF_INET) {1199 } else if (a_raddr->sockaddr.addr.sa_family != pj_AF_INET()) { 1200 1200 /* REMOTE-ADDRESS present but not IPv4, discard packet */ 1201 1201 return PJ_SUCCESS; … … 1210 1210 datalen = a_data->length; 1211 1211 1212 } else if (client->sock_type == PJ_SOCK_STREAM) {1212 } else if (client->sock_type == pj_SOCK_STREAM()) { 1213 1213 /* Discard if no Data and Allocation type is TCP */ 1214 1214 return PJ_SUCCESS; -
pjproject/trunk/pjsip-apps/src/samples/invtester.c
r1379 r1405 226 226 pj_sockaddr_in addr; 227 227 228 addr.sin_family = PJ_AF_INET;228 addr.sin_family = pj_AF_INET(); 229 229 addr.sin_addr.s_addr = 0; 230 230 addr.sin_port = pj_htons(PORT); -
pjproject/trunk/pjsip-apps/src/samples/pjsip-perf.c
r1177 r1405 761 761 762 762 pj_bzero(&addr, sizeof(addr)); 763 addr.sin_family = PJ_AF_INET;763 addr.sin_family = pj_AF_INET(); 764 764 addr.sin_addr.s_addr = 0; 765 765 addr.sin_port = pj_htons((pj_uint16_t)app.local_port); -
pjproject/trunk/pjsip-apps/src/samples/proxy.h
r1161 r1405 213 213 pj_sockaddr_in addr; 214 214 215 addr.sin_family = PJ_AF_INET;215 addr.sin_family = pj_AF_INET(); 216 216 addr.sin_addr.s_addr = 0; 217 217 addr.sin_port = pj_htons((pj_uint16_t)global.port); -
pjproject/trunk/pjsip-apps/src/samples/simpleua.c
r1120 r1405 182 182 pj_sockaddr_in addr; 183 183 184 addr.sin_family = PJ_AF_INET;184 addr.sin_family = pj_AF_INET(); 185 185 addr.sin_addr.s_addr = 0; 186 186 addr.sin_port = pj_htons(5060); -
pjproject/trunk/pjsip-apps/src/samples/siprtp.c
r1337 r1405 306 306 307 307 pj_bzero(&addr, sizeof(addr)); 308 addr.sin_family = PJ_AF_INET;308 addr.sin_family = pj_AF_INET(); 309 309 addr.sin_addr.s_addr = 0; 310 310 addr.sin_port = pj_htons((pj_uint16_t)app.sip_port); -
pjproject/trunk/pjsip-apps/src/samples/sipstateless.c
r1159 r1405 129 129 pj_sockaddr_in addr; 130 130 131 addr.sin_family = PJ_AF_INET;131 addr.sin_family = pj_AF_INET(); 132 132 addr.sin_addr.s_addr = 0; 133 133 addr.sin_port = pj_htons(5060); … … 149 149 pj_sockaddr_in addr; 150 150 151 addr.sin_family = PJ_AF_INET;151 addr.sin_family = pj_AF_INET(); 152 152 addr.sin_addr.s_addr = 0; 153 153 addr.sin_port = pj_htons(5060); -
pjproject/trunk/pjsip/src/pjsip/sip_transport.c
r1388 r1405 561 561 pj_memcpy(&tdata->tp_info.dst_addr, addr, addr_len); 562 562 tdata->tp_info.dst_addr_len = addr_len; 563 if (((pj_sockaddr*)addr)->addr.sa_family == PJ_AF_INET) {563 if (((pj_sockaddr*)addr)->addr.sa_family == pj_AF_INET()) { 564 564 const char *str_addr; 565 565 str_addr = pj_inet_ntoa(((pj_sockaddr_in*)addr)->sin_addr); … … 1472 1472 */ 1473 1473 else if ((flag & PJSIP_TRANSPORT_DATAGRAM) && 1474 (remote_addr->addr.sa_family == PJ_AF_INET))1474 (remote_addr->addr.sa_family == pj_AF_INET())) 1475 1475 { 1476 1476 pj_sockaddr_in *addr = (pj_sockaddr_in*)&key.rem_addr; 1477 1477 1478 1478 pj_bzero(addr, sizeof(pj_sockaddr_in)); 1479 addr->sin_family = PJ_AF_INET;1479 addr->sin_family = pj_AF_INET(); 1480 1480 1481 1481 key_len = sizeof(key.type) + sizeof(pj_sockaddr_in); -
pjproject/trunk/pjsip/src/pjsip/sip_transport_loop.c
r1317 r1405 368 368 goto on_error; 369 369 loop->base.key.type = PJSIP_TRANSPORT_LOOP_DGRAM; 370 //loop->base.key.rem_addr.sa_family = PJ_AF_INET;370 //loop->base.key.rem_addr.sa_family = pj_AF_INET(); 371 371 loop->base.type_name = "LOOP-DGRAM"; 372 372 loop->base.info = "LOOP-DGRAM"; -
pjproject/trunk/pjsip/src/pjsip/sip_transport_tcp.c
r1269 r1405 240 240 241 241 /* Create and bind socket */ 242 status = pj_sock_socket(PJ_AF_INET, PJ_SOCK_STREAM, 0, &listener->sock); 242 status = pj_sock_socket(pj_AF_INET(), pj_SOCK_STREAM(), 0, 243 &listener->sock); 243 244 if (status != PJ_SUCCESS) 244 245 goto on_error; … … 788 789 789 790 /* Check that address is a sockaddr_in */ 790 PJ_ASSERT_RETURN(rem_addr->addr.sa_family == PJ_AF_INET&&791 PJ_ASSERT_RETURN(rem_addr->addr.sa_family == pj_AF_INET() && 791 792 addr_len == sizeof(pj_sockaddr_in), PJ_EINVAL); 792 793 … … 796 797 797 798 /* Create socket */ 798 status = pj_sock_socket( PJ_AF_INET, PJ_SOCK_STREAM, 0, &sock);799 status = pj_sock_socket(pj_AF_INET(), pj_SOCK_STREAM(), 0, &sock); 799 800 if (status != PJ_SUCCESS) 800 801 return status; -
pjproject/trunk/pjsip/src/pjsip/sip_transport_tls_ossl.c
r1351 r1405 938 938 939 939 /* Create and bind socket */ 940 status = pj_sock_socket( PJ_AF_INET, PJ_SOCK_STREAM, 0, &listener->sock);940 status = pj_sock_socket(pj_AF_INET(), pj_SOCK_STREAM(), 0, &listener->sock); 941 941 if (status != PJ_SUCCESS) 942 942 goto on_error; … … 1527 1527 1528 1528 /* Check that address is a sockaddr_in */ 1529 PJ_ASSERT_RETURN(rem_addr->addr.sa_family == PJ_AF_INET&&1529 PJ_ASSERT_RETURN(rem_addr->addr.sa_family == pj_AF_INET() && 1530 1530 addr_len == sizeof(pj_sockaddr_in), PJ_EINVAL); 1531 1531 … … 1535 1535 1536 1536 /* Create socket */ 1537 status = pj_sock_socket( PJ_AF_INET, PJ_SOCK_STREAM, 0, &sock);1537 status = pj_sock_socket(pj_AF_INET(), pj_SOCK_STREAM(), 0, &sock); 1538 1538 if (status != PJ_SUCCESS) 1539 1539 return status; -
pjproject/trunk/pjsip/src/pjsip/sip_transport_udp.c
r1386 r1405 420 420 pj_status_t status; 421 421 422 status = pj_sock_socket( PJ_AF_INET, PJ_SOCK_DGRAM, 0, &sock);422 status = pj_sock_socket(pj_AF_INET(), pj_SOCK_DGRAM(), 0, &sock); 423 423 if (status != PJ_SUCCESS) 424 424 return status; … … 509 509 /* Adjust socket rcvbuf size */ 510 510 sobuf_size = PJSIP_UDP_SO_RCVBUF_SIZE; 511 status = pj_sock_setsockopt(sock, PJ_SOL_SOCKET, PJ_SO_RCVBUF,511 status = pj_sock_setsockopt(sock, pj_SOL_SOCKET(), pj_SO_RCVBUF(), 512 512 &sobuf_size, sizeof(sobuf_size)); 513 513 if (status != PJ_SUCCESS) { … … 520 520 /* Adjust socket sndbuf size */ 521 521 sobuf_size = PJSIP_UDP_SO_SNDBUF_SIZE; 522 status = pj_sock_setsockopt(sock, PJ_SOL_SOCKET, PJ_SO_SNDBUF,522 status = pj_sock_setsockopt(sock, pj_SOL_SOCKET(), pj_SO_SNDBUF(), 523 523 &sobuf_size, sizeof(sobuf_size)); 524 524 if (status != PJ_SUCCESS) { … … 640 640 641 641 /* Remote address is left zero (except the family) */ 642 tp->base.key.rem_addr.addr.sa_family = PJ_AF_INET;642 tp->base.key.rem_addr.addr.sa_family = pj_AF_INET(); 643 643 644 644 /* Type name. */ -
pjproject/trunk/pjsip/src/pjsua-lib/pjsua_core.c
r1357 r1405 1081 1081 } 1082 1082 1083 status = pj_sock_socket( PJ_AF_INET, PJ_SOCK_DGRAM, 0, &sock);1083 status = pj_sock_socket(pj_AF_INET(), pj_SOCK_DGRAM(), 0, &sock); 1084 1084 if (status != PJ_SUCCESS) { 1085 1085 pjsua_perror(THIS_FILE, "socket() error", status); … … 1152 1152 } 1153 1153 1154 p_pub_addr->sin_family = PJ_AF_INET;1154 p_pub_addr->sin_family = pj_AF_INET(); 1155 1155 p_pub_addr->sin_port = pj_htons((pj_uint16_t)port); 1156 1156 } -
pjproject/trunk/pjsip/src/pjsua-lib/pjsua_media.c
r1403 r1405 244 244 245 245 /* Create and bind RTP socket. */ 246 status = pj_sock_socket( PJ_AF_INET, PJ_SOCK_DGRAM, 0, &sock[0]);246 status = pj_sock_socket(pj_AF_INET(), pj_SOCK_DGRAM(), 0, &sock[0]); 247 247 if (status != PJ_SUCCESS) { 248 248 pjsua_perror(THIS_FILE, "socket() error", status); … … 259 259 260 260 /* Create and bind RTCP socket. */ 261 status = pj_sock_socket( PJ_AF_INET, PJ_SOCK_DGRAM, 0, &sock[1]);261 status = pj_sock_socket(pj_AF_INET(), pj_SOCK_DGRAM(), 0, &sock[1]); 262 262 if (status != PJ_SUCCESS) { 263 263 pjsua_perror(THIS_FILE, "socket() error", status); -
pjproject/trunk/pjsip/src/test-pjsip/dns_test.c
r1372 r1405 484 484 485 485 a = (pj_sockaddr_in *)&r->entry[r->count].addr; 486 a->sin_family = PJ_AF_INET;486 a->sin_family = pj_AF_INET(); 487 487 tmp = pj_str(addr); 488 488 a->sin_addr = pj_inet_addr(&tmp);
Note: See TracChangeset
for help on using the changeset viewer.