@voipsdk/react-native-voipcloud 1.0.1 → 1.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +48 -0
- package/LICENSE +21 -0
- package/README.md +60 -15
- package/android/build.gradle +15 -9
- package/android/src/main/java/com/voipcloud/sdk/rn/VoipCloudModule.java +113 -3
- package/android/src/main/java/com/voipcloud/sdk/rn/internal/ManagedAccount.java +12 -6
- package/android/src/main/java/com/voipcloud/sdk/rn/internal/ManagedCall.java +33 -1
- package/ios/VoipCloud.mm +214 -28
- package/ios/VoipCloud.xcframework/Info.plist +48 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/activesock.h +598 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/addr_resolv.h +189 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/array.h +95 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/assert.h +84 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/compat/assert.h +36 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/compat/cc_armcc.h +57 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/compat/cc_clang.h +64 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/compat/cc_codew.h +55 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/compat/cc_gcc.h +79 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/compat/cc_gcce.h +54 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/compat/cc_msvc.h +87 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/compat/cc_mwcc.h +55 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/compat/ctype.h +44 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/compat/errno.h +44 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/compat/high_precision.h +87 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/compat/limits.h +66 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/compat/m_alpha.h +35 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/compat/m_armv4.h +38 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/compat/m_auto.h +60 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/compat/m_auto.h.in +59 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/compat/m_i386.h +34 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/compat/m_m68k.h +34 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/compat/m_powerpc.h +35 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/compat/m_sparc.h +34 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/compat/m_x86_64.h +35 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/compat/malloc.h +33 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/compat/os_auto.h +245 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/compat/os_auto.h.in +244 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/compat/os_darwinos.h +141 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/compat/os_linux.h +130 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/compat/os_palmos.h +118 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/compat/os_rtems.h +138 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/compat/os_sunos.h +131 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/compat/os_symbian.h +166 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/compat/os_win32.h +148 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/compat/os_win32_wince.h +145 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/compat/os_winphone8.h +149 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/compat/os_winuwp.h +149 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/compat/rand.h +55 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/compat/setjmp.h +49 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/compat/size_t.h +31 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/compat/socket.h +223 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/compat/stdarg.h +31 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/compat/stdfileio.h +31 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/compat/string.h +178 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/compat/time.h +41 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/config.h +1537 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/config_site.h +22 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/config_site_sample.h +485 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/config_site_test.h +11 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/ctype.h +174 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/doxygen.h +995 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/errno.h +593 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/except.h +420 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/fifobuf.h +43 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/file_access.h +108 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/file_io.h +183 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/guid.h +119 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/hash.h +253 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/ioqueue.h +955 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/ip_helper.h +152 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/limits.h +57 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/list.h +268 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/list_i.h +120 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/lock.h +453 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/log.h +487 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/math.h +203 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/os.h +1536 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/pool.h +918 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/pool_alt.h +212 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/pool_buf.h +104 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/pool_i.h +131 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/rand.h +65 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/rbtree.h +215 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/sock.h +1566 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/sock_qos.h +429 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/sock_select.h +151 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/ssl_sock.h +1508 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/string.h +963 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/string_i.h +406 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/timer.h +386 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/types.h +594 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj/unicode.h +140 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj++/file.hpp +187 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj++/hash.hpp +155 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj++/list.hpp +351 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj++/lock.hpp +148 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj++/os.hpp +869 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj++/pool.hpp +278 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj++/proactor.hpp +514 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj++/scanner.hpp +245 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj++/sock.hpp +443 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj++/string.hpp +467 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj++/timer.hpp +197 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj++/tree.hpp +128 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pj++/types.hpp +174 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjlib++.hpp +34 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjlib-util/base64.h +91 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjlib-util/cli.h +530 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjlib-util/cli_console.h +116 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjlib-util/cli_imp.h +207 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjlib-util/cli_telnet.h +167 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjlib-util/config.h +373 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjlib-util/crc32.h +95 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjlib-util/dns.h +460 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjlib-util/dns_server.h +116 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjlib-util/errno.h +455 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjlib-util/getopt.h +144 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjlib-util/hmac_md5.h +108 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjlib-util/hmac_sha1.h +106 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjlib-util/http_client.h +493 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjlib-util/json.h +227 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjlib-util/md5.h +73 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjlib-util/pcap.h +195 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjlib-util/resolver.h +515 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjlib-util/scanner.h +553 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjlib-util/scanner_cis_bitwise.h +96 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjlib-util/scanner_cis_uint.h +83 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjlib-util/sha1.h +79 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjlib-util/srv_resolver.h +221 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjlib-util/string.h +101 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjlib-util/stun_simple.h +288 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjlib-util/types.h +94 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjlib-util/xml.h +248 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjlib-util.h +75 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjlib.h +62 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/alaw_ulaw.h +212 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/audiodev.h +761 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/avi.h +201 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/avi_stream.h +195 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/bidirectional.h +66 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/circbuf.h +436 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/clock.h +338 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/codec.h +1192 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/conference.h +599 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/config.h +1713 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/config_auto.h +43 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/config_auto.h.in +42 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/converter.h +386 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/delaybuf.h +175 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/doxygen.h +243 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/echo.h +420 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/echo_port.h +73 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/endpoint.h +389 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/errno.h +693 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/event.h +493 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/format.h +821 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/frame.h +331 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/g711.h +88 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/jbuf.h +484 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/master_port.h +198 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/mem_port.h +241 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/null_port.h +69 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/plc.h +114 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/port.h +565 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/resample.h +199 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/rtcp.h +511 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/rtcp_fb.h +487 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/rtcp_xr.h +477 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/rtp.h +457 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/sdp.h +830 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/sdp_neg.h +822 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/session.h +435 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/signatures.h +217 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/silencedet.h +199 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/sound.h +353 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/sound_port.h +397 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/splitcomb.h +142 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/stereo.h +203 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/stream.h +541 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/stream_common.h +123 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/symbian_sound_aps.h +47 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/tonegen.h +302 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/transport.h +1069 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/transport_adapter_sample.h +75 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/transport_ice.h +458 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/transport_loop.h +158 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/transport_srtp.h +579 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/transport_udp.h +161 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/types.h +345 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/vid_codec.h +896 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/vid_codec_util.h +194 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/vid_conf.h +310 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/vid_port.h +269 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/vid_stream.h +514 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/vid_tee.h +141 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/videodev.h +859 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/wav_playlist.h +131 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/wav_port.h +342 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/wave.h +183 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia/wsola.h +218 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia-audiodev/audiodev.h +110 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia-audiodev/audiodev_imp.h +187 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia-audiodev/audiotest.h +115 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia-audiodev/config.h +525 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia-audiodev/errno.h +227 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia-codec/amr_helper.h +1236 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia-codec/amr_sdp_match.h +60 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia-codec/and_aud_mediacodec.h +131 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia-codec/and_vid_mediacodec.h +77 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia-codec/audio_codecs.h +97 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia-codec/bcg729.h +120 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia-codec/config.h +720 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia-codec/config_auto.h +104 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia-codec/config_auto.h.in +103 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia-codec/ffmpeg_vid_codecs.h +66 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia-codec/g722.h +103 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia-codec/g7221.h +164 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia-codec/g7221_sdp_match.h +58 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia-codec/gsm.h +86 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia-codec/h263_packetizer.h +145 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia-codec/h264_packetizer.h +163 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia-codec/ilbc.h +118 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia-codec/ipp_codecs.h +321 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia-codec/l16.h +83 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia-codec/opencore_amr.h +145 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia-codec/openh264.h +68 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia-codec/opus.h +160 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia-codec/passthrough.h +276 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia-codec/silk.h +126 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia-codec/speex.h +149 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia-codec/types.h +145 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia-codec/vid_toolbox.h +70 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia-codec/vpx.h +68 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia-codec/vpx_packetizer.h +123 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia-codec.h +47 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia-videodev/avi_dev.h +139 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia-videodev/config.h +326 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia-videodev/errno.h +158 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia-videodev/opengl_dev.h +52 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia-videodev/videodev.h +119 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia-videodev/videodev_imp.h +229 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia.h +81 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia_audiodev.h +32 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjmedia_videodev.h +30 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjnath/config.h +596 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjnath/errno.h +225 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjnath/ice_session.h +1122 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjnath/ice_strans.h +1112 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjnath/nat_detect.h +233 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjnath/stun_auth.h +456 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjnath/stun_config.h +135 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjnath/stun_msg.h +1856 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjnath/stun_session.h +763 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjnath/stun_sock.h +496 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjnath/stun_transaction.h +291 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjnath/turn_session.h +968 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjnath/turn_sock.h +673 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjnath/types.h +75 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjnath/upnp.h +147 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjnath.h +46 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip/print_util.h +166 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip/sip_auth.h +637 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip/sip_auth_aka.h +212 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip/sip_auth_msg.h +269 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip/sip_auth_parser.h +74 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip/sip_autoconf.h +39 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip/sip_autoconf.h.in +38 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip/sip_config.h +1545 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip/sip_dialog.h +935 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip/sip_endpoint.h +715 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip/sip_errno.h +544 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip/sip_event.h +230 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip/sip_module.h +221 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip/sip_msg.h +2134 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip/sip_multipart.h +276 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip/sip_parser.h +465 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip/sip_private.h +31 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip/sip_resolve.h +347 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip/sip_tel_uri.h +83 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip/sip_transaction.h +542 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip/sip_transport.h +1672 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip/sip_transport_loop.h +146 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip/sip_transport_tcp.h +300 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip/sip_transport_tls.h +642 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip/sip_transport_udp.h +389 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip/sip_types.h +265 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip/sip_ua_layer.h +159 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip/sip_uri.h +470 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip/sip_util.h +888 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip-simple/errno.h +117 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip-simple/evsub.h +561 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip-simple/evsub_msg.h +119 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip-simple/iscomposing.h +137 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip-simple/mwi.h +211 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip-simple/pidf.h +177 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip-simple/presence.h +416 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip-simple/publish.h +350 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip-simple/rpid.h +150 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip-simple/types.h +30 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip-simple/xpidf.h +137 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip-ua/sip_100rel.h +244 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip-ua/sip_inv.h +1224 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip-ua/sip_regc.h +497 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip-ua/sip_replaces.h +303 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip-ua/sip_timer.h +274 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip-ua/sip_xfer.h +207 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip.h +61 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip_auth.h +37 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip_simple.h +45 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsip_ua.h +31 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsua-lib/pjsua.h +8899 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsua-lib/pjsua_internal.h +989 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsua.h +1 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsua2/account.hpp +2123 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsua2/call.hpp +2253 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsua2/config.hpp +72 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsua2/doxygen.hpp +48 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsua2/endpoint.hpp +2160 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsua2/json.hpp +115 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsua2/media.hpp +2748 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsua2/persistent.hpp +715 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsua2/presence.hpp +368 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsua2/siptypes.hpp +1013 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsua2/types.hpp +283 -0
- package/ios/VoipCloud.xcframework/ios-arm64/Headers/pjsua2.hpp +28 -0
- package/ios/VoipCloud.xcframework/ios-arm64/libVoipCloud.a +0 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/activesock.h +598 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/addr_resolv.h +189 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/array.h +95 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/assert.h +84 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/compat/assert.h +36 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/compat/cc_armcc.h +57 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/compat/cc_clang.h +64 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/compat/cc_codew.h +55 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/compat/cc_gcc.h +79 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/compat/cc_gcce.h +54 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/compat/cc_msvc.h +87 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/compat/cc_mwcc.h +55 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/compat/ctype.h +44 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/compat/errno.h +44 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/compat/high_precision.h +87 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/compat/limits.h +66 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/compat/m_alpha.h +35 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/compat/m_armv4.h +38 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/compat/m_auto.h +60 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/compat/m_auto.h.in +59 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/compat/m_i386.h +34 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/compat/m_m68k.h +34 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/compat/m_powerpc.h +35 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/compat/m_sparc.h +34 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/compat/m_x86_64.h +35 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/compat/malloc.h +33 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/compat/os_auto.h +245 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/compat/os_auto.h.in +244 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/compat/os_darwinos.h +141 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/compat/os_linux.h +130 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/compat/os_palmos.h +118 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/compat/os_rtems.h +138 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/compat/os_sunos.h +131 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/compat/os_symbian.h +166 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/compat/os_win32.h +148 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/compat/os_win32_wince.h +145 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/compat/os_winphone8.h +149 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/compat/os_winuwp.h +149 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/compat/rand.h +55 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/compat/setjmp.h +49 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/compat/size_t.h +31 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/compat/socket.h +223 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/compat/stdarg.h +31 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/compat/stdfileio.h +31 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/compat/string.h +178 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/compat/time.h +41 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/config.h +1537 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/config_site.h +22 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/config_site_sample.h +485 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/config_site_test.h +11 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/ctype.h +174 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/doxygen.h +995 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/errno.h +593 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/except.h +420 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/fifobuf.h +43 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/file_access.h +108 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/file_io.h +183 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/guid.h +119 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/hash.h +253 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/ioqueue.h +955 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/ip_helper.h +152 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/limits.h +57 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/list.h +268 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/list_i.h +120 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/lock.h +453 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/log.h +487 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/math.h +203 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/os.h +1536 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/pool.h +918 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/pool_alt.h +212 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/pool_buf.h +104 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/pool_i.h +131 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/rand.h +65 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/rbtree.h +215 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/sock.h +1566 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/sock_qos.h +429 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/sock_select.h +151 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/ssl_sock.h +1508 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/string.h +963 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/string_i.h +406 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/timer.h +386 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/types.h +594 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj/unicode.h +140 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj++/file.hpp +187 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj++/hash.hpp +155 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj++/list.hpp +351 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj++/lock.hpp +148 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj++/os.hpp +869 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj++/pool.hpp +278 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj++/proactor.hpp +514 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj++/scanner.hpp +245 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj++/sock.hpp +443 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj++/string.hpp +467 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj++/timer.hpp +197 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj++/tree.hpp +128 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pj++/types.hpp +174 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjlib++.hpp +34 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjlib-util/base64.h +91 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjlib-util/cli.h +530 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjlib-util/cli_console.h +116 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjlib-util/cli_imp.h +207 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjlib-util/cli_telnet.h +167 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjlib-util/config.h +373 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjlib-util/crc32.h +95 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjlib-util/dns.h +460 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjlib-util/dns_server.h +116 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjlib-util/errno.h +455 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjlib-util/getopt.h +144 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjlib-util/hmac_md5.h +108 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjlib-util/hmac_sha1.h +106 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjlib-util/http_client.h +493 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjlib-util/json.h +227 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjlib-util/md5.h +73 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjlib-util/pcap.h +195 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjlib-util/resolver.h +515 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjlib-util/scanner.h +553 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjlib-util/scanner_cis_bitwise.h +96 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjlib-util/scanner_cis_uint.h +83 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjlib-util/sha1.h +79 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjlib-util/srv_resolver.h +221 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjlib-util/string.h +101 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjlib-util/stun_simple.h +288 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjlib-util/types.h +94 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjlib-util/xml.h +248 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjlib-util.h +75 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjlib.h +62 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/alaw_ulaw.h +212 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/audiodev.h +761 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/avi.h +201 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/avi_stream.h +195 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/bidirectional.h +66 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/circbuf.h +436 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/clock.h +338 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/codec.h +1192 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/conference.h +599 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/config.h +1713 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/config_auto.h +43 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/config_auto.h.in +42 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/converter.h +386 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/delaybuf.h +175 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/doxygen.h +243 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/echo.h +420 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/echo_port.h +73 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/endpoint.h +389 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/errno.h +693 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/event.h +493 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/format.h +821 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/frame.h +331 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/g711.h +88 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/jbuf.h +484 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/master_port.h +198 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/mem_port.h +241 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/null_port.h +69 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/plc.h +114 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/port.h +565 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/resample.h +199 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/rtcp.h +511 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/rtcp_fb.h +487 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/rtcp_xr.h +477 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/rtp.h +457 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/sdp.h +830 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/sdp_neg.h +822 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/session.h +435 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/signatures.h +217 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/silencedet.h +199 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/sound.h +353 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/sound_port.h +397 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/splitcomb.h +142 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/stereo.h +203 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/stream.h +541 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/stream_common.h +123 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/symbian_sound_aps.h +47 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/tonegen.h +302 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/transport.h +1069 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/transport_adapter_sample.h +75 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/transport_ice.h +458 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/transport_loop.h +158 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/transport_srtp.h +579 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/transport_udp.h +161 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/types.h +345 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/vid_codec.h +896 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/vid_codec_util.h +194 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/vid_conf.h +310 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/vid_port.h +269 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/vid_stream.h +514 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/vid_tee.h +141 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/videodev.h +859 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/wav_playlist.h +131 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/wav_port.h +342 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/wave.h +183 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia/wsola.h +218 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia-audiodev/audiodev.h +110 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia-audiodev/audiodev_imp.h +187 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia-audiodev/audiotest.h +115 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia-audiodev/config.h +525 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia-audiodev/errno.h +227 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia-codec/amr_helper.h +1236 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia-codec/amr_sdp_match.h +60 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia-codec/and_aud_mediacodec.h +131 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia-codec/and_vid_mediacodec.h +77 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia-codec/audio_codecs.h +97 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia-codec/bcg729.h +120 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia-codec/config.h +720 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia-codec/config_auto.h +104 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia-codec/config_auto.h.in +103 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia-codec/ffmpeg_vid_codecs.h +66 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia-codec/g722.h +103 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia-codec/g7221.h +164 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia-codec/g7221_sdp_match.h +58 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia-codec/gsm.h +86 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia-codec/h263_packetizer.h +145 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia-codec/h264_packetizer.h +163 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia-codec/ilbc.h +118 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia-codec/ipp_codecs.h +321 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia-codec/l16.h +83 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia-codec/opencore_amr.h +145 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia-codec/openh264.h +68 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia-codec/opus.h +160 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia-codec/passthrough.h +276 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia-codec/silk.h +126 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia-codec/speex.h +149 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia-codec/types.h +145 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia-codec/vid_toolbox.h +70 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia-codec/vpx.h +68 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia-codec/vpx_packetizer.h +123 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia-codec.h +47 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia-videodev/avi_dev.h +139 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia-videodev/config.h +326 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia-videodev/errno.h +158 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia-videodev/opengl_dev.h +52 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia-videodev/videodev.h +119 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia-videodev/videodev_imp.h +229 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia.h +81 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia_audiodev.h +32 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjmedia_videodev.h +30 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjnath/config.h +596 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjnath/errno.h +225 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjnath/ice_session.h +1122 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjnath/ice_strans.h +1112 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjnath/nat_detect.h +233 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjnath/stun_auth.h +456 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjnath/stun_config.h +135 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjnath/stun_msg.h +1856 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjnath/stun_session.h +763 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjnath/stun_sock.h +496 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjnath/stun_transaction.h +291 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjnath/turn_session.h +968 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjnath/turn_sock.h +673 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjnath/types.h +75 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjnath/upnp.h +147 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjnath.h +46 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip/print_util.h +166 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip/sip_auth.h +637 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip/sip_auth_aka.h +212 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip/sip_auth_msg.h +269 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip/sip_auth_parser.h +74 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip/sip_autoconf.h +39 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip/sip_autoconf.h.in +38 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip/sip_config.h +1545 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip/sip_dialog.h +935 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip/sip_endpoint.h +715 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip/sip_errno.h +544 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip/sip_event.h +230 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip/sip_module.h +221 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip/sip_msg.h +2134 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip/sip_multipart.h +276 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip/sip_parser.h +465 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip/sip_private.h +31 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip/sip_resolve.h +347 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip/sip_tel_uri.h +83 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip/sip_transaction.h +542 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip/sip_transport.h +1672 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip/sip_transport_loop.h +146 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip/sip_transport_tcp.h +300 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip/sip_transport_tls.h +642 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip/sip_transport_udp.h +389 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip/sip_types.h +265 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip/sip_ua_layer.h +159 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip/sip_uri.h +470 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip/sip_util.h +888 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip-simple/errno.h +117 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip-simple/evsub.h +561 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip-simple/evsub_msg.h +119 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip-simple/iscomposing.h +137 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip-simple/mwi.h +211 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip-simple/pidf.h +177 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip-simple/presence.h +416 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip-simple/publish.h +350 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip-simple/rpid.h +150 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip-simple/types.h +30 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip-simple/xpidf.h +137 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip-ua/sip_100rel.h +244 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip-ua/sip_inv.h +1224 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip-ua/sip_regc.h +497 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip-ua/sip_replaces.h +303 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip-ua/sip_timer.h +274 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip-ua/sip_xfer.h +207 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip.h +61 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip_auth.h +37 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip_simple.h +45 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsip_ua.h +31 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsua-lib/pjsua.h +8899 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsua-lib/pjsua_internal.h +989 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsua.h +1 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsua2/account.hpp +2123 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsua2/call.hpp +2253 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsua2/config.hpp +72 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsua2/doxygen.hpp +48 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsua2/endpoint.hpp +2160 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsua2/json.hpp +115 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsua2/media.hpp +2748 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsua2/persistent.hpp +715 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsua2/presence.hpp +368 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsua2/siptypes.hpp +1013 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsua2/types.hpp +283 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/Headers/pjsua2.hpp +28 -0
- package/ios/VoipCloud.xcframework/ios-arm64_x86_64-simulator/libVoipCloud.a +0 -0
- package/ios/VoipCloudEngine.h +62 -0
- package/ios/VoipCloudEngine.mm +655 -0
- package/lib/typescript/types.d.ts +14 -0
- package/package.json +6 -4
- package/react-native-voipcloud.podspec +32 -1
- package/react-native.config.js +22 -0
- package/src/types.ts +14 -0
|
@@ -0,0 +1,1537 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (C) 2008-2011 Teluu Inc. (http://www.teluu.com)
|
|
3
|
+
* Copyright (C) 2003-2008 Benny Prijono <benny@prijono.org>
|
|
4
|
+
*
|
|
5
|
+
* This program is free software; you can redistribute it and/or modify
|
|
6
|
+
* it under the terms of the GNU General Public License as published by
|
|
7
|
+
* the Free Software Foundation; either version 2 of the License, or
|
|
8
|
+
* (at your option) any later version.
|
|
9
|
+
*
|
|
10
|
+
* This program is distributed in the hope that it will be useful,
|
|
11
|
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
12
|
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
13
|
+
* GNU General Public License for more details.
|
|
14
|
+
*
|
|
15
|
+
* You should have received a copy of the GNU General Public License
|
|
16
|
+
* along with this program; if not, write to the Free Software
|
|
17
|
+
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
18
|
+
*/
|
|
19
|
+
#ifndef __PJ_CONFIG_H__
|
|
20
|
+
#define __PJ_CONFIG_H__
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* @file config.h
|
|
25
|
+
* @brief PJLIB Main configuration settings.
|
|
26
|
+
*/
|
|
27
|
+
|
|
28
|
+
/********************************************************************
|
|
29
|
+
* Include compiler specific configuration.
|
|
30
|
+
*/
|
|
31
|
+
#if defined(_MSC_VER)
|
|
32
|
+
# include <pj/compat/cc_msvc.h>
|
|
33
|
+
#elif defined(__clang__)
|
|
34
|
+
# include <pj/compat/cc_clang.h>
|
|
35
|
+
#elif defined(__GNUC__)
|
|
36
|
+
# include <pj/compat/cc_gcc.h>
|
|
37
|
+
#elif defined(__CW32__)
|
|
38
|
+
# include <pj/compat/cc_mwcc.h>
|
|
39
|
+
#elif defined(__MWERKS__)
|
|
40
|
+
# include <pj/compat/cc_codew.h>
|
|
41
|
+
#elif defined(__GCCE__)
|
|
42
|
+
# include <pj/compat/cc_gcce.h>
|
|
43
|
+
#elif defined(__ARMCC__)
|
|
44
|
+
# include <pj/compat/cc_armcc.h>
|
|
45
|
+
#else
|
|
46
|
+
# error "Unknown compiler."
|
|
47
|
+
#endif
|
|
48
|
+
|
|
49
|
+
/* PJ_ALIGN_DATA is compiler specific directive to align data address */
|
|
50
|
+
#ifndef PJ_ALIGN_DATA
|
|
51
|
+
# error "PJ_ALIGN_DATA is not defined!"
|
|
52
|
+
#endif
|
|
53
|
+
|
|
54
|
+
/********************************************************************
|
|
55
|
+
* Include target OS specific configuration.
|
|
56
|
+
*/
|
|
57
|
+
#if defined(PJ_AUTOCONF)
|
|
58
|
+
/*
|
|
59
|
+
* Autoconf
|
|
60
|
+
*/
|
|
61
|
+
# include <pj/compat/os_auto.h>
|
|
62
|
+
|
|
63
|
+
#elif defined(PJ_SYMBIAN) && PJ_SYMBIAN!=0
|
|
64
|
+
/*
|
|
65
|
+
* SymbianOS
|
|
66
|
+
*/
|
|
67
|
+
# include <pj/compat/os_symbian.h>
|
|
68
|
+
|
|
69
|
+
#elif defined(PJ_WIN32_WINCE) || defined(_WIN32_WCE) || defined(UNDER_CE)
|
|
70
|
+
/*
|
|
71
|
+
* Windows CE
|
|
72
|
+
*/
|
|
73
|
+
# undef PJ_WIN32_WINCE
|
|
74
|
+
# define PJ_WIN32_WINCE 1
|
|
75
|
+
# include <pj/compat/os_win32_wince.h>
|
|
76
|
+
|
|
77
|
+
/* Also define Win32 */
|
|
78
|
+
# define PJ_WIN32 1
|
|
79
|
+
|
|
80
|
+
#elif defined(PJ_WIN32_WINPHONE8) || defined(_WIN32_WINPHONE8)
|
|
81
|
+
/*
|
|
82
|
+
* Windows Phone 8
|
|
83
|
+
*/
|
|
84
|
+
# undef PJ_WIN32_WINPHONE8
|
|
85
|
+
# define PJ_WIN32_WINPHONE8 1
|
|
86
|
+
# include <pj/compat/os_winphone8.h>
|
|
87
|
+
|
|
88
|
+
/* Also define Win32 */
|
|
89
|
+
# define PJ_WIN32 1
|
|
90
|
+
|
|
91
|
+
#elif defined(PJ_WIN32_UWP) || defined(_WIN32_UWP)
|
|
92
|
+
/*
|
|
93
|
+
* Windows UWP
|
|
94
|
+
*/
|
|
95
|
+
# undef PJ_WIN32_UWP
|
|
96
|
+
# define PJ_WIN32_UWP 1
|
|
97
|
+
# include <pj/compat/os_winuwp.h>
|
|
98
|
+
|
|
99
|
+
/* Define Windows phone */
|
|
100
|
+
# define PJ_WIN32_WINPHONE8 1
|
|
101
|
+
|
|
102
|
+
/* Also define Win32 */
|
|
103
|
+
# define PJ_WIN32 1
|
|
104
|
+
|
|
105
|
+
#elif defined(PJ_WIN32) || defined(_WIN32) || defined(__WIN32__) || \
|
|
106
|
+
defined(WIN32) || defined(PJ_WIN64) || defined(_WIN64) || \
|
|
107
|
+
defined(WIN64) || defined(__TOS_WIN__)
|
|
108
|
+
# if defined(PJ_WIN64) || defined(_WIN64) || defined(WIN64)
|
|
109
|
+
/*
|
|
110
|
+
* Win64
|
|
111
|
+
*/
|
|
112
|
+
# undef PJ_WIN64
|
|
113
|
+
# define PJ_WIN64 1
|
|
114
|
+
# endif
|
|
115
|
+
# undef PJ_WIN32
|
|
116
|
+
# define PJ_WIN32 1
|
|
117
|
+
# include <pj/compat/os_win32.h>
|
|
118
|
+
|
|
119
|
+
#elif defined(PJ_LINUX) || defined(linux) || defined(__linux)
|
|
120
|
+
/*
|
|
121
|
+
* Linux
|
|
122
|
+
*/
|
|
123
|
+
# undef PJ_LINUX
|
|
124
|
+
# define PJ_LINUX 1
|
|
125
|
+
# include <pj/compat/os_linux.h>
|
|
126
|
+
|
|
127
|
+
#elif defined(PJ_PALMOS) && PJ_PALMOS!=0
|
|
128
|
+
/*
|
|
129
|
+
* Palm
|
|
130
|
+
*/
|
|
131
|
+
# include <pj/compat/os_palmos.h>
|
|
132
|
+
|
|
133
|
+
#elif defined(PJ_SUNOS) || defined(sun) || defined(__sun)
|
|
134
|
+
/*
|
|
135
|
+
* SunOS
|
|
136
|
+
*/
|
|
137
|
+
# undef PJ_SUNOS
|
|
138
|
+
# define PJ_SUNOS 1
|
|
139
|
+
# include <pj/compat/os_sunos.h>
|
|
140
|
+
|
|
141
|
+
#elif defined(PJ_DARWINOS) || defined(__MACOSX__) || \
|
|
142
|
+
defined (__APPLE__) || defined (__MACH__)
|
|
143
|
+
/*
|
|
144
|
+
* MacOS X
|
|
145
|
+
*/
|
|
146
|
+
# undef PJ_DARWINOS
|
|
147
|
+
# define PJ_DARWINOS 1
|
|
148
|
+
# include <pj/compat/os_darwinos.h>
|
|
149
|
+
|
|
150
|
+
#elif defined(PJ_RTEMS) && PJ_RTEMS!=0
|
|
151
|
+
/*
|
|
152
|
+
* RTEMS
|
|
153
|
+
*/
|
|
154
|
+
# include <pj/compat/os_rtems.h>
|
|
155
|
+
#else
|
|
156
|
+
# error "Please specify target os."
|
|
157
|
+
#endif
|
|
158
|
+
|
|
159
|
+
|
|
160
|
+
/********************************************************************
|
|
161
|
+
* Target machine specific configuration.
|
|
162
|
+
*/
|
|
163
|
+
#if defined(PJ_AUTOCONF)
|
|
164
|
+
/*
|
|
165
|
+
* Autoconf configured
|
|
166
|
+
*/
|
|
167
|
+
#include <pj/compat/m_auto.h>
|
|
168
|
+
|
|
169
|
+
#elif defined (PJ_M_I386) || defined(_i386_) || defined(i_386_) || \
|
|
170
|
+
defined(_X86_) || defined(x86) || defined(__i386__) || \
|
|
171
|
+
defined(__i386) || defined(_M_IX86) || defined(__I86__)
|
|
172
|
+
/*
|
|
173
|
+
* Generic i386 processor family, little-endian
|
|
174
|
+
*/
|
|
175
|
+
# undef PJ_M_I386
|
|
176
|
+
# define PJ_M_I386 1
|
|
177
|
+
# define PJ_M_NAME "i386"
|
|
178
|
+
# define PJ_HAS_PENTIUM 1
|
|
179
|
+
# define PJ_IS_LITTLE_ENDIAN 1
|
|
180
|
+
# define PJ_IS_BIG_ENDIAN 0
|
|
181
|
+
|
|
182
|
+
#elif defined (PJ_M_X86_64) || defined(__amd64__) || defined(__amd64) || \
|
|
183
|
+
defined(__x86_64__) || defined(__x86_64) || \
|
|
184
|
+
defined(_M_X64) || defined(_M_AMD64)
|
|
185
|
+
/*
|
|
186
|
+
* AMD 64bit processor, little endian
|
|
187
|
+
*/
|
|
188
|
+
# undef PJ_M_X86_64
|
|
189
|
+
# define PJ_M_X86_64 1
|
|
190
|
+
# define PJ_M_NAME "x86_64"
|
|
191
|
+
# define PJ_HAS_PENTIUM 1
|
|
192
|
+
# define PJ_IS_LITTLE_ENDIAN 1
|
|
193
|
+
# define PJ_IS_BIG_ENDIAN 0
|
|
194
|
+
|
|
195
|
+
#elif defined(PJ_M_IA64) || defined(__ia64__) || defined(_IA64) || \
|
|
196
|
+
defined(__IA64__) || defined( _M_IA64)
|
|
197
|
+
/*
|
|
198
|
+
* Intel IA64 processor, default to little endian
|
|
199
|
+
*/
|
|
200
|
+
# undef PJ_M_IA64
|
|
201
|
+
# define PJ_M_IA64 1
|
|
202
|
+
# define PJ_M_NAME "ia64"
|
|
203
|
+
# define PJ_HAS_PENTIUM 1
|
|
204
|
+
# define PJ_IS_LITTLE_ENDIAN 1
|
|
205
|
+
# define PJ_IS_BIG_ENDIAN 0
|
|
206
|
+
|
|
207
|
+
#elif defined (PJ_M_M68K) && PJ_M_M68K != 0
|
|
208
|
+
|
|
209
|
+
/*
|
|
210
|
+
* Motorola m68k processor, big endian
|
|
211
|
+
*/
|
|
212
|
+
# undef PJ_M_M68K
|
|
213
|
+
# define PJ_M_M68K 1
|
|
214
|
+
# define PJ_M_NAME "m68k"
|
|
215
|
+
# define PJ_HAS_PENTIUM 0
|
|
216
|
+
# define PJ_IS_LITTLE_ENDIAN 0
|
|
217
|
+
# define PJ_IS_BIG_ENDIAN 1
|
|
218
|
+
|
|
219
|
+
|
|
220
|
+
#elif defined (PJ_M_ALPHA) || defined (__alpha__) || defined (__alpha) || \
|
|
221
|
+
defined (_M_ALPHA)
|
|
222
|
+
/*
|
|
223
|
+
* DEC Alpha processor, little endian
|
|
224
|
+
*/
|
|
225
|
+
# undef PJ_M_ALPHA
|
|
226
|
+
# define PJ_M_ALPHA 1
|
|
227
|
+
# define PJ_M_NAME "alpha"
|
|
228
|
+
# define PJ_HAS_PENTIUM 0
|
|
229
|
+
# define PJ_IS_LITTLE_ENDIAN 1
|
|
230
|
+
# define PJ_IS_BIG_ENDIAN 0
|
|
231
|
+
|
|
232
|
+
|
|
233
|
+
#elif defined(PJ_M_MIPS) || defined(__mips__) || defined(__mips) || \
|
|
234
|
+
defined(__MIPS__) || defined(MIPS) || defined(_MIPS_)
|
|
235
|
+
/*
|
|
236
|
+
* MIPS, bi-endian, so raise error if endianness is not configured
|
|
237
|
+
*/
|
|
238
|
+
# undef PJ_M_MIPS
|
|
239
|
+
# define PJ_M_MIPS 1
|
|
240
|
+
# define PJ_M_NAME "mips"
|
|
241
|
+
# define PJ_HAS_PENTIUM 0
|
|
242
|
+
# if !PJ_IS_LITTLE_ENDIAN && !PJ_IS_BIG_ENDIAN
|
|
243
|
+
# error Endianness must be declared for this processor
|
|
244
|
+
# endif
|
|
245
|
+
|
|
246
|
+
|
|
247
|
+
#elif defined (PJ_M_SPARC) || defined( __sparc__) || defined(__sparc)
|
|
248
|
+
/*
|
|
249
|
+
* Sun Sparc, big endian
|
|
250
|
+
*/
|
|
251
|
+
# undef PJ_M_SPARC
|
|
252
|
+
# define PJ_M_SPARC 1
|
|
253
|
+
# define PJ_M_NAME "sparc"
|
|
254
|
+
# define PJ_HAS_PENTIUM 0
|
|
255
|
+
# define PJ_IS_LITTLE_ENDIAN 0
|
|
256
|
+
# define PJ_IS_BIG_ENDIAN 1
|
|
257
|
+
|
|
258
|
+
#elif defined(ARM) || defined(_ARM_) || defined(__arm__) || \
|
|
259
|
+
defined(_M_ARM) || defined(_M_ARM64) || defined(__aarch64__)
|
|
260
|
+
# define PJ_HAS_PENTIUM 0
|
|
261
|
+
/*
|
|
262
|
+
* ARM, bi-endian, so raise error if endianness is not configured
|
|
263
|
+
*/
|
|
264
|
+
# if !PJ_IS_LITTLE_ENDIAN && !PJ_IS_BIG_ENDIAN
|
|
265
|
+
# error Endianness must be declared for this processor
|
|
266
|
+
# endif
|
|
267
|
+
# if defined (PJ_M_ARMV7) || defined(ARMV7)
|
|
268
|
+
# undef PJ_M_ARMV7
|
|
269
|
+
# define PJ_M_ARM7 1
|
|
270
|
+
# define PJ_M_NAME "armv7"
|
|
271
|
+
# elif defined (PJ_M_ARMV4) || defined(ARMV4)
|
|
272
|
+
# undef PJ_M_ARMV4
|
|
273
|
+
# define PJ_M_ARMV4 1
|
|
274
|
+
# define PJ_M_NAME "armv4"
|
|
275
|
+
# elif defined (PJ_M_ARM64) || defined(ARM64) || defined(__aarch64__)
|
|
276
|
+
# undef PJ_M_ARM64
|
|
277
|
+
# define PJ_M_ARM64 1
|
|
278
|
+
# define PJ_M_NAME "arm64"
|
|
279
|
+
# endif
|
|
280
|
+
|
|
281
|
+
#elif defined (PJ_M_POWERPC) || defined(__powerpc) || defined(__powerpc__) || \
|
|
282
|
+
defined(__POWERPC__) || defined(__ppc__) || defined(_M_PPC) || \
|
|
283
|
+
defined(_ARCH_PPC)
|
|
284
|
+
/*
|
|
285
|
+
* PowerPC, bi-endian, so raise error if endianness is not configured
|
|
286
|
+
*/
|
|
287
|
+
# undef PJ_M_POWERPC
|
|
288
|
+
# define PJ_M_POWERPC 1
|
|
289
|
+
# define PJ_M_NAME "powerpc"
|
|
290
|
+
# define PJ_HAS_PENTIUM 0
|
|
291
|
+
# if !PJ_IS_LITTLE_ENDIAN && !PJ_IS_BIG_ENDIAN
|
|
292
|
+
# error Endianness must be declared for this processor
|
|
293
|
+
# endif
|
|
294
|
+
|
|
295
|
+
#elif defined (PJ_M_NIOS2) || defined(__nios2) || defined(__nios2__) || \
|
|
296
|
+
defined(__NIOS2__) || defined(__M_NIOS2) || defined(_ARCH_NIOS2)
|
|
297
|
+
/*
|
|
298
|
+
* Nios2, little endian
|
|
299
|
+
*/
|
|
300
|
+
# undef PJ_M_NIOS2
|
|
301
|
+
# define PJ_M_NIOS2 1
|
|
302
|
+
# define PJ_M_NAME "nios2"
|
|
303
|
+
# define PJ_HAS_PENTIUM 0
|
|
304
|
+
# define PJ_IS_LITTLE_ENDIAN 1
|
|
305
|
+
# define PJ_IS_BIG_ENDIAN 0
|
|
306
|
+
|
|
307
|
+
#else
|
|
308
|
+
# error "Please specify target machine."
|
|
309
|
+
#endif
|
|
310
|
+
|
|
311
|
+
/* Include size_t definition. */
|
|
312
|
+
#include <pj/compat/size_t.h>
|
|
313
|
+
|
|
314
|
+
/* Include site/user specific configuration to control PJLIB features.
|
|
315
|
+
* YOU MUST CREATE THIS FILE YOURSELF!!
|
|
316
|
+
*/
|
|
317
|
+
#include <pj/config_site.h>
|
|
318
|
+
|
|
319
|
+
/********************************************************************
|
|
320
|
+
* PJLIB Features.
|
|
321
|
+
*/
|
|
322
|
+
|
|
323
|
+
/* Overrides for DOXYGEN */
|
|
324
|
+
#ifdef DOXYGEN
|
|
325
|
+
# undef PJ_FUNCTIONS_ARE_INLINED
|
|
326
|
+
# undef PJ_HAS_FLOATING_POINT
|
|
327
|
+
# undef PJ_LOG_MAX_LEVEL
|
|
328
|
+
# undef PJ_LOG_MAX_SIZE
|
|
329
|
+
# undef PJ_LOG_USE_STACK_BUFFER
|
|
330
|
+
# undef PJ_TERM_HAS_COLOR
|
|
331
|
+
# undef PJ_POOL_DEBUG
|
|
332
|
+
# undef PJ_HAS_TCP
|
|
333
|
+
# undef PJ_MAX_HOSTNAME
|
|
334
|
+
# undef PJ_IOQUEUE_MAX_HANDLES
|
|
335
|
+
# undef FD_SETSIZE
|
|
336
|
+
# undef PJ_HAS_SEMAPHORE
|
|
337
|
+
# undef PJ_HAS_EVENT_OBJ
|
|
338
|
+
# undef PJ_EXCEPTION_USE_WIN32_SEH
|
|
339
|
+
# undef PJ_HAS_ERROR_STRING
|
|
340
|
+
|
|
341
|
+
# define PJ_HAS_IPV6 1
|
|
342
|
+
#endif
|
|
343
|
+
|
|
344
|
+
/**
|
|
345
|
+
* @defgroup pj_config Build Configuration
|
|
346
|
+
* @{
|
|
347
|
+
*
|
|
348
|
+
* This section contains macros that can set during PJLIB build process
|
|
349
|
+
* to controll various aspects of the library.
|
|
350
|
+
*
|
|
351
|
+
* <b>Note</b>: the values in this page does NOT necessarily reflect to the
|
|
352
|
+
* macro values during the build process.
|
|
353
|
+
*/
|
|
354
|
+
|
|
355
|
+
/**
|
|
356
|
+
* If this macro is set to 1, it will enable some debugging checking
|
|
357
|
+
* in the library.
|
|
358
|
+
*
|
|
359
|
+
* Default: equal to (NOT NDEBUG).
|
|
360
|
+
*/
|
|
361
|
+
#ifndef PJ_DEBUG
|
|
362
|
+
# ifndef NDEBUG
|
|
363
|
+
# define PJ_DEBUG 1
|
|
364
|
+
# else
|
|
365
|
+
# define PJ_DEBUG 0
|
|
366
|
+
# endif
|
|
367
|
+
#endif
|
|
368
|
+
|
|
369
|
+
/**
|
|
370
|
+
* Enable this macro to activate logging to mutex/semaphore related events.
|
|
371
|
+
* This is useful to troubleshoot concurrency problems such as deadlocks.
|
|
372
|
+
* In addition, you should also add PJ_LOG_HAS_THREAD_ID flag to the
|
|
373
|
+
* log decoration to assist the troubleshooting.
|
|
374
|
+
*
|
|
375
|
+
* Default: 0
|
|
376
|
+
*/
|
|
377
|
+
#ifndef PJ_DEBUG_MUTEX
|
|
378
|
+
# define PJ_DEBUG_MUTEX 0
|
|
379
|
+
#endif
|
|
380
|
+
|
|
381
|
+
/**
|
|
382
|
+
* Expand functions in *_i.h header files as inline.
|
|
383
|
+
*
|
|
384
|
+
* Default: 0.
|
|
385
|
+
*/
|
|
386
|
+
#ifndef PJ_FUNCTIONS_ARE_INLINED
|
|
387
|
+
# define PJ_FUNCTIONS_ARE_INLINED 0
|
|
388
|
+
#endif
|
|
389
|
+
|
|
390
|
+
/**
|
|
391
|
+
* Use floating point computations in the library.
|
|
392
|
+
*
|
|
393
|
+
* Default: 1.
|
|
394
|
+
*/
|
|
395
|
+
#ifndef PJ_HAS_FLOATING_POINT
|
|
396
|
+
# define PJ_HAS_FLOATING_POINT 1
|
|
397
|
+
#endif
|
|
398
|
+
|
|
399
|
+
/**
|
|
400
|
+
* Declare maximum logging level/verbosity. Lower number indicates higher
|
|
401
|
+
* importance, with the highest importance has level zero. The least
|
|
402
|
+
* important level is five in this implementation, but this can be extended
|
|
403
|
+
* by supplying the appropriate implementation.
|
|
404
|
+
*
|
|
405
|
+
* The level conventions:
|
|
406
|
+
* - 0: fatal error
|
|
407
|
+
* - 1: error
|
|
408
|
+
* - 2: warning
|
|
409
|
+
* - 3: info
|
|
410
|
+
* - 4: debug
|
|
411
|
+
* - 5: trace
|
|
412
|
+
* - 6: more detailed trace
|
|
413
|
+
*
|
|
414
|
+
* Default: 4
|
|
415
|
+
*/
|
|
416
|
+
#ifndef PJ_LOG_MAX_LEVEL
|
|
417
|
+
# define PJ_LOG_MAX_LEVEL 5
|
|
418
|
+
#endif
|
|
419
|
+
|
|
420
|
+
/**
|
|
421
|
+
* Maximum message size that can be sent to output device for each call
|
|
422
|
+
* to PJ_LOG(). If the message size is longer than this value, it will be cut.
|
|
423
|
+
* This may affect the stack usage, depending whether PJ_LOG_USE_STACK_BUFFER
|
|
424
|
+
* flag is set.
|
|
425
|
+
*
|
|
426
|
+
* Default: 4000
|
|
427
|
+
*/
|
|
428
|
+
#ifndef PJ_LOG_MAX_SIZE
|
|
429
|
+
# define PJ_LOG_MAX_SIZE 4000
|
|
430
|
+
#endif
|
|
431
|
+
|
|
432
|
+
/**
|
|
433
|
+
* Log buffer.
|
|
434
|
+
* Does the log get the buffer from the stack? (default is yes).
|
|
435
|
+
* If the value is set to NO, then the buffer will be taken from static
|
|
436
|
+
* buffer, which in this case will make the log function non-reentrant.
|
|
437
|
+
*
|
|
438
|
+
* Default: 1
|
|
439
|
+
*/
|
|
440
|
+
#ifndef PJ_LOG_USE_STACK_BUFFER
|
|
441
|
+
# define PJ_LOG_USE_STACK_BUFFER 1
|
|
442
|
+
#endif
|
|
443
|
+
|
|
444
|
+
/**
|
|
445
|
+
* Enable log indentation feature.
|
|
446
|
+
*
|
|
447
|
+
* Default: 1
|
|
448
|
+
*/
|
|
449
|
+
#ifndef PJ_LOG_ENABLE_INDENT
|
|
450
|
+
# define PJ_LOG_ENABLE_INDENT 1
|
|
451
|
+
#endif
|
|
452
|
+
|
|
453
|
+
/**
|
|
454
|
+
* Number of PJ_LOG_INDENT_CHAR to put every time pj_log_push_indent()
|
|
455
|
+
* is called.
|
|
456
|
+
*
|
|
457
|
+
* Default: 1
|
|
458
|
+
*/
|
|
459
|
+
#ifndef PJ_LOG_INDENT_SIZE
|
|
460
|
+
# define PJ_LOG_INDENT_SIZE 1
|
|
461
|
+
#endif
|
|
462
|
+
|
|
463
|
+
/**
|
|
464
|
+
* Log indentation character.
|
|
465
|
+
*
|
|
466
|
+
* Default: space
|
|
467
|
+
*/
|
|
468
|
+
#ifndef PJ_LOG_INDENT_CHAR
|
|
469
|
+
# define PJ_LOG_INDENT_CHAR '.'
|
|
470
|
+
#endif
|
|
471
|
+
|
|
472
|
+
/**
|
|
473
|
+
* Log sender width.
|
|
474
|
+
*
|
|
475
|
+
* Default: 22 (for 64-bit machines), 14 otherwise
|
|
476
|
+
*/
|
|
477
|
+
#ifndef PJ_LOG_SENDER_WIDTH
|
|
478
|
+
# if PJ_HAS_STDINT_H
|
|
479
|
+
# include <stdint.h>
|
|
480
|
+
# if (UINTPTR_MAX == 0xffffffffffffffff)
|
|
481
|
+
# define PJ_LOG_SENDER_WIDTH 22
|
|
482
|
+
# else
|
|
483
|
+
# define PJ_LOG_SENDER_WIDTH 14
|
|
484
|
+
# endif
|
|
485
|
+
# else
|
|
486
|
+
# define PJ_LOG_SENDER_WIDTH 14
|
|
487
|
+
# endif
|
|
488
|
+
#endif
|
|
489
|
+
|
|
490
|
+
/**
|
|
491
|
+
* Log thread name width.
|
|
492
|
+
*
|
|
493
|
+
* Default: 12
|
|
494
|
+
*/
|
|
495
|
+
#ifndef PJ_LOG_THREAD_WIDTH
|
|
496
|
+
# define PJ_LOG_THREAD_WIDTH 12
|
|
497
|
+
#endif
|
|
498
|
+
|
|
499
|
+
/**
|
|
500
|
+
* Colorfull terminal (for logging etc).
|
|
501
|
+
*
|
|
502
|
+
* Default: 1
|
|
503
|
+
*/
|
|
504
|
+
#ifndef PJ_TERM_HAS_COLOR
|
|
505
|
+
# define PJ_TERM_HAS_COLOR 1
|
|
506
|
+
#endif
|
|
507
|
+
|
|
508
|
+
|
|
509
|
+
/**
|
|
510
|
+
* Set this flag to non-zero to enable various checking for pool
|
|
511
|
+
* operations. When this flag is set, assertion must be enabled
|
|
512
|
+
* in the application.
|
|
513
|
+
*
|
|
514
|
+
* This will slow down pool creation and destruction and will add
|
|
515
|
+
* few bytes of overhead, so application would normally want to
|
|
516
|
+
* disable this feature on release build.
|
|
517
|
+
*
|
|
518
|
+
* Default: 0
|
|
519
|
+
*/
|
|
520
|
+
#ifndef PJ_SAFE_POOL
|
|
521
|
+
# define PJ_SAFE_POOL 0
|
|
522
|
+
#endif
|
|
523
|
+
|
|
524
|
+
|
|
525
|
+
/**
|
|
526
|
+
* If pool debugging is used, then each memory allocation from the pool
|
|
527
|
+
* will call malloc(), and pool will release all memory chunks when it
|
|
528
|
+
* is destroyed. This works better when memory verification programs
|
|
529
|
+
* such as Rational Purify is used.
|
|
530
|
+
*
|
|
531
|
+
* Default: 0
|
|
532
|
+
*/
|
|
533
|
+
#ifndef PJ_POOL_DEBUG
|
|
534
|
+
# define PJ_POOL_DEBUG 0
|
|
535
|
+
#endif
|
|
536
|
+
|
|
537
|
+
|
|
538
|
+
/**
|
|
539
|
+
* If enabled, when calling pj_pool_release(), the memory pool content
|
|
540
|
+
* will be wiped out first before released.
|
|
541
|
+
*
|
|
542
|
+
* Default: 0
|
|
543
|
+
*/
|
|
544
|
+
#ifndef PJ_POOL_RELEASE_WIPE_DATA
|
|
545
|
+
# define PJ_POOL_RELEASE_WIPE_DATA 0
|
|
546
|
+
#endif
|
|
547
|
+
|
|
548
|
+
|
|
549
|
+
/**
|
|
550
|
+
* If enabled, when allocating memory, pool will only search for a maximum
|
|
551
|
+
* number of blocks specified before deciding that the pool is full and
|
|
552
|
+
* a new memory block needs to be created.
|
|
553
|
+
*
|
|
554
|
+
* Set it to 0 to disable the limitation (i.e. it will search all blocks).
|
|
555
|
+
*
|
|
556
|
+
* Default: 5
|
|
557
|
+
*/
|
|
558
|
+
#ifndef PJ_POOL_MAX_SEARCH_BLOCK_COUNT
|
|
559
|
+
# define PJ_POOL_MAX_SEARCH_BLOCK_COUNT 5
|
|
560
|
+
#endif
|
|
561
|
+
|
|
562
|
+
|
|
563
|
+
/**
|
|
564
|
+
* Enable timer debugging facility. When this is enabled, application
|
|
565
|
+
* can call pj_timer_heap_dump() to show the contents of the timer
|
|
566
|
+
* along with the source location where the timer entries were scheduled.
|
|
567
|
+
* See https://github.com/pjsip/pjproject/issues/1527 for more info.
|
|
568
|
+
*
|
|
569
|
+
* Default: 1
|
|
570
|
+
*/
|
|
571
|
+
#ifndef PJ_TIMER_DEBUG
|
|
572
|
+
# define PJ_TIMER_DEBUG 1
|
|
573
|
+
#endif
|
|
574
|
+
|
|
575
|
+
|
|
576
|
+
/**
|
|
577
|
+
* If enabled, the timer will keep internal copies of the timer entries.
|
|
578
|
+
* This will increase the robustness and stability of the timer (against
|
|
579
|
+
* accidental modification or premature deallocation of the timer entries) and
|
|
580
|
+
* makes it easier to troubleshoot any timer related issues, with the overhead
|
|
581
|
+
* of additional memory space required.
|
|
582
|
+
*
|
|
583
|
+
* Note that the detection against premature deallocation only works if the
|
|
584
|
+
* freed memory content has changed (such as if it's been reallocated and
|
|
585
|
+
* overwritten by another data. Alternatively, you can enable
|
|
586
|
+
* PJ_POOL_RELEASE_WIPE_DATA which will erase the data first before releasing
|
|
587
|
+
* the memory).
|
|
588
|
+
*
|
|
589
|
+
* Default: 1 (enabled)
|
|
590
|
+
*/
|
|
591
|
+
#ifndef PJ_TIMER_USE_COPY
|
|
592
|
+
# define PJ_TIMER_USE_COPY 1
|
|
593
|
+
#endif
|
|
594
|
+
|
|
595
|
+
|
|
596
|
+
/**
|
|
597
|
+
* If enabled, the timer use sorted linked list instead of binary heap tree
|
|
598
|
+
* structure. Note that using sorted linked list is intended for debugging
|
|
599
|
+
* purposes and will hamper performance significantly when scheduling large
|
|
600
|
+
* number of entries.
|
|
601
|
+
*
|
|
602
|
+
* Default: 0 (Use binary heap tree)
|
|
603
|
+
*/
|
|
604
|
+
#ifndef PJ_TIMER_USE_LINKED_LIST
|
|
605
|
+
# define PJ_TIMER_USE_LINKED_LIST 0
|
|
606
|
+
#endif
|
|
607
|
+
|
|
608
|
+
/**
|
|
609
|
+
* Set this to 1 to enable debugging on the group lock. Default: 0
|
|
610
|
+
*/
|
|
611
|
+
#ifndef PJ_GRP_LOCK_DEBUG
|
|
612
|
+
# define PJ_GRP_LOCK_DEBUG 0
|
|
613
|
+
#endif
|
|
614
|
+
|
|
615
|
+
|
|
616
|
+
/**
|
|
617
|
+
* Specify this as \a stack_size argument in #pj_thread_create() to specify
|
|
618
|
+
* that thread should use default stack size for the current platform.
|
|
619
|
+
*
|
|
620
|
+
* Default: 8192
|
|
621
|
+
*/
|
|
622
|
+
#ifndef PJ_THREAD_DEFAULT_STACK_SIZE
|
|
623
|
+
# define PJ_THREAD_DEFAULT_STACK_SIZE 8192
|
|
624
|
+
#endif
|
|
625
|
+
|
|
626
|
+
|
|
627
|
+
/**
|
|
628
|
+
* Specify if PJ_CHECK_STACK() macro is enabled to check the sanity of
|
|
629
|
+
* the stack. The OS implementation may check that no stack overflow
|
|
630
|
+
* occurs, and it also may collect statistic about stack usage. Note
|
|
631
|
+
* that this will increase the footprint of the libraries since it
|
|
632
|
+
* tracks the filename and line number of each functions.
|
|
633
|
+
*/
|
|
634
|
+
#ifndef PJ_OS_HAS_CHECK_STACK
|
|
635
|
+
# define PJ_OS_HAS_CHECK_STACK 0
|
|
636
|
+
#endif
|
|
637
|
+
|
|
638
|
+
/**
|
|
639
|
+
* Do we have alternate pool implementation?
|
|
640
|
+
*
|
|
641
|
+
* Default: 0
|
|
642
|
+
*/
|
|
643
|
+
#ifndef PJ_HAS_POOL_ALT_API
|
|
644
|
+
# define PJ_HAS_POOL_ALT_API PJ_POOL_DEBUG
|
|
645
|
+
#endif
|
|
646
|
+
|
|
647
|
+
|
|
648
|
+
/**
|
|
649
|
+
* Support TCP in the library.
|
|
650
|
+
* Disabling TCP will reduce the footprint slightly (about 6KB).
|
|
651
|
+
*
|
|
652
|
+
* Default: 1
|
|
653
|
+
*/
|
|
654
|
+
#ifndef PJ_HAS_TCP
|
|
655
|
+
# define PJ_HAS_TCP 1
|
|
656
|
+
#endif
|
|
657
|
+
|
|
658
|
+
/**
|
|
659
|
+
* Support IPv6 in the library. If this support is disabled, some IPv6
|
|
660
|
+
* related functions will return PJ_EIPV6NOTSUP.
|
|
661
|
+
*
|
|
662
|
+
* Default: 0 (disabled, for now)
|
|
663
|
+
*/
|
|
664
|
+
#ifndef PJ_HAS_IPV6
|
|
665
|
+
# define PJ_HAS_IPV6 0
|
|
666
|
+
#endif
|
|
667
|
+
|
|
668
|
+
/**
|
|
669
|
+
* Maximum hostname length.
|
|
670
|
+
* Libraries sometimes needs to make copy of an address to stack buffer;
|
|
671
|
+
* the value here affects the stack usage.
|
|
672
|
+
*
|
|
673
|
+
* Note that the length here should include the NULL termination. In other
|
|
674
|
+
* words, the maximum hostname length is PJ_MAX_HOSTNAME with the NULL
|
|
675
|
+
* termination and PJ_MAX_HOSTNAME-1 without the NULL termination.
|
|
676
|
+
*
|
|
677
|
+
* Default: 254
|
|
678
|
+
*/
|
|
679
|
+
#ifndef PJ_MAX_HOSTNAME
|
|
680
|
+
# define PJ_MAX_HOSTNAME (254)
|
|
681
|
+
#endif
|
|
682
|
+
|
|
683
|
+
/**
|
|
684
|
+
* Maximum consecutive identical error for accept() operation before
|
|
685
|
+
* activesock stops calling the next ioqueue accept.
|
|
686
|
+
*
|
|
687
|
+
* Default: 50
|
|
688
|
+
*/
|
|
689
|
+
#ifndef PJ_ACTIVESOCK_MAX_CONSECUTIVE_ACCEPT_ERROR
|
|
690
|
+
# define PJ_ACTIVESOCK_MAX_CONSECUTIVE_ACCEPT_ERROR 50
|
|
691
|
+
#endif
|
|
692
|
+
|
|
693
|
+
/**
|
|
694
|
+
* Constants for declaring the maximum handles that can be supported by
|
|
695
|
+
* a single IOQ framework. This constant might not be relevant to the
|
|
696
|
+
* underlying I/O queue impelementation, but still, developers should be
|
|
697
|
+
* aware of this constant, to make sure that the program will not break when
|
|
698
|
+
* the underlying implementation changes.
|
|
699
|
+
*/
|
|
700
|
+
#ifndef PJ_IOQUEUE_MAX_HANDLES
|
|
701
|
+
# define PJ_IOQUEUE_MAX_HANDLES (64)
|
|
702
|
+
#endif
|
|
703
|
+
|
|
704
|
+
|
|
705
|
+
/**
|
|
706
|
+
* If PJ_IOQUEUE_HAS_SAFE_UNREG macro is defined, then ioqueue will do more
|
|
707
|
+
* things to ensure thread safety of handle unregistration operation by
|
|
708
|
+
* employing reference counter to each handle.
|
|
709
|
+
*
|
|
710
|
+
* In addition, the ioqueue will preallocate memory for the handles,
|
|
711
|
+
* according to the maximum number of handles that is specified during
|
|
712
|
+
* ioqueue creation.
|
|
713
|
+
*
|
|
714
|
+
* All applications would normally want this enabled, but you may disable
|
|
715
|
+
* this if:
|
|
716
|
+
* - there is no dynamic unregistration to all ioqueues.
|
|
717
|
+
* - there is no threading, or there is no preemptive multitasking.
|
|
718
|
+
*
|
|
719
|
+
* Default: 1
|
|
720
|
+
*/
|
|
721
|
+
#ifndef PJ_IOQUEUE_HAS_SAFE_UNREG
|
|
722
|
+
# define PJ_IOQUEUE_HAS_SAFE_UNREG 1
|
|
723
|
+
#endif
|
|
724
|
+
|
|
725
|
+
|
|
726
|
+
/**
|
|
727
|
+
* Default concurrency setting for sockets/handles registered to ioqueue.
|
|
728
|
+
* This controls whether the ioqueue is allowed to call the key's callback
|
|
729
|
+
* concurrently/in parallel. The default is yes, which means that if there
|
|
730
|
+
* are more than one pending operations complete simultaneously, more
|
|
731
|
+
* than one threads may call the key's callback at the same time. This
|
|
732
|
+
* generally would promote good scalability for application, at the
|
|
733
|
+
* expense of more complexity to manage the concurrent accesses.
|
|
734
|
+
*
|
|
735
|
+
* Please see the ioqueue documentation for more info.
|
|
736
|
+
*/
|
|
737
|
+
#ifndef PJ_IOQUEUE_DEFAULT_ALLOW_CONCURRENCY
|
|
738
|
+
# define PJ_IOQUEUE_DEFAULT_ALLOW_CONCURRENCY 1
|
|
739
|
+
#endif
|
|
740
|
+
|
|
741
|
+
|
|
742
|
+
/* Sanity check:
|
|
743
|
+
* if ioqueue concurrency is disallowed, PJ_IOQUEUE_HAS_SAFE_UNREG
|
|
744
|
+
* must be enabled.
|
|
745
|
+
*/
|
|
746
|
+
#if (PJ_IOQUEUE_DEFAULT_ALLOW_CONCURRENCY==0) && (PJ_IOQUEUE_HAS_SAFE_UNREG==0)
|
|
747
|
+
# error PJ_IOQUEUE_HAS_SAFE_UNREG must be enabled if ioqueue concurrency \
|
|
748
|
+
is disabled
|
|
749
|
+
#endif
|
|
750
|
+
|
|
751
|
+
|
|
752
|
+
/**
|
|
753
|
+
* When safe unregistration (PJ_IOQUEUE_HAS_SAFE_UNREG) is configured in
|
|
754
|
+
* ioqueue, the PJ_IOQUEUE_KEY_FREE_DELAY macro specifies how long the
|
|
755
|
+
* ioqueue key is kept in closing state before it can be reused.
|
|
756
|
+
*
|
|
757
|
+
* The value is in miliseconds.
|
|
758
|
+
*
|
|
759
|
+
* Default: 500 msec.
|
|
760
|
+
*/
|
|
761
|
+
#ifndef PJ_IOQUEUE_KEY_FREE_DELAY
|
|
762
|
+
# define PJ_IOQUEUE_KEY_FREE_DELAY 500
|
|
763
|
+
#endif
|
|
764
|
+
|
|
765
|
+
|
|
766
|
+
/**
|
|
767
|
+
* Default flags for epoll_flags member of pj_ioqueue_cfg structure.
|
|
768
|
+
* The values are combination of pj_ioqueue_epoll_flag constants.
|
|
769
|
+
*
|
|
770
|
+
* Default: PJ_IOQUEUE_EPOLL_AUTO
|
|
771
|
+
*/
|
|
772
|
+
#ifndef PJ_IOQUEUE_DEFAULT_EPOLL_FLAGS
|
|
773
|
+
# define PJ_IOQUEUE_DEFAULT_EPOLL_FLAGS PJ_IOQUEUE_EPOLL_AUTO
|
|
774
|
+
#endif
|
|
775
|
+
|
|
776
|
+
|
|
777
|
+
/**
|
|
778
|
+
* Determine if FD_SETSIZE is changeable/set-able. If so, then we will
|
|
779
|
+
* set it to PJ_IOQUEUE_MAX_HANDLES. Currently we detect this by checking
|
|
780
|
+
* for Winsock.
|
|
781
|
+
*/
|
|
782
|
+
#ifndef PJ_FD_SETSIZE_SETABLE
|
|
783
|
+
# if (defined(PJ_HAS_WINSOCK_H) && PJ_HAS_WINSOCK_H!=0) || \
|
|
784
|
+
(defined(PJ_HAS_WINSOCK2_H) && PJ_HAS_WINSOCK2_H!=0)
|
|
785
|
+
# define PJ_FD_SETSIZE_SETABLE 1
|
|
786
|
+
# else
|
|
787
|
+
# define PJ_FD_SETSIZE_SETABLE 0
|
|
788
|
+
# endif
|
|
789
|
+
#endif
|
|
790
|
+
|
|
791
|
+
/**
|
|
792
|
+
* Overrides FD_SETSIZE so it is consistent throughout the library.
|
|
793
|
+
* We only do this if we detected that FD_SETSIZE is changeable. If
|
|
794
|
+
* FD_SETSIZE is not set-able, then PJ_IOQUEUE_MAX_HANDLES must be
|
|
795
|
+
* set to value lower than FD_SETSIZE.
|
|
796
|
+
*/
|
|
797
|
+
#if PJ_FD_SETSIZE_SETABLE
|
|
798
|
+
/* Only override FD_SETSIZE if the value has not been set */
|
|
799
|
+
# ifndef FD_SETSIZE
|
|
800
|
+
# define FD_SETSIZE PJ_IOQUEUE_MAX_HANDLES
|
|
801
|
+
# endif
|
|
802
|
+
#else
|
|
803
|
+
/* When FD_SETSIZE is not changeable, check if PJ_IOQUEUE_MAX_HANDLES
|
|
804
|
+
* is lower than FD_SETSIZE value.
|
|
805
|
+
*
|
|
806
|
+
* Update: Not all ioqueue backends require this (such as epoll), so
|
|
807
|
+
* this check will be done on the ioqueue implementation itself, such as
|
|
808
|
+
* ioqueue select.
|
|
809
|
+
*/
|
|
810
|
+
/*
|
|
811
|
+
# ifdef FD_SETSIZE
|
|
812
|
+
# if PJ_IOQUEUE_MAX_HANDLES > FD_SETSIZE
|
|
813
|
+
# error "PJ_IOQUEUE_MAX_HANDLES is greater than FD_SETSIZE"
|
|
814
|
+
# endif
|
|
815
|
+
# endif
|
|
816
|
+
*/
|
|
817
|
+
#endif
|
|
818
|
+
|
|
819
|
+
|
|
820
|
+
/**
|
|
821
|
+
* Specify whether #pj_enum_ip_interface() function should exclude
|
|
822
|
+
* loopback interfaces.
|
|
823
|
+
*
|
|
824
|
+
* Default: 1
|
|
825
|
+
*/
|
|
826
|
+
#ifndef PJ_IP_HELPER_IGNORE_LOOPBACK_IF
|
|
827
|
+
# define PJ_IP_HELPER_IGNORE_LOOPBACK_IF 1
|
|
828
|
+
#endif
|
|
829
|
+
|
|
830
|
+
|
|
831
|
+
/**
|
|
832
|
+
* Has semaphore functionality?
|
|
833
|
+
*
|
|
834
|
+
* Default: 1
|
|
835
|
+
*/
|
|
836
|
+
#ifndef PJ_HAS_SEMAPHORE
|
|
837
|
+
# define PJ_HAS_SEMAPHORE 1
|
|
838
|
+
#endif
|
|
839
|
+
|
|
840
|
+
/**
|
|
841
|
+
* Use dispatch semaphores on Darwin.
|
|
842
|
+
*
|
|
843
|
+
* Default: 1 on Darwin, 0 otherwise
|
|
844
|
+
*/
|
|
845
|
+
#ifndef PJ_SEMAPHORE_USE_DISPATCH_SEM
|
|
846
|
+
# if defined(PJ_DARWINOS) && PJ_DARWINOS != 0
|
|
847
|
+
# define PJ_SEMAPHORE_USE_DISPATCH_SEM 1
|
|
848
|
+
# else
|
|
849
|
+
# define PJ_SEMAPHORE_USE_DISPATCH_SEM 0
|
|
850
|
+
# endif
|
|
851
|
+
#endif
|
|
852
|
+
|
|
853
|
+
|
|
854
|
+
/**
|
|
855
|
+
* Event object (for synchronization, e.g. in Win32)
|
|
856
|
+
*
|
|
857
|
+
* Default: 1
|
|
858
|
+
*/
|
|
859
|
+
#ifndef PJ_HAS_EVENT_OBJ
|
|
860
|
+
# define PJ_HAS_EVENT_OBJ 1
|
|
861
|
+
#endif
|
|
862
|
+
|
|
863
|
+
|
|
864
|
+
/**
|
|
865
|
+
* Maximum file name length.
|
|
866
|
+
*/
|
|
867
|
+
#ifndef PJ_MAXPATH
|
|
868
|
+
# define PJ_MAXPATH 260
|
|
869
|
+
#endif
|
|
870
|
+
|
|
871
|
+
|
|
872
|
+
/**
|
|
873
|
+
* Enable name registration for exceptions with #pj_exception_id_alloc().
|
|
874
|
+
* If this feature is enabled, then the library will keep track of
|
|
875
|
+
* names associated with each exception ID requested by application via
|
|
876
|
+
* #pj_exception_id_alloc().
|
|
877
|
+
*
|
|
878
|
+
* Disabling this macro will reduce the code and .bss size by a tad bit.
|
|
879
|
+
* See also #PJ_MAX_EXCEPTION_ID.
|
|
880
|
+
*
|
|
881
|
+
* Default: 1
|
|
882
|
+
*/
|
|
883
|
+
#ifndef PJ_HAS_EXCEPTION_NAMES
|
|
884
|
+
# define PJ_HAS_EXCEPTION_NAMES 1
|
|
885
|
+
#endif
|
|
886
|
+
|
|
887
|
+
/**
|
|
888
|
+
* Maximum number of unique exception IDs that can be requested
|
|
889
|
+
* with #pj_exception_id_alloc(). For each entry, a small record will
|
|
890
|
+
* be allocated in the .bss segment.
|
|
891
|
+
*
|
|
892
|
+
* Default: 16
|
|
893
|
+
*/
|
|
894
|
+
#ifndef PJ_MAX_EXCEPTION_ID
|
|
895
|
+
# define PJ_MAX_EXCEPTION_ID 16
|
|
896
|
+
#endif
|
|
897
|
+
|
|
898
|
+
/**
|
|
899
|
+
* Should we use Windows Structured Exception Handling (SEH) for the
|
|
900
|
+
* PJLIB exceptions.
|
|
901
|
+
*
|
|
902
|
+
* Default: 0
|
|
903
|
+
*/
|
|
904
|
+
#ifndef PJ_EXCEPTION_USE_WIN32_SEH
|
|
905
|
+
# define PJ_EXCEPTION_USE_WIN32_SEH 0
|
|
906
|
+
#endif
|
|
907
|
+
|
|
908
|
+
/**
|
|
909
|
+
* Should we attempt to use Pentium's rdtsc for high resolution
|
|
910
|
+
* timestamp.
|
|
911
|
+
*
|
|
912
|
+
* Default: 0
|
|
913
|
+
*/
|
|
914
|
+
#ifndef PJ_TIMESTAMP_USE_RDTSC
|
|
915
|
+
# define PJ_TIMESTAMP_USE_RDTSC 0
|
|
916
|
+
#endif
|
|
917
|
+
|
|
918
|
+
/**
|
|
919
|
+
* Is native platform error positive number?
|
|
920
|
+
* Default: 1 (yes)
|
|
921
|
+
*/
|
|
922
|
+
#ifndef PJ_NATIVE_ERR_POSITIVE
|
|
923
|
+
# define PJ_NATIVE_ERR_POSITIVE 1
|
|
924
|
+
#endif
|
|
925
|
+
|
|
926
|
+
/**
|
|
927
|
+
* Include error message string in the library (pj_strerror()).
|
|
928
|
+
* This is very much desirable!
|
|
929
|
+
*
|
|
930
|
+
* Default: 1
|
|
931
|
+
*/
|
|
932
|
+
#ifndef PJ_HAS_ERROR_STRING
|
|
933
|
+
# define PJ_HAS_ERROR_STRING 1
|
|
934
|
+
#endif
|
|
935
|
+
|
|
936
|
+
|
|
937
|
+
/**
|
|
938
|
+
* Include pj_stricmp_alnum() and pj_strnicmp_alnum(), i.e. custom
|
|
939
|
+
* functions to compare alnum strings. On some systems, they're faster
|
|
940
|
+
* then stricmp/strcasecmp, but they can be slower on other systems.
|
|
941
|
+
* When disabled, pjlib will fallback to stricmp/strnicmp.
|
|
942
|
+
*
|
|
943
|
+
* Default: 0
|
|
944
|
+
*/
|
|
945
|
+
#ifndef PJ_HAS_STRICMP_ALNUM
|
|
946
|
+
# define PJ_HAS_STRICMP_ALNUM 0
|
|
947
|
+
#endif
|
|
948
|
+
|
|
949
|
+
/**
|
|
950
|
+
* Prohibit the use of unsafe string functions such as strcpy(), strncpy(),
|
|
951
|
+
* strcat(), and vsprintf().
|
|
952
|
+
*/
|
|
953
|
+
#ifndef PJ_BAN_UNSAFE_STR_FUNCS
|
|
954
|
+
# define PJ_BAN_UNSAFE_STR_FUNCS 0
|
|
955
|
+
#endif
|
|
956
|
+
|
|
957
|
+
/**
|
|
958
|
+
* Prohibit the use of strcpy() and pj_ansi_strcpy(), use pj_ansi_strxcpy()
|
|
959
|
+
* instead.
|
|
960
|
+
*/
|
|
961
|
+
#ifndef PJ_BAN_STRCPY
|
|
962
|
+
# define PJ_BAN_STRCPY PJ_BAN_UNSAFE_STR_FUNCS
|
|
963
|
+
#endif
|
|
964
|
+
|
|
965
|
+
/**
|
|
966
|
+
* Prohibit the use of strncpy() and pj_ansi_strncpy(), use pj_ansi_strxcpy()
|
|
967
|
+
* instead.
|
|
968
|
+
*/
|
|
969
|
+
#ifndef PJ_BAN_STRNCPY
|
|
970
|
+
# define PJ_BAN_STRNCPY PJ_BAN_UNSAFE_STR_FUNCS
|
|
971
|
+
#endif
|
|
972
|
+
|
|
973
|
+
/**
|
|
974
|
+
* Prohibit the use of strcat() and pj_ansi_strcat(), use pj_ansi_strxcat()
|
|
975
|
+
* instead.
|
|
976
|
+
*/
|
|
977
|
+
#ifndef PJ_BAN_STRCAT
|
|
978
|
+
# define PJ_BAN_STRCAT PJ_BAN_UNSAFE_STR_FUNCS
|
|
979
|
+
#endif
|
|
980
|
+
|
|
981
|
+
/**
|
|
982
|
+
* Prohibit the use of sprintf() and pj_ansi_sprintf(),
|
|
983
|
+
* use pj_ansi_snprintf() instead.
|
|
984
|
+
*/
|
|
985
|
+
#ifndef PJ_BAN_SPRINTF
|
|
986
|
+
# define PJ_BAN_SPRINTF PJ_BAN_UNSAFE_STR_FUNCS
|
|
987
|
+
#endif
|
|
988
|
+
|
|
989
|
+
/**
|
|
990
|
+
* Prohibit the use of vsprintf() and pj_ansi_vsprintf(),
|
|
991
|
+
* use pj_ansi_vsnprintf() instead.
|
|
992
|
+
*/
|
|
993
|
+
#ifndef PJ_BAN_VSPRINTF
|
|
994
|
+
# define PJ_BAN_VSPRINTF PJ_BAN_UNSAFE_STR_FUNCS
|
|
995
|
+
#endif
|
|
996
|
+
|
|
997
|
+
/*
|
|
998
|
+
* Warn about obsolete macros.
|
|
999
|
+
*
|
|
1000
|
+
* PJ_ENABLE_EXTRA_CHECK has been deprecated in 2.13.
|
|
1001
|
+
*/
|
|
1002
|
+
#if defined(PJ_ENABLE_EXTRA_CHECK) && PJ_ENABLE_EXTRA_CHECK==0
|
|
1003
|
+
# ifdef _MSC_VER
|
|
1004
|
+
# pragma message("Warning: PJ_ENABLE_EXTRA_CHECK macro is deprecated"\
|
|
1005
|
+
" and has no effect")
|
|
1006
|
+
# else
|
|
1007
|
+
# warning "PJ_ENABLE_EXTRA_CHECK macro is deprecated and has no effect"
|
|
1008
|
+
# endif
|
|
1009
|
+
#endif
|
|
1010
|
+
|
|
1011
|
+
|
|
1012
|
+
/*
|
|
1013
|
+
* Types of QoS backend implementation.
|
|
1014
|
+
*/
|
|
1015
|
+
|
|
1016
|
+
/**
|
|
1017
|
+
* Dummy QoS backend implementation, will always return error on all
|
|
1018
|
+
* the APIs.
|
|
1019
|
+
*/
|
|
1020
|
+
#define PJ_QOS_DUMMY 1
|
|
1021
|
+
|
|
1022
|
+
/** QoS backend based on setsockopt(IP_TOS) */
|
|
1023
|
+
#define PJ_QOS_BSD 2
|
|
1024
|
+
|
|
1025
|
+
/** QoS backend for Windows Mobile 6 */
|
|
1026
|
+
#define PJ_QOS_WM 3
|
|
1027
|
+
|
|
1028
|
+
/** QoS backend for Symbian */
|
|
1029
|
+
#define PJ_QOS_SYMBIAN 4
|
|
1030
|
+
|
|
1031
|
+
/** QoS backend for Darwin */
|
|
1032
|
+
#define PJ_QOS_DARWIN 5
|
|
1033
|
+
|
|
1034
|
+
/**
|
|
1035
|
+
* Force the use of some QoS backend API for some platforms.
|
|
1036
|
+
*/
|
|
1037
|
+
#ifndef PJ_QOS_IMPLEMENTATION
|
|
1038
|
+
# if defined(PJ_WIN32_WINCE) && PJ_WIN32_WINCE && _WIN32_WCE >= 0x502
|
|
1039
|
+
/* Windows Mobile 6 or later */
|
|
1040
|
+
# define PJ_QOS_IMPLEMENTATION PJ_QOS_WM
|
|
1041
|
+
# elif defined(PJ_DARWINOS)
|
|
1042
|
+
/* Darwin OS (e.g: iOS, MacOS, tvOS) */
|
|
1043
|
+
# define PJ_QOS_IMPLEMENTATION PJ_QOS_DARWIN
|
|
1044
|
+
# endif
|
|
1045
|
+
#endif
|
|
1046
|
+
|
|
1047
|
+
|
|
1048
|
+
/**
|
|
1049
|
+
* Enable secure socket. For most platforms, this is implemented using
|
|
1050
|
+
* OpenSSL or GnuTLS, so this will require one of those libraries to
|
|
1051
|
+
* be installed. For Symbian platform, this is implemented natively
|
|
1052
|
+
* using CSecureSocket.
|
|
1053
|
+
*
|
|
1054
|
+
* Default: 0 (for now)
|
|
1055
|
+
*/
|
|
1056
|
+
#ifndef PJ_HAS_SSL_SOCK
|
|
1057
|
+
# define PJ_HAS_SSL_SOCK 0
|
|
1058
|
+
#endif
|
|
1059
|
+
|
|
1060
|
+
|
|
1061
|
+
/*
|
|
1062
|
+
* Secure socket implementation.
|
|
1063
|
+
* Select one of these implementations in PJ_SSL_SOCK_IMP.
|
|
1064
|
+
*/
|
|
1065
|
+
/** Disable SSL socket */
|
|
1066
|
+
#define PJ_SSL_SOCK_IMP_NONE 0
|
|
1067
|
+
|
|
1068
|
+
/** Using OpenSSL */
|
|
1069
|
+
#define PJ_SSL_SOCK_IMP_OPENSSL 1
|
|
1070
|
+
|
|
1071
|
+
/**< Using GnuTLS */
|
|
1072
|
+
#define PJ_SSL_SOCK_IMP_GNUTLS 2
|
|
1073
|
+
|
|
1074
|
+
/** Using Apple's Secure Transport (deprecated in MacOS 10.15 & iOS 13.0) */
|
|
1075
|
+
#define PJ_SSL_SOCK_IMP_DARWIN 3
|
|
1076
|
+
|
|
1077
|
+
/** Using Apple's Network framework */
|
|
1078
|
+
#define PJ_SSL_SOCK_IMP_APPLE 4
|
|
1079
|
+
|
|
1080
|
+
/**
|
|
1081
|
+
* Select which SSL socket implementation to use. Currently pjlib supports
|
|
1082
|
+
* PJ_SSL_SOCK_IMP_OPENSSL, which uses OpenSSL, and PJ_SSL_SOCK_IMP_GNUTLS,
|
|
1083
|
+
* which uses GnuTLS. Setting this to PJ_SSL_SOCK_IMP_NONE will disable
|
|
1084
|
+
* secure socket.
|
|
1085
|
+
*
|
|
1086
|
+
* Default is PJ_SSL_SOCK_IMP_NONE if PJ_HAS_SSL_SOCK is not set, otherwise
|
|
1087
|
+
* it is PJ_SSL_SOCK_IMP_OPENSSL.
|
|
1088
|
+
*/
|
|
1089
|
+
#ifndef PJ_SSL_SOCK_IMP
|
|
1090
|
+
# if PJ_HAS_SSL_SOCK==0
|
|
1091
|
+
# define PJ_SSL_SOCK_IMP PJ_SSL_SOCK_IMP_NONE
|
|
1092
|
+
# else
|
|
1093
|
+
# define PJ_SSL_SOCK_IMP PJ_SSL_SOCK_IMP_OPENSSL
|
|
1094
|
+
# endif
|
|
1095
|
+
#endif
|
|
1096
|
+
|
|
1097
|
+
|
|
1098
|
+
/**
|
|
1099
|
+
* Define the maximum number of ciphers supported by the secure socket.
|
|
1100
|
+
*
|
|
1101
|
+
* Default: 256
|
|
1102
|
+
*/
|
|
1103
|
+
#ifndef PJ_SSL_SOCK_MAX_CIPHERS
|
|
1104
|
+
# define PJ_SSL_SOCK_MAX_CIPHERS 256
|
|
1105
|
+
#endif
|
|
1106
|
+
|
|
1107
|
+
|
|
1108
|
+
/**
|
|
1109
|
+
* Specify what should be set as the available list of SSL_CIPHERs. For
|
|
1110
|
+
* example, set this as "DEFAULT" to use the default cipher list (Note:
|
|
1111
|
+
* PJSIP release 2.4 and before used this "DEFAULT" setting).
|
|
1112
|
+
*
|
|
1113
|
+
* Default: "HIGH:-COMPLEMENTOFDEFAULT"
|
|
1114
|
+
*/
|
|
1115
|
+
#ifndef PJ_SSL_SOCK_OSSL_CIPHERS
|
|
1116
|
+
# define PJ_SSL_SOCK_OSSL_CIPHERS "HIGH:-COMPLEMENTOFDEFAULT"
|
|
1117
|
+
#endif
|
|
1118
|
+
|
|
1119
|
+
|
|
1120
|
+
/**
|
|
1121
|
+
* Define the maximum number of curves supported by the secure socket.
|
|
1122
|
+
*
|
|
1123
|
+
* Default: 32
|
|
1124
|
+
*/
|
|
1125
|
+
#ifndef PJ_SSL_SOCK_MAX_CURVES
|
|
1126
|
+
# define PJ_SSL_SOCK_MAX_CURVES 32
|
|
1127
|
+
#endif
|
|
1128
|
+
|
|
1129
|
+
/**
|
|
1130
|
+
* Use OpenSSL thread locking callback. This is only applicable for OpenSSL
|
|
1131
|
+
* version prior to 1.1.0
|
|
1132
|
+
*
|
|
1133
|
+
* Default: 1 (enabled)
|
|
1134
|
+
*/
|
|
1135
|
+
#ifndef PJ_SSL_SOCK_OSSL_USE_THREAD_CB
|
|
1136
|
+
# define PJ_SSL_SOCK_OSSL_USE_THREAD_CB 1
|
|
1137
|
+
#else
|
|
1138
|
+
# define PJ_SSL_SOCK_OSSL_USE_THREAD_CB 0
|
|
1139
|
+
#endif
|
|
1140
|
+
|
|
1141
|
+
|
|
1142
|
+
/**
|
|
1143
|
+
* Disable WSAECONNRESET error for UDP sockets on Win32 platforms. See
|
|
1144
|
+
* https://github.com/pjsip/pjproject/issues/1197.
|
|
1145
|
+
*
|
|
1146
|
+
* Default: 1
|
|
1147
|
+
*/
|
|
1148
|
+
#ifndef PJ_SOCK_DISABLE_WSAECONNRESET
|
|
1149
|
+
# define PJ_SOCK_DISABLE_WSAECONNRESET 1
|
|
1150
|
+
#endif
|
|
1151
|
+
|
|
1152
|
+
|
|
1153
|
+
/**
|
|
1154
|
+
* Maximum number of socket options in pj_sockopt_params.
|
|
1155
|
+
*
|
|
1156
|
+
* Default: 4
|
|
1157
|
+
*/
|
|
1158
|
+
#ifndef PJ_MAX_SOCKOPT_PARAMS
|
|
1159
|
+
# define PJ_MAX_SOCKOPT_PARAMS 4
|
|
1160
|
+
#endif
|
|
1161
|
+
|
|
1162
|
+
|
|
1163
|
+
/* Specify if JNI_OnLoad() will be defined in the library. If enabled,
|
|
1164
|
+
* PJSIP will set the Java Virtual Machine (JVM) inside JNI_OnLoad().
|
|
1165
|
+
*
|
|
1166
|
+
* Since there can only be one JNI_OnLoad() in a library loaded from Java,
|
|
1167
|
+
* you can disable this if the implementation is already defined somewhere
|
|
1168
|
+
* else. Then you can set the JVM using the API pj_jni_set_jvm() instead.
|
|
1169
|
+
*
|
|
1170
|
+
* Default: enabled for Android
|
|
1171
|
+
*/
|
|
1172
|
+
#ifndef PJ_JNI_HAS_JNI_ONLOAD
|
|
1173
|
+
# define PJ_JNI_HAS_JNI_ONLOAD PJ_ANDROID
|
|
1174
|
+
#endif
|
|
1175
|
+
|
|
1176
|
+
|
|
1177
|
+
/** @} */
|
|
1178
|
+
|
|
1179
|
+
/********************************************************************
|
|
1180
|
+
* General macros.
|
|
1181
|
+
*/
|
|
1182
|
+
|
|
1183
|
+
/**
|
|
1184
|
+
* @defgroup pj_dll_target Building Dynamic Link Libraries (DLL/DSO)
|
|
1185
|
+
* @ingroup pj_config
|
|
1186
|
+
* @{
|
|
1187
|
+
*
|
|
1188
|
+
* The libraries support generation of dynamic link libraries for
|
|
1189
|
+
* Symbian ABIv2 target (.dso/Dynamic Shared Object files, in Symbian
|
|
1190
|
+
* terms). Similar procedures may be applied for Win32 DLL with some
|
|
1191
|
+
* modification.
|
|
1192
|
+
*
|
|
1193
|
+
* Depending on the platforms, these steps may be necessary in order to
|
|
1194
|
+
* produce the dynamic libraries:
|
|
1195
|
+
* - Create the (Visual Studio) projects to produce DLL output. PJLIB
|
|
1196
|
+
* does not provide ready to use project files to produce DLL, so
|
|
1197
|
+
* you need to create these projects yourself. For Symbian, the MMP
|
|
1198
|
+
* files have been setup to produce DSO files for targets that
|
|
1199
|
+
* require them.
|
|
1200
|
+
* - In the (Visual Studio) projects, some macros need to be declared
|
|
1201
|
+
* so that appropriate modifiers are added to symbol declarations
|
|
1202
|
+
* and definitions. Please see the macro section below for information
|
|
1203
|
+
* regarding these macros. For Symbian, these have been taken care by the
|
|
1204
|
+
* MMP files.
|
|
1205
|
+
* - Some build systems require .DEF file to be specified when creating
|
|
1206
|
+
* the DLL. For Symbian, .DEF files are included in pjlib distribution,
|
|
1207
|
+
* in <tt>pjlib/build.symbian</tt> directory. These DEF files are
|
|
1208
|
+
* created by running <tt>./makedef.sh all</tt> from this directory,
|
|
1209
|
+
* inside Mingw.
|
|
1210
|
+
*
|
|
1211
|
+
* Macros related for building DLL/DSO files:
|
|
1212
|
+
* - For platforms that supports dynamic link libraries generation,
|
|
1213
|
+
* it must declare <tt>PJ_EXPORT_SPECIFIER</tt> macro which value contains
|
|
1214
|
+
* the prefix to be added to symbol definition, to export this
|
|
1215
|
+
* symbol in the DLL/DSO. For example, on Win32/Visual Studio, the
|
|
1216
|
+
* value of this macro is \a __declspec(dllexport), and for ARM
|
|
1217
|
+
* ABIv2/Symbian, the value is \a EXPORT_C.
|
|
1218
|
+
* - For platforms that supports linking with dynamic link libraries,
|
|
1219
|
+
* it must declare <tt>PJ_IMPORT_SPECIFIER</tt> macro which value contains
|
|
1220
|
+
* the prefix to be added to symbol declaration, to import this
|
|
1221
|
+
* symbol from a DLL/DSO. For example, on Win32/Visual Studio, the
|
|
1222
|
+
* value of this macro is \a __declspec(dllimport), and for ARM
|
|
1223
|
+
* ABIv2/Symbian, the value is \a IMPORT_C.
|
|
1224
|
+
* - Both <tt>PJ_EXPORT_SPECIFIER</tt> and <tt>PJ_IMPORT_SPECIFIER</tt>
|
|
1225
|
+
* macros above can be declared in your \a config_site.h if they are not
|
|
1226
|
+
* declared by pjlib.
|
|
1227
|
+
* - When PJLIB is built as DLL/DSO, both <tt>PJ_DLL</tt> and
|
|
1228
|
+
* <tt>PJ_EXPORTING</tt> macros must be declared, so that
|
|
1229
|
+
* <tt>PJ_EXPORT_SPECIFIER</tt> modifier will be added into function
|
|
1230
|
+
* definition.
|
|
1231
|
+
* - When application wants to link dynamically with PJLIB, then it
|
|
1232
|
+
* must declare <tt>PJ_DLL</tt> macro when using/including PJLIB header,
|
|
1233
|
+
* so that <tt>PJ_IMPORT_SPECIFIER</tt> modifier is properly added into
|
|
1234
|
+
* symbol declarations.
|
|
1235
|
+
*
|
|
1236
|
+
* When <b>PJ_DLL</b> macro is not declared, static linking is assumed.
|
|
1237
|
+
*
|
|
1238
|
+
* For example, here are some settings to produce DLLs with Visual Studio
|
|
1239
|
+
* on Windows/Win32:
|
|
1240
|
+
* - Create Visual Studio projects to produce DLL. Add the appropriate
|
|
1241
|
+
* project dependencies to avoid link errors.
|
|
1242
|
+
* - In the projects, declare <tt>PJ_DLL</tt> and <tt>PJ_EXPORTING</tt>
|
|
1243
|
+
* macros.
|
|
1244
|
+
* - Declare these macros in your <tt>config_site.h</tt>:
|
|
1245
|
+
\verbatim
|
|
1246
|
+
#define PJ_EXPORT_SPECIFIER __declspec(dllexport)
|
|
1247
|
+
#define PJ_IMPORT_SPECIFIER __declspec(dllimport)
|
|
1248
|
+
\endverbatim
|
|
1249
|
+
* - And in the application (that links with the DLL) project, add
|
|
1250
|
+
* <tt>PJ_DLL</tt> in the macro declarations.
|
|
1251
|
+
*/
|
|
1252
|
+
|
|
1253
|
+
/** @} */
|
|
1254
|
+
|
|
1255
|
+
/**
|
|
1256
|
+
* @defgroup pj_config Build Configuration
|
|
1257
|
+
* @{
|
|
1258
|
+
*/
|
|
1259
|
+
|
|
1260
|
+
/**
|
|
1261
|
+
* @def PJ_INLINE(type)
|
|
1262
|
+
* @param type The return type of the function.
|
|
1263
|
+
* Expand the function as inline.
|
|
1264
|
+
*/
|
|
1265
|
+
#define PJ_INLINE(type) PJ_INLINE_SPECIFIER type
|
|
1266
|
+
|
|
1267
|
+
/**
|
|
1268
|
+
* This macro declares platform/compiler specific specifier prefix
|
|
1269
|
+
* to be added to symbol declaration to export the symbol when PJLIB
|
|
1270
|
+
* is built as dynamic library.
|
|
1271
|
+
*
|
|
1272
|
+
* This macro should have been added by platform specific headers,
|
|
1273
|
+
* if the platform supports building dynamic library target.
|
|
1274
|
+
*/
|
|
1275
|
+
#ifndef PJ_EXPORT_DECL_SPECIFIER
|
|
1276
|
+
# define PJ_EXPORT_DECL_SPECIFIER
|
|
1277
|
+
#endif
|
|
1278
|
+
|
|
1279
|
+
|
|
1280
|
+
/**
|
|
1281
|
+
* This macro declares platform/compiler specific specifier prefix
|
|
1282
|
+
* to be added to symbol definition to export the symbol when PJLIB
|
|
1283
|
+
* is built as dynamic library.
|
|
1284
|
+
*
|
|
1285
|
+
* This macro should have been added by platform specific headers,
|
|
1286
|
+
* if the platform supports building dynamic library target.
|
|
1287
|
+
*/
|
|
1288
|
+
#ifndef PJ_EXPORT_DEF_SPECIFIER
|
|
1289
|
+
# define PJ_EXPORT_DEF_SPECIFIER
|
|
1290
|
+
#endif
|
|
1291
|
+
|
|
1292
|
+
|
|
1293
|
+
/**
|
|
1294
|
+
* This macro declares platform/compiler specific specifier prefix
|
|
1295
|
+
* to be added to symbol declaration to import the symbol.
|
|
1296
|
+
*
|
|
1297
|
+
* This macro should have been added by platform specific headers,
|
|
1298
|
+
* if the platform supports building dynamic library target.
|
|
1299
|
+
*/
|
|
1300
|
+
#ifndef PJ_IMPORT_DECL_SPECIFIER
|
|
1301
|
+
# define PJ_IMPORT_DECL_SPECIFIER
|
|
1302
|
+
#endif
|
|
1303
|
+
|
|
1304
|
+
|
|
1305
|
+
/**
|
|
1306
|
+
* This macro has been deprecated. It will evaluate to nothing.
|
|
1307
|
+
*/
|
|
1308
|
+
#ifndef PJ_EXPORT_SYMBOL
|
|
1309
|
+
# define PJ_EXPORT_SYMBOL(x)
|
|
1310
|
+
#endif
|
|
1311
|
+
|
|
1312
|
+
|
|
1313
|
+
/**
|
|
1314
|
+
* @def PJ_DECL(type)
|
|
1315
|
+
* @param type The return type of the function.
|
|
1316
|
+
* Declare a function.
|
|
1317
|
+
*/
|
|
1318
|
+
#if defined(PJ_DLL)
|
|
1319
|
+
# if defined(PJ_EXPORTING)
|
|
1320
|
+
# define PJ_DECL(type) PJ_EXPORT_DECL_SPECIFIER type
|
|
1321
|
+
# else
|
|
1322
|
+
# define PJ_DECL(type) PJ_IMPORT_DECL_SPECIFIER type
|
|
1323
|
+
# endif
|
|
1324
|
+
#elif !defined(PJ_DECL)
|
|
1325
|
+
# if defined(__cplusplus)
|
|
1326
|
+
# define PJ_DECL(type) type
|
|
1327
|
+
# else
|
|
1328
|
+
# define PJ_DECL(type) extern type
|
|
1329
|
+
# endif
|
|
1330
|
+
#endif
|
|
1331
|
+
|
|
1332
|
+
|
|
1333
|
+
/**
|
|
1334
|
+
* @def PJ_DEF(type)
|
|
1335
|
+
* @param type The return type of the function.
|
|
1336
|
+
* Define a function.
|
|
1337
|
+
*/
|
|
1338
|
+
#if defined(PJ_DLL) && defined(PJ_EXPORTING)
|
|
1339
|
+
# define PJ_DEF(type) PJ_EXPORT_DEF_SPECIFIER type
|
|
1340
|
+
#elif !defined(PJ_DEF)
|
|
1341
|
+
# define PJ_DEF(type) type
|
|
1342
|
+
#endif
|
|
1343
|
+
|
|
1344
|
+
|
|
1345
|
+
/**
|
|
1346
|
+
* @def PJ_DECL_NO_RETURN(type)
|
|
1347
|
+
* @param type The return type of the function.
|
|
1348
|
+
* Declare a function that will not return.
|
|
1349
|
+
*/
|
|
1350
|
+
/**
|
|
1351
|
+
* @def PJ_IDECL_NO_RETURN(type)
|
|
1352
|
+
* @param type The return type of the function.
|
|
1353
|
+
* Declare an inline function that will not return.
|
|
1354
|
+
*/
|
|
1355
|
+
/**
|
|
1356
|
+
* @def PJ_BEGIN_DECL
|
|
1357
|
+
* Mark beginning of declaration section in a header file.
|
|
1358
|
+
*/
|
|
1359
|
+
/**
|
|
1360
|
+
* @def PJ_END_DECL
|
|
1361
|
+
* Mark end of declaration section in a header file.
|
|
1362
|
+
*/
|
|
1363
|
+
#ifdef __cplusplus
|
|
1364
|
+
# define PJ_DECL_NO_RETURN(type) PJ_DECL(type) PJ_NORETURN
|
|
1365
|
+
# define PJ_IDECL_NO_RETURN(type) PJ_INLINE(type) PJ_NORETURN
|
|
1366
|
+
# define PJ_BEGIN_DECL extern "C" {
|
|
1367
|
+
# define PJ_END_DECL }
|
|
1368
|
+
#else
|
|
1369
|
+
# define PJ_DECL_NO_RETURN(type) PJ_NORETURN PJ_DECL(type)
|
|
1370
|
+
# define PJ_IDECL_NO_RETURN(type) PJ_NORETURN PJ_INLINE(type)
|
|
1371
|
+
# define PJ_BEGIN_DECL
|
|
1372
|
+
# define PJ_END_DECL
|
|
1373
|
+
#endif
|
|
1374
|
+
|
|
1375
|
+
|
|
1376
|
+
|
|
1377
|
+
/**
|
|
1378
|
+
* @def PJ_DECL_DATA(type)
|
|
1379
|
+
* @param type The data type.
|
|
1380
|
+
* Declare a global data.
|
|
1381
|
+
*/
|
|
1382
|
+
#if defined(PJ_DLL)
|
|
1383
|
+
# if defined(PJ_EXPORTING)
|
|
1384
|
+
# define PJ_DECL_DATA(type) PJ_EXPORT_DECL_SPECIFIER extern type
|
|
1385
|
+
# else
|
|
1386
|
+
# define PJ_DECL_DATA(type) PJ_IMPORT_DECL_SPECIFIER extern type
|
|
1387
|
+
# endif
|
|
1388
|
+
#elif !defined(PJ_DECL_DATA)
|
|
1389
|
+
# define PJ_DECL_DATA(type) extern type
|
|
1390
|
+
#endif
|
|
1391
|
+
|
|
1392
|
+
|
|
1393
|
+
/**
|
|
1394
|
+
* @def PJ_DEF_DATA(type)
|
|
1395
|
+
* @param type The data type.
|
|
1396
|
+
* Define a global data.
|
|
1397
|
+
*/
|
|
1398
|
+
#if defined(PJ_DLL) && defined(PJ_EXPORTING)
|
|
1399
|
+
# define PJ_DEF_DATA(type) PJ_EXPORT_DEF_SPECIFIER type
|
|
1400
|
+
#elif !defined(PJ_DEF_DATA)
|
|
1401
|
+
# define PJ_DEF_DATA(type) type
|
|
1402
|
+
#endif
|
|
1403
|
+
|
|
1404
|
+
|
|
1405
|
+
/**
|
|
1406
|
+
* @def PJ_IDECL(type)
|
|
1407
|
+
* @param type The function's return type.
|
|
1408
|
+
* Declare a function that may be expanded as inline.
|
|
1409
|
+
*/
|
|
1410
|
+
/**
|
|
1411
|
+
* @def PJ_IDEF(type)
|
|
1412
|
+
* @param type The function's return type.
|
|
1413
|
+
* Define a function that may be expanded as inline.
|
|
1414
|
+
*/
|
|
1415
|
+
|
|
1416
|
+
#if PJ_FUNCTIONS_ARE_INLINED
|
|
1417
|
+
# define PJ_IDECL(type) PJ_INLINE(type)
|
|
1418
|
+
# define PJ_IDEF(type) PJ_INLINE(type)
|
|
1419
|
+
#else
|
|
1420
|
+
# define PJ_IDECL(type) PJ_DECL(type)
|
|
1421
|
+
# define PJ_IDEF(type) PJ_DEF(type)
|
|
1422
|
+
#endif
|
|
1423
|
+
|
|
1424
|
+
|
|
1425
|
+
/**
|
|
1426
|
+
* @def PJ_UNUSED_ARG(arg)
|
|
1427
|
+
* @param arg The argument name.
|
|
1428
|
+
* PJ_UNUSED_ARG prevents warning about unused argument in a function.
|
|
1429
|
+
*/
|
|
1430
|
+
#define PJ_UNUSED_ARG(arg) (void)arg
|
|
1431
|
+
|
|
1432
|
+
/**
|
|
1433
|
+
* @def PJ_TODO(id)
|
|
1434
|
+
* @param id Any identifier that will be printed as TODO message.
|
|
1435
|
+
* PJ_TODO macro will display TODO message as warning during compilation.
|
|
1436
|
+
* Example: PJ_TODO(CLEAN_UP_ERROR);
|
|
1437
|
+
*/
|
|
1438
|
+
#ifndef PJ_TODO
|
|
1439
|
+
# define PJ_TODO(id) TODO___##id:
|
|
1440
|
+
#endif
|
|
1441
|
+
|
|
1442
|
+
/**
|
|
1443
|
+
* Simulate race condition by sleeping the thread in strategic locations.
|
|
1444
|
+
* Default: no!
|
|
1445
|
+
*/
|
|
1446
|
+
#ifndef PJ_RACE_ME
|
|
1447
|
+
# define PJ_RACE_ME(x)
|
|
1448
|
+
#endif
|
|
1449
|
+
|
|
1450
|
+
/**
|
|
1451
|
+
* Function attributes to inform that the function may throw exception.
|
|
1452
|
+
*
|
|
1453
|
+
* @param x The exception list, enclosed in parenthesis.
|
|
1454
|
+
*/
|
|
1455
|
+
#define __pj_throw__(x)
|
|
1456
|
+
|
|
1457
|
+
/** @} */
|
|
1458
|
+
|
|
1459
|
+
/********************************************************************
|
|
1460
|
+
* Sanity Checks
|
|
1461
|
+
*/
|
|
1462
|
+
#ifndef PJ_HAS_HIGH_RES_TIMER
|
|
1463
|
+
# error "PJ_HAS_HIGH_RES_TIMER is not defined!"
|
|
1464
|
+
#endif
|
|
1465
|
+
|
|
1466
|
+
#if !defined(PJ_HAS_PENTIUM)
|
|
1467
|
+
# error "PJ_HAS_PENTIUM is not defined!"
|
|
1468
|
+
#endif
|
|
1469
|
+
|
|
1470
|
+
#if !defined(PJ_IS_LITTLE_ENDIAN)
|
|
1471
|
+
# error "PJ_IS_LITTLE_ENDIAN is not defined!"
|
|
1472
|
+
#endif
|
|
1473
|
+
|
|
1474
|
+
#if !defined(PJ_IS_BIG_ENDIAN)
|
|
1475
|
+
# error "PJ_IS_BIG_ENDIAN is not defined!"
|
|
1476
|
+
#endif
|
|
1477
|
+
|
|
1478
|
+
#if !defined(PJ_EMULATE_RWMUTEX)
|
|
1479
|
+
# error "PJ_EMULATE_RWMUTEX should be defined in compat/os_xx.h"
|
|
1480
|
+
#endif
|
|
1481
|
+
|
|
1482
|
+
#if !defined(PJ_THREAD_SET_STACK_SIZE)
|
|
1483
|
+
# error "PJ_THREAD_SET_STACK_SIZE should be defined in compat/os_xx.h"
|
|
1484
|
+
#endif
|
|
1485
|
+
|
|
1486
|
+
#if !defined(PJ_THREAD_ALLOCATE_STACK)
|
|
1487
|
+
# error "PJ_THREAD_ALLOCATE_STACK should be defined in compat/os_xx.h"
|
|
1488
|
+
#endif
|
|
1489
|
+
|
|
1490
|
+
PJ_BEGIN_DECL
|
|
1491
|
+
|
|
1492
|
+
/** PJLIB version major number. */
|
|
1493
|
+
#define PJ_VERSION_NUM_MAJOR 2
|
|
1494
|
+
|
|
1495
|
+
/** PJLIB version minor number. */
|
|
1496
|
+
#define PJ_VERSION_NUM_MINOR 14
|
|
1497
|
+
|
|
1498
|
+
/** PJLIB version revision number. */
|
|
1499
|
+
#define PJ_VERSION_NUM_REV 1
|
|
1500
|
+
|
|
1501
|
+
/**
|
|
1502
|
+
* Extra suffix for the version (e.g. "-trunk"), or empty for
|
|
1503
|
+
* web release version.
|
|
1504
|
+
*/
|
|
1505
|
+
#define PJ_VERSION_NUM_EXTRA ""
|
|
1506
|
+
|
|
1507
|
+
/**
|
|
1508
|
+
* PJLIB version number consists of three bytes with the following format:
|
|
1509
|
+
* 0xMMIIRR00, where MM: major number, II: minor number, RR: revision
|
|
1510
|
+
* number, 00: always zero for now.
|
|
1511
|
+
*/
|
|
1512
|
+
#define PJ_VERSION_NUM ((PJ_VERSION_NUM_MAJOR << 24) | \
|
|
1513
|
+
(PJ_VERSION_NUM_MINOR << 16) | \
|
|
1514
|
+
(PJ_VERSION_NUM_REV << 8))
|
|
1515
|
+
|
|
1516
|
+
/**
|
|
1517
|
+
* PJLIB version string constant. @see pj_get_version()
|
|
1518
|
+
*/
|
|
1519
|
+
PJ_DECL_DATA(const char*) PJ_VERSION;
|
|
1520
|
+
|
|
1521
|
+
/**
|
|
1522
|
+
* Get PJLIB version string.
|
|
1523
|
+
*
|
|
1524
|
+
* @return #PJ_VERSION constant.
|
|
1525
|
+
*/
|
|
1526
|
+
PJ_DECL(const char*) pj_get_version(void);
|
|
1527
|
+
|
|
1528
|
+
/**
|
|
1529
|
+
* Dump configuration to log with verbosity equal to info(3).
|
|
1530
|
+
*/
|
|
1531
|
+
PJ_DECL(void) pj_dump_config(void);
|
|
1532
|
+
|
|
1533
|
+
PJ_END_DECL
|
|
1534
|
+
|
|
1535
|
+
|
|
1536
|
+
#endif /* __PJ_CONFIG_H__ */
|
|
1537
|
+
|